.custom-page {
  padding-top: 20px;
  width: 100%;
}

.underline {
  text-decoration: underline !important;
}

.td-none,
.td-none a {
  text-decoration: none !important;
}

/* header */
#ast-desktop-header
  .header-widget-area.widget-area.site-header-focus-item.header-widget-area-inner {
  width: 100%;
}

#ast-desktop-header
  .ast-builder-grid-row.ast-builder-grid-row-has-sides.ast-grid-center-col-layout {
  grid-template-columns: 1fr 2fr 1fr;
}

/* header */
.site-header {
  left: 0;
  right: 0;
  z-index: 999;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.site-header[data-fixed] {
  position: fixed;
}

/* Default top */
.site-header {
  top: 0;
}

/* Logged-in admin bar (desktop) */
body.admin-bar .site-header {
  top: 32px;
}

/* Logged-in admin bar (mobile) */
@media (max-width: 600px) {
  #wpadminbar {
    position: fixed;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.site-header.is-sticky {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#search-form {
  border: 1px solid #ebebeb;
  border-radius: 24px;
  background: #fff;
  font-size: 16px;
  color: #222;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 4px 4px 4px 20px;
}

#search-form input {
  border: none;
  flex-grow: 1;
}

#search-form input:focus {
  outline: none;
}

#search-form button {
  flex-shrink: 0;
  color: white;
  height: 32px;
  width: 32px;
  background: var(--ast-global-color-0, #00da24);
  border-radius: 50%;
  padding: 4px;
}

/* footer */
.footer-widget-area[data-section="sidebar-widgets-footer-widget-1"].footer-widget-area-inner {
  text-align: left !important;
}

.site-footer {
  background-color: white;
  padding-top: 0 !important;
  margin-top: 20px;
}

.site-footer .widget_nav_menu .widgettitle {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
  color: #555;
  text-transform: uppercase;
}

.site-footer .widget_nav_menu li a {
  font-size: 14px;
  color: #999;
}

.site-footer .footer-menu-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}


/* embla */
[data-embla='true'] .embla__viewport {
    overflow: hidden;
    --slide-spacing: 1rem;
}

[data-embla='true'] .embla__container {
    display: flex;
    touch-action: pan-y pinch-zoom;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    margin-left: calc(var(--slide-spacing) * -1);
}

[data-embla='true'] .embla__slide {
    flex: 0 0 100%;
    min-width: 0;
    padding-left: var(--slide-spacing);
}

/* trending deals */
.trending-deals {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1rem;
}

.trending-deals__card {
    display: flex;
    flex-direction: column;
}

[data-embla='true'] .trending-deals {
    display: flex;
    flex-wrap: wrap;
}

[data-embla='true'] .trending-deals__card {
    flex: 1 1 170px;
    min-width: 185px;
    max-width: 185px;
}

.trending-deals__logo img {
    display: flex;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border: 1px solid #c9cccf;
    border-radius: 12px;
}

.trending-deals__info {
    padding-top: 8px;
    font-size: 15px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.trending-deals__info img {
    border-radius: 50%;
}

.trending-deals__info > div {
    min-width: 0;
}

.trending-deals__title {
    font-weight: 450;
    color: black;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.trending-deals__discount {
    color: black;
    font-size: 13px;
    font-weight: 600;
}

.trending-deals__discount span {
    color: #dc3545;
}

span.trending-deals__regular-price {
    color: #dc3545;
    font-size: 13px;
    font-weight: 400;
    text-decoration-thickness: 1px;
    text-decoration-line: line-through;
    -webkit-text-decoration-line: line-through;
}

span.trending-deals__sale-price {
    color: #198754;
    font-size: 13px;
    font-weight: 600;
}

.trending-deals__button {
    text-decoration: none !important;
    color: #fff;
    background-color: var(--ast-global-color-0);
    font-weight: 600;
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    line-height: 1em;
}

.trending-deals__button:hover {
    color: var(--ast-global-color-4);
    background-color: var(--ast-global-color-1);
    border-color: var(--ast-global-color-1);
}
