/* GLAZÉ B2B — Visual refinements, interactive flip cards, 4:5 Instagram, unified flavor modal, and service pages */

/* 1. Language Switcher (Header & Mobile Drawer, Code + Language Name, No Flags) */
.lang-switcher {
  position: relative;
}
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(48, 35, 38, 0.05);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-trigger:hover,
.lang-trigger[aria-expanded="true"] {
  background: rgba(170, 54, 95, 0.11);
  color: var(--rose);
}
.lang-caret {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  transition: transform 0.2s ease;
}
.lang-trigger[aria-expanded="true"] .lang-caret {
  transform: rotate(180deg);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 186px;
  padding: 8px;
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 0 18px 44px rgba(48, 35, 38, 0.16);
  display: grid;
  gap: 2px;
  z-index: 60;
}
.lang-menu[hidden] {
  display: none;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  transition: background 0.18s ease, color 0.18s ease;
}
.lang-option:hover {
  background: #f6e7ee;
  color: var(--rose);
}
.lang-option.is-active {
  background: var(--rose);
  color: #fff;
}
.lang-option-code {
  font-weight: 600;
  font-size: 11px;
  min-width: 24px;
}
.lang-option-name {
  font-size: 12px;
  opacity: 0.88;
}

.mobile-lang-block {
  display: none;
}
@media (max-width: 900px) {
  .header-actions .lang-switcher {
    display: none;
  }
  .mobile-lang-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding-top: 14px;
    margin-top: 6px;
    border-top: 1px solid rgba(48, 35, 38, 0.08);
  }
  .mobile-lang-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: var(--muted);
    text-transform: uppercase;
  }
  .mobile-lang-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .mobile-lang-list .lang-option {
    width: auto;
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(48, 35, 38, 0.05);
  }
  .mobile-lang-list .lang-option.is-active {
    background: var(--rose);
    color: #fff;
  }
}

/* 2. Block #2 (#partnership) & Block #9 (.steps-section) — Flexbox Flip Cards (No Borders, Highlighted Back) */
#partnership .business-value-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  cursor: pointer;
  perspective: 1100px;
  border: 0;
  background: transparent;
  padding: 0;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
#partnership .business-value-card:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 8px;
  border-radius: 18px;
}
.flip-inner {
  display: grid;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.is-flipped .flip-inner {
  transform: rotateY(180deg);
}
.flip-face {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 0;
}
.flip-front {
  justify-content: flex-start;
}
#partnership .business-value-card:nth-child(-n + 2) .flip-front {
  align-items: flex-end;
  text-align: right;
}
#partnership .business-value-card:nth-child(n + 3) .flip-front {
  align-items: flex-start;
  text-align: left;
}
.flip-back {
  transform: rotateY(180deg);
  justify-content: center;
  border-radius: 22px;
  padding: 20px 22px;
  background: #fffaf2;
  box-shadow: 0 16px 38px rgba(170, 54, 95, 0.14);
  text-align: left;
  align-items: flex-start;
}
.flip-back-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 8px;
}
.flip-back h4 {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin-bottom: 9px;
  color: var(--ink);
}
.flip-back p {
  font-size: 13px !important;
  line-height: 1.68 !important;
  color: var(--ink) !important;
  max-width: none !important;
}

@media (max-width: 760px) {
  #partnership .business-value-card:nth-child(-n + 2) .flip-front {
    align-items: flex-start;
    text-align: left;
  }
}
@media (max-width: 650px) {
  #partnership .business-value-card {
    display: flex !important;
    grid-template-columns: none !important;
  }
  #partnership .business-value-card .flip-front {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: start;
    gap: 8px 16px;
    align-items: start;
  }
  #partnership .business-value-card .business-value-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
  }
  #partnership .business-value-card h3 {
    grid-column: 2;
    align-self: start;
    margin: 0;
  }
  #partnership .business-value-card .flip-front p {
    grid-column: 2;
    align-self: start;
    margin: 0;
  }
}

