﻿/* Site-wide responsive polish for Golden Majestic Bakery pages. */
@import url("https://fonts.googleapis.com/css2?family=Marcellus&display=swap");
:root {
  --mobile-gutter: clamp(16px, 4vw, 22px);
  --tablet-gutter: clamp(22px, 4vw, 36px);
  --soft-border: rgba(222, 200, 186, 0.64);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Golden Group story: matching card surface, deep copy overlay and vertical logo rail. */
.golden-group-section {
  padding: clamp(26px, 3.5vw, 48px) var(--mobile-gutter);
  background: #f7efe6;
}

.golden-group-wrap {
  width: min(1350px, 100%);
  margin: 0 auto;
}

.golden-group-card {
  overflow: hidden;
  border: 1px solid #dfc9b6;
  border-radius: 12px;
  background: #f3e9df;
  box-shadow: 0 22px 60px rgba(49, 23, 14, .1);
}

.golden-group-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .7fr);
  align-items: stretch;
}

.golden-group-copy-panel {
  position: relative;
  isolation: isolate;
  min-width: 0;
  color: #fff9f2;
  background: #2b130b;
}

.golden-group-copy-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(31, 12, 7, .98), rgba(62, 31, 20, .91));
}

.golden-group-copy-content {
  max-width: 900px;
  padding: clamp(28px, 3.5vw, 48px);
}

.golden-group-eyebrow {
  margin: 0 0 14px;
  color: #f3b961;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.golden-group-copy-content h2 {
  max-width: none;
  margin: 0 0 18px;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.72rem, 2.45vw, 2.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.golden-group-copy-content h3 {
  margin: 18px 0 7px;
  color: #f5c980;
  font-family: "Playfair Display", serif;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  font-weight: 700;
  line-height: 1.25;
}

.golden-group-copy-content p {
  max-width: 850px;
  margin: 0 0 9px;
  color: #f3e8e1;
  font-size: clamp(.79rem, .9vw, .9rem);
  font-weight: 500;
  line-height: 1.55;
}

.golden-group-copy-content strong { color: #fff; font-weight: 800; }

.golden-group-copy-content blockquote {
  margin: 12px 0 15px;
  padding: 10px 15px;
  border-left: 4px solid #d48a2d;
  border-radius: 0 8px 8px 0;
  color: #fff;
  background: rgba(255, 255, 255, .09);
  font-size: .9rem;
}

.golden-group-signature {
  display: grid;
  gap: 5px;
  margin-top: 15px;
  color: #f7d39b;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.golden-group-signature strong {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 1.12rem;
}

.golden-group-logo-panel {
  position: relative;
  isolation: isolate;
  min-height: 100%;
  overflow: hidden;
  background: #f3e9df;
}

.golden-group-logo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 10%, rgba(255,255,255,.98), rgba(255,255,255,.34) 55%, rgba(243,233,223,.62));
}

.golden-group-logo-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.2));
}

.golden-group-logo-stack {
  position: absolute;
  inset: 0;
  z-index: 1;
  height: 200%;
  display: flex;
  flex-direction: column;
  animation: golden-group-logo-loop 18s linear infinite;
  will-change: transform;
}

.golden-group-logo-set {
  flex: 0 0 50%;
  min-height: 50%;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 0;
  padding: 0 clamp(24px, 4vw, 58px);
}

.golden-group-logo-set img {
  display: block;
  width: min(100%, 310px);
  height: min(100%, 190px);
  max-height: clamp(120px, 13vw, 190px);
  align-self: center;
  justify-self: center;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(43, 19, 11, .14));
}

.golden-group-cta-row {
  display: flex;
  justify-content: center;
  padding: 18px 20px 20px;
  border-top: 1px solid #dfc9b6;
  background: #f3e9df;
}

.golden-group-cta {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 34px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #cf111b;
  box-shadow: 0 14px 28px rgba(207, 17, 27, .24);
  font: inherit;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}

.golden-group-cta:hover { transform: translateY(-2px); background: #b70d15; }

@keyframes golden-group-logo-loop {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -50%, 0); }
}

.golden-group-reveal-ready .golden-group-copy-content > * {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(28px);
}

.golden-group-reveal-ready.golden-group-revealed .golden-group-copy-content > * {
  animation: golden-group-copy-reveal .72s cubic-bezier(.16, 1, .3, 1) forwards;
  animation-delay: calc(var(--golden-reveal-order, 0) * 75ms);
}

