/* ==========================================================================
   Sivanna Colors – premium design layer
   Loaded after the theme's own stylesheets. Remove the
   "sivanna-premium.css" line in layout/theme.liquid to switch it off.
   ========================================================================== */

:root {
  --sv-ink: #141414;
  --sv-ink-soft: #4a4744;
  --sv-muted: #8a8580;
  --sv-line: #ebe7e1;
  --sv-cream: #f6f3ee;
  --sv-accent: #b0ae96;
  --sv-accent-deep: #8f8c73;
  --sv-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
html, body { overflow-x: clip; }          /* fixes sideways scroll on home page */
@supports not (overflow: clip) { body { overflow-x: hidden; } }
body {
  color: var(--sv-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: .005em;
}
::selection { background: var(--sv-accent); color: #fff; }
a { transition: color .25s var(--sv-ease), opacity .25s var(--sv-ease); }
:focus-visible { outline: 1px solid var(--sv-ink); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important;
  margin: -1px !important; padding: 0 !important; overflow: hidden !important;
  clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important;
  display: block !important;
}

/* ---------- Headings ---------- */
h1, h2, h3, .wpbingo-title, .product-single__title {
  font-weight: 400;
  letter-spacing: -.005em;
  font-feature-settings: "liga", "kern";
}
.wpbingo-section--title .wpbingo-sub-title {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sv-muted);
}

/* ---------- Announcement / top bar ---------- */
.bwp-header-campar, .bwp-header-campar a { letter-spacing: .16em; font-size: 11px; }

/* ---------- Main navigation ---------- */
.main-menu__nav-item > a { letter-spacing: .14em; font-size: 11.5px; }
.main-menu__nav-item > a { position: relative; }

/* ---------- Product cards ---------- */
body .product-card__name,
body .product-card__name a {
  text-transform: none !important;
  font-weight: 400 !important;
  letter-spacing: .01em;
  color: var(--sv-ink);
}
body .product-card__name a {
  font-size: 14px;
  line-height: 1.45 !important;
}
body .product-card__name a:hover { color: var(--sv-accent-deep); }
.product-card__price,
.product-card__price .price { font-weight: 500; letter-spacing: .02em; color: var(--sv-ink); }
.product-card__price s,
.product-card__price .price--compare,
.product-card__price del { color: var(--sv-muted); font-weight: 400; }

.product-card__image-wrapper { overflow: hidden; }
.product-card__image-wrapper img { transition: transform 1.1s var(--sv-ease), opacity .6s var(--sv-ease); }
@media (hover: hover) {
  .product-card:hover .product-card__image-wrapper img { transform: scale(1.035); }
}

/* labels: sale / sold out */
.product-card__label > div,
.product-card__sold-out,
.product-card__on-sale {
  font-size: 10px !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 0 !important;
}
.product-card__sold-out { background: rgba(255,255,255,.92) !important; color: var(--sv-ink-soft) !important; }
.product-card__on-sale { background: var(--sv-ink) !important; color: #fff !important; }

/* ---------- Buttons ---------- */
.btn, .btn-primary, button.btn, .btn--add-to-cart, .newsletter-form__submit {
  letter-spacing: .16em;
  font-size: 11.5px;
  font-weight: 500;
  border-radius: 0;
  transition: background-color .35s var(--sv-ease), color .35s var(--sv-ease), border-color .35s var(--sv-ease);
}
.btn--add-to-cart:not([disabled]) { background: var(--sv-ink); border-color: var(--sv-ink); color: #fff; }
.btn--add-to-cart:not([disabled]):hover { background: var(--sv-accent-deep); border-color: var(--sv-accent-deep); color: #fff; }

/* ---------- Product page ---------- */
body .product-single__title {
  text-transform: none !important;
  font-size: clamp(26px, 2.6vw, 38px) !important;
  line-height: 1.15 !important;
  letter-spacing: -.005em;
  margin-bottom: 14px;
}
.template-product .price-container .price,
.template-product .price-container [data-price] { font-size: 20px; font-weight: 500; letter-spacing: .02em; }
.template-product .rte, .template-product .product-single__description {
  color: var(--sv-ink-soft);
  line-height: 1.75;
}

/* ---------- Collection tiles (home) ---------- */
.collection-item__title {
  letter-spacing: .02em;
  transition: background-color .35s var(--sv-ease), color .35s var(--sv-ease);
}
.collection-item__link:hover .collection-item__title { background-color: var(--sv-ink) !important; color: #fff !important; }
.collection-item__image { overflow: hidden; }
.collection-item__image img { transition: transform 1.1s var(--sv-ease); }
.collection-item__link:hover .collection-item__image img { transform: scale(1.04); }

/* ---------- Forms ---------- */
.form-control, input[type="email"], input[type="text"], input[type="search"], textarea, select {
  border-radius: 0;
  border-color: var(--sv-line);
}
.form-control:focus, input:focus, textarea:focus, select:focus { border-color: var(--sv-ink); box-shadow: none; }

/* ---------- Footer ---------- */
.bwp-footer .title-footer { letter-spacing: .01em; }
.bwp-footer a { opacity: .85; }
.bwp-footer a:hover { opacity: 1; }
.footer-copyright { letter-spacing: .06em; font-size: 12px; opacity: .8; }

/* ---------- Popups ---------- */
.newsletter-popup__inner { border-radius: 0; box-shadow: 0 30px 80px rgba(20,20,20,.18); }
.newsletter-popup .title-newsletter { letter-spacing: -.005em; line-height: 1.2; }

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   Moved from layout/theme.liquid (was sitting after </body>)
   ========================================================================== */
.header-sticky .header-logo__img {
  content: url("https://cdn.shopify.com/s/files/1/0618/6949/0278/files/sivanna.png?v=1737028003");
}
@media only screen and (max-width: 600px) {
  .header-logo__img {
    content: url("https://cdn.shopify.com/s/files/1/0618/6949/0278/files/sivanna.png?v=1737028003");
  }
}

@media only screen and (max-width: 767px) {
  .products__row.row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 16px !important;
    row-gap: 34px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .products__row.row .products__col {
    width: 100% !important;
    max-width: 100% !important;
    flex: unset !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex !important;
  }
  .products__row.row .product-card {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
  }
  .products__row.row .product-card__content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
  }
  .products__row.row .product-card__name {
    max-height: 60px !important;
    overflow: hidden !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .products__row.row .product-card__name a {
    font-size: 13px !important;
    line-height: 19px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .products__row.row .content-bottom { min-height: 28px !important; }
  .products__row.row .wpb-variants-swatch {
    min-height: 34px !important;
    max-height: 90px !important;
    overflow: hidden !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    margin: 6px 0 8px !important;
  }
  .products__row.row .product-card__form.mobile { margin-top: auto !important; }
  .products__row.row .product-card__form.mobile form { display: flex !important; width: 100% !important; }
  .products__row.row .wpbingo-qty { width: 50% !important; }
  .products__row.row .btn--add-to-cart { width: 50% !important; }
}