/* Block #9 (.steps-section) Flexbox Flip Cards */
.steps {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
}
.steps > article.step-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 22px;
  cursor: pointer;
  perspective: 1100px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.steps > article.step-card:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 6px;
}
.step-card .flip-inner {
  flex: 1 1 auto;
}
.step-card .flip-front {
  background: #f6eee7;
  border-radius: 22px;
  padding: 27px 24px;
  justify-content: flex-start;
  align-items: flex-start;
}
.step-card .flip-front > span {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  background: #eac1ce;
  border-radius: 50%;
  font-family: Involve, Montserrat, sans-serif;
  font-size: 17px;
  margin-bottom: 24px;
  color: #762b49;
}
.step-card .flip-back {
  background: #f9e6ee;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 16px 36px rgba(170, 54, 95, 0.14);
}
@media (max-width: 1020px) {
  .steps {
    flex-wrap: wrap;
  }
  .steps > article.step-card {
    flex: 1 1 calc(50% - 11px);
  }
}
@media (max-width: 650px) {
  .steps > article.step-card {
    flex: 1 1 100%;
  }
}

/* 3. Block #5 (#flavors) — Shadow Only, Zero Borders, Seamless Card Fill & Unified Color Modal */
.flavor-grid {
  align-items: start;
}
.flavor-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  border: 0;
  background: transparent;
  transition: transform 0.25s ease;
}
.flavor-image {
  border: 0 !important;
  border-radius: 22px;
  background: var(--flavor-bg);
  box-shadow: 0 10px 24px rgba(48, 35, 38, 0.06);
  transition: box-shadow 0.28s ease, transform 0.28s ease;
}
.flavor-card:hover .flavor-image {
  box-shadow: 0 16px 32px rgba(48, 35, 38, 0.11);
}
.flavor-image img {
  mix-blend-mode: normal !important;
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(48, 35, 38, 0.15));
}
.flavor-image > i {
  border: 0;
  background: rgba(255, 250, 242, 0.72);
  box-shadow: 0 4px 12px rgba(48, 35, 38, 0.1);
}

/* Modal for flavors: full unified background matching photo #2 */
dialog {
  transition: background-color 0.22s ease, color 0.22s ease;
}
dialog.modal-flavored {
  background: var(--modal-bg, #fffaf2);
  color: var(--modal-ink, var(--ink));
  padding: 0;
  overflow: hidden;
  max-height: 92dvh;
}
dialog.modal-flavored .dialog-close {
  background: rgba(255, 250, 242, 0.85);
  color: #302326;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}
dialog.modal-flavored.is-dark-modal .dialog-close {
  background: rgba(30, 18, 20, 0.55);
  color: #fffaf2;
}
.modal-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: 410px;
}
.modal-product-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--modal-bg, #fffaf2);
}
.modal-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mix-blend-mode: normal;
  -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 78%, transparent 100%);
}
.modal-product-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 44px 44px 44px 28px;
}
.modal-product-body .eyebrow {
  font-size: 10px;
  letter-spacing: 1.4px;
  margin-bottom: 14px;
  color: var(--modal-eyebrow, var(--rose));
}
.modal-product-body h2 {
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -1.1px;
  color: var(--modal-ink, var(--ink));
}
.modal-product-body p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.75;
  color: var(--modal-muted, var(--muted));
  margin-top: 18px;
}
.modal-product-body .button {
  margin-top: 26px;
  font-size: 12px;
}
dialog.modal-flavored.is-dark-modal .modal-product-body .button {
  background: #fffaf2;
  color: #302326;
}
dialog.modal-flavored.is-dark-modal .modal-product-body .button:hover {
  background: #ffffff;
  color: var(--rose);
}
@media (max-width: 760px) {
  dialog.modal-flavored {
    overflow-y: auto;
    padding: 0;
  }
  .modal-product {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }
  .modal-product-media {
    max-height: 300px;
  }
  .modal-product-media img {
    -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 76%, transparent 100%);
  }
  .modal-product-body {
    padding: 20px 26px 32px;
  }
  .modal-product-body h2 {
    font-size: 29px;
  }
}

