/* Small visual refinements layered on the original NexBirlik storefront. */
:where(.product-card,.deal-card,.category-card,.news-card) {
  transition: transform .22s ease, box-shadow .22s ease;
}
:where(.product-card,.deal-card,.category-card,.news-card):hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(80, 25, 25, .12);
}
:where(a,button,input):focus-visible {
  outline: 3px solid #ef3345;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  :where(.product-card,.deal-card,.category-card,.news-card) { transition: none; }
}

/* Announcement icons: visible movement at rest, stronger response on hover. */
.announce-bar { overflow: visible; }
.announce-item { cursor: default; }
.announce-item .ann-icon,
.announce-lang .ann-icon { display: inline-block; flex: none; overflow: visible; transition: color .2s ease, transform .2s ease; }
.announce-item:hover .ann-icon,
.announce-lang:hover .ann-icon,
.announce-lang:focus-within .ann-icon { color: #ffe29a; transform: scale(1.18); }
.ann-truck-body { animation: ann-drive 3.2s ease-in-out infinite; }
.ann-wheel { transform-box: fill-box; transform-origin: center; animation: ann-wheel 3.2s ease-in-out infinite; }
.ann-truck-road { opacity: .55; }
.ann-return-arrow { transform-origin: 12px 12px; animation: ann-return 3.4s ease-in-out infinite; }
.ann-phone-dot { transform-box: fill-box; transform-origin: center; animation: ann-pulse 2.6s ease-in-out infinite; }
.ann-phone-signal { animation: ann-signal 2.6s ease-in-out infinite; }
.ann-globe-meridian { transform-origin: 12px 12px; animation: ann-globe 4.4s ease-in-out infinite; }
@keyframes ann-drive { 0%, 55%, 100% { transform: translateX(0); } 22% { transform: translateX(1.7px); } }
@keyframes ann-wheel { 0%, 55%, 100% { transform: rotate(0); } 22% { transform: rotate(42deg); } }
@keyframes ann-return { 0%, 60%, 100% { transform: rotate(0); } 27% { transform: rotate(-14deg); } }
@keyframes ann-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 45% { transform: scale(1.75); opacity: .45; } }
@keyframes ann-signal { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes ann-globe { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.72); } }
@media (prefers-reduced-motion: reduce) {
  .ann-icon *, .announce-item .ann-icon, .announce-lang .ann-icon { animation: none !important; transition: none !important; }
}

