:root { --footer-accent: #cea73a; --footer-muted: var(--tw-muted); --footer-background: #fcfbfd; }
.site-footer { position: relative; padding: 40px 0 0; background: var(--footer-background) url('../images/footer-landscape.png') center bottom / 100% 210px no-repeat; color: var(--footer-muted); border-top: 1px solid var(--tw-border); }
.footer-contact-row { display:grid; grid-template-columns:repeat(var(--footer-contact-columns, 3), minmax(0, 1fr)) minmax(0, 1.5fr); gap:28px; align-items:center; padding-bottom:35px; }
.footer-brand { display: inline-flex; flex-direction: column; align-items: flex-start; width: fit-content; }
.footer-brand strong { font-size: 36px; line-height: 1.6; color: var(--footer-accent); }
.footer-brand span { font-size: 11px; letter-spacing: 3px; }
.footer-contact { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.footer-contact-icon { display: grid; place-items: center; flex: 0 0 43px; height: 43px; background: var(--footer-accent); color: var(--tw-surface); border-radius: 50% 50% 50% 8px; }
.footer-contact-icon .icon { width: 23px; height: 23px; }
.footer-contact p { margin: 0; }
.footer-contact small { display: block; font-size: 11px; margin-bottom: 3px; }
.footer-columns { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.15fr; gap: 36px; padding-bottom: 45px; }
.footer-about p { margin: 0; font-size: 13px; line-height: 2.3; }
.footer-columns h2 { margin: 0 0 14px; font-size: 14px; color: var(--tw-text); }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu > .menu-item > a { display: flex; gap: 8px; padding: 6px 0; font-size: 12px; white-space: normal; }
.footer-menu > .menu-item > a::before { content: ''; flex: 0 0 6px; height: 3px; margin-top: 10px; background: var(--footer-accent); border-radius: 3px; }
.site-footer a:hover { color: var(--footer-accent); }
.footer-socials { display: flex; flex-wrap: wrap; gap: 9px; }
.footer-socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--footer-accent); color: var(--footer-accent); border-radius: 12px; }
.footer-socials a:hover { background: var(--tw-surface); }
.footer-socials svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-trust-note { margin: 18px 0 0; font-size: 12px; line-height: 2; }
.footer-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 12px; list-style: none; margin: 24px 0 0; padding: 0; }
.footer-badges li { display: flex; align-items: center; justify-content: center; min-width: 0; }
.footer-badges img { display: block; width: auto; height: auto; max-width: 100%; max-height: 115px; object-fit: contain; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid var(--tw-border); font-size: 11px; }
.footer-bottom p { margin: 0; }
.store-description { background: var(--tw-surface); padding-block: 28px 35px; border-top: 1px solid var(--tw-border); color: var(--tw-muted); }
.store-description h2 { font-size: 16px; color: var(--tw-text); margin: 0 0 12px; }
.store-description h3 { font-size: 14px; color: var(--tw-text); margin: 20px 0 8px; }
.store-description p { font-size: 13px; line-height: 2.3; margin: 0 0 12px; }
.store-description summary { cursor: pointer; list-style: none; width: fit-content; margin-inline-start: auto; color: var(--tw-brand); font-size: 13px; font-weight: 700; padding: 12px 0; }
.store-description summary::-webkit-details-marker { display: none; }
.store-description summary::after { content: ' +'; }
.store-description details[open] summary::after { content: ' −'; }
.store-description .description-less, .store-description details[open] .description-more { display: none; }
.store-description details[open] .description-less { display: inline; }
.mobile-bottom-nav { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bottom-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: fixed; inset: auto 0 0; z-index: 30; padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--tw-surface); border: 1px solid var(--tw-border); border-bottom: 0; border-radius: 12px 12px 0 0; box-shadow: 0 -3px 15px rgb(30 40 50 / 5%); }
  .mobile-bottom-nav a { position: relative; display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 4px; min-height: 52px; font-size: 11px; color: var(--tw-muted); }
  .mobile-bottom-nav .icon { width: 25px; height: 25px; flex-basis: 25px; }
  .mobile-bottom-nav a[aria-current="page"] { color: var(--tw-text); font-weight: 700; }
  .mobile-cart-icon { position: relative; height: 25px; }
  .mobile-cart-count { position: absolute; top: -4px; inset-inline-end: -12px; display: grid; place-items: center; min-width: 17px; height: 17px; border-radius: 50%; padding: 0 3px; color: var(--tw-surface); background: var(--product-accent); font-size: 10px; }
}
@media (max-width: 1100px) { .footer-contact-row, .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 540px) { .site-footer { padding-top: 25px; } .footer-contact-row { grid-template-columns: minmax(0, 1fr); gap: 18px; } .footer-columns { gap: 25px 16px; } .footer-about, .footer-connect { grid-column: 1 / -1; } .footer-bottom { flex-direction: column; gap: 6px; } }