/* 4. Block #6 (#business) — 5 Format Tabs Clean Fit (Single Row Desktop, Smooth Scroll Mobile) */
.partner-showcase-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
}
.partner-showcase-tab {
  flex: 0 0 auto;
  min-width: max-content;
}
.partner-showcase-tab strong {
  white-space: nowrap;
}
@media (min-width: 901px) {
  .partner-showcase-tabs {
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .partner-showcase-tab {
    flex: 1 1 auto;
    min-width: 0;
    padding: 13px 12px 14px;
    gap: 8px;
  }
  .partner-showcase-tab strong {
    font-size: clamp(14px, 1.5vw, 19px);
  }
}
@media (min-width: 1180px) {
  .partner-showcase-tabs {
    gap: 10px;
  }
  .partner-showcase-tab {
    padding: 16px 15px 17px;
    gap: 11px;
  }
  .partner-showcase-tab strong {
    font-size: 20px;
  }
}

/* 5. Block #7 (#production) — Full-Width Seamless Video */
.craft-film {
  background: #271a1f;
}
.craft-film > video {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  z-index: -2;
}
.craft-shade {
  background: linear-gradient(
    90deg,
    rgba(29, 18, 22, 0.92) 0%,
    rgba(29, 18, 22, 0.80) 34%,
    rgba(29, 18, 22, 0.44) 58%,
    rgba(29, 18, 22, 0.12) 84%,
    rgba(29, 18, 22, 0.04) 100%
  ) !important;
}
@media (max-width: 650px) {
  .craft-shade {
    background: linear-gradient(
      180deg,
      rgba(29, 18, 22, 0.18) 0%,
      rgba(29, 18, 22, 0.48) 38%,
      rgba(29, 18, 22, 0.90) 76%,
      rgba(29, 18, 22, 0.96) 100%
    ) !important;
  }
}
.film-dialog > video {
  width: auto;
  max-width: 100%;
  max-height: 75dvh;
  margin-inline: auto;
}

/* 6. Block #8 (#reviews) — Real Partners */
.review-author-place {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.review-author-place:hover {
  color: var(--ink);
}

/* 7. Block #10 (#contact) — Country Select, WhatsApp Icon & Mobile Order */
#contact-form select,
.contact-form-column select {
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  line-height: 21px;
  border: 1px solid #e0cfd4;
  border-radius: 12px;
  background-color: #fffdfb;
  color: var(--ink);
  width: 100%;
  height: 49px;
  padding: 13px 38px 13px 15px;
  margin-bottom: 19px;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23766a6c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
#contact-form select::picker-icon {
  display: none !important;
  content: none !important;
}
#contact-form select::-ms-expand {
  display: none;
}
.contact-form-column select:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}
.contact-direct {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}
.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 100px;
  background: rgba(170, 54, 95, 0.1);
  color: var(--rose);
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.contact-whatsapp:hover {
  background: var(--rose);
  color: #fff;
  transform: translateY(-1px);
}
.contact-whatsapp svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex: 0 0 auto;
}
.contact-direct-mobile {
  display: none;
}
@media (max-width: 900px) {
  .contact-copy .contact-direct {
    display: none;
  }
  .contact-direct-mobile {
    display: flex;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(48, 35, 38, 0.1);
  }
}