@keyframes golden-group-copy-reveal {
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

/* The Roth artwork remains visible even when optional scroll animations do not initialize. */
.home-roth-poster-section,
.home-roth-poster,
.home-roth-poster img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.home-roth-poster-section {
  position: relative;
  z-index: 1;
  min-height: 1px;
}

.home-roth-poster img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

@media (max-width: 860px) {
  .golden-group-layout { grid-template-columns: 1fr; }
  .golden-group-logo-panel { min-height: 680px; }
}

@media (max-width: 520px) {
  .golden-group-section { padding: 20px 12px; }
  .golden-group-copy-content { padding: 26px 18px; }
  .golden-group-copy-content h2 { font-size: clamp(.98rem, 4.4vw, 1.3rem); line-height: 1.08; letter-spacing: -.04em; }
  .golden-group-copy-content h3 { margin-top: 17px; }
  .golden-group-logo-panel { min-height: 610px; }
  .golden-group-logo-set { padding: 0 24px; gap: 0; }
  .golden-group-logo-set img { width: min(88%, 300px); height: 150px; }
  .golden-group-cta-row { padding: 18px 16px 20px; }
  .golden-group-cta { width: min(100%, 330px); padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .golden-group-logo-stack { height: 100%; animation: none; transform: none; }
  .golden-group-logo-set { flex-basis: 100%; min-height: 100%; }
  .golden-group-logo-set[aria-hidden="true"] { display: none; }
  .golden-group-reveal-ready .golden-group-copy-content > * {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}

.mobile-nav-toggle,
.mobile-menu-panel {
  display: none;
}

.product-card,
.premium-product-detail,
.featured-cookie-card,
.brand-card,
.stat-card,
.table-card,
.order-card {
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .premium-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
  }

  .premium-footer-col,
  .premium-footer-brand {
    min-height: auto !important;
  }
}

@media (max-width: 900px) {
  body {
    background-size: auto;
  }

  body > nav,
  nav.w-full.top-0.sticky {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
  }

  body > nav > div,
  nav.w-full.top-0.sticky > div {
    min-height: 92px;
    padding: 10px var(--mobile-gutter) !important;
    gap: 10px !important;
  }

  .header-logo-button {
    padding-left: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    transform: none !important;
  }

  .nav-logo-circle {
    position: static !important;
    width: clamp(76px, 21vw, 92px) !important;
    height: clamp(76px, 21vw, 92px) !important;
    min-width: clamp(76px, 21vw, 92px) !important;
    max-width: clamp(76px, 21vw, 92px) !important;
    max-height: clamp(76px, 21vw, 92px) !important;
    margin: 0 !important;
    transform: none !important;
    border-width: 2px !important;
  }

  .nav-logo-circle img,
  .nav-logo-circle > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transform: scale(1.16) !important;
  }

  #auth-button {
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 12px !important;
    justify-content: center !important;
  }

  #auth-button-text,
  #auth-button span:not(.material-symbols-outlined) {
    display: none !important;
  }

  #logout-menu {
    right: 0 !important;
    max-width: calc(100vw - 32px) !important;
  }

  body > nav .hidden.md\:flex,
  nav.w-full.top-0.sticky .hidden.md\:flex {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    color: #271b18;
    background: #fff;
    border: 1px solid #d9cec8;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  }

  .mobile-nav-toggle .material-symbols-outlined { color: #271b18 !important; }

  nav[style*="#E6E215"] .mobile-nav-toggle,
  body > nav[style*="#E6E215"] .mobile-nav-toggle {
    color: #10220b;
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(16, 34, 11, 0.18);
  }

  .mobile-menu-panel {
    position: fixed;
    left: var(--mobile-gutter);
    right: var(--mobile-gutter);
    top: 102px;
    z-index: 9998;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(43, 19, 11, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(16px);
  }

  .mobile-menu-panel.open {
    display: grid;
  }

  .mobile-menu-panel a,
  .mobile-menu-panel button {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #fff !important;
    text-align: left;
    font-weight: 800;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.08);
  }

  .mobile-menu-panel a:hover,
  .mobile-menu-panel button:hover {
    background: rgba(212, 138, 45, 0.26);
  }

  main,
  section,
  header,
  footer {
    max-width: 100vw;
  }

  [class*="px-margin-desktop"] {
    padding-left: var(--mobile-gutter) !important;
    padding-right: var(--mobile-gutter) !important;
  }

  .home-main-hero,
  .brand-hero-section,
  .cake-hero,
  .bread-hero,
  .rusk-hero,
  .khari-hero,
  .beverage-hero,
  .about-hero,
  .hero-gradient,
  header[class*="-hero"] {
    min-height: min(760px, calc(100svh - 68px)) !important;
    height: auto !important;
    padding: clamp(54px, 12vw, 86px) var(--mobile-gutter) !important;
    background-position: center !important;
  }

  .home-main-hero-content,
  .home-main-hero-copy,
  header[class*="-hero"] > div,
  .about-hero > div {
    width: 100% !important;
    max-width: 100% !important;
  }

  .home-main-hero-title,
  .cake-hero h1,
  .bread-hero h1,
  .rusk-hero-title,
  .khari-hero-title,
  .beverage-hero h1,
  .about-hero h1,
  .cakes-hero-title,
  header[class*="-hero"] h1 {
    font-size: clamp(2.35rem, 13vw, 4.6rem) !important;
    line-height: 0.98 !important;
    letter-spacing: 0 !important;
  }

  .home-main-hero-text,
  header[class*="-hero"] p,
  .about-hero p {
    max-width: 100% !important;
    font-size: clamp(0.98rem, 3.8vw, 1.16rem) !important;
    line-height: 1.58 !important;
  }

  .category-hero-badge {
    max-width: 100%;
    white-space: normal !important;
    line-height: 1.3 !important;
    margin-bottom: 18px !important;
  }

  .brand-hero-grid,
  .premium-footer-main,
  .premium-footer-badges,
  .general-enquiry-shell,
  .premium-product-detail,
  .product-detail-shell .premium-product-detail,
  .featured-cookie-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-trust-strip,
  .featured-cookie-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .hero-trust-item {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .hero-shell,
  .hero-stage {
    min-height: 390px !important;
    overflow: hidden !important;
  }

  .slider,
  #hero-slider {
    transform-style: preserve-3d;
  }

  .slider-item {
    width: min(68vw, 260px) !important;
    height: min(68vw, 260px) !important;
  }

  .product-card {
    border-radius: 16px !important;
    padding: 14px !important;
    box-shadow: 0 14px 38px rgba(49, 23, 14, 0.10) !important;
  }

  [id$="products-grid"],
  #bread-products-grid,
  #khari-products-grid,
  #cake-products-grid,
  #beverage-products-grid,
  #cookies-products-grid,
  #b2b-products-grid,
  #featured-products-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .premium-product-detail {
    gap: 22px !important;
    padding: 0 !important;
  }

  .premium-product-media,
  .premium-product-info {
    width: 100% !important;
    min-width: 0 !important;
  }

  .premium-title,
  .premium-product-info h1 {
    font-size: clamp(2rem, 10vw, 3rem) !important;
    line-height: 1.05 !important;
  }

  .premium-meta,
  .premium-actions {
    grid-template-columns: 1fr !important;
  }

  .premium-actions,
  .premium-actions button,
  .premium-action-primary,
  .premium-action-secondary,
  .btn-main {
    width: 100% !important;
  }

  .featured-cookie-photo {
    min-height: auto !important;
  }

  .featured-cookie-copy h3 {
    font-size: clamp(1.5rem, 8vw, 2.1rem) !important;
  }

  .roth-feature-card,
  .custom-cake-hero,
  .collab-card,
  .business-card,
  .product-detail-shell {
    border-radius: 16px !important;
  }

  .general-enquiry-modal,
  .fixed.inset-0 {
    padding: 12px !important;
  }

  .general-enquiry-shell {
    width: min(100%, 720px) !important;
    max-height: calc(100svh - 24px) !important;
    overflow-y: auto !important;
    border-radius: 18px !important;
  }

  .general-enquiry-side {
    display: none !important;
  }

  .general-enquiry-form,
  .general-field {
    grid-template-columns: 1fr !important;
  }

  .general-field label {
    min-width: 0 !important;
  }

  .general-looking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .premium-site-footer {
    margin-top: 48px !important;
  }

  .premium-site-footer-inner {
    padding: 34px var(--mobile-gutter) 0 !important;
  }

  .premium-footer-main {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .premium-footer-col,
  .premium-footer-brand {
    border-left: 0 !important;
    padding-left: 0 !important;
    min-height: auto !important;
    text-align: left !important;
  }

  .premium-footer-logo {
    width: min(230px, 78vw) !important;
    margin-left: 0 !important;
  }

  .premium-footer-copy {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .premium-footer-bakery-art {
    display: none !important;
  }

  .premium-footer-bottom {
    display: grid !important;
    gap: 8px !important;
    text-align: center !important;
    padding: 16px var(--mobile-gutter) !important;
  }

  .whatsapp-float,
  .telegram-float {
    width: 54px !important;
    height: 54px !important;
    right: 16px !important;
  }

  .whatsapp-float {
    bottom: 16px !important;
  }

  .telegram-float {
    bottom: 82px !important;
  }
}

@media (min-width: 901px) and (max-width: 1240px) {
  [id$="products-grid"],
  #bread-products-grid,
  #khari-products-grid,
  #cake-products-grid,
  #beverage-products-grid,
  #cookies-products-grid,
  #b2b-products-grid,
  #featured-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .featured-cookie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .brand-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .general-looking-grid {
    grid-template-columns: 1fr !important;
  }

  .premium-info-card,
  .premium-meta > * {
    min-width: 0 !important;
  }

  .slider-item {
    width: min(74vw, 230px) !important;
    height: min(74vw, 230px) !important;
  }
}


/* Mobile 3D carousel: preserve the desktop ring geometry instead of resizing each item. */
@media (max-width: 900px) {
  :root {
    --ring-depth: clamp(310px, 88vw, 380px) !important;
  }

  .hero-shell:has(#hero-stage),
  .hero-stage {
    min-height: clamp(500px, 118vw, 620px) !important;
    overflow: hidden !important;
  }

  #hero-stage {
    perspective: 1500px !important;
    perspective-origin: 50% 48% !important;
    margin-bottom: 24px !important;
  }

  #hero-slider,
  .hero-stage .slider {
    width: clamp(168px, 46vw, 205px) !important;
    height: clamp(296px, 74vw, 340px) !important;
    transform-style: preserve-3d !important;
  }

  #hero-slider .slider-item,
  .hero-stage .slider-item {
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    transform-style: preserve-3d !important;
    backface-visibility: hidden !important;
  }

  #hero-slider .carousel-card-media,
  .hero-stage .carousel-card-media {
    height: clamp(238px, 63vw, 286px) !important;
    border-width: 3px !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 34px rgba(49, 23, 14, 0.16) !important;
  }

  #hero-slider .product-text-overlay,
  .hero-stage .product-text-overlay {
    min-height: 42px !important;
    margin-top: 8px !important;
    padding: 0 4px !important;
    font-size: clamp(0.72rem, 2.5vw, 0.9rem) !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  .floating-panel {
    width: min(100%, calc(100vw - 32px)) !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 520px) {
  :root {
    --ring-depth: clamp(300px, 92vw, 350px) !important;
  }

  #hero-slider,
  .hero-stage .slider {
    width: clamp(154px, 43vw, 178px) !important;
    height: clamp(280px, 72vw, 318px) !important;
  }

  #hero-slider .carousel-card-media,
  .hero-stage .carousel-card-media {
    height: clamp(226px, 61vw, 266px) !important;
  }
}




/* Carousel product label hit layer */
#hero-slider .product-text-overlay,
.hero-stage .product-text-overlay {
  position: relative !important;
  z-index: 50 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  transform: translateZ(48px) !important;
  -webkit-tap-highlight-color: transparent;
}

#hero-slider .slider-item > div,
.hero-stage .slider-item > div {
  pointer-events: auto !important;
}

/* Homepage carousel media anchors */
#hero-slider .carousel-card-media,
.hero-stage .carousel-card-media {
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer !important;
}
/* Shared hero typography */
:where(header[class*="-hero"], section[class*="-hero"], .home-main-hero, .hero-shell) :where(h1, h2, h3, p, a, button, span, small, strong, .category-hero-badge) {
  font-family: "Marcellus", Georgia, serif !important;
}

:where(header[class*="-hero"], section[class*="-hero"], .home-main-hero, .hero-shell) .material-symbols-outlined {
  font-family: "Material Symbols Outlined" !important;
}

:where(header[class*="-hero"], section[class*="-hero"], .home-main-hero, .hero-shell) :where(.fa, .fa-solid, .fa-regular, .fa-brands) {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}



/* Shared sliding color hover for primary action buttons across the site */
:where(.btn-main, .rusk-hero-cta, .category-pill, .premium-action-primary, .premium-action-secondary, .product-action-btn, button[class*="rounded"], a[class*="rounded"]):not(.header-logo-button):not(.nav-logo-circle):not(.product-gallery-arrow):not([aria-label*="Close"]):not([aria-label*="Decrease"]):not([aria-label*="Increase"]):not([aria-label*="reviews"]) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.28s ease, border-color 0.28s ease, transform 0.22s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}

:where(.btn-main, .rusk-hero-cta, .category-pill, .premium-action-primary, .premium-action-secondary, .product-action-btn, button[class*="rounded"], a[class*="rounded"]):not(.header-logo-button):not(.nav-logo-circle):not(.product-gallery-arrow):not([aria-label*="Close"]):not([aria-label*="Decrease"]):not([aria-label*="Increase"]):not([aria-label*="reviews"])::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #2563eb;
  transform: translateX(-105%);
  transition: transform 0.34s ease;
}

:where(.btn-main, .rusk-hero-cta, .category-pill, .premium-action-primary, .premium-action-secondary, .product-action-btn, button[class*="rounded"], a[class*="rounded"]):not(.header-logo-button):not(.nav-logo-circle):not(.product-gallery-arrow):not([aria-label*="Close"]):not([aria-label*="Decrease"]):not([aria-label*="Increase"]):not([aria-label*="reviews"]):hover::before {
  transform: translateX(0);
}

:where(.btn-main, .rusk-hero-cta, .category-pill, .premium-action-primary, .premium-action-secondary, .product-action-btn, button[class*="rounded"], a[class*="rounded"]):not(.header-logo-button):not(.nav-logo-circle):not(.product-gallery-arrow):not([aria-label*="Close"]):not([aria-label*="Decrease"]):not([aria-label*="Increase"]):not([aria-label*="reviews"]):hover {
  color: #fff !important;
  border-color: #2563eb !important;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.24);
}

:where(.btn-main, .rusk-hero-cta, .category-pill, .premium-action-primary, .premium-action-secondary, .product-action-btn, button[class*="rounded"], a[class*="rounded"]):disabled,
:where(.btn-main, .rusk-hero-cta, .category-pill, .premium-action-primary, .premium-action-secondary, .product-action-btn, button[class*="rounded"], a[class*="rounded"])[disabled] {
  isolation: auto;
}

:where(.btn-main, .rusk-hero-cta, .category-pill, .premium-action-primary, .premium-action-secondary, .product-action-btn, button[class*="rounded"], a[class*="rounded"]):disabled::before,
:where(.btn-main, .rusk-hero-cta, .category-pill, .premium-action-primary, .premium-action-secondary, .product-action-btn, button[class*="rounded"], a[class*="rounded"])[disabled]::before {
  display: none;
}

:where(.btn-main, .rusk-hero-cta, .category-pill, .premium-action-primary, .premium-action-secondary, .product-action-btn, button[class*="rounded"], a[class*="rounded"]):not(.header-logo-button):not(.nav-logo-circle):not(.product-gallery-arrow):not([aria-label*="Close"]):not([aria-label*="Decrease"]):not([aria-label*="Increase"]):not([aria-label*="reviews"]):hover :where(span, i, svg) {
  color: inherit !important;
}

/* Index-specific sliding hover targets and stable Google review arrows */
.home-main-hero-cta,
.brand-read-btn {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  transition: color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.22s ease !important;
}

.home-main-hero-cta::before,
.brand-read-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #2563eb;
  transform: translateX(-105%);
  transition: transform 0.34s ease;
}

