/* ========================================================================
   BISSAN | A City, Bottled.
   Pearl / EasyOrders visual layer — V1.0 (22 October 2026)

   Load AFTER BISSAN_Pearl_Typography.css in Header Code.
   This is a cautious visual enhancement for the EXISTING Pearl theme.
   No checkout logic, product data, images, JavaScript, or logo geometry changed.
   Do NOT insert the BISSAN logo via CSS: upload the approved artwork instead.

   Colors: Dark Oud #2C1810 | Desert Gold #C9A96E | Stone White #E8E2D9
   ======================================================================== */

:root {
  --bissan-oud: #2C1810;
  --bissan-gold: #C9A96E;
  --bissan-stone: #E8E2D9;
  --bissan-canvas: #F5F1EA;
  --bissan-paper: #FFFCF7;
  --bissan-text: #2C1810;
  --bissan-muted: #6A5D55;
  --bissan-line: rgba(89, 66, 47, .19);
  --bissan-gold-line: rgba(201, 169, 110, .45);
  --bissan-ease: cubic-bezier(.22, 1, .36, 1);
}

/* 01 / Page tone: luxury parchment; product and checkout functions untouched */
html { scroll-behavior: smooth; }
body { background-color: var(--bissan-canvas); color: var(--bissan-text); }

/* 02 / The global storefront header (not the EasyOrders editor) */
body > header,
header[role="banner"],
header.site-header,
header.main-header,
.site-header,
#site-header,
.main-header {
  background-color: var(--bissan-oud) !important;
  color: var(--bissan-stone) !important;
  border-bottom: 1px solid var(--bissan-gold-line);
  box-shadow: 0 10px 30px rgba(44, 24, 16, .08);
}
:is(body > header, header[role="banner"], header.site-header, header.main-header, .site-header, #site-header, .main-header) :is(a, span, p, label) {
  color: var(--bissan-stone);
}
:is(body > header, header[role="banner"], header.site-header, header.main-header, .site-header, #site-header, .main-header) :is(a:hover, a:focus-visible) {
  color: var(--bissan-gold);
}
:is(body > header, header[role="banner"], header.site-header, header.main-header, .site-header, #site-header, .main-header) :is(img, svg) {
  max-height: 78px;
}
:is(body > header, header[role="banner"], header.site-header, header.main-header, .site-header, #site-header, .main-header) a {
  text-decoration: none;
  transition: color .25s ease;
}

/* 03 / Announcement ribbon */
:is(.announcement-bar, .announcementBar, .top-announcement, #announcement-bar, .top-bar) {
  background: var(--bissan-oud);
  color: var(--bissan-gold);
  border-bottom: 1px solid var(--bissan-gold-line);
  letter-spacing: .025em;
}
:is(.announcement-bar, .announcementBar, .top-announcement, #announcement-bar, .top-bar) a {
  color: var(--bissan-gold);
}

/* 04 / Editorial headings and elegant separators. Fonts come from the first file. */
main :is(h1, h2, h3),
:is(.home-section, .homepage-section, .collection-section) :is(h1,h2,h3) {
  letter-spacing: -.015em;
  text-wrap: balance;
}
:is(.section-title, .home_section_title, .home_section_top_title) {
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
main hr { border: 0; border-top: 1px solid var(--bissan-line); }

/* 05 / Collection cards: subtle architectural borders and motion */
:is(.product-card, .product_card, .productCard, .product-item, .product_item,
    [class~="product-card"], [class~="product_item"]) {
  background-color: var(--bissan-paper);
  border: 1px solid var(--bissan-line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(44, 24, 16, .035);
  transition: transform .45s var(--bissan-ease),
              box-shadow .45s var(--bissan-ease),
              border-color .45s var(--bissan-ease);
}
@media (hover: hover) and (pointer: fine) {
  :is(.product-card, .product_card, .productCard, .product-item, .product_item,
      [class~="product-card"], [class~="product_item"]):hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(44, 24, 16, .10);
    border-color: var(--bissan-gold-line);
  }
}
:is(.product-card, .product_card, .productCard, .product-item, .product_item) img {
  transition: transform .8s var(--bissan-ease);
}
@media (hover: hover) and (pointer: fine) {
  :is(.product-card, .product_card, .productCard, .product-item, .product_item):hover img {
    transform: scale(1.025);
  }
}

/* 06 / Shopping CTAs — only recognized storefront action classes, not checkout */
:is(.add-to-cart, .add_to_cart_btn, .add-to-cart-btn, .addToCartBtn,
    .product-add-to-cart, [data-add-to-cart],
    .shop-now-btn, .shop-now-button) {
  background-color: var(--bissan-oud) !important;
  border: 1px solid var(--bissan-oud) !important;
  color: var(--bissan-stone) !important;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: .025em;
  transition: background-color .25s ease, color .25s ease,
              border-color .25s ease, transform .25s ease;
}
@media (hover: hover) {
  :is(.add-to-cart, .add_to_cart_btn, .add-to-cart-btn, .addToCartBtn,
      .product-add-to-cart, [data-add-to-cart],
      .shop-now-btn, .shop-now-button):hover:not(:disabled) {
    background-color: var(--bissan-gold) !important;
    border-color: var(--bissan-gold) !important;
    color: var(--bissan-oud) !important;
    transform: translateY(-1px);
  }
}

/* 07 / Brand story imagery */
:is(.banner-section, .hero-section, .hero-banner, .home-banner, .story-section) img {
  max-width: 100%;
}
:is(.banner-section, .hero-section, .hero-banner, .home-banner) {
  isolation: isolate;
}

/* 08 / Footer: quiet dark finish */
footer,
.site-footer,
#site-footer {
  background-color: var(--bissan-oud) !important;
  color: var(--bissan-stone);
  border-top: 1px solid var(--bissan-gold-line);
}
:is(footer, .site-footer, #site-footer) :is(h2,h3,h4,strong) { color: var(--bissan-gold); }
:is(footer, .site-footer, #site-footer) :is(p,span,li,a) { color: var(--bissan-stone); }
:is(footer, .site-footer, #site-footer) a:hover { color: var(--bissan-gold); }

/* 09 / Accessible keyboard focus */
:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--bissan-gold);
  outline-offset: 3px;
}

/* 10 / Responsive refinements */
@media (max-width: 767px) {
  :is(.section-title, .home_section_title, .home_section_top_title) { line-height: 1.3; }
  :is(.product-card, .product_card, .productCard, .product-item, .product_item) {
    border-radius: 3px;
  }
}

/* 11 / Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :is(.product-card, .product_card, .productCard, .product-item, .product_item),
  :is(.product-card, .product_card, .productCard, .product-item, .product_item) img,
  :is(.add-to-cart, .add_to_cart_btn, .add-to-cart-btn, .addToCartBtn) {
    transition-duration: .01ms !important;
    transform: none !important;
  }
}
/* End — BISSAN MASTER 1.0 */