/* Palace frame selected for the Azerbaijan storefront. */
/* Keep route changes from moving the navigation or animating a scroll reset. */
html { scrollbar-gutter: stable; scroll-behavior: auto; }
.announce-bar, .desktop-header, .mobile-header, .mobile-drawer, .footer {
  font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.desktop-header .nav-link, .desktop-header .nav-link.active {
  font-weight: 600;
  transition: color .18s ease, background-color .18s ease;
}
.desktop-header .site-logo-img, .drawer-header .site-logo-img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.mobile-drawer .drawer-link {
  box-sizing: border-box;
  width: calc(100% - 32px);
  margin: 4px 16px;
  border: 1px solid transparent;
  border-radius: 99px;
  font-weight: 600;
}
.mobile-drawer .drawer-link.active {
  color: #ac0920;
  background: #fff3e5;
  border-color: #ac0920;
  font-weight: 600;
}
@media (min-width: 769px) {
  .announce-bar {
    width: min(1200px, calc(100% - 32px));
    position: relative;
    z-index: 220;
    height: 36px;
    max-width: 1200px;
    margin: 18px auto 0;
    border-radius: 28px 28px 0 0;
    background: #a30816 url('/assets/palace-top.svg') center / 100% 100% no-repeat;
    box-shadow: 0 -1px 0 #f8d675 inset;
  }
  .announce-inner {
    max-width: none;
    height: 36px;
    justify-content: flex-start;
    gap: 12px;
    padding: 0 165px 0 197px;
    font-size: 10px;
    white-space: nowrap;
  }
  .announce-lang {
    right: 24px;
    top: 7px;
    padding: 2px 10px;
    border-radius: 14px;
    background: #b90918;
    box-shadow: 0 1px 7px #6d0616aa;
    z-index: 2;
  }
  .desktop-header {
    width: min(1200px, calc(100% - 32px));
    position: sticky;
    top: 0;
    z-index: 210;
    height: 66px;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff url('/assets/palace-nav.svg') center / 100% 100% no-repeat;
    border: 0;
    border-bottom: 1px solid #d5b271;
    box-shadow: 0 1px 0 #ead8b8;
  }
  .desktop-header .header-inner {
    position: relative;
    max-width: none;
    height: 64px;
    padding: 0 36px;
  }
  .desktop-header .logo {
    min-width: 158px;
    margin-right: 0;
  }
  .desktop-header .main-nav {
    --nav-unit: 1px;
    display: grid;
    grid-template-columns: calc(94 * var(--nav-unit)) calc(174 * var(--nav-unit)) calc(102 * var(--nav-unit)) calc(155 * var(--nav-unit)) calc(60 * var(--nav-unit)) calc(136 * var(--nav-unit));
    align-items: center;
    height: 64px;
    gap: 0;
  }
  /* Reserve every slot before the Blog enhancement or web font loads. */
  .desktop-header .main-nav > a[href$="#/"] { grid-column: 1; }
  .desktop-header .main-nav > .nav-item { grid-column: 2; height: 64px; display: flex; align-items: center; }
  .desktop-header .main-nav > a[href$="#/about"] { grid-column: 3; }
  .desktop-header .main-nav > a[href$="#/brands"] { grid-column: 4; }
  .desktop-header .main-nav > .nb-blog-link { grid-column: 5; }
  .desktop-header .main-nav > a[href$="#/contact"] { grid-column: 6; }
  .desktop-header .nav-link {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    justify-content: center;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: 99px;
    font-size: 12px;
    transform: none;
    isolation: isolate;
  }
  .desktop-header .nav-link:not(:last-child)::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 17px;
    border-right: 1px solid #d9ae55;
  }
  .desktop-header .nav-link.active {
    color: #ac0920;
    border-color: transparent;
    background: transparent;
    border-radius: 99px;
  }
  .desktop-header .nav-link.active:after {
    content: '';
    position: absolute;
    inset: 2px 5px;
    height: auto;
    border: 1px solid #b22c38;
    border-radius: 99px;
    background: #fff7ed;
    z-index: -1;
  }
  .desktop-header .nav-link:hover:not(.active) {
    color: #ac0920;
    background: #fff3d9;
  }
  .desktop-header .search-box {
    box-sizing: border-box;
    width: 220px;
    min-width: 220px;
    background: #f7f7f7;
    border-color: #e6ded0;
  }
  .desktop-header .search-box input { flex: 1; min-width: 0; padding: 0; }
  .desktop-header .nav-item.has-dropdown .nav-dropdown {
    box-sizing: border-box;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 0;
    margin-top: 0;
    padding: 7px;
    border: 1px solid #e5c98f;
    border-top: 2px solid #d6a63f;
    border-radius: 0 0 14px 14px;
    background: #fffaf0;
    box-shadow: 0 12px 25px #5b211b24;
  }
  .desktop-header .nav-dropdown-link {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: 99px;
    color: #5b211b;
    font-size: 12px;
    font-weight: 600;
  }
  .desktop-header .nav-dropdown-link.active {
    color: #ac0920;
    border-color: #ac0920;
    background: #fff3e5;
  }
  .desktop-header .nav-dropdown-link:hover:not(.active),
  .desktop-header .nav-dropdown-link:focus-visible:not(.active) {
    color: #a30719;
    background: #fff0dc;
  }
  .desktop-header .nav-item.has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero-banner.hero-banner {
    width: min(1200px, calc(100% - 32px));
    position: relative;
    max-width: 1200px;
    margin: 0 auto 26px;
    padding: 10px 0 12px;
    background:
      linear-gradient(180deg,#a40917 0 5px,#c48d37 6px,#ffe5a5 7px,#fff8e7 8px,#fffdf9 10px) top / 100% 10px no-repeat,
      linear-gradient(#fffdfa,#fff 86%,#f7f4f0);
    border-radius: 0 0 24px 24px;
    box-shadow: 0 10px 24px #5a2b1014;
    isolation: isolate;
  }
  .hero-banner::before, .hero-banner::after { content: none; }
  .hero-banner .hero-banner-inner { width: 96%; max-width: 1100px; padding: 0; }
  .hero-banner .hero-banner-track { aspect-ratio: 2.05; border-radius: 20px; }
  .hero-banner .hero-slide img { object-fit: contain; filter: saturate(1.18) brightness(1.035); }
  .hero-banner .hero-slide:nth-child(1) img,
  .hero-banner .hero-slide:nth-child(3) img { object-fit: cover; transform: scale(1.2); }
  .hero-banner .hero-banner-dots { left: auto; right: 10px; bottom: 14px; }
}
@media (min-width: 769px) and (max-width: 1199px) {
  .announce-bar, .desktop-header, .hero-banner.hero-banner { margin-left: 16px; margin-right: 16px; }
  .announce-inner { padding-left: 145px; padding-right: 126px; font-size: 9px; gap: 8px; }
  .desktop-header .header-inner { padding: 0 28px; }
  .desktop-header .logo { min-width: 110px; }
  .desktop-header .main-nav { --nav-unit: .9px; }
  .desktop-header .nav-link { padding-inline: 9px; font-size: 11px; }
  .desktop-header .search-box { width: 169px; min-width: 169px; }
  .desktop-header .search-box input { width: 120px; }
}
@media (min-width: 769px) and (max-width: 950px) {
  .announce-item:last-of-type { display: none; }
  .desktop-header .header-inner { padding: 0 18px; }
  .desktop-header .logo { min-width: 110px; }
  .desktop-header .main-nav { --nav-unit: .8px; }
  .desktop-header .nav-link { padding-inline: 6px; font-size: 10px; }
  .desktop-header .header-actions { min-width: 0; }
  .desktop-header .search-box { width: 92px; min-width: 92px; padding-inline: 9px; gap: 5px; }
  .desktop-header .search-box input { width: 50px; min-width: 0; }
  .announce-inner .announce-item { min-width: 0; }
  .announce-inner .announce-item span { overflow: hidden; text-overflow: ellipsis; }
}
@media (min-width: 769px) and (max-width: 850px) {
  .desktop-header .header-inner { padding-inline: 12px; }
  .desktop-header .logo { min-width: 54px; }
  .desktop-header .search-box { width: 76px; min-width: 76px; padding-inline: 7px; }
  .desktop-header .search-box input { width: 36px; }
}
.hero-banner .hero-slide { background: #fff8ef; }
.hero-banner .hero-slide:nth-child(1) { background: #ffb900; }
.hero-banner .hero-slide:nth-child(3) { background: #fff; }
@media (max-width: 768px) {
  .hero-banner .hero-banner-track { aspect-ratio: 1.76; }
  .hero-banner .hero-slide img { object-fit: contain; }
  .mobile-header {
    border-top: 4px solid #caa84c;
    box-shadow: 0 3px 12px #9d6f3226;
  }
  .hero-banner { border-top: 3px solid #d9ad57; }
}

/* Detail pass 2026-09-29: polished arch and plinth artwork. */

/* A shared 1200px frame and warm red/gold storefront sections. */
@media (min-width: 769px) {
  .trust-bar,
  .section.best-sellers,
  .section.official-shop-products,
  .section.promo-blocks,
  .footer.footer { width: min(1200px, calc(100% - 32px)); max-width: 1200px; margin-left: auto; margin-right: auto; }
  .trust-bar .trust-inner,
  .section.best-sellers .section-inner,
  .section.official-shop-products .section-inner,
  .section.promo-blocks .section-inner,
  .footer .footer-inner,
  .footer .footer-bottom { width: min(1100px, calc(100% - 48px)); max-width: 1100px; margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }
}
.trust-bar.trust-bar {
  margin-top: 18px;
  margin-bottom: 24px;
  padding: 19px 0;
  background: linear-gradient(110deg,#fffefa,#fff7e8 55%,#fffdfa);
  border: 1px solid #ead5a8;
  border-radius: 18px;
  box-shadow: 0 7px 22px #76420d10, inset 0 3px 0 #dcb757;
}
.trust-bar .trust-inner { gap: 0; }
.trust-bar .trust-item { flex: 1; justify-content: center; padding: 2px 12px; }
.trust-bar .trust-item + .trust-item { border-left: 1px solid #ead9b8; }
.trust-bar .trust-icon {
  width: 42px; height: 42px; flex: 0 0 42px;
  background: linear-gradient(145deg,#fff,#fff0cf);
  border: 1px solid #e7c984;
  box-shadow: 0 2px 7px #9e6a1b1a;
}
.trust-bar .trust-icon svg { transition: transform .24s ease; }
.trust-bar .trust-item:hover .trust-icon svg { transform: scale(1.1) rotate(-5deg); }
.trust-bar .trust-text strong { color: #682319; }
.trust-bar .trust-text span { color: #82766b; }
.section.best-sellers.section.best-sellers {
  margin-top: 0;
  margin-bottom: 24px;
  padding: 32px 0 28px;
  background: radial-gradient(circle at 95% 0%,#fff2d2 0%,transparent 26%),linear-gradient(180deg,#fffdfa,#fff8ed);
  border: 1px solid #ead9b9;
  border-radius: 22px;
  box-shadow: 0 11px 30px #7337170e;
}
.best-sellers .section-header { align-items: center; margin-bottom: 20px; }
.best-sellers .section-title { color: #57251a; }
.best-sellers .section-title::after { content: ''; display: block; width: 52px; height: 3px; margin-top: 7px; border-radius: 3px; background: linear-gradient(90deg,#a5091b,#e9ba59); }
.best-sellers .see-all { color: #ad0b21; }
.best-sellers .products-scroll {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 14px;
  overflow: visible;
}
.best-sellers .product-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; border: 1px solid #eadfcb; box-shadow: 0 3px 12px #6d36100a; }
.best-sellers .product-info { display: flex; flex-direction: column; min-width: 0; }
.best-sellers .product-name { min-height: 2.8em; max-height: 2.8em; margin-bottom: 5px; }
.best-sellers .product-rating { min-height: 16px; white-space: nowrap; }
.best-sellers .product-price-row { min-height: 20px; }
.best-sellers .product-card[hidden] { display: none !important; }
.best-sellers .product-img,
.best-sellers .product-img-placeholder { background: #fff !important; }
.best-sellers .rank-badge { background: linear-gradient(140deg,#d9102b,#a90819); }
.section.official-shop-products {
  margin-top: 0;
  margin-bottom: 28px;
  padding: 30px 0;
  background: #fff;
  border: 1px solid #eadfcb;
  border-radius: 22px;
  box-shadow: 0 9px 26px #7337170b;
}
.official-shop-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.official-shop-eyebrow { margin: 0 0 5px; color: #b20b23; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.official-shop-heading h2 { margin: 0; color: #57251a; font-size: 24px; line-height: 1.25; }
.official-shop-intro { margin: 7px 0 0; color: #7b6d63; font-size: 13px; }
.official-shop-all { flex: none; color: #ac0b20; font-size: 13px; font-weight: 700; }
.official-shop-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
.official-shop-card { display: flex; flex-direction: column; min-width: 0; padding: 9px; border: 1px solid #f0e6d8; border-radius: 13px; background: #fffdfa; color: #3c302c; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.official-shop-card:hover { border-color: #e2bc76; box-shadow: 0 8px 20px #77431715; transform: translateY(-2px); }
.official-shop-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 8px; background: #fff; }
.official-shop-name { display: -webkit-box; min-height: 3.6em; margin: 10px 3px 2px; overflow: hidden; font-size: 12px; font-weight: 650; line-height: 1.2; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.section.promo-blocks.section.promo-blocks { display: none !important; }
.footer.footer {
  position: relative;
  margin-top: 18px;
  padding-top: 36px;
  color: #3e2d25;
  background: radial-gradient(circle at 90% -30%,#f3dfaa,transparent 35%),linear-gradient(150deg,#fffdfa,#fff5e5);
  border: 1px solid #e5c98e;
  border-top: 5px solid #a5091b;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -7px 24px #70451412;
  overflow: hidden;
}
.footer.footer::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg,#ab6c15,#fff0ae,#bb801d); }
.footer .footer-inner { gap: 55px; }
.footer .footer-brand { border-right: 1px solid #e7d2a8; padding-right: 35px; }
.footer .footer-brand .logo { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.footer .footer-desc { color: #8a6040; }
.footer .footer-address { color: #654e3e; }
.footer .footer-address svg { color: #ad0a20; }
.footer .footer-connect-title { color: #482b22; }
.footer .footer-connect-title .accent { color: #aa0a1c; }
.footer .footer-connect-sub { color: #806e60; }
.footer .footer-subscribe input { color: #3c2b22; background: white; border: 1px solid #dec594; border-radius: 10px; }
.footer .footer-subscribe input::placeholder { color: #9b9084; }
.footer .footer-subscribe button { border-radius: 10px; background: linear-gradient(140deg,#c9112b,#9d0718); box-shadow: 0 4px 12px #a5091b31; }
.footer .footer-divider { border-color: #e4d1ab; }
.footer .footer-follow-title { color: #66342a; }
.footer .social-btn { color: #a5091b; border-color: #dfc58c; background: #fffefa; }
.footer .social-btn:hover { background: #a5091b; color: white; border-color: #a5091b; }
.footer .footer-bottom { color: #806d60; border-top: 1px solid #e9d9b8; }
.footer .footer-legal a { color: #806d60; }
.footer .footer-legal a:hover { color: #a5091b; }
@media (max-width: 1090px) and (min-width: 769px) {
  .best-sellers .products-scroll { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .official-shop-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 768px) {
  .trust-bar.trust-bar { margin: 12px 12px 22px; padding: 10px; border-radius: 16px; }
  .trust-bar .trust-inner { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0; gap: 0; }
  .trust-bar .trust-item { justify-content: flex-start; padding: 10px 6px; border: 0 !important; }
  .trust-bar .trust-item:nth-child(2n) { border-left: 1px solid #ead9b8 !important; }
  .trust-bar .trust-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .section.best-sellers.section.best-sellers { margin: 0 12px 22px; padding: 22px 0; border-radius: 18px; }
  .section.best-sellers .section-inner { padding: 0 14px; }
  .best-sellers .products-scroll { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .best-sellers .product-card { width: auto; }
  .section.official-shop-products { margin: 0 12px 22px; padding: 22px 0; border-radius: 18px; }
  .section.official-shop-products .section-inner { padding: 0 14px; }
  .official-shop-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .official-shop-heading h2 { font-size: 20px; }
  .official-shop-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }

  .footer.footer { margin: 20px 12px 0; padding-top: 25px; border-radius: 18px 18px 0 0; }
  .footer .footer-inner { padding: 0 20px 24px; }
  .footer .footer-brand { border-right: 0; border-bottom: 1px solid #e7d2a8; padding-right: 0; padding-bottom: 20px; }
  .footer .footer-bottom { padding: 16px 20px; }
}
@media (max-width: 390px) { .trust-bar .trust-text span { font-size: 10px; } .trust-bar .trust-icon { flex-basis: 32px; width: 32px; height: 32px; } }
@media (prefers-reduced-motion: reduce) { .trust-bar .trust-icon svg { transition: none; } }

/* Modern three-scene campaign: art matches the track ratio, copy stays editable. */
.hero-banner .hero-banner-track { container-type: inline-size; }
.hero-banner .hero-slide img,
.hero-banner .hero-slide:nth-child(1) img,
.hero-banner .hero-slide:nth-child(3) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
  filter: none;
}
.hero-banner .hero-slide { overflow: hidden; }
.hero-banner .hero-arrow { z-index: 4; }
.hero-banner .hero-banner-dots { z-index: 4; }
.hero-campaign-copy {
  position: absolute;
  z-index: 2;
  left: 7%;
  top: 50%;
  width: 49%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateY(-50%);
  color: #29120c;
  font-family: 'Noto Sans', Arial, sans-serif;
  letter-spacing: -.025em;
  pointer-events: none;
  text-align: left;
}
.hero-campaign-heading { width: 100%; margin: 0; font: inherit; letter-spacing: inherit; }
.hero-campaign-kicker { display: block; margin-bottom: .3em; font-size: clamp(15px, 2.1cqw, 25px); font-weight: 800; }
.hero-campaign-title { display: block; width: 100%; font-weight: 900; line-height: 1.02; letter-spacing: -.055em; }
.hero-title-line { display: block; }
.hero-title-line.accent { color: #be0019; }
.hero-title-line.gold { color: #ffd454; }
.hero-title-line.light { color: #fff; }
.hero-campaign-subtitle { display: block; margin-top: .6em; font-size: clamp(13px, 1.55cqw, 18px); font-weight: 800; line-height: 1.35; }
.hero-campaign-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2em; }
.hero-campaign-action { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 13px; font-size: clamp(12px, 1.34cqw, 16px); font-weight: 800; box-shadow: 0 6px 20px #71131b22; }
.hero-campaign-action.primary { color: #fff; background: #bd0018; }
.hero-campaign-action.secondary { color: #751023; background: #fff; }
.hero-campaign-rewards { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.hero-campaign-reward { display: inline-block; padding: 5px 9px; border: 1px solid #d8b584; border-radius: 99px; background: #fff9ecdd; color: #72221b; font-size: clamp(9px, 1.03cqw, 12px); font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.hero-campaign-categories { display: block; margin-top: 13px; color: #68443b; font-size: clamp(8px, .9cqw, 11px); font-weight: 750; line-height: 1.6; letter-spacing: 0; }
.hero-campaign-footnote { display: block; margin-top: 3px; color: #8d6158; font-size: clamp(9px, .96cqw, 11px); line-height: 1.35; letter-spacing: 0; }
.hero-campaign-copy-1 .hero-campaign-title { font-size: clamp(36px, 6.2cqw, 70px); font-style: italic; }
.hero-campaign-copy-1 { color: #fff; }
.hero-campaign-copy-1 .hero-title-line.accent { color: #ffe09a; }
.hero-campaign-copy-1 .hero-campaign-action.primary { color: #5d2119; background: #fff; }
.hero-campaign-copy-2 { top: 7%; left: 6%; width: 43%; transform: none; }
.hero-campaign-copy-2 .hero-campaign-kicker { color: #a92522; font-size: clamp(10px, 1.08cqw, 13px); letter-spacing: .08em; }
.hero-campaign-copy-2 .hero-campaign-title { font-size: clamp(28px, 4.3cqw, 48px); }
.hero-campaign-copy-2 .hero-campaign-subtitle { margin-top: .55em; color: #ad0923; font-size: clamp(10px, 1.33cqw, 15px); }
.hero-campaign-copy-2 .hero-campaign-actions { margin-top: 16px; }
.hero-campaign-copy-2 .hero-campaign-action { min-height: 34px; padding: 0 12px; font-size: clamp(10px, 1.14cqw, 13px); }
.hero-campaign-copy-2 .hero-campaign-rewards { width: 100%; }
.hero-campaign-copy-3 { width: 50%; color: #fff; }
.hero-campaign-copy-3 .hero-campaign-title { font-size: clamp(36px, 5.6cqw, 64px); }
.hero-campaign-copy-3 .hero-campaign-subtitle { font-size: clamp(15px, 1.9cqw, 22px); }
.hero-campaign-copy-3 .hero-campaign-rewards { margin-top: 24px; }
.hero-campaign-copy-3 .hero-campaign-reward { color: #fff; border-color: #ffffff70; background: #ffffff22; font-size: clamp(10px, 1.12cqw, 13px); }
.hero-campaign-mobile-heading { display: none; }
@media (max-width: 768px) {
  .hero-banner .hero-banner-track { height: clamp(490px, 135vw, 620px); aspect-ratio: auto; }
  .hero-banner .hero-slide img,
  .hero-banner .hero-slide:nth-child(1) img,
  .hero-banner .hero-slide:nth-child(3) img {
    display: block;
    width: 100%;
    height: 50%;
    object-fit: cover;
    object-position: 74% center;
  }
  .hero-banner .hero-slide:nth-child(2) img { object-position: 72% center; }
  .hero-campaign-copy,
  .hero-campaign-copy-2,
  .hero-campaign-copy-3 {
    top: auto;
    bottom: 0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    height: 55%;
    padding: 17px 20px 20px;
    transform: none;
    justify-content: center;
  }
  .hero-campaign-copy-1 { background: linear-gradient(180deg, #ffdc63, #ffc12b); }
  .hero-campaign-copy-2 { background: linear-gradient(180deg, #fffaf3, #fff4e9); }
  .hero-campaign-copy-3 { background: linear-gradient(180deg, #bf001b, #950012); }
  .hero-campaign-kicker { margin-bottom: 2px; font-size: 14px; }
  .hero-campaign-subtitle { margin-top: 6px; font-size: 11px; }
  .hero-campaign-copy-1 .hero-campaign-title { font-size: clamp(29px, 9cqw, 45px); }
  .hero-campaign-copy-1 .hero-campaign-action { min-height: 32px; }
  .hero-campaign-copy-2 .hero-campaign-kicker { font-size: 9px; }
  .hero-campaign-copy-2 .hero-campaign-title { font-size: clamp(25px, 7.2cqw, 35px); }
  .hero-campaign-copy-2 .hero-campaign-subtitle { font-size: 10px; }
  .hero-campaign-copy-2 .hero-campaign-actions { margin-top: 7px; gap: 6px; }
  .hero-campaign-copy-2 .hero-campaign-action { min-height: 27px; padding: 0 9px; font-size: 9px; border-radius: 8px; }
  .hero-campaign-copy-2 .hero-campaign-rewards { margin-top: 7px; gap: 4px; }
  .hero-campaign-copy-2 .hero-campaign-reward { padding: 2px 6px; font-size: 8px; }
  .hero-campaign-copy-2 .hero-campaign-categories { margin-top: 6px; font-size: 8px; line-height: 1.25; }
  .hero-campaign-copy-2 .hero-campaign-footnote { font-size: 8px; }
  .hero-campaign-copy-3 .hero-campaign-title { font-size: clamp(32px, 9cqw, 48px); }
  .hero-campaign-copy-3 .hero-campaign-subtitle { font-size: 13px; }
  .hero-campaign-copy-3 .hero-campaign-rewards { margin-top: 10px; }
  .hero-campaign-copy-3 .hero-campaign-reward { font-size: 9px; }
  .hero-banner .hero-banner-dots { right: 10px; bottom: 9px; }
}

/* Portrait campaign layout selected for phones: one continuous image and live copy. */
@media (max-width: 768px) {
  .mobile-header.mobile-header { height: clamp(66px, 17vw, 76px); border: 0; background: #fff; box-shadow: 0 2px 12px #1b253018; }
  .mobile-header .mobile-header-inner { height: 100%; padding: 0 clamp(12px, 4vw, 20px); gap: clamp(7px, 2vw, 12px); }
  .mobile-header .hamburger { width: 36px; height: 44px; color: #071b35; }
  .mobile-header .hamburger span { width: 24px; height: 2.5px; background: #071b35; }
  .mobile-header .logo { min-width: 0; margin: 0; }
  .mobile-header .site-logo-img { display: block; width: auto; height: clamp(36px, 10vw, 50px) !important; object-fit: contain; }
  .mobile-header .mobile-header-right { gap: clamp(0px, 1vw, 6px); margin-left: auto; }
  .mobile-header .mobile-lang-btn, .mobile-header .notif-btn { display: none; }
  .mobile-header .mobile-search-wrap { display: none; position: absolute; z-index: 5; top: calc(100% + 4px); left: 12px; right: 12px; height: 44px; padding: 0 14px; border: 1px solid #e1cfaa; border-radius: 12px; background: #fff; box-shadow: 0 9px 22px #071b3525; }
  .mobile-header.search-open .mobile-search-wrap { display: flex; }
  .mobile-header .mobile-search-input { width: 100%; font-size: 14px; }
  .mobile-header .mobile-search-toggle, .mobile-header .mobile-account-link, .mobile-header .mobile-cart-link { display: grid; flex: 0 0 clamp(32px, 9vw, 42px); place-items: center; width: clamp(32px, 9vw, 42px); height: 44px; padding: 0; border-radius: 10px; color: #071b35; background: transparent; }
  .mobile-header .mobile-search-toggle svg, .mobile-header .mobile-account-link svg, .mobile-header .mobile-cart-link svg { display: block; width: clamp(23px, 6vw, 29px); height: clamp(23px, 6vw, 29px); stroke: currentColor; }
  .mobile-header :is(.mobile-search-toggle,.mobile-account-link,.mobile-cart-link):hover { color: #ba071e; background: #fff3ed; }

  .hero-banner.hero-banner { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
  .hero-banner .hero-banner-inner { width: 100%; max-width: none; padding: 0; }
  .hero-banner .hero-banner-track { width: 100%; height: auto; aspect-ratio: 752 / 1206; border-radius: 0; background: #8a2b08; }
  .hero-banner .hero-slide { background: #8a2b08; }
  .hero-banner .hero-slide:nth-child(2) { background: #fff8ed; }
  .hero-banner .hero-slide:nth-child(3) { background: #9e0016; }
  .hero-banner .hero-slide img,
  .hero-banner .hero-slide:nth-child(1) img,
  .hero-banner .hero-slide:nth-child(3) img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: none; filter: none; }
  .hero-banner .hero-banner-dots { z-index: 4; right: 0; bottom: 23px; left: 0; width: 100%; height: auto; justify-content: center; gap: 10px; }
  .hero-banner .hero-banner-dot { width: 10px; height: 10px; border-radius: 50%; background: #fff9; box-shadow: 0 1px 4px #340b1873; }
  .hero-banner .hero-banner-dot.active { width: 10px; height: 10px; background: #fff; }
  .hero-banner .hero-arrow { display: none; }

  .hero-campaign-copy,
  .hero-campaign-copy-2,
  .hero-campaign-copy-3 { top: 9%; bottom: auto; left: 9%; width: 82%; height: auto; padding: 0; justify-content: flex-start; transform: none; background: none; }
  .hero-campaign-copy-1 { color: #fff; }
  .hero-campaign-copy-1 .hero-campaign-heading > .hero-campaign-kicker,
  .hero-campaign-copy-1 .hero-campaign-heading > .hero-campaign-title { display: none; }
  .hero-campaign-mobile-heading { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
  .hero-mobile-prefix { color: #fff; font-size: clamp(18px, 5.8vw, 28px); font-weight: 750; line-height: 1.12; letter-spacing: -.035em; }
  .hero-mobile-brand { margin: 3px 0 11px; color: #ffd66b; font-size: clamp(27px, 8.7vw, 42px); font-weight: 900; line-height: 1; letter-spacing: -.065em; text-shadow: 0 2px 12px #3b170552; }
  .hero-mobile-intro { color: #fff; font-size: clamp(24px, 7.4vw, 35px); font-weight: 850; line-height: 1; }
  .hero-mobile-discount { margin-top: 3px; color: #ffe39a; font-size: clamp(48px, 14.1vw, 70px); font-weight: 1000; line-height: .98; letter-spacing: -.085em; white-space: nowrap; text-shadow: 0 3px 0 #c17311, 0 7px 18px #451b0873; }
  .hero-slide[data-campaign-lang="az"] .hero-mobile-intro { color: #ffe39a; font-size: clamp(56px, 17vw, 82px); text-shadow: 0 3px 0 #c17311, 0 7px 18px #451b0873; }
  .hero-slide[data-campaign-lang="az"] .hero-mobile-discount { font-size: clamp(43px, 12vw, 60px); }
  .hero-campaign-copy-1 .hero-campaign-subtitle { max-width: 84%; margin-top: 9px; color: #fff; font-size: clamp(11px, 3.2vw, 16px); font-weight: 850; line-height: 1.2; }
  .hero-campaign-copy-1 .hero-campaign-actions { margin-top: 19px; }
  .hero-campaign-copy-1 .hero-campaign-action.primary { min-height: 42px; padding: 0 18px; border-radius: 99px; color: #c4071c; background: #fff; box-shadow: 0 7px 18px #41120950; font-size: clamp(12px, 3.7vw, 17px); }

  .hero-campaign-copy-2 { top: 7%; left: 8%; width: 86%; color: #331912; }
  .hero-campaign-copy-2 .hero-campaign-kicker { margin: 0 0 10px; color: #ab101d; font-size: clamp(9px, 2.6vw, 12px); line-height: 1.25; }
  .hero-campaign-copy-2 .hero-campaign-title { max-width: 76%; font-size: clamp(29px, 8.1vw, 42px); line-height: 1.02; }
  .hero-campaign-copy-2 .hero-campaign-subtitle { max-width: 80%; margin-top: 10px; font-size: clamp(10px, 2.9vw, 14px); }
  .hero-campaign-copy-2 .hero-campaign-actions { margin-top: 15px; gap: 7px; }
  .hero-campaign-copy-2 .hero-campaign-action { min-height: 32px; padding: 0 11px; border-radius: 99px; font-size: clamp(9px, 2.7vw, 12px); }
  .hero-campaign-copy-2 .hero-campaign-rewards { max-width: 94%; margin-top: 15px; gap: 5px; }
  .hero-campaign-copy-2 .hero-campaign-reward { padding: 4px 7px; background: #fffaf3f5; font-size: clamp(8px, 2.1vw, 10px); }
  .hero-campaign-copy-2 .hero-campaign-categories,
  .hero-campaign-copy-2 .hero-campaign-footnote { display: none; }

  .hero-campaign-copy-3 { top: 10%; left: 9%; width: 84%; color: #fff; }
  .hero-campaign-copy-3 .hero-campaign-title { font-size: clamp(47px, 14vw, 68px); line-height: .98; }
  .hero-campaign-copy-3 .hero-campaign-subtitle { margin-top: 16px; color: #fff8ed; font-size: clamp(15px, 4vw, 20px); line-height: 1.3; }
  .hero-campaign-copy-3 .hero-campaign-rewards { max-width: 85%; margin-top: 20px; gap: 7px; }
  .hero-campaign-copy-3 .hero-campaign-reward { padding: 6px 9px; color: #fff; border-color: #ffffff82; background: #7100148c; font-size: clamp(9px, 2.5vw, 12px); }

  .trust-bar.trust-bar { width: 100%; min-height: 82px; margin: 0 0 24px; padding: 13px 11px; border: 0; border-radius: 0 0 20px 20px; background: linear-gradient(180deg,#fff,#fdf9f2); box-shadow: 0 10px 22px #5a2b1012; }
  .trust-bar .trust-inner { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; width: 100%; height: 100%; }
  .trust-bar .trust-item { justify-content: center; gap: 5px; min-width: 0; padding: 3px 5px; border: 0 !important; }
  .trust-bar .trust-item:nth-child(2) { display: none; }
  .trust-bar .trust-item:nth-child(3) { grid-column: 1; grid-row: 1; }
  .trust-bar .trust-item:nth-child(1) { grid-column: 2; grid-row: 1; border-left: 1px solid #e9dfd2 !important; }
  .trust-bar .trust-item:nth-child(4) { grid-column: 3; grid-row: 1; border-left: 1px solid #e9dfd2 !important; }
  .trust-bar .trust-icon { flex: 0 0 30px; width: 30px; height: 34px; border: 0; background: none; box-shadow: none; }
  .trust-bar .trust-icon svg { width: 28px; height: 28px; }
  .trust-bar .trust-text { min-width: 0; }
  .trust-bar .trust-text strong { display: block; color: #081c37; font-size: clamp(10px, 2.9vw, 13px); line-height: 1.2; }
  .trust-bar .trust-text span { display: none; }
}
@media (max-width: 360px) {
  .mobile-header .mobile-search-toggle, .mobile-header .mobile-account-link, .mobile-header .mobile-cart-link { flex-basis: 31px; width: 31px; }
  .hero-mobile-discount { font-size: 47px; }
  .trust-bar.trust-bar { padding-inline: 5px; }
  .trust-bar .trust-item { gap: 2px; padding-inline: 2px; }
  .trust-bar .trust-icon { flex-basis: 25px; width: 25px; }
  .trust-bar .trust-icon svg { width: 23px; height: 23px; }
  .mobile-categories .categories-grid { display: flex; gap: 13px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-snap-type: x proximity; }
  .mobile-categories .categories-grid::-webkit-scrollbar { display: none; }
  .mobile-categories .cat-item { flex: 0 0 46px; scroll-snap-align: start; }
}

/* News videos: a clear poster in localhost previews and a direct fallback on web domains. */
.nd-video { position: relative; }
.nd-video:has(.nd-video-preview) { background: #fff8ec; box-shadow: 0 12px 32px #40231a1c; }
.nd-video-preview { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; color: #fff; }
.nd-video-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .35s ease; }
.nd-video-preview::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 43%, #170707a6 100%); }
.nd-video-preview:hover img, .nd-video-preview:focus-visible img { transform: scale(1.035); }
.nd-video-preview:focus-visible { outline: 3px solid #bf0820; outline-offset: -3px; }
.nd-video-play { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; place-items: center; width: clamp(54px, 8vw, 78px); height: clamp(54px, 8vw, 78px); padding-left: 4px; border: 2px solid #ffffffba; border-radius: 50%; background: #bf001ce8; box-shadow: 0 12px 30px #26000066; font-size: clamp(22px, 3vw, 30px); transform: translate(-50%, -50%); }
.nd-video-caption { position: absolute; z-index: 1; right: 22px; bottom: 19px; left: 22px; font-size: clamp(14px, 2vw, 18px); font-weight: 800; text-shadow: 0 2px 12px #0008; }
.nd-video-direct { position: absolute; z-index: 2; right: 12px; bottom: 12px; padding: 7px 12px; border-radius: 99px; color: #fff; background: #a60019e8; font-size: 12px; font-weight: 700; }
.nd-video-replacement-note { position: absolute; z-index: 2; top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 6px 10px; border-radius: 99px; color: #5e1715; background: #fff8e8ed; font-size: 11px; font-weight: 700; }
@media (max-width: 480px) { .nd-video-caption { right: 14px; bottom: 12px; left: 14px; font-size: 13px; } .nd-video-replacement-note { font-size: 10px; } }

.nd-video iframe[hidden] { display: none !important; }

/* Inner pages share the same outside edge as the home hero and footer. */
.page-hero:has(+ .about-section),
.about-section,
.section.about-whatwedo-section,
.section.about-map-section,
.section.news-section {
  box-sizing: border-box;
  width: min(1200px, calc(100% - 32px));
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}
.page-hero:has(+ .about-section) {
  display: flex;
  align-items: center;
  min-height: 320px;
  margin-top: 18px;
  margin-bottom: 20px;
  padding: 44px 0;
  overflow: hidden;
  border: 1px solid #ead0a0;
  border-radius: 22px;
  background:
    linear-gradient(90deg, #fff8ea 0%, #fff8eaf5 29%, #fff8eac4 49%, #fff8ea0a 73%),
    url('/images/cover-about-v2.webp') center / cover no-repeat;
  box-shadow: 0 12px 30px #61381017;
}
.page-hero:has(+ .about-section) .page-hero-inner {
  box-sizing: border-box;
  width: min(1100px, calc(100% - 48px));
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}
.page-hero:has(+ .about-section) .page-hero-title,
.section.news-section .section-title {
  color: #5b211b;
  font-size: clamp(27px, 3.2vw, 40px);
  line-height: 1.15;
}
.page-hero:has(+ .about-section) .page-hero-sub {
  max-width: 545px;
  margin-top: 12px;
  color: #785143;
  font-size: 16px;
  line-height: 1.55;
}
.about-section,
.section.about-whatwedo-section,
.section.about-map-section {
  margin-bottom: 20px;
  border: 1px solid #efdfc3;
  border-radius: 20px;
  box-shadow: 0 9px 24px #5e37100c;
  overflow: hidden;
}
.about-section { background: #fffdfa; }
.section.about-whatwedo-section { background: linear-gradient(125deg, #fff9ec, #fffdf9); }
.section.about-map-section { background: #fffdfa; }
.section.about-whatwedo-section .section-inner,
.section.about-map-section .section-inner {
  box-sizing: border-box;
  width: min(1100px, calc(100% - 48px));
  max-width: 1100px;
  padding-right: 0;
  padding-left: 0;
}
.section.news-section {
  margin-top: 18px;
  margin-bottom: 22px;
  padding: 0 0 36px;
  overflow: hidden;
  border: 1px solid #ead9b9;
  border-radius: 22px;
  background: #fffdfa;
  box-shadow: 0 12px 30px #61381012;
}
.section.news-section .section-inner { max-width: none; padding: 0; }
.section.news-section .section-header {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 320px;
  margin: 0 0 32px;
  padding: 42px max(50px, calc((100% - 1100px) / 2));
  background:
    linear-gradient(90deg, #7c0016c9 0%, #8c00156e 42%, transparent 68%),
    url('/images/cover-news-v2.webp') center / cover no-repeat;
}
.section.news-section .section-title { color: #fff; text-shadow: 0 2px 15px #4a00135c; }
.section.news-section .section-sub {
  max-width: 450px;
  margin-top: 13px;
  color: #fff6ef;
  font-size: 15px;
  line-height: 1.55;
  text-shadow: 0 2px 12px #48000e8a;
}
.section.news-section .see-all {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 22px;
  padding: 0 15px;
  border: 1px solid #fff8;
  border-radius: 10px;
  color: #8c0016;
  background: #fff8eb;
  box-shadow: 0 5px 15px #39000829;
}
.section.news-section .news-grid {
  box-sizing: border-box;
  width: min(1100px, calc(100% - 48px));
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .page-hero:has(+ .about-section) {
    min-height: 340px;
    padding: 24px 0;
    background-position: center, 60% 44%;
    background-image:
      linear-gradient(90deg, #fff8eafc 0%, #fff8eaf0 62%, #fff8eab0 86%, #fff8ea45),
      url('/images/cover-about-v2.webp');
  }
  .page-hero:has(+ .about-section) .page-hero-inner { width: calc(100% - 36px); }
  .page-hero:has(+ .about-section) .page-hero-title,
  .section.news-section .section-title { font-size: 27px; }
  .page-hero:has(+ .about-section) .page-hero-sub { max-width: 270px; font-size: 13px; }
  .about-section, .section.about-whatwedo-section, .section.about-map-section { margin-bottom: 14px; border-radius: 16px; }
  .about-section { padding: 28px 0; }
  .about-section .about-inner { padding: 0 18px; }
  .section.about-whatwedo-section .section-inner,
  .section.about-map-section .section-inner { width: calc(100% - 36px); }
  .section.news-section { padding-bottom: 22px; border-radius: 18px; }
  .section.news-section .section-header {
    min-height: 250px;
    margin-bottom: 18px;
    padding: 26px 20px;
    background-position: center, 60% center;
  }
  .section.news-section .section-sub { max-width: 260px; font-size: 12px; }
  .section.news-section .see-all { min-height: 32px; padding: 0 10px; font-size: 11px; }
  .section.news-section .news-grid { width: calc(100% - 28px); }
}

/* Product categories use the same cover and content frame as the inner pages. */
.page-hero:has(+ .categories-full), .section.categories-full, .section.category-guide {
  box-sizing: border-box;
  width: min(1200px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
  border: 1px solid #ead9b9;
  border-radius: 22px;
  overflow: hidden;
}
.page-hero:has(+ .categories-full) {
  display: flex;
  align-items: center;
  min-height: 320px;
  margin-top: 18px;
  margin-bottom: 20px;
  padding: 42px 0;
  background: linear-gradient(90deg, #750017ed, #7900168a 48%, transparent 75%), url('/images/cover-deals-v2.webp') center / cover no-repeat;
  box-shadow: 0 12px 30px #61381017;
}
.page-hero:has(+ .categories-full) .page-hero-inner,
.section.categories-full .section-inner, .section.category-guide .section-inner {
  width: min(1100px, calc(100% - 48px));
  max-width: 1100px;
  margin: auto;
  padding: 0;
}
.page-hero:has(+ .categories-full) .page-hero-title { max-width: 590px; color: #fff; font-size: clamp(27px, 3.2vw, 40px); line-height: 1.2; }
.page-hero:has(+ .categories-full) .page-hero-sub { max-width: 510px; margin-top: 16px; color: #fff1df; font-size: 16px; line-height: 1.65; }
.section.categories-full { padding: 32px 0; margin-bottom: 20px; background: #fffdfa; }
.categories-full .categories-full-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.categories-full .cat-full-item { padding: 0 0 20px; gap: 0; border: 1px solid #edddc4; border-radius: 16px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.categories-full .cat-full-item:hover { transform: none; background: #fff; border-color: #ce9e4b; box-shadow: 0 8px 22px #60391116; }
.categories-full .cat-full-icon { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 0; overflow: hidden; }
.categories-full .cat-full-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.categories-full .cat-full-name { min-height: 48px; display: flex; align-items: center; justify-content: center; padding: 14px 12px 0; color: #5b211b; font-size: 14px; line-height: 1.5; }
.categories-full .cat-full-count { margin-top: 6px; color: #8a7463; font-size: 12px; }
.section.category-guide { padding: 38px 0; margin-bottom: 24px; background: linear-gradient(125deg, #fff9ec, #fffdfa); }
.category-guide .category-kicker { color: #b20722; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.category-guide h2 { margin: 10px 0 14px; color: #5b211b; font-size: 26px; line-height: 1.35; }
.category-guide p { color: #785e4f; font-size: 14px; line-height: 1.8; }
.category-guide-intro { max-width: 850px; }
.category-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 26px 0 34px; }
.category-guide-grid article { padding: 22px; border: 1px solid #eadcc4; border-radius: 16px; background: #fff; }
.category-guide-grid h3 { margin: 0 0 12px; color: #672b21; font-size: 17px; line-height: 1.45; }
.category-guide .category-faq-title { font-size: 22px; }
.category-faq details { padding: 17px 0; border-bottom: 1px solid #eadcc4; }
.category-faq summary { cursor: pointer; color: #672b21; font-size: 15px; font-weight: 600; }
.category-faq p { max-width: 880px; margin: 12px 0 0; }
.category-guide-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.category-guide-links a { padding: 10px 15px; border: 1px solid #dfc493; border-radius: 10px; color: #a80721; background: #fff; font-size: 13px; font-weight: 600; }
@media (max-width: 950px) { .categories-full .categories-full-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .page-hero:has(+ .categories-full), .section.categories-full, .section.category-guide { width: calc(100% - 24px); }
  .page-hero:has(+ .categories-full) { min-height: 300px; margin-top: 12px; padding: 30px 0; border-radius: 18px; background-position: center, 62% center; background-image: linear-gradient(90deg, #750017f5, #790016bf 62%, #79001655), url('/images/cover-deals-v2.webp'); }
  .page-hero:has(+ .categories-full) .page-hero-inner, .section.categories-full .section-inner, .section.category-guide .section-inner { width: calc(100% - 36px); }
  .page-hero:has(+ .categories-full) .page-hero-title { max-width: 340px; font-size: 27px; }
  .page-hero:has(+ .categories-full) .page-hero-sub { max-width: 320px; font-size: 13px; }
  .section.categories-full, .section.category-guide { border-radius: 18px; padding: 22px 0; }
  .categories-full .categories-full-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .categories-full .cat-full-name { min-height: 57px; padding: 10px 8px 0; font-size: 12px; }
  .categories-full .cat-full-count { font-size: 10px; }
  .category-guide h2 { font-size: 23px; }
  .category-guide-grid { grid-template-columns: 1fr; gap: 12px; }
  .category-guide-grid article { padding: 18px; }
}

/* The user gallery gets a real heading and a cover without changing its images. */
.inner-page-cover.usercenter-cover,
.section.usercenter-section {
  box-sizing: border-box;
  width: min(1200px, calc(100% - 32px));
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}
.inner-page-cover.usercenter-cover {
  display: flex;
  align-items: center;
  min-height: 320px;
  margin-top: 18px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid #ead0a0;
  border-radius: 22px;
  background:
    linear-gradient(90deg, #fffaf0 0%, #fffaf0ee 34%, #fffaf09e 54%, transparent 73%),
    url('/images/cover-usercenter-v2.webp') center / cover no-repeat;
  box-shadow: 0 12px 30px #61381017;
}
.usercenter-cover-inner {
  box-sizing: border-box;
  width: min(1100px, calc(100% - 48px));
  max-width: 1100px;
  margin: 0 auto;
}
.usercenter-cover h1 {
  max-width: 500px;
  margin: 0;
  color: #5b211b;
  font-size: clamp(27px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}
.usercenter-cover h1::after {
  content: '';
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 20px;
  border-radius: 3px;
  background: linear-gradient(90deg, #ae071b, #e0b45c);
}
.usercenter-cover-description {
  max-width: 500px;
  margin-top: 18px;
  color: #785143;
  font-size: 16px;
  line-height: 1.55;
}
.section.usercenter-section {
  margin-bottom: 20px;
  padding: 40px 0;
  border: 1px solid #efdfc3;
  border-radius: 20px;
  background: #fffdfa;
  box-shadow: 0 9px 24px #5e37100c;
}
.section.usercenter-section .section-inner {
  box-sizing: border-box;
  width: min(1100px, calc(100% - 48px));
  max-width: 1100px;
  padding-right: 0;
  padding-left: 0;
}
@media (max-width: 768px) {
  .inner-page-cover.usercenter-cover {
    min-height: 280px;
    margin-bottom: 14px;
    border-radius: 18px;
    background-position: center, 62% center;
    background-image:
      linear-gradient(90deg, #fffaf0fc 0%, #fffaf0f0 62%, #fffaf0b0 86%, #fffaf045),
      url('/images/cover-usercenter-v2.webp');
  }
  .usercenter-cover-inner { width: calc(100% - 36px); }
  .usercenter-cover h1 { max-width: 230px; font-size: 27px; }
  .usercenter-cover-description { max-width: 270px; font-size: 13px; }
  .section.usercenter-section { margin-bottom: 14px; padding: 20px 0; border-radius: 16px; }
  .section.usercenter-section .section-inner { width: calc(100% - 28px); }
}
@media (max-width: 768px) {
  .section.news-section .section-header {
    min-height: 282px;
    background-image:
      linear-gradient(90deg, #680012f2 0%, #740014df 49%, #7400149c 77%, transparent 100%),
      url('/images/cover-news-v2.webp');
  }
  .section.news-section .section-header > div { max-width: 230px; }
  .section.news-section .section-sub { max-width: 220px; }
}

/* Keep the deals page within the same frame as the header and footer. */
@media (min-width: 769px) {
  .page-hero:has(+ .deals-featured-section),
  .section.deals-featured-section,
  .section.deals-featured-section + .section {
    box-sizing: border-box;
    width: min(1200px, calc(100% - 32px));
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
  }
  .page-hero:has(+ .deals-featured-section) {
    margin-top: 18px;
    border-radius: 22px;
  }
  .section.deals-featured-section {
    border-radius: 20px;
  }
  .section.deals-featured-section + .section {
    margin-top: 18px;
    margin-bottom: 18px;
    border: 1px solid #f0dfc4;
    border-radius: 20px;
    background: #fffdfa;
  }
  .page-hero:has(+ .deals-featured-section) .page-hero-inner,
  .section.deals-featured-section .section-inner,
  .section.deals-featured-section + .section .section-inner {
    box-sizing: border-box;
    width: min(1100px, calc(100% - 48px));
    max-width: 1100px;
    padding-right: 0;
    padding-left: 0;
  }
}

/* Daily deals has its own campaign cover, aligned with the other inner pages. */
.page-hero:has(+ .deals-featured-section) {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 320px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid #d6ad73;
  background:
    linear-gradient(90deg, #49041ae6 0%, #57061cc9 29%, #67092473 48%, transparent 72%),
    url('/images/cover-deals-v2.webp') center / cover no-repeat;
  box-shadow: 0 12px 30px #61381017;
}
.page-hero:has(+ .deals-featured-section) .page-hero-title {
  max-width: 520px;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  text-shadow: 0 2px 14px #33001166;
}
.page-hero:has(+ .deals-featured-section) .page-hero-sub {
  max-width: 410px;
  color: #fff4e9;
  text-shadow: 0 2px 10px #33001188;
}
@media (max-width: 768px) {
  .page-hero:has(+ .deals-featured-section) {
    width: calc(100% - 24px);
    min-height: 238px;
    margin: 12px auto 14px;
    padding: 24px 0;
    border-radius: 18px;
    background-position: center, 62% center;
    background-image:
      linear-gradient(90deg, #49041af5 0%, #57061cda 50%, #67092470 86%),
      url('/images/cover-deals-v2.webp');
  }
  .page-hero:has(+ .deals-featured-section) .page-hero-inner { width: calc(100% - 34px); }
  .page-hero:has(+ .deals-featured-section) .page-hero-title { max-width: 260px; font-size: 27px; }
  .page-hero:has(+ .deals-featured-section) .page-hero-sub { max-width: 230px; font-size: 13px; }
}