.home-main-hero-cta:hover::before,
.brand-read-btn:hover::before {
  transform: translateX(0);
}

.home-main-hero-cta:hover,
.brand-read-btn:hover {
  color: #fff !important;
  border-color: #2563eb !important;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.25) !important;
  transform: translateY(-2px);
}

.home-main-hero-cta:hover :where(span, i, svg),
.brand-read-btn:hover :where(span, i, svg) {
  color: inherit !important;
}

#google-reviews .relative > button[aria-label="Previous reviews"],
#google-reviews .relative > button[aria-label="Next reviews"] {
  top: 50% !important;
  display: flex !important;
  transform: translateY(-50%) !important;
  transition: background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease !important;
}

#google-reviews .relative > button[aria-label="Previous reviews"] {
  left: -30px !important;
}

#google-reviews .relative > button[aria-label="Next reviews"] {
  right: -30px !important;
}

#google-reviews .relative > button[aria-label="Previous reviews"]:hover,
#google-reviews .relative > button[aria-label="Next reviews"]:hover {
  background: #2b130b !important;
  color: #fff !important;
  transform: translateY(-50%) !important;
}

@media (max-width: 767px) {
  #google-reviews .relative > button[aria-label="Previous reviews"],
  #google-reviews .relative > button[aria-label="Next reviews"] {
    display: none !important;
  }
}


