/** Shopify CDN: Minification failed

Line 1240:21 Unexpected "*"

**/
/* ============================================
   SHOP ESOTERICO - Custom Theme Styles
   Minerali, Cristalli e Gioielli by Mery
   ============================================ */

/* --- Gold accent line under headings --- */
.section-header h2,
.rich-text h2,
.collection-list-title,
h2.title {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-header h2::after,
.rich-text h2::after,
.collection-list-title::after,
h2.title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #C9A96E, transparent);
}

/* --- Smooth hover effect on product cards (crystal glow) --- */
.product-card-wrapper .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-wrapper .card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 24px rgba(155, 109, 255, 0.12),
    0 0 40px rgba(201, 169, 110, 0.08);
}

/* --- Elegant button styling --- */
.button,
.shopify-challenge__button,
button.shopify-payment-button__button--unbranded {
  transition: all 0.3s ease;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9em;
  min-height: 48px;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.25);
}

/* --- WhatsApp share button on product pages --- */
.whatsapp-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  background-color: #25D366;
  color: #0D0D0D;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 0.8rem;
  width: 100%;
  justify-content: center;
}

.whatsapp-share-btn:hover {
  background-color: #128C7E;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  color: #fff; /* white on darker green = 5.39:1 PASS */
}

.whatsapp-share-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- Floating WhatsApp Contact Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* --- Trust Badges --- */
.trust-badges {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
}

.trust-badges__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.trust-badges__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  opacity: 0.8;
}

.trust-badges__item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #C9A96E;
}

/* --- Inventory / Stock --- */
/* Hide "Scorte ridotte" text - not useful for single pieces */
.product__inventory {
  display: none;
}

/* Quantity selector locked when stock < 2 */
.quantity--locked .quantity__button {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.quantity--locked .quantity__input {
  opacity: 0.6;
}

/* PayPal Pay Later messaging - white box for readability */
.shopify-payment-button + *,
.shopify-payment-button ~ div:not(.shopify-payment-button),
div[id*="paypal-message"],
div[data-pp-message] {
  background: #F5F0EB;
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 8px;
}

/* Sold out badge - high contrast for dark theme */
.badge--sold-out,
.card__badge .badge {
  background: #F5F0EB !important;
  color: #0D0D0D !important;
  font-weight: 700 !important;
}

/* --- Cookie Consent Banner --- */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #1A1625;
  border-top: 1px solid rgba(201, 169, 110, 0.2);
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-consent__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-consent__text {
  font-size: 0.85rem;
  color: #F5F0EB;
  margin: 0;
  flex: 1;
  min-width: 250px;
}

.cookie-consent__link {
  color: #C9A96E;
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
}

.cookie-consent__accept {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
  min-height: 40px;
}

.cookie-consent__decline {
  background: none;
  border: 1px solid rgba(245, 240, 235, 0.3);
  color: #F5F0EB;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 40px;
}

.cookie-consent__decline:hover {
  border-color: #F5F0EB;
}

/* ============================================
   HERO BANNER - Ethereal Crystal Style
   Inspired by stitch_cart design, adapted for dark theme
   WCAG AAA compliant
   ============================================ */

/* --- Overlay: gradient from transparent top to dark bottom --- */
.banner__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 13, 13, 0.05) 0%,
    rgba(13, 13, 13, 0.15) 40%,
    rgba(13, 13, 13, 0.75) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* --- Ken Burns: slow cinematic zoom --- */
.banner__media img,
.banner__media .banner__media-image {
  animation: kenBurns 30s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}

/* Banner height: use Dawn's native "large" setting from editor */
/* Set height to "large" in Shopify editor for full-screen feel */