.footer-socials img { display:block; width:23px; height:23px; object-fit:contain; }
.footer-badges a { display:block; max-width:100%; }

.tw-cart-success-dialog { width:min(440px,calc(100% - 32px)); box-sizing:border-box; margin:auto; padding:42px 22px 24px; border:1px solid var(--tw-border); border-radius:14px; background:var(--tw-surface); color:var(--tw-text); text-align:center; }
.tw-cart-success-dialog::backdrop { background:#15202b99; }
.tw-cart-success-dialog h2 { font-size:18px; line-height:1.9; margin:0 0 22px; }
.tw-cart-success-close { position:absolute; top:6px; inset-inline-end:8px; width:36px; height:36px; border:0; background:transparent; color:var(--tw-text); font-size:28px; cursor:pointer; }
.tw-cart-success-actions { display:flex; gap:10px; }
.tw-cart-success-actions > * { flex:1; padding:12px 8px; border:1px solid var(--tw-border); border-radius:8px; font:inherit; cursor:pointer; background:var(--tw-background); color:var(--tw-text); text-decoration:none; }
.tw-cart-success-actions a { background:var(--tw-header-cart-color,var(--tw-primary)); color:var(--tw-primary-ink); }
.tw-cart-success-dialog :focus-visible { outline:2px solid var(--tw-text); outline-offset:3px; }

/* Optional second footer; the classic layout remains unchanged. */
.site-footer.tw-footer-two { background:var(--tw-footer-two-bg,#fcf9fc); color:var(--tw-footer-two-text,var(--footer-muted)); padding-top:28px; background-image:url('../images/footer-pastel.webp'); background-size:100% auto; background-position:center bottom; background-repeat:no-repeat; }
.tw-footer-two .tw-footer-panels { display:grid; grid-template-columns:1.2fr .9fr 1.15fr; gap:16px; align-items:stretch; }
.tw-footer-two .tw-footer-panels > section { min-width:0; border:1px solid var(--tw-footer-two-border,#ece5ed); border-radius:22px; padding:22px; background:var(--tw-footer-two-panel,linear-gradient(145deg,rgba(255,255,255,.65),rgba(245,235,242,.35))); }
.tw-footer-two h2 { margin:0 0 14px; font-size:16px; color:var(--tw-footer-two-heading,var(--footer-accent)); }
.tw-footer-two .tw-footer-panels > .tw-footer-intro { display:flex; flex-direction:column; text-align:center; overflow:hidden; padding-bottom:0; }
.tw-footer-two .footer-brand { display:flex; align-items:center; width:100%; margin-bottom:14px; }
.tw-footer-two .footer-brand strong { color:var(--tw-footer-two-heading,var(--footer-accent)); font-size:30px; }
.tw-footer-two .tw-footer-logo { display:block; max-width:210px; max-height:64px; width:auto; height:auto; object-fit:contain; margin:0 auto 12px; }
.tw-footer-two .tw-footer-intro:has(.tw-footer-logo) .footer-brand { display:none; }
.tw-footer-two .footer-about { padding-bottom:12px; }
.tw-footer-two .footer-about p { font-size:13px; line-height:1.95; }
.tw-footer-two .tw-footer-art { display:block; width:100%; max-width:400px; height:150px; flex-shrink:0; object-fit:contain; object-position:center bottom; margin:auto auto 0; }
.tw-footer-two .footer-contact { margin-bottom:14px; gap:12px; }
.tw-footer-two .footer-contact-icon { border-radius:18px; background:var(--tw-footer-two-icon-bg,#efe5f1); color:var(--footer-accent); flex-basis:46px; height:46px; }
.tw-footer-two .footer-contact small { font-size:12px; }
.tw-footer-two .footer-contact a, .tw-footer-two .footer-contact p { overflow-wrap:anywhere; font-size:14px; }
.tw-footer-two .tw-footer-social-panel { border-top:1px solid var(--tw-footer-two-border,#ece5ed); padding-top:12px; text-align:center; }
.tw-footer-two .tw-footer-social-panel:not(:has(a)) { display:none; }
.tw-footer-two .footer-socials { justify-content:center; }
.tw-footer-two .footer-socials a { border-color:var(--tw-footer-two-border,#e6dce9); background:var(--tw-footer-two-social-bg,#f4edf5); color:var(--footer-accent); }
.tw-footer-two .footer-badges { margin:36px 0 18px; gap:10px; }
.tw-footer-two .footer-badges li { padding:12px 6px; border-radius:16px; background:var(--tw-footer-two-badge-bg,rgba(245,238,246,.7)); }
.tw-footer-two .footer-badges img { max-height:115px; }
.tw-footer-two .tw-footer-extra-links { display:flex; flex-wrap:wrap; gap:12px 24px; padding-block:14px; }
.tw-footer-two .tw-footer-extra-links > nav { flex:1; min-width:180px; }
.tw-footer-two .tw-footer-extra-links:not(:has(nav)) { display:none; }
.tw-footer-two .tw-footer-extra-links h2 { font-size:13px; margin-bottom:6px; }
.tw-footer-two .tw-footer-extra-links .footer-menu { display:flex; flex-wrap:wrap; gap:4px 18px; }
.tw-footer-two .footer-bottom { margin-top:14px; padding-block:16px; border-color:var(--tw-footer-two-border,var(--tw-border)); }

@media(max-width:1000px) {
 .tw-footer-two .tw-footer-panels { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .tw-footer-two .tw-footer-intro { grid-column:1 / -1; }
 .tw-footer-two .tw-footer-art { width:min(100%,400px); }
}
@media(max-width:600px) {
 .tw-footer-two .tw-footer-panels { grid-template-columns:minmax(0,1fr); }
 .tw-footer-two .tw-footer-panels > section { padding:22px; }
 .tw-footer-two .tw-footer-panels > .tw-footer-intro { padding-bottom:0; }
 .tw-footer-two .tw-footer-art { width:100%; margin-inline:auto; }
}

/* Local CSS effects: only animate while a badge is hovered or keyboard-focused. */
@property --tw-footer-glow-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.site-footer .footer-badges li { position:relative; border-radius:16px; }
.site-footer .footer-badges li::after {
  content:''; position:absolute; inset:0; border-radius:inherit; padding:2px;
  pointer-events:none; opacity:0;
  background:conic-gradient(from var(--tw-footer-glow-angle), transparent 0deg 240deg, var(--footer-accent) 300deg, #fff 325deg, transparent 360deg);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask-composite:exclude;
  transition:opacity .2s ease;
}
@keyframes tw-footer-glow { to { --tw-footer-glow-angle:360deg; } }
.site-footer .footer-socials a {
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.site-footer .footer-socials a:focus-visible,
.site-footer .footer-badges a:focus-visible {
  outline:2px solid var(--footer-accent); outline-offset:4px;
}
.site-footer .footer-socials a:focus-visible {
  transform:translateY(-3px);
  border-color:var(--footer-accent);
  box-shadow:0 6px 16px rgb(40 25 45 / 12%);
}
.site-footer .footer-badges li:has(a:focus-visible)::after {
  opacity:1; animation:tw-footer-glow 2s linear infinite;
}
@media (hover:hover) and (pointer:fine) {
  .site-footer .footer-badges li:hover::after {
    opacity:1; animation:tw-footer-glow 2s linear infinite;
  }
  .site-footer .footer-socials a:hover {
    transform:translateY(-3px);
    border-color:var(--footer-accent);
    box-shadow:0 6px 16px rgb(40 25 45 / 12%);
  }
}
@media (prefers-reduced-motion:reduce) {
  .site-footer .footer-socials a { transition:none; transform:none; }
  .site-footer .footer-badges li::after { animation:none !important; transition:none; }
}