/* Footer immediate visibility and readable golden/cream text */
.premium-site-footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  content-visibility: visible !important;
  color: #fff3cf !important;
}

.premium-site-footer :where(p, a, span, li, div) {
  color: #fff3cf !important;
}

.premium-site-footer :where(.premium-footer-heading, .premium-footer-since, .premium-footer-tagline, .premium-footer-arrow, .premium-contact-icon, .premium-footer-icon, .premium-hours) {
  color: #d6a33f !important;
}

.premium-site-footer .premium-footer-link:hover,
.premium-site-footer .premium-contact-item:hover,
.premium-site-footer .premium-footer-bottom {
  color: #ffd36d !important;
}

.premium-site-footer .premium-social-instagram i { color: #e4409f !important; }
.premium-site-footer .premium-social-whatsapp i { color: #25D366 !important; }
.premium-site-footer .premium-social-facebook i { color: #1877F2 !important; }
.premium-site-footer .premium-social-telegram i { color: #229ED9 !important; }
.premium-site-footer .premium-social-youtube i { color: #FF0000 !important; }

/* Birthday cake page: View Next Category uses blue hover */
.cake-hero-actions a:nth-of-type(4):hover {
  color: #ffffff !important;
  border-color: #2563eb !important;
  background: #2563eb !important;
}

.cake-hero-actions a:nth-of-type(4):hover :where(span, i, svg) {
  color: #ffffff !important;
}
/* Keep cart count visible above the shared rounded-button hover effect */
button[aria-label="Open cart"] {
  overflow: visible !important;
}
button[aria-label="Open cart"]::before {
  border-radius: inherit;
}
#cart-count-badge {
  z-index: 20 !important;
  background: #d48a2d !important;
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible;
  line-height: 1 !important;
}
#cart-count-badge.hidden {
  display: none !important;
}


/* Fresh cream cake hero next-category hover text must stay readable */
.birthday-next-category-link:hover {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

.birthday-next-category-link:hover :where(span, i, svg) {
  color: #ffffff !important;
}
/* Cart header button should not receive the shared sliding hover overlay */
button[aria-label="Open cart"]::before,
button[aria-label="Open cart"]:hover::before {
  display: none !important;
  content: none !important;
  transform: none !important;
}
button[aria-label="Open cart"]:hover {
  background: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

/* Shared hero slideshow controls */
.shared-hero-dots,
.home-main-hero-dots {
  position: absolute !important;
  left: 50% !important;
  bottom: 18px !important;
  z-index: 30 !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: auto !important;
}
.shared-hero-dot,
.home-main-hero-dot,
.hero-dot {
  width: 10px !important;
  height: 10px !important;
  min-width: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(210, 204, 199, .88) !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: width .25s ease, background .25s ease !important;
}
.shared-hero-dot.active,
.home-main-hero-dot.active,
.hero-dot.active {
  width: 30px !important;
  background: #d79a32 !important;
}
.shared-js-hero .hero-slide { animation: none !important; opacity: 0 !important; transition: opacity .7s ease !important; }
.shared-js-hero .hero-slide.active { opacity: 1 !important; }

/* Bread promotional poster matches the Cakes page image sections. */
.bread-image-section {
  padding: 50px !important;
  background: #fffaf5 !important;
}
.bread-image-section img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 8px !important;
  object-fit: contain !important;
}

/* Keep Google authentication buttons aligned consistently on every page. */
.google-btn {
  width: 100% !important;
  min-height: 48px !important;
  padding: 10px 16px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  border: 1px solid #d8d2ce !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #302a27 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  white-space: nowrap !important;
}
.google-btn img {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  flex: 0 0 20px !important;
  margin: 0 !important;
  object-fit: contain !important;
}

/* Reference two-level header (excluded pages are never given this body class). */
body.reference-header-enabled { padding-top: 0 !important; }

/* Promotional artwork sized to 65% of the Cookies Roth poster height. */
.compact-poster-section {
  padding: clamp(16px, 2.5vw, 34px) clamp(10px, 3vw, 44px) !important;
  background: #fff9f2;
}
.compact-poster-frame {
  width: 100%;
  height: clamp(230px, 36.5vw, 500px);
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(73, 40, 25, .12);
}
.compact-poster-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.compact-poster-stack { display: grid; gap: clamp(16px, 2.5vw, 30px); }
@media (max-width: 600px) {
  .compact-poster-section { padding: 12px 8px !important; }
  .compact-poster-frame { height: clamp(150px, 43vw, 210px); border-radius: 8px; }
}
.reference-utility-bar {
  position: relative;
  z-index: 70;
  min-height: 42px;
  padding: 0 clamp(22px, 4vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  background: #f7f3f0;
  color: #281d19;
  border-bottom: 1px solid #e6dfda;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: clamp(.72rem, .9vw, .9rem);
  box-shadow: 0 2px 8px rgba(53, 29, 21, .06);
}
.reference-utility-item { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.reference-utility-center { justify-self: center; font-weight: 600; }
.reference-utility-socials { justify-self: end; display: flex; align-items: center; gap: 18px; }
.reference-utility-socials a {
  width: 26px;
  height: 26px;
  border: 1.5px solid #2f211d;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2f211d;
  font-size: .85rem;
}
body.reference-header-enabled > nav {
  position: sticky !important;
  top: 0 !important;
  z-index: 65 !important;
  min-height: 112px !important;
  overflow: visible !important;
  background: rgba(255,255,255,.97) !important;
  border: 0 !important;
  border-bottom: 1px solid #eee7e2 !important;
  box-shadow: 0 8px 22px rgba(64, 35, 25, .11) !important;
  backdrop-filter: blur(14px) !important;
}
body.reference-header-enabled > nav > div {
  width: 100% !important;
  max-width: none !important;
  min-height: 112px !important;
  margin: 0 !important;
  padding: 0 clamp(24px, 3vw, 58px) 0 clamp(330px, 29vw, 500px) !important;
  justify-content: space-between !important;
  overflow: visible !important;
}
body.reference-header-enabled .header-logo-button {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: clamp(280px, 27vw, 450px) !important;
  height: 142px !important;
  min-height: 142px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 0 54px 0 !important;
  background: #fff !important;
  box-shadow: 10px 12px 24px rgba(75, 42, 30, .13) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  transform: none !important;
}
body.reference-header-enabled .header-logo-button > div { display: none !important; }
body.reference-header-enabled .nav-logo-circle {
  position: static !important;
  width: clamp(190px, 18vw, 285px) !important;
  height: 130px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
body.reference-header-enabled .nav-logo-circle img {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  object-fit: contain !important;
}
body.reference-header-enabled > nav .hidden.md\:flex {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
body.reference-header-enabled > nav .hidden.md\:flex > a,
body.reference-header-enabled > nav .hidden.md\:flex > button {
  position: relative;
  min-height: 58px;
  padding: 0 clamp(18px, 2vw, 32px) !important;
  display: inline-flex;
  align-items: center;
  color: #261a17 !important;
  border-left: 1px solid #ece5e0;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: clamp(.88rem, 1.05vw, 1.05rem) !important;
  font-weight: 500 !important;
  background: transparent !important;
}
body.reference-header-enabled > nav .hidden.md\:flex > :first-child { border-left: 0; }
body.reference-header-enabled > nav .hidden.md\:flex > .nav-active,
body.reference-header-enabled > nav .hidden.md\:flex > a:hover,
body.reference-header-enabled > nav .hidden.md\:flex > button:hover { color: #85121a !important; font-weight: 800 !important; }
body.reference-header-enabled > nav .hidden.md\:flex > .nav-active::after {
  content: "";
  position: absolute;
  left: 24%;
  right: 24%;
  bottom: 4px;
  height: 2px;
  background: #9b1b22;
  border-radius: 999px;
}
.reference-search-button,
body.reference-header-enabled button[aria-label="Open cart"] {
  position: relative !important;
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
  color: #271b18 !important;
  box-shadow: 0 7px 18px rgba(69, 39, 29, .13) !important;
}
body.reference-header-enabled button[aria-label="Open cart"] .material-symbols-outlined { color: #271b18 !important; }
body.reference-header-enabled #auth-button {
  min-width: 148px !important;
  min-height: 52px !important;
  padding: 0 24px !important;
  border: 2px solid #d7a43a !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  justify-content: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, #761017, #9d151d) !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 18px rgba(128, 16, 24, .22) !important;
}
body.reference-header-enabled > nav > div > .flex { gap: clamp(12px, 1.5vw, 22px) !important; }
@media (max-width: 900px) {
  .reference-utility-bar { grid-template-columns: 1fr auto; min-height: 36px; padding: 0 14px; }
  .reference-utility-center { display: none; }
  .reference-utility-socials { gap: 10px; }
  body.reference-header-enabled > nav,
  body.reference-header-enabled > nav > div { min-height: 88px !important; }
  body.reference-header-enabled > nav > div { padding: 0 14px 0 165px !important; }
  body.reference-header-enabled .header-logo-button {
    width: 155px !important;
    height: 108px !important;
    min-height: 108px !important;
    padding-left: 0 !important;
    justify-content: center !important;
    border-radius: 0 0 28px 0 !important;
  }
  body.reference-header-enabled .nav-logo-circle { width: 138px !important; height: 96px !important; }
  body.reference-header-enabled > nav .hidden.md\:flex { display: none !important; }
  .reference-search-button { width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important; }
  body.reference-header-enabled button[aria-label="Open cart"] { width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important; }
  body.reference-header-enabled #auth-button { min-width: 44px !important; width: 44px !important; min-height: 44px !important; padding: 0 !important; }
  body.reference-header-enabled #auth-button-text { display: none !important; }
}
@media (max-width: 520px) {
  .reference-utility-item { font-size: .66rem; }
  .reference-utility-socials a { width: 23px; height: 23px; }
  body.reference-header-enabled > nav > div { padding-left: 142px !important; }
  body.reference-header-enabled .header-logo-button { width: 134px !important; }
  body.reference-header-enabled .nav-logo-circle { width: 120px !important; }
  .reference-search-button { display: none !important; }
}
@media (max-width: 700px) {
  .bread-image-section { padding: 24px !important; }
}

/* Compact footer shared by every website page */
.premium-site-footer { margin-top: 30px !important; }
.premium-site-footer-inner { padding: 24px clamp(18px, 2.5vw, 38px) 0 !important; }
.premium-footer-main {
  grid-template-columns: minmax(190px, 1.25fr) repeat(3, minmax(135px, .78fr)) minmax(235px, 1.2fr) !important;
  gap: clamp(16px, 1.8vw, 30px) !important;
}
.premium-footer-col,
.premium-footer-brand { min-height: 290px !important; }
.premium-footer-col { padding-left: clamp(12px, 1.5vw, 24px) !important; }
.premium-footer-logo { width: min(210px, 78%) !important; max-height: 120px !important; margin-bottom: 4px !important; }
.premium-footer-since { margin: 3px 0 8px !important; font-size: .72rem !important; }
.premium-footer-copy { max-width: 250px !important; font-size: .78rem !important; line-height: 1.45 !important; }
.premium-footer-bakery-art { height: 100px !important; bottom: -8px !important; opacity: .55 !important; }
.premium-footer-heading { margin-bottom: 10px !important; font-size: 1rem !important; }
.premium-footer-heading::after { width: 70px !important; height: 5px !important; margin-top: 4px !important; }
.premium-footer-link { min-height: 29px !important; gap: 7px !important; font-size: .76rem !important; }
.premium-footer-icon,
.premium-footer-arrow { width: 22px !important; height: 22px !important; font-size: .82rem !important; }
.premium-contact-list { gap: 10px !important; margin-top: 10px !important; }
.premium-contact-item {
  grid-template-columns: 30px minmax(0, 1fr) !important;
  gap: 8px !important;
  padding-bottom: 8px !important;
  font-size: .75rem !important;
  line-height: 1.3 !important;
}
.premium-contact-icon { width: 30px !important; height: 30px !important; font-size: .9rem !important; }
.premium-customer-care { margin-top: 14px !important; padding-top: 8px !important; }
.premium-customer-row { gap: 8px !important; font-size: .9rem !important; }
.premium-customer-note { margin: 5px 0 2px !important; font-size: .72rem !important; }
.premium-hours { font-size: .68rem !important; }
.premium-love-note,
.premium-footer-badges { display: none !important; }
.premium-footer-bottom { padding: 11px clamp(18px, 2.5vw, 38px) !important; gap: 12px !important; font-size: .72rem !important; }

@media (max-width: 1180px) {
  .premium-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .premium-footer-col,
  .premium-footer-brand { min-height: 0 !important; }
}

@media (max-width: 680px) {
  .premium-site-footer { margin-top: 24px !important; }
  .premium-site-footer-inner { padding: 22px 16px 0 !important; }
  .premium-footer-main { grid-template-columns: 1fr !important; gap: 12px !important; }
  .premium-footer-brand { padding-bottom: 10px !important; }
  .premium-footer-col { padding: 13px 0 0 !important; }
  .premium-footer-logo { width: min(180px, 62%) !important; max-height: 100px !important; }
  .premium-footer-copy { max-width: 290px !important; }
  .premium-footer-bakery-art { display: none !important; }
  .premium-footer-bottom { padding: 10px 16px !important; flex-direction: row !important; flex-wrap: wrap; justify-content: center !important; }
}






/* Responsive compact logo in redesigned headers */
body.reference-header-enabled .header-logo-button {
  width: clamp(310px, 24vw, 455px) !important;
  height: clamp(112px, 10vw, 152px) !important;
  min-height: clamp(112px, 10vw, 152px) !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}
body.reference-header-enabled .nav-logo-circle {
  width: clamp(150px, 12vw, 210px) !important;
  height: clamp(108px, 9vw, 146px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  margin: 0 !important;
}
body.reference-header-enabled .nav-logo-circle img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.reference-header-enabled > nav > div {
  padding-left: clamp(330px, 26vw, 495px) !important;
}
@media (max-width: 900px) {
  body.reference-header-enabled > nav,
  body.reference-header-enabled > nav > div { min-height: 86px !important; }
  body.reference-header-enabled > nav > div { padding-left: 132px !important; }
  body.reference-header-enabled .header-logo-button {
    width: 126px !important;
    height: 92px !important;
    min-height: 92px !important;
  }
  body.reference-header-enabled .nav-logo-circle {
    width: 108px !important;
    height: 82px !important;
  }
}
@media (max-width: 520px) {
  body.reference-header-enabled > nav > div { padding-left: 112px !important; }
  body.reference-header-enabled .header-logo-button {
    width: 108px !important;
    height: 82px !important;
    min-height: 82px !important;
  }
  body.reference-header-enabled .nav-logo-circle {
    width: 96px !important;
    height: 72px !important;
  }
}



/* Final visible cart hover + Birthday Cakes next button hover fixes */
body button[aria-label="Open cart"],
body.reference-header-enabled button[aria-label="Open cart"] {
  background: #ffffff !important;
  color: #271b18 !important;
}
body button[aria-label="Open cart"] .material-symbols-outlined,
body.reference-header-enabled button[aria-label="Open cart"] .material-symbols-outlined {
  color: #271b18 !important;
}
body button[aria-label="Open cart"]:hover,
body.reference-header-enabled button[aria-label="Open cart"]:hover {
  background: #fff2df !important;
  color: #8f1218 !important;
  border-color: rgba(212, 138, 45, .65) !important;
  box-shadow: 0 10px 22px rgba(143, 18, 24, .14) !important;
  transform: scale(1.06) !important;
}
body button[aria-label="Open cart"]:hover .material-symbols-outlined,
body.reference-header-enabled button[aria-label="Open cart"]:hover .material-symbols-outlined {
  color: #8f1218 !important;
}
body button[aria-label="Open cart"]::before,
body button[aria-label="Open cart"]:hover::before {
  display: none !important;
  content: none !important;
}
body .cake-hero-actions .birthday-next-category-link::before,
body .cake-hero-actions a:nth-of-type(4)::before {
  background: #2563eb !important;
}
body .cake-hero-actions .birthday-next-category-link:hover,
body .cake-hero-actions a:nth-of-type(4):hover {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}
body .cake-hero-actions .birthday-next-category-link:hover::before,
body .cake-hero-actions a:nth-of-type(4):hover::before {
  background: #2563eb !important;
}

/* Match redesigned-header utility strip with the slim red footer bottom bar */
body.reference-header-enabled .reference-utility-bar {
  background: #b7202a !important;
  color: #ffffff !important;
  border-bottom: 0 !important;
  box-shadow: 0 2px 8px rgba(53, 29, 21, .12) !important;
}
body.reference-header-enabled .reference-utility-bar :where(.reference-utility-item, .reference-utility-center, span, i, svg) {
  color: #ffffff !important;
}
body.reference-header-enabled .reference-utility-socials a {
  color: #ffffff !important;
  border-color: rgba(255,255,255,.9) !important;
  background: rgba(255,255,255,.08) !important;
}
body.reference-header-enabled .reference-utility-socials a:hover {
  background: rgba(255,255,255,.18) !important;
  color: #ffffff !important;
}

/* Final header logo-box trim: keep logo size, reduce white panel drop */
body.reference-header-enabled .header-logo-button {
  height: clamp(96px, 8.4vw, 128px) !important;
  min-height: clamp(96px, 8.4vw, 128px) !important;
}
@media (max-width: 900px) {
  body.reference-header-enabled .header-logo-button {
    height: 78px !important;
    min-height: 78px !important;
  }
}
@media (max-width: 520px) {
  body.reference-header-enabled .header-logo-button {
    height: 70px !important;
    min-height: 70px !important;
  }
}

/* Final global header logo shrink: logo image is 80% of previous size */
body.reference-header-enabled .nav-logo-circle {
  width: clamp(120px, 9.6vw, 168px) !important;
  height: clamp(86px, 7.2vw, 117px) !important;
}
@media (max-width: 900px) {
  body.reference-header-enabled .nav-logo-circle {
    width: 86px !important;
    height: 66px !important;
  }
}
@media (max-width: 520px) {
  body.reference-header-enabled .nav-logo-circle {
    width: 77px !important;
    height: 58px !important;
  }
}