/* --- Hero text styling: serif italic elegant --- */
.banner__heading {
  font-family: var(--font-heading-family);
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* --- Subtitle / body text under heading --- */
.banner__text .banner__subheading,
.banner__text p {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

/* --- Text entrance animations: staggered slide up --- */
.banner__content .banner__heading {
  animation: heroFadeIn 0.9s cubic-bezier(0.25, 0.1, 0.25, 1) 0.15s both;
}

.banner__content .banner__text {
  animation: heroFadeIn 0.9s cubic-bezier(0.25, 0.1, 0.25, 1) 0.4s both;
}

.banner__content .banner__buttons {
  animation: heroFadeIn 0.9s cubic-bezier(0.25, 0.1, 0.25, 1) 0.65s both;
}

@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Hero buttons: refined style --- */
.banner__buttons .button {
  backdrop-filter: blur(8px);
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  padding: 1.1rem 2.4rem;
  min-height: 52px;
}

.banner__buttons .button--secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.banner__buttons .button--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

/* --- Focus visible: WCAG AAA --- */
.banner__buttons .button:focus-visible {
  outline: 3px solid rgb(var(--color-button));
  outline-offset: 4px;
}

/* --- Mobile hero adjustments --- */
@media screen and (max-width: 749px) {
  .banner__text .banner__subheading,
  .banner__text p {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .banner__buttons .button {
    width: 100%;
    justify-content: center;
  }
}

/* --- Collection banner styling --- */
/* Only decorative additions - no layout overrides */
.collection-hero__title {
  font-style: italic;
  position: relative;
  padding-bottom: 1.2rem;
}

.collection-hero__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #C9A96E, transparent);
}

.collection-hero__description {
  opacity: 0.85;
}

/* --- Announcement bar styling --- */
.announcement-bar {
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.announcement-bar__message {
  font-size: 0.9rem !important;
  letter-spacing: 0.04em;
}

@media screen and (max-width: 749px) {
  .announcement-bar__message {
    font-size: 0.8rem !important;
  }
}

/* --- Promo Banner (discount code) --- */
.promo-banner {
  background: linear-gradient(135deg, #2D1B4E 0%, #1A1225 50%, #2D1B4E 100%);
  border-bottom: 1px solid rgba(201, 169, 110, 0.25);
  padding: 10px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.06), transparent);
  animation: promoShimmer 4s ease infinite;
}

@keyframes promoShimmer {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(50%); }
}

.promo-banner__text {
  font-size: 0.95rem;
  color: #F5F0EB;
  letter-spacing: 0.03em;
  margin: 0;
  position: relative;
  z-index: 1;
}

.promo-banner__code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 169, 110, 0.15);
  border: 1px dashed rgba(201, 169, 110, 0.5);
  border-radius: 4px;
  padding: 3px 12px;
  margin-left: 8px;
  color: #C9A96E;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.promo-banner__code:hover {
  background: rgba(201, 169, 110, 0.25);
  border-color: #C9A96E;
}

.promo-banner__code-copied {
  display: none;
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: #C9A96E;
  color: #0D0D0D;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
  font-weight: 600;
}

.promo-banner__code.copied .promo-banner__code-copied {
  display: block;
  animation: fadeInOut 1.5s ease forwards;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateX(-50%) translateY(4px); }
  20% { opacity: 1; transform: translateX(-50%) translateY(0); }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

.promo-banner__code-icon {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.promo-banner__dismiss {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(245, 240, 235, 0.4);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 4px;
  line-height: 1;
  z-index: 1;
}

.promo-banner__dismiss:hover {
  color: #F5F0EB;
}

@media screen and (max-width: 749px) {
  .promo-banner__text {
    font-size: 0.82rem;
  }
  .promo-banner__code {
    display: flex;
    margin-left: 0;
    margin-top: 6px;
    justify-content: center;
    font-size: 0.95rem;
  }
  .promo-banner__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
}

/* --- Header --- */
.header-wrapper {
  transition: background-color 0.3s ease;
}

/* Nav items styling */
.header__inline-menu .header__menu-item {
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.header__inline-menu .header__menu-item:hover span {
  color: #C9A96E;
}

/* Active nav */
.header__active-menu-item {
  color: #C9A96E;
}

/* Remove double underlines */
.header__inline-menu .header__menu-item {
  text-decoration: none;
}

/* Caret alignment fix - Dawn puts svg-wrapper inside summary */
.header__inline-menu summary.list-menu__item {
  gap: 4px;
}

.header__inline-menu summary.list-menu__item > .svg-wrapper svg {
  width: 8px;
  height: 6px;
}

/* --- Mega Menu Premium Styling --- */
.mega-menu__content {
  background: #0D0D0D;
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  padding: 2rem 0 2.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: start;
}

/* Collection cards grid */
.mega-menu__collections {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
}

.mega-menu__collections--simple {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  max-width: 650px;
}

/* Individual collection card */
.mega-menu__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  text-align: center;
}

.mega-menu__card:hover {
  background: rgba(201, 169, 110, 0.06);
  transform: translateY(-2px);
}

.mega-menu__card--active .mega-menu__card-title {
  color: #C9A96E;
}

/* Card image */
.mega-menu__card-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(201, 169, 110, 0.15);
  transition: border-color 0.25s ease;
  flex-shrink: 0;
}