/* 8. Block #12 (#instagram) — 4:5 Aspect Ratio, 6 Visible on Desktop, Up to 12 Scrollable */
.instagram-controls-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}
.instagram-nav {
  display: inline-flex;
  gap: 8px;
}
.instagram-nav button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #d7b9c5;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--ink);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.instagram-nav button:hover {
  background: #f5dde6;
  border-color: var(--rose);
}
.instagram-track {
  display: flex;
  gap: 14px;
  padding: 0 0 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #d7b9c5 transparent;
}
.instagram-track a.ig-card {
  flex: 0 0 calc((100% - 5 * 14px) / 6);
  min-width: 0;
  aspect-ratio: 4 / 5;
  height: auto;
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: start;
  position: relative;
  display: block;
  background: #efe3df;
}
.instagram-track a.ig-card::after {
  content: '↗';
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(255, 250, 242, 0.92);
  color: var(--ink);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 15px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.instagram-track a.ig-card:hover::after {
  opacity: 1;
}
.instagram-track a.ig-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.instagram-track a.ig-card:hover img {
  transform: scale(1.06);
}
@media (max-width: 1150px) {
  .instagram-track a.ig-card {
    flex: 0 0 calc((100vw - 56px - 3 * 14px) / 4);
    min-width: 170px;
  }
}
@media (max-width: 650px) {
  .instagram-nav {
    display: none;
  }
  .instagram-track {
    padding: 0 0 8px;
    gap: 12px;
  }
  .instagram-track a.ig-card {
    flex: 0 0 62vw;
    min-width: 195px;
    aspect-ratio: 4 / 5;
    height: auto;
  }
}

/* 9. Footer Refinements */
.footer-top {
  flex-wrap: wrap;
  gap: 24px 36px;
}
.footer-top > a:nth-last-child(2) {
  margin-left: 0;
}
.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-left: auto;
}
.footer-contacts a {
  font-size: 12px;
  color: #fff3f6;
  transition: color 0.2s ease;
}
.footer-contacts a:hover {
  color: var(--pink);
}
.footer-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff3f6;
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-icon-link:hover {
  background: var(--rose);
  color: #fff !important;
  transform: translateY(-2px);
}
.footer-icon-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.footer-bottom {
  align-items: center;
  flex-wrap: wrap;
  font-size: 11px;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-left: auto;
}
.footer-legal-links a {
  color: #d8c6cd;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.footer-legal-links a:hover {
  color: #fffaf2;
}
@media (max-width: 900px) {
  .footer-contacts {
    margin-left: 0;
  }
  .footer-legal-links {
    margin-left: 0;
  }
}

@media (max-width: 650px) {
  .footer-bottom {
    font-size: 11px;
    padding: 18px 0 84px;
    gap: 14px;
  }
}

