/* Bhavika — light trending storefront polish */

:root {
  --bh-ink: #2c2430;
  --bh-surface: #fffdfb;
  --bh-mist: #f7f3f5;
  --bh-accent: #b76e79;
  --bh-accent-soft: #f8eef1;
  --bh-gold: #b08968;
  --bh-muted: #7a7180;
  --bh-border: #eee6ea;
}

body {
  background: #fffdfb;
  color: var(--bh-ink);
}

.announcement {
  background: #f8eef1 !important;
  color: #5c4450 !important;
  font-weight: 500;
}

.size-guide-link {
  float: right;
  border: 0;
  background: none;
  padding: 0;
  color: #b76e79;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.size-modal[hidden] { display: none; }

.size-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.size-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 20, 26, 0.46);
}

.size-modal__card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(86vh, 680px);
  overflow: auto;
  background: #fffdfb;
  border-radius: 18px;
  padding: 1.4rem 1.25rem 1.3rem;
  box-shadow: 0 24px 60px rgba(28, 20, 26, 0.22);
}

.size-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f7f3f5;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.size-modal__kicker {
  margin: 0 0 0.25rem;
  color: #b76e79;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.size-modal__card h2 {
  margin: 0 0 0.4rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
}

.size-modal__card > p {
  margin: 0 0 0.9rem;
  color: #5c5360;
  font-size: 0.92rem;
}

.size-modal__scroll { overflow-x: auto; }

.size-modal table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.size-modal th,
.size-modal td {
  padding: 0.65rem 0.4rem;
  text-align: center;
  border-bottom: 1px solid #eee6ea;
  font-size: 0.9rem;
}

.size-modal th {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a7180;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fffdfb;
}

.site-header,
.bh-header,
.header {
  position: relative !important;
  background: #fffdfb !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
  border-bottom: 1px solid var(--bh-border);
  box-shadow: none;
}

.site-header.is-hidden {
  transform: none !important;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--bh-border);
}

.header__logo {
  color: var(--bh-ink) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor;
}

.btn--primary,
.bh-btn {
  background: #2c2430 !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

.btn--primary:hover,
.bh-btn:hover {
  background: #b76e79 !important;
}

.btn--outline {
  background: transparent !important;
  color: inherit !important;
  border-radius: 999px !important;
}

.btn--light {
  background: #fff !important;
  color: #2c2430 !important;
  border-radius: 999px !important;
}

.hero .hero__overlay {
  background: linear-gradient(180deg, rgba(28, 20, 26, 0.15) 0%, rgba(28, 20, 26, 0.25) 40%, rgba(28, 20, 26, 0.72) 100%) !important;
}

.hero__brand,
.hero__headline,
.hero__text {
  color: #fff !important;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.hero__headline {
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
}

.hero .btn--outline {
  border-color: rgba(255, 255, 255, 0.85) !important;
  color: #fff !important;
  background: transparent !important;
}

.section--ink {
  background: #f8eef1 !important;
  color: var(--bh-ink) !important;
}

.section--ink h2,
.section--ink h3,
.section--ink p,
.section--ink .section__title,
.section--ink .section__subtitle,
.section--ink .section__eyebrow {
  color: var(--bh-ink) !important;
}

.product-card,
.auth-card,
.offer-card,
.testimonial,
.page-card,
.policy-body,
.account-card {
  background: #fff;
  border: 1px solid var(--bh-border);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(44, 36, 48, 0.04);
}

.product-card {
  overflow: hidden;
  padding: 0.55rem 0.55rem 0.85rem;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.product-card__media {
  border-radius: 12px;
}

.product-card__info {
  padding: 0.75rem 0.4rem 0.15rem !important;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(44, 36, 48, 0.08);
}

.product-card__media img,
.category-card img,
.gallery-mosaic__item img,
.collection-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-mosaic__item {
  overflow: hidden;
  border-radius: 16px;
  min-height: 180px;
  background: var(--bh-mist);
}

.gallery-mosaic__item img {
  min-height: 180px;
  transition: transform 0.7s ease;
}

.gallery-mosaic__item:hover img {
  transform: scale(1.05);
}

.category-card {
  border-radius: 18px;
}

.offer-card {
  padding: 1.75rem;
  background: linear-gradient(160deg, #fff, #f8eef1);
}

.auth-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 2.5rem 1rem 4rem;
  background:
    radial-gradient(circle at 10% 10%, #f8eef1, transparent 40%),
    radial-gradient(circle at 90% 0%, #f4efe8, transparent 35%),
    #fffdfb;
}

.auth-card {
  width: min(440px, 100%);
  padding: 2rem 1.5rem;
}

.form-input,
select,
textarea {
  border-radius: 12px;
  border: 1px solid var(--bh-border);
  background: #fff;
}

.page-header,
.bh-page-header {
  background: transparent;
  border: 0;
  padding-top: 2.25rem;
}

.collection-banner {
  border-radius: 24px;
  overflow: hidden;
}

.collection-banner--split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #fff;
  border: 1px solid var(--bh-border);
  margin-inline: auto;
  width: min(1280px, calc(100% - 2.5rem));
}

.collection-banner__media {
  min-height: 320px;
}

.newsletter__form {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.newsletter__form .form-input {
  min-width: min(320px, 100%);
  padding: 0.9rem 1rem;
}

.site-footer {
  background: #2c2430 !important;
  color: rgba(255, 255, 255, 0.72);
  padding: 1.6rem 0 1.15rem !important;
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.foot__logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  text-decoration: none;
  letter-spacing: 0.03em;
  display: inline !important;
  margin: 0 !important;
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.95rem;
}

.foot__links a {
  display: inline !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  text-decoration: none;
}

.foot__links a:hover {
  color: #fff;
}

.foot__bar {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer .header__logo,
.site-footer h4 {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

.mobile-nav {
  width: min(88vw, 380px);
  border-radius: 0;
}

.mobile-nav__close {
  border: 1px solid var(--bh-border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  background: #fff;
}

@media (max-width: 900px) {
  .collection-banner--split {
    grid-template-columns: 1fr;
    width: calc(100% - 1.5rem);
  }

  .collection-banner__content {
    padding: 1.5rem !important;
  }

  .hero {
    min-height: 78vh;
  }

  .hero__content {
    padding-inline: 0.25rem;
  }

  .hero__brand {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .hero__cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .header__action svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 700px) {
  .foot,
  .foot__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .foot__links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }

  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr !important;
  }

  .product-card__body,
  .product-card__info {
    padding: 0.7rem 0.15rem 0.9rem;
  }

  .product-card__name,
  .product-card__title {
    font-size: 1rem;
    line-height: 1.25;
  }

  .product-card__actions .btn,
  .product-card .btn {
    width: 100%;
    padding: 0.7rem 0.4rem;
    font-size: 0.68rem;
  }

  .section {
    padding-block: 2.4rem;
  }

  .section__title {
    font-size: 1.85rem;
  }

  .auth-card {
    padding: 1.4rem 1.1rem;
  }

  .cart-table thead {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.25rem !important;
  }

  .newsletter__form {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-mosaic {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  }
}

@media (max-width: 420px) {
  .footer__grid {
    grid-template-columns: 1fr !important;
  }

  .announcement {
    font-size: 0.7rem;
  }
}