.mega-menu__card:hover .mega-menu__card-image {
  border-color: rgba(201, 169, 110, 0.5);
}

.mega-menu__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-menu__card-image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 110, 0.05);
}

.mega-menu__card-icon {
  font-size: 1.6rem;
}

/* Card text */
.mega-menu__card-title {
  color: #F5F0EB;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.mega-menu__card:hover .mega-menu__card-title {
  color: #C9A96E;
}

.mega-menu__card-count {
  color: rgba(245, 240, 235, 0.5);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

/* Sub-level card (no image) */
.mega-menu__card--sub {
  padding: 0.6rem 0.5rem;
}

.mega-menu__card--sub .mega-menu__card-title {
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.7;
}

.mega-menu__card--sub:hover .mega-menu__card-title {
  opacity: 1;
}

/* CTA sidebar */
.mega-menu__cta {
  min-width: 220px;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 2rem;
  border-left: 1px solid rgba(201, 169, 110, 0.1);
}

.mega-menu__cta-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega-menu__cta-badge {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #C9A96E;
  font-weight: 600;
}

.mega-menu__cta-text {
  font-size: 0.88rem;
  color: rgba(245, 240, 235, 0.75);
  line-height: 1.5;
  margin: 0;
}

.mega-menu__cta-link {
  font-size: 0.88rem;
  color: #C9A96E;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.mega-menu__cta-link:hover {
  opacity: 0.8;
}

.mega-menu__cta-promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: rgba(201, 169, 110, 0.08);
  border: 1px dashed rgba(201, 169, 110, 0.3);
  border-radius: 6px;
  padding: 0.8rem;
  font-size: 0.75rem;
  color: rgba(245, 240, 235, 0.6);
  text-align: center;
}

.mega-menu__cta-promo strong {
  color: #C9A96E;
  font-size: 1rem;
  letter-spacing: 0.12em;
}

/* Smooth open animation */
.js .mega-menu__content {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.mega-menu[open] .mega-menu__content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Hide CTA on small mega menus (few items) */
@media screen and (max-width: 1100px) {
  .mega-menu__cta {
    display: none;
  }
  .mega-menu__inner {
    grid-template-columns: 1fr;
  }
}

/* Top-level nav items styling */
.header__menu-item .header__active-menu-item {
  color: #C9A96E;
}

.header__menu-item > .header__menu-item {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* Smooth open animation */
.js .mega-menu__content {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mega-menu[open] .mega-menu__content {
  opacity: 1;
  transform: translateY(0);
}

/* Condensed list (single column dropdowns) */
.mega-menu .mega-menu__list--condensed {
  max-width: 240px;
  margin: 0 auto;
}

.mega-menu__list--condensed .mega-menu__link {
  text-align: center;
}

/* ============================================
   MOBILE MENU - Shop Esoterico
   Mobile-first: 80% traffic from Instagram
   ============================================ */

/* Drawer background */
.menu-drawer {
  background: #0D0D0D;
}

/* Main menu items - big, tappable, clear */
.menu-drawer__menu-item {
  font-size: 1.2rem;
  padding: 1.1rem 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  color: #F5F0EB;
  letter-spacing: 0.03em;
}

/* Parent items with submenu arrow */
.menu-drawer__menu-item[aria-expanded] {
  font-family: var(--font-heading-family);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Submenu panel */
.menu-drawer__submenu {
  background: #0D0D0D;
}

/* Back button in submenu */
.menu-drawer__close-button {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(245, 240, 235, 0.5);
  padding: 1rem 0.5rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.12);
  margin-bottom: 0.8rem;
  font-weight: 500;
}

/* Subtle line under back button */
.menu-drawer__close-button + .menu-drawer__menu::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.3), transparent);
  margin: 0.3rem auto 0.8rem;
}