/* 10. Legal / Service Pages & Thank-You Page */
.page-hero {
  padding: 58px 0 38px;
  background: linear-gradient(180deg, #fae6ee 0%, var(--cream) 100%);
}
.page-hero .eyebrow {
  color: var(--rose);
  margin-bottom: 14px;
}
.page-hero h1 {
  font-size: clamp(36px, 4.4vw, 58px);
  letter-spacing: -1.8px;
  max-width: 820px;
}
.page-hero-lead {
  margin-top: 16px;
  max-width: 680px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.legal-shell {
  padding: 24px 0 88px;
}
.legal-card {
  background: #fff;
  border-radius: 28px;
  padding: 42px 46px;
  box-shadow: 0 14px 40px rgba(48, 35, 38, 0.05);
  max-width: 920px;
  min-width: 0;
}
.legal-card h2 {
  font-size: 25px;
  letter-spacing: -0.6px;
  margin: 30px 0 12px;
}
.legal-card h2:first-child {
  margin-top: 0;
}
.legal-card p,
.legal-card li {
  font-size: 14px;
  line-height: 1.8;
  color: #4f4044;
}
.legal-card p + p {
  margin-top: 12px;
}
.legal-card ul {
  margin: 10px 0 14px;
  padding-left: 20px;
}
.legal-card li + li {
  margin-top: 6px;
}
.legal-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 22px 0;
  padding: 22px;
  border-radius: 18px;
  background: #f9f2ec;
}
.legal-meta-item small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.legal-meta-item strong {
  font-size: 14px;
  color: var(--ink);
}
.legal-back {
  margin-top: 28px;
}
.thankyou-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 26px 0;
  padding: 24px;
  border-radius: 20px;
  background: #f9f2ec;
}
.thankyou-summary div small {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.thankyou-summary div strong {
  font-size: 14px;
  color: var(--ink);
}
.thankyou-contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.thankyou-contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 18px;
  border-radius: 16px;
  background: #f9f2ec;
  color: var(--ink);
  transition: background 0.2s ease, transform 0.2s ease;
}
.thankyou-contact-card:hover {
  background: #f4e3eb;
  transform: translateY(-2px);
}
.thankyou-contact-card small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--muted);
}
.thankyou-contact-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rose);
  overflow-wrap: anywhere;
}
.thankyou-contact-card svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 auto;
}
.thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 26px;
}
@media (max-width: 760px) {
  .thankyou-contacts {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .legal-card {
    padding: 26px 20px;
    border-radius: 22px;
  }
  .legal-meta-grid,
  .thankyou-summary {
    grid-template-columns: 1fr;
  }
}

/* 11. Cookie Policy Table & Consent Management Block */
.cookie-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0 22px;
  border-radius: 16px;
  background: #faf5f0;
}
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
.cookie-table th,
.cookie-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eadfd8;
  vertical-align: top;
}
.cookie-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  background: #f4ebe4;
}
.cookie-table tr:last-child td {
  border-bottom: 0;
}
.cookie-manage-card {
  margin: 22px 0;
  padding: 22px 24px;
  border-radius: 20px;
  background: #f9f2ec;
  display: grid;
  gap: 14px;
}
.cookie-cat-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e7dbd3;
}
.cookie-cat-row:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}
.cookie-cat-info strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 3px;
}
.cookie-cat-info span {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
.cookie-cat-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--rose);
  white-space: nowrap;
  padding-top: 2px;
}
.cookie-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  cursor: pointer;
}
.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.cookie-switch-track {
  width: 44px;
  height: 24px;
  border-radius: 100px;
  background: #d8c9ce;
  position: relative;
  transition: background 0.2s ease;
}
.cookie-switch-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}
.cookie-switch input:checked + .cookie-switch-track {
  background: var(--rose);
}
.cookie-switch input:checked + .cookie-switch-track::after {
  transform: translateX(20px);
}
.cookie-switch input:focus-visible + .cookie-switch-track {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}
.cookie-manage-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding-top: 4px;
}
.cookie-saved-note {
  font-size: 12px;
  font-weight: 600;
  color: var(--rose);
}

/* 12. Free Opt-In Cookie Consent Banner (Consent Mode v2) */
.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: min(440px, calc(100vw - 32px));
  z-index: 48;
  padding: 22px 24px;
  border-radius: 24px;
  background: #fffaf2;
  color: var(--ink);
  box-shadow: 0 20px 55px rgba(48, 35, 38, 0.22);
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 8px;
}
.cookie-banner h3 {
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}
.cookie-banner-text {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.cookie-banner-text a {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-prefs {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eadfd8;
  display: grid;
  gap: 11px;
}
.cookie-banner-prefs[hidden] {
  display: none;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.cookie-banner-actions [hidden] {
  display: none !important;
}
.cookie-banner-actions .button {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 11px;
  gap: 6px;
}
.cookie-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 100px;
  background: rgba(48, 35, 38, 0.06);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.cookie-btn-ghost:hover {
  background: #f5dde6;
  color: var(--rose);
}
@media (max-width: 1150px) {
  #product .pack-small > img {
    opacity: 1 !important;
  }
}
@media (max-width: 650px) {
  #product .pack-small > div {
    position: relative;
    z-index: 2;
    max-width: 66%;
  }
  #product .pack-small > img {
    opacity: 1 !important;
    width: 158px;
    height: 158px;
    right: -34px;
    bottom: 8px;
  }
  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    width: auto;
    padding: 18px 18px 16px;
    border-radius: 20px;
  }
}