/* Submenu items */
.menu-drawer__submenu .menu-drawer__menu-item {
  font-size: 1.05rem;
  padding: 0.85rem 1rem 0.85rem 1.2rem;
  border-left: 3px solid rgba(201, 169, 110, 0.15);
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  margin-bottom: 2px;
  border-radius: 0 6px 6px 0;
  background: rgba(201, 169, 110, 0.03);
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.menu-drawer__submenu .menu-drawer__menu-item:active,
.menu-drawer__submenu .menu-drawer__menu-item:hover {
  border-left-color: #C9A96E;
  background: rgba(201, 169, 110, 0.08);
  color: #C9A96E;
}

/* Active item */
.menu-drawer__menu-item--active {
  color: #C9A96E;
}

/* Submenu list - fill space */
.menu-drawer__submenu .menu-drawer__menu.list-menu {
  padding: 0.5rem 0;
}

/* Submenu inner container - push content up */
.menu-drawer__inner-submenu {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* Separator between menu sections */
.menu-drawer__menu > li {
  border-bottom: 1px solid rgba(245, 240, 235, 0.06);
}

.menu-drawer__menu > li:last-child {
  border-bottom: none;
}

/* Subtle spacer at bottom of submenu */
.menu-drawer__submenu .menu-drawer__menu::after {
  content: '';
  display: block;
  height: 1rem;
}

/* Mobile promo card inside drawer */
.menu-drawer__promo {
  margin: 1.2rem 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, rgba(45, 27, 78, 0.6), rgba(26, 18, 37, 0.8));
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 8px;
  text-align: center;
}

.menu-drawer__promo-text {
  font-size: 0.85rem;
  color: rgba(245, 240, 235, 0.8);
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.menu-drawer__promo-code {
  display: inline-block;
  background: rgba(201, 169, 110, 0.12);
  border: 1px dashed rgba(201, 169, 110, 0.4);
  border-radius: 4px;
  padding: 4px 14px;
  color: #C9A96E;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.menu-drawer__promo-cta {
  display: block;
  font-size: 0.75rem;
  color: rgba(245, 240, 235, 0.5);
  letter-spacing: 0.04em;
}

/* Utility links at bottom (account, etc) */
.menu-drawer__utility-links {
  border-top: 1px solid rgba(201, 169, 110, 0.1);
  padding-top: 1.5rem;
  margin-top: 1rem;
}

/* Search in mobile */
.menu-drawer .search {
  margin-bottom: 1.5rem;
}

.menu-drawer .search__input {
  background: rgba(26, 22, 37, 0.5);
  border-color: rgba(201, 169, 110, 0.2);
  color: #F5F0EB;
  min-height: 48px;
  font-size: 1rem;
}

.menu-drawer .search__input::placeholder {
  color: rgba(245, 240, 235, 0.4);
}

.menu-drawer .search__input:focus {
  border-color: #C9A96E;
}

/* --- Footer social icons hover --- */
.list-social__link svg {
  transition: transform 0.3s ease;
}

.list-social__link:hover svg {
  transform: scale(1.15);
}

/* --- Product media gallery polish --- */
.product__media-item {
  border-radius: 8px;
  overflow: hidden;
}

/* --- Collapsible tab styling for crystal properties --- */
.product__accordion .accordion__content {
  line-height: 1.7;
}

/* --- Cart drawer polish --- */
.cart-drawer {
  backdrop-filter: blur(8px);
}

/* --- Newsletter section --- */
.newsletter input[type="email"] {
  border-color: rgba(201, 169, 110, 0.3);
}

.newsletter input[type="email"]:focus {
  border-color: rgba(201, 169, 110, 0.8);
  box-shadow: 0 0 0 2px rgba(201, 169, 110, 0.15);
}

/* --- Scrollbar styling for dark theme --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0D0D0D;
}

::-webkit-scrollbar-thumb {
  background: #2D1B4E;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9B6DFF;
}

/* --- Dark theme readability improvements --- */
/* RULE: NEVER override Dawn's font-size, heading scale, card layout, or badge styles */
/* Only add color/opacity tweaks for dark theme readability */
:root {
  --alpha-link: 1;
}


/* Product page urgency bar */
.product-urgency {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(201, 169, 110, 0.06);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 6px;
  margin: 12px 0;
  font-size: 0.88rem;
  color: rgba(var(--color-foreground), 0.8);
}

.product-urgency__dot {
  width: 8px;
  height: 8px;
  background: #C9A96E;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease infinite;
}

.product-urgency__dot--critical {
  background: #E1306C;
}

.product-urgency strong {
  color: #C9A96E;
}

/* "Qualcuno sta guardando questo" social proof */
.product-viewers {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(var(--color-foreground), 0.55);
  margin: 8px 0;
}

.product-viewers__dot {
  width: 6px;
  height: 6px;
  background: #25D366;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease infinite;
}

/* Dark theme text color adjustments only - no size overrides */
.rte p,
.rte li,
.rich-text__text p,
.collapsible-content__text p {
  line-height: 1.8;
}

/* --- Select dropdowns readable on dark theme --- */
select,
.select__select {
  background-color: #0D0D0D;
  color: #F5F0EB;
}

select option {
  background-color: #1A1625;
  color: #F5F0EB;
}

/* --- Selection color --- */
::selection {
  background-color: rgba(155, 109, 255, 0.3);
  color: #F5F0EB;
}

/* --- Accessibility: Focus indicators (WCAG 2.4.7) --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #C9A96E;
  outline-offset: 3px;
}

summary:focus-visible {
  outline: 2px solid #C9A96E;
  outline-offset: 3px;
}

/* --- Skip to content link (WCAG 2.4.1) --- */
.skip-to-content-link:focus {
  clip: auto;
  width: auto;
  height: auto;
  padding: 1rem 2rem;
  background: #C9A96E;
  color: #0D0D0D;
  z-index: 10000;
  font-weight: 600;
}

/* --- Accessibility: Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .product-card-wrapper .card,
  .button,
  .whatsapp-share-btn,
  .whatsapp-float,
  .list-social__link svg {
    transition: none;
  }

  .product-card-wrapper .card:hover,
  .button:hover,
  .whatsapp-share-btn:hover {
    transform: none;
  }

  .whatsapp-float:hover {
    transform: none;
  }

  .product__inventory::before {
    animation: none;
  }

  .banner__media img,
  .banner__media .banner__media-image {
    animation: none !important;
  }

  .banner__content .banner__heading,
  .banner__content .banner__text,
  .banner__content .banner__buttons {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- Mobile optimizations --- */
@media screen and (max-width: 749px) {
  .whatsapp-share-btn {
    font-size: 1rem;
    padding: 1rem;
  }

  .banner h1,
  .banner .banner__heading {
    font-size: 2.8rem;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  .trust-badges__grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .cookie-consent__inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-consent__actions {
    width: 100%;
    justify-content: center;
  }

  /* Fix header alignment mobile */
  .header {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  /* Better spacing between sections on mobile */
  .section-template--*-padding,
  .shopify-section {
    scroll-margin-top: 60px;
  }


  /* Newsletter mobile */
  .newsletter-form__field-wrapper {
    max-width: 100%;
  }

  .newsletter .field__input {
    min-height: 48px;
    font-size: 1rem;
  }

  /* Footer mobile spacing */
  .footer__content-top {
    padding: 2rem 0;
  }
}
