/* Vante Cosmetics — storefront styles (loaded after Bootstrap 5 CDN, AOS CDN, Swiper CDN) */

:root {
  --brand: #a13b5c;
  --brand-dark: #7d2d47;
  --brand-soft: #f3dee4;
  --ink: #221b20;
  --ink-soft: #6b5d62;
  --bg-soft: #faf8f6;
}

body {
  color: var(--ink);
  background: #fff;
  font-family: 'Karla', system-ui, -apple-system, "Segoe UI", sans-serif;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
}

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

.btn-brand {
  background-color: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-brand:hover { background-color: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(161,59,92,.55); }

.btn-outline-brand {
  border-color: var(--brand);
  color: var(--brand);
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn-outline-brand:hover { background-color: var(--brand); color: #fff; transform: translateY(-2px); }

.text-brand { color: var(--brand) !important; }
.bg-brand { background-color: var(--brand) !important; color: #fff !important; }
.bg-brand-soft { background-color: var(--brand-soft) !important; }

/* Top utility bar */
.topbar {
  background: var(--ink);
  color: #f4e9ec;
  font-size: .82rem;
}
.topbar a { color: #f4e9ec; text-decoration: none; }
.topbar a:hover { color: #fff; }

/* Main navbar — shrinks and gains a shadow once the page scrolls */
.site-navbar {
  border-bottom: 1px solid #eee;
  position: sticky; top: 0; z-index: 1030;
  background: #fff;
  transition: box-shadow .25s ease, padding .25s ease;
}
.site-navbar.is-scrolled { box-shadow: 0 8px 24px -16px rgba(34,27,32,.35); }
.site-navbar .navbar-brand img { height: 40px; transition: height .25s ease; }
.site-navbar.is-scrolled .navbar-brand img { height: 34px; }
.site-navbar .nav-link { color: var(--ink); font-weight: 500; position: relative; }
.site-navbar .nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--brand); transition: width .2s ease;
}
.site-navbar .nav-link:hover::after, .site-navbar .nav-link.active::after { width: 100%; }
.site-navbar .nav-link:hover, .site-navbar .nav-link.active { color: var(--brand); }
.site-navbar .icon-link { position: relative; color: var(--ink); font-size: 1.15rem; transition: color .15s ease, transform .15s ease; display: inline-block; }
.site-navbar .icon-link:hover { color: var(--brand); transform: translateY(-1px); }
.site-navbar .icon-link .badge {
  position: absolute; top: -6px; right: -10px; font-size: .62rem;
}

.navbar-nav-desktop { list-style: none; padding-left: 0; }
.navbar-nav-desktop .nav-link { padding: .5rem .9rem; cursor: pointer; }

/* Mobile menu / search toggle buttons — square, bordered icon buttons */
.mobile-menu-btn, .mobile-icon-btn {
  width: 38px; height: 38px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #eee; border-radius: .6rem; background: #fff;
  color: var(--ink); font-size: 1.15rem;
  transition: color .15s ease, border-color .15s ease, transform .15s ease;
}
.mobile-menu-btn:hover, .mobile-icon-btn:hover { color: var(--brand); border-color: var(--brand-soft); }
.mobile-menu-btn:active, .mobile-icon-btn:active { transform: scale(.94); }

#mobileSearchBar { border-top: 1px solid #eee; background: var(--bg-soft); }
#mobileSearchBar .header-search input { width: 100%; }

/* Header search — input with an attached submit button */
.header-search { position: relative; display: flex; align-items: stretch; }
.header-search input {
  width: 190px; border-radius: 100px 0 0 100px; border-right: none;
  transition: width .25s ease, box-shadow .2s ease, border-color .2s ease;
}
.header-search input:focus { width: 230px; box-shadow: none; border-color: var(--brand); z-index: 2; }
.header-search button {
  border: 1px solid #ced4da; border-left: none; background: var(--brand); color: #fff;
  border-radius: 0 100px 100px 0; padding: 0 .9rem; display: flex; align-items: center; justify-content: center;
  transition: background-color .15s ease, transform .1s ease;
}
.header-search button:hover { background: var(--brand-dark); }
.header-search button:active { transform: scale(.94); }

/* Global dropdown polish — a soft fade/slide open animation.
   Note: only opacity/margin are animated here, never transform — Bootstrap's
   Popper instance sets an inline transform for positioning, and animating
   the same property would fight it (and could snap the menu to 0,0 once
   the transition ends). */
.dropdown-menu {
  border: none; border-radius: .85rem; padding: .6rem;
  box-shadow: 0 20px 45px -18px rgba(34,27,32,.35);
  opacity: 0; margin-top: -4px !important; pointer-events: none;
  display: block; visibility: hidden;
  transition: opacity .18s ease, margin-top .18s ease, visibility .18s;
}
.dropdown-menu.show { opacity: 1; margin-top: 0 !important; pointer-events: auto; visibility: visible; }
.dropdown-item {
  border-radius: .55rem; padding: .55rem .8rem; font-size: .92rem;
  display: flex; align-items: center; gap: .6rem;
  transition: background-color .15s ease, color .15s ease, padding-left .15s ease;
}
.dropdown-item i { color: var(--brand); font-size: 1rem; width: 1.1rem; text-align: center; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--brand-soft); color: var(--brand-dark); padding-left: 1rem; }
.dropdown-item.active, .dropdown-item:active { background: var(--brand); color: #fff; }
.dropdown-item.active i, .dropdown-item:active i { color: #fff; }
.account-dropdown { min-width: 200px; }

/* Mobile navigation drawer — offcanvas sidebar with tap-to-expand submenus */
.mobile-nav-drawer { width: 300px; }
.mobile-nav-drawer .offcanvas-header {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding: 1.1rem 1.25rem;
}
.mobile-nav-drawer .navbar-brand img { height: 30px; }
.mobile-drawer-close {
  width: 36px; height: 36px; border: none; background: var(--bg-soft); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  margin-left: auto;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.mobile-drawer-close:hover { background: var(--brand-soft); color: var(--brand-dark); transform: rotate(90deg); }

.mobile-nav-list { list-style: none; margin: 0; padding: .5rem 0; }
.mobile-nav-list > li { border-bottom: 1px solid #f2f2f2; }
.mobile-nav-list > li > a {
  display: block; padding: .9rem 1.25rem; color: var(--ink); font-weight: 600;
  text-decoration: none; transition: color .15s ease, background-color .15s ease;
}
.mobile-nav-list > li > a:hover, .mobile-nav-list > li > a.active { color: var(--brand); background: var(--bg-soft); }
.mobile-nav-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: .9rem 1.25rem; border: none; background: none; color: var(--ink); font-weight: 600;
  text-align: left;
}
.mobile-nav-toggle i { transition: transform .2s ease; color: var(--brand); font-size: .85rem; }
.mobile-nav-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.mobile-nav-toggle[aria-expanded="true"] { color: var(--brand); background: var(--bg-soft); }
.mobile-submenu { display: flex; flex-direction: column; background: var(--bg-soft); }
.mobile-submenu a {
  padding: .6rem 1.25rem .6rem 2rem; color: var(--ink-soft); text-decoration: none; font-size: .92rem;
  transition: color .15s ease, padding-left .15s ease;
}
.mobile-submenu a:hover { color: var(--brand); padding-left: 2.25rem; }
.mobile-submenu a.mobile-submenu-child { padding-left: 2.75rem; font-size: .86rem; }
.mobile-submenu a.mobile-submenu-child:hover { padding-left: 3rem; }
/* Second level: a category row that opens its subcategories (+ turns into ×). */
.mobile-cat-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: .6rem 1.25rem .6rem 2rem; border: none; background: none; text-align: left;
  color: var(--ink-soft); font-size: .92rem; transition: color .15s ease;
}
.mobile-cat-toggle i { font-size: .75rem; color: var(--brand); transition: transform .2s ease; }
.mobile-cat-toggle[aria-expanded="true"] { color: var(--brand); font-weight: 600; }
.mobile-cat-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
.mobile-cat-children { display: flex; flex-direction: column; background: #f4eef0; }
.mobile-cat-children:not(.show) { display: none; }

/* Shop mega-menu — category cards on the left, a clickable offers panel on the right,
   and a footer strip with the all-products link and store perks. */
.site-navbar .shop-mega-menu {
  width: 880px; max-width: calc(100vw - 2rem); overflow: hidden; border-radius: 1rem;
  box-shadow: 0 24px 50px -20px rgba(34,27,32,.4);
}
.shop-mega-body { display: flex; }
.shop-mega-main { flex: 1; padding: 1.5rem 1.6rem; }
.shop-mega-title {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 1rem;
}
.shop-mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.shop-mega-grid.is-few { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.mega-cat {
  background: var(--bg-soft); border: 1px solid #f1e9eb; border-radius: .85rem; padding: .9rem;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.mega-cat:hover { background: #fff; border-color: var(--brand-soft); box-shadow: 0 10px 24px -16px rgba(161,59,92,.45); }
.mega-cat-head { display: flex; align-items: center; gap: .75rem; text-decoration: none; margin-bottom: .5rem; }
.mega-cat-thumb {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; overflow: hidden;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', Georgia, serif; font-size: 1.2rem; font-weight: 600;
}
.mega-cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mega-cat-name { display: block; font-family: 'Fraunces', Georgia, serif; font-weight: 600; color: var(--ink); line-height: 1.2; }
.mega-cat-all { display: block; font-size: .78rem; font-weight: 600; color: var(--brand); }
.mega-cat-all i { font-size: .7rem; transition: margin-left .15s ease; }
.mega-cat-head:hover .mega-cat-name { color: var(--brand); }
.mega-cat-head:hover .mega-cat-all i { margin-left: 3px; }
.mega-cat-empty { font-size: .85rem; color: var(--ink-soft); margin: 0; padding: .35rem .5rem; }
.shop-mega-title a { font-size: .75rem; letter-spacing: .04em; text-transform: none; color: var(--brand); text-decoration: none; }
.shop-mega-title a:hover { color: var(--brand-dark); }
.shop-mega-menu .mega-menu-more { display: inline-block; margin: .2rem .5rem 0; font-size: .8rem; font-weight: 600; color: var(--brand); text-decoration: none; }
.shop-mega-menu .mega-menu-more:hover { color: var(--brand-dark); text-decoration: underline; }
/* "More categories" card: dashed outline so it reads as a link, not another category. */
.mega-cat-more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; text-align: center; text-decoration: none; background: #fff; border: 1.5px dashed #e3cfd5; }
.mega-cat-more .mega-cat-thumb { font-size: 1.1rem; }
.mega-cat-more:hover .mega-cat-name { color: var(--brand); }

.shop-mega-menu .mega-menu-link {
  display: flex; align-items: center; gap: .4rem;
  padding: .35rem .5rem; border-radius: .5rem;
  color: var(--ink-soft); font-size: .88rem; text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.shop-mega-menu .mega-menu-link i { font-size: .65rem; color: #c9b3ba; transition: color .15s ease; }
.shop-mega-menu .mega-menu-link:hover { color: var(--brand); background: var(--brand-soft); }
.shop-mega-menu .mega-menu-link:hover i { color: var(--brand); }

.shop-mega-promo {
  width: 230px; flex-shrink: 0;
  background: linear-gradient(160deg, var(--ink) 0%, var(--brand-dark) 100%);
  color: #fff; padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.shop-mega-promo::after {
  content: ""; position: absolute; right: -50px; bottom: -50px; width: 180px; height: 180px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%);
}
.shop-mega-promo > * { position: relative; }
.shop-mega-promo .promo-badge {
  align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.14); border-radius: 50rem; padding: .3rem .7rem;
}
.shop-mega-promo h4 { color: #fff; margin: .8rem 0 .5rem; font-size: 1.35rem; }
.shop-mega-promo p { color: #e3cdd3; font-size: .85rem; margin-bottom: 1.1rem; }
.shop-mega-promo .btn-light { color: var(--brand-dark); }
.shop-mega-promo:hover .btn-light { background: #fff; color: var(--brand); }

.shop-mega-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px solid #f0e8ea; padding: .85rem 1.6rem; background: var(--bg-soft);
}
.shop-mega-perks { display: flex; gap: 1.25rem; font-size: .8rem; color: var(--ink-soft); }
.shop-mega-perks i { color: var(--brand); margin-right: .25rem; }

/* Hero (Swiper) */
.hero-swiper { position: relative; }
/* The banner image sets the slide height, so the whole image shows uncropped at every screen width. */
.hero-slide { position: relative; color: #fff; overflow: hidden; }
.hero-slide .hero-img { display: block; width: 100%; height: auto; }
.hero-slide > .container {
  position: absolute; top: 0; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center;
}

.hero-caption { position: relative; z-index: 2; max-width: 560px; }
.hero-caption .eyebrow { color: #f3c9d6; }
.hero-caption .eyebrow::before { background: #f3c9d6; }

.hero-swiper .swiper-pagination-bullet { background: #fff; opacity: .6; }
.hero-swiper .swiper-pagination-bullet-active { opacity: 1; background: var(--brand-soft); }
.hero-swiper .swiper-button-next, .hero-swiper .swiper-button-prev { color: #fff; opacity: .75; }
.hero-swiper:hover .swiper-button-next, .hero-swiper:hover .swiper-button-prev { opacity: 1; }
.hero-swiper .swiper-button-next:after, .hero-swiper .swiper-button-prev:after { font-size: 1.4rem; }

/* Smaller screens: same uncropped banner, so the caption text shrinks to fit the shorter slide. */
@media (max-width: 991.98px) {
  .hero-caption h1 { font-size: 1.6rem; }
  .hero-caption .lead { font-size: 1rem; }
}
@media (max-width: 767.98px) {
  /* Small text on a busy image is hard to read, so it gets a soft dark panel and shadow on phones. */
  .hero-caption { max-width: 68%; margin-left: 1.25rem; padding: .45rem .65rem; border-radius: 8px; background: rgba(0,0,0,.45); text-shadow: 0 1px 3px rgba(0,0,0,.8); }
  .hero-caption .eyebrow { font-size: .65rem; }
  .hero-caption h1 { font-size: 1.05rem; font-weight: 700; line-height: 1.2; margin: 0 0 .15rem !important; }
  .hero-caption .lead { font-size: .75rem; font-weight: 500; line-height: 1.3; margin-bottom: 0; }
  .hero-swiper .swiper-button-next, .hero-swiper .swiper-button-prev { opacity: 1; width: 28px; height: 28px; margin-top: -14px; }
  .hero-swiper .swiper-button-prev { left: 4px; }
  .hero-swiper .swiper-button-next { right: 4px; }
  .hero-swiper .swiper-button-next:after, .hero-swiper .swiper-button-prev:after { font-size: 1rem; }
  .hero-swiper .swiper-pagination { bottom: 4px; }
  .hero-swiper .swiper-pagination-bullet { width: 6px; height: 6px; }
}

/* Features strip */
.features-strip { border-bottom: 1px solid #eee; }
.features-strip .feature-item { display: flex; align-items: center; gap: .85rem; }
.features-strip .feature-icon {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  transition: transform .2s ease;
}
.features-strip .feature-item:hover .feature-icon { transform: scale(1.1) rotate(-6deg); }
.features-strip .feature-title { font-weight: 600; font-size: .92rem; margin: 0; }
.features-strip .feature-sub { font-size: .8rem; color: var(--ink-soft); margin: 0; }

/* Product card */
.product-card { border: 1px solid #eee; border-radius: .75rem; overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; height: 100%; background: #fff; }
.product-card:hover { box-shadow: 0 16px 32px -16px rgba(34,27,32,.3); transform: translateY(-4px); }
.product-thumb-wrap { position: relative; overflow: hidden; background: var(--bg-soft); }
.product-card .product-thumb { aspect-ratio: 1/1; object-fit: cover; width: 100%; display: block; transition: transform .5s ease; }
.product-card:hover .product-thumb { transform: scale(1.08); }
.product-card .price-old { text-decoration: line-through; color: var(--ink-soft); font-size: .9rem; }
.product-card .price-final { color: var(--brand); font-weight: 700; }
.discount-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--brand); color: #fff;
  font-size: .72rem; font-weight: 600;
  padding: .25rem .55rem; border-radius: 100px;
  animation: badgePulse 2.4s ease-in-out infinite;
}
@keyframes badgePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(161,59,92,.5); } 50% { box-shadow: 0 0 0 6px rgba(161,59,92,0); } }
.wishlist-btn {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: #fff; border-radius: 50%; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center; border: 1px solid #eee;
  transition: transform .2s ease, color .2s ease, border-color .2s ease;
}
.wishlist-btn:hover { transform: scale(1.12); color: var(--brand); border-color: var(--brand-soft); }
.wishlist-btn .bi-heart-fill { color: var(--brand); }
.wishlist-btn.is-loading { opacity: .6; pointer-events: none; }

/* Shop page — hero header, filter sidebar, toolbar */
.shop-page-header {
  background: linear-gradient(120deg, var(--bg-soft) 0%, var(--brand-soft) 100%);
  position: relative; overflow: hidden;
}
.shop-page-header::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(161,59,92,.14), transparent 70%);
}
.shop-page-header .breadcrumb-item a { color: var(--ink-soft); text-decoration: none; }
.shop-page-header .breadcrumb-item a:hover { color: var(--brand); }
.shop-page-header .breadcrumb-item.active { color: var(--brand); }
.shop-page-header h1 { position: relative; }

.sort-select { min-width: 190px; border-radius: 100px; }

.sticky-sidebar { position: sticky; top: 100px; }

.filter-card {
  background: #fff; border: 1px solid #eee; border-radius: 1rem; padding: 1.4rem;
  transition: box-shadow .25s ease;
}
.filter-card:hover { box-shadow: 0 16px 32px -20px rgba(34,27,32,.25); }
.filter-card-title {
  display: flex; align-items: center; gap: .5rem;
  text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; font-weight: 700;
  color: var(--ink); margin-bottom: 1rem;
}
.filter-card-title i { color: var(--brand); font-size: .95rem; }

.category-filter-list li { margin-bottom: .15rem; }
.category-filter-list a {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .5rem .7rem; border-radius: .55rem;
  color: var(--ink-soft); text-decoration: none; font-size: .92rem;
  position: relative; padding-left: 1rem;
  transition: background-color .18s ease, color .18s ease, padding-left .18s ease;
}
.category-filter-list a::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 0; border-radius: 3px; background: var(--brand);
  transition: height .18s ease;
}
.category-filter-list a:hover { background: var(--bg-soft); color: var(--ink); padding-left: 1.15rem; }
.category-filter-list a.active { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; }
.category-filter-list a.active::before { height: 60%; }
.category-filter-list .cat-count {
  font-size: .72rem; color: var(--ink-soft); background: var(--bg-soft);
  border-radius: 100px; padding: .1rem .5rem; min-width: 26px; text-align: center;
}
.category-filter-list a.active .cat-count { background: #fff; color: var(--brand); }

.shop-empty i { font-size: 2.4rem; color: var(--brand-soft); animation: floatY 2.6s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.offcanvas .filter-card { border: none; padding: 0; box-shadow: none !important; }

@media (max-width: 991.98px) {
  .shop-page-header { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
}

/* FAQ accordion */
.faq-accordion .accordion-item {
  border: 1px solid #eee; border-radius: .85rem !important; overflow: hidden; margin-bottom: 1rem;
  transition: box-shadow .2s ease;
}
.faq-accordion .accordion-item:hover { box-shadow: 0 12px 28px -18px rgba(34,27,32,.3); }
.faq-accordion .accordion-button {
  font-family: 'Fraunces', Georgia, serif; font-weight: 600; color: var(--ink);
  padding: 1.1rem 1.4rem; box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) { background: var(--brand-soft); color: var(--brand-dark); }
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-button::after { transition: transform .2s ease; }
.faq-accordion .accordion-body { padding: 1.1rem 1.4rem 1.4rem; color: var(--ink-soft); }

/* Auth pages (login / register) — split brand panel + form */
.auth-page { min-height: calc(100vh - 320px); }
.auth-page .row { min-height: inherit; }

.auth-side-panel {
  background: linear-gradient(150deg, var(--ink) 0%, var(--brand-dark) 100%);
  position: relative; overflow: hidden;
  align-items: center; padding: 3rem;
}
.auth-side-panel::before {
  content: ""; position: absolute; top: -80px; right: -80px; width: 280px; height: 280px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.1), transparent 70%);
}
.auth-side-panel::after {
  content: ""; position: absolute; bottom: -100px; left: -60px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(243,201,214,.12), transparent 70%);
}
.auth-side-content { position: relative; z-index: 1; color: #fff; max-width: 360px; }
.auth-side-logo { display: block; font-size: 1.4rem; color: #f3c9d6; margin-bottom: 2rem; }
.auth-side-content h2 { font-size: 2rem; line-height: 1.25; margin-bottom: 1rem; }
.auth-side-content p { color: #d9c3ca; }
.auth-side-features { margin-top: 2rem; }
.auth-side-features li { display: flex; align-items: center; gap: .7rem; padding: .5rem 0; color: #f0e2e6; font-size: .92rem; }
.auth-side-features i { color: #f3c9d6; font-size: 1.1rem; }

.auth-form-panel { display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; }
.auth-form-wrap { width: 100%; max-width: 400px; }

.input-icon-group { position: relative; }
.input-icon-group > i {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--ink-soft); font-size: 1rem; pointer-events: none;
}
.input-icon-group .form-control { padding-left: 2.6rem; }
.input-icon-group .password-toggle {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: none; background: none; color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  transition: color .15s ease, background-color .15s ease;
}
.input-icon-group .password-toggle:hover { color: var(--brand); background: var(--bg-soft); }
.input-icon-group.has-toggle .form-control { padding-right: 2.6rem; }

@media (max-width: 991.98px) {
  .auth-form-panel { padding: 2.5rem 1.25rem; }
}

/* Contact page — brand info panel + message form, side by side */
.contact-card-wrap {
  border-radius: 1.25rem; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(34,27,32,.35);
}
.contact-info-panel {
  background: linear-gradient(160deg, var(--ink) 0%, var(--brand-dark) 100%);
  color: #fff; padding: 2.75rem 2.25rem; position: relative; overflow: hidden;
}
.contact-info-panel::after {
  content: ""; position: absolute; right: -70px; bottom: -70px; width: 240px; height: 240px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.1), transparent 70%);
}
.contact-info-panel h3 { position: relative; }
.contact-info-item {
  position: relative; display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-info-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #f3c9d6;
}
.contact-info-item h6 { text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; color: #e3cdd3; margin-bottom: .3rem; }
.contact-info-item a, .contact-info-item p { color: #fff; text-decoration: none; font-weight: 500; }
.contact-info-item a:hover { color: #f3c9d6; }
.contact-follow-heading { position: relative; text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; color: #e3cdd3; margin-bottom: .9rem; }
.contact-social { position: relative; display: flex; gap: .6rem; }
.contact-social a {
  width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.contact-social a:hover { background: var(--brand-soft); transform: translateY(-3px); }

.contact-form-panel { background: #fff; padding: 2.75rem 2.5rem; }
.contact-form-panel .form-label { font-weight: 600; font-size: .88rem; }
.contact-form-panel .form-control {
  padding: .7rem 1rem; border-radius: .6rem; border-color: #e2dcde;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form-panel .form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(161,59,92,.12); }

@media (max-width: 991.98px) {
  .contact-info-panel, .contact-form-panel { padding: 2.25rem 1.5rem; }
}

/* Generic fade-out used when an AJAX action removes a card/row from the page */
.is-removing { opacity: 0 !important; transform: scale(.96); transition: opacity .25s ease, transform .25s ease; }

/* Cart / Wishlist / My Account — soft hero header (same treatment as Contact) */
.page-header-soft {
  background: linear-gradient(120deg, var(--bg-soft) 0%, var(--brand-soft) 100%);
  position: relative; overflow: hidden;
}
.page-header-soft::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(161,59,92,.14), transparent 70%);
}
.page-header-soft .page-header-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--brand); margin-bottom: 1rem;
  box-shadow: 0 16px 32px -16px rgba(161,59,92,.4);
  animation: floatY 3s ease-in-out infinite;
}
.page-header-soft h1 { position: relative; }

/* .card-admin is defined for the admin panel, but checkout/cart/wishlist/account
   reuse it on the storefront too — give it a matching look + a subtle hover lift
   here so it isn't a bare unstyled <div> on those pages. */
.card-admin {
  border: 1px solid #eee; border-radius: .9rem; background: #fff;
  transition: box-shadow .25s ease, transform .25s ease;
}
.card-admin .card-header { background: #fff; border-bottom: 1px solid #eee; font-weight: 600; }
.card-admin.card-admin-hover:hover { box-shadow: 0 16px 32px -18px rgba(34,27,32,.25); transform: translateY(-3px); }

/* Cart line items — quick highlight so a quantity/remove action feels responsive */
[data-cart-row] { transition: background-color .2s ease; }
[data-cart-row]:hover { background-color: var(--bg-soft); }

/* My Account — order rows */
.account-order-row { transition: background-color .18s ease, padding-left .18s ease; border-radius: .5rem; }
.account-order-row:hover { background-color: var(--bg-soft); padding-left: .5rem; }
.bg-light-hover { transition: background-color .18s ease, transform .18s ease, box-shadow .2s ease; }
.bg-light-hover:hover { background-color: var(--brand-soft) !important; transform: translateX(4px); box-shadow: 0 10px 22px -16px rgba(34,27,32,.3); }

/* Order detail — status tracker (Pending → Processing → Shipped → Delivered) */
.order-tracker { display: flex; justify-content: space-between; position: relative; margin: 1.5rem 0 .5rem; }
.order-tracker::before {
  content: ""; position: absolute; top: 19px; left: 6%; right: 6%; height: 3px; background: #eee; z-index: 0;
}
.order-tracker-progress {
  position: absolute; top: 19px; left: 6%; height: 3px; background: var(--brand); z-index: 1;
  transition: width .8s ease; max-width: 88%;
}
.order-tracker-step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; flex: 1; }
.order-tracker-step .step-circle {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 3px solid #eee;
  display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 1rem;
  transition: border-color .3s ease, background-color .3s ease, color .3s ease;
}
.order-tracker-step.completed .step-circle { border-color: var(--brand); background: var(--brand); color: #fff; }
.order-tracker-step.current .step-circle { border-color: var(--brand); color: var(--brand); animation: badgePulse 2.4s ease-in-out infinite; }
.order-tracker-step .step-label {
  font-size: .72rem; margin-top: .6rem; color: #aaa; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; text-align: center;
}
.order-tracker-step.completed .step-label, .order-tracker-step.current .step-label { color: var(--ink); }
@media (max-width: 575.98px) { .order-tracker-step .step-label { font-size: .6rem; } }

/* Order detail — payment history timeline */
.payment-timeline-item {
  border-left: 2px solid #eee; padding: 0 0 1.5rem 1.5rem; position: relative;
}
.payment-timeline-item:last-child { padding-bottom: 0; }
.payment-timeline-item::before {
  content: ""; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 2px solid var(--brand);
}
.payment-timeline-item.is-paid::before { background: var(--brand); }

/* Checkout — selectable option cards (address + payment method) */
.option-card {
  display: flex; align-items: center; gap: 1rem; border: 2px solid #eee; border-radius: 1rem;
  padding: 1rem 1.25rem; cursor: pointer; margin-bottom: .75rem;
  transition: border-color .2s ease, background-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.option-card:hover { border-color: var(--brand-soft); transform: translateY(-2px); box-shadow: 0 10px 22px -16px rgba(34,27,32,.25); }
.option-card.selected { border-color: var(--brand); background: var(--brand-soft); }
.option-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.option-card-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--bg-soft); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--brand);
  transition: background-color .2s ease, color .2s ease;
}
.option-card.selected .option-card-icon { background: var(--brand); color: #fff; }
.option-card-check { margin-left: auto; color: #ddd; font-size: 1.3rem; transition: color .2s ease, transform .2s ease; flex-shrink: 0; }
.option-card.selected .option-card-check { color: var(--brand); transform: scale(1.15); }

/* Checkout success — animated check */
.success-check-badge {
  width: 84px; height: 84px; border-radius: 50%; background: var(--brand-soft);
  display: inline-flex; align-items: center; justify-content: center; margin: 0 auto;
  animation: successPop .5s cubic-bezier(.34,1.56,.64,1) both;
}
.success-check-badge i { font-size: 2.4rem; color: var(--brand); }
@keyframes successPop { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* Category tile */
.category-tile { text-decoration: none; color: var(--ink); text-align: center; display: block; }
.category-tile img { border-radius: 50%; aspect-ratio: 1/1; object-fit: cover; width: 100%; border: 3px solid var(--brand-soft); transition: transform .25s ease, border-color .25s ease; }
.category-tile:hover img { transform: scale(1.06); border-color: var(--brand); }
.category-tile span { display: block; margin-top: .6rem; font-weight: 600; font-size: .92rem; transition: color .15s ease; }
.category-tile:hover span { color: var(--brand); }
/* Room above/below so the hover zoom and border aren't clipped by the swiper's overflow. */
/* Categories band: soft blush tint from the brand palette, light enough that the pink circles still stand out. */
.home-categories { background: linear-gradient(180deg, #fdf4f6 0%, #f9e9ee 100%); border-top: 1px solid #f3dee4; border-bottom: 1px solid #f3dee4; }
.home-categories .category-tile img { border-color: #fff; box-shadow: 0 8px 20px -12px rgba(161,59,92,.45); }
.home-categories .category-tile:hover img { border-color: var(--brand); }
.category-swiper { padding: 8px 4px; }
/* Left/right buttons sit outside the tiles, level with the circles. */
.category-carousel { position: relative; padding: 0 3.25rem; }
.category-nav {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--brand-soft); background: #fff; color: var(--brand);
  box-shadow: 0 6px 16px -8px rgba(34,27,32,.35);
  transition: background-color .15s ease, color .15s ease;
}
.category-nav:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.category-nav-prev { left: 0; }
.category-nav-next { right: 0; }
@media (max-width: 575.98px) {
  .category-carousel { padding: 0 2.25rem; }
  .category-nav { width: 32px; height: 32px; font-size: .8rem; }
}

/* Section heading */
.section-heading { text-align: center; margin-bottom: 2.5rem; }
.section-heading .eyebrow { color: var(--brand); letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; font-weight: 600; }

/* Trust stats band */
.stats-band {
  background: linear-gradient(120deg, var(--ink) 0%, var(--brand-dark) 100%);
  color: #fff;
}
.stat-num {
  font-family: 'Fraunces', Georgia, serif; font-size: 2.4rem; font-weight: 600;
  color: #fff; line-height: 1;
}
.stat-num i { font-size: 1.3rem; color: #f3c9d6; margin-left: .25rem; vertical-align: middle; }
.stat-num span { font-size: 1.6rem; color: #f3c9d6; }
.stat-label { color: #d9c3ca; font-size: .85rem; margin-top: .5rem; letter-spacing: .02em; }

/* Offers / countdown banner */
.offer-banner {
  background: linear-gradient(120deg, var(--ink) 0%, #3a2530 100%);
  color: #fff; border-radius: 1rem; overflow: hidden; position: relative;
}
.offer-banner::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 30%, rgba(161,59,92,.45), transparent 55%);
}
.offer-banner .offer-content { position: relative; z-index: 1; }
.countdown { display: flex; gap: .6rem; }
.countdown .cd-box {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: .6rem; padding: .5rem .75rem; min-width: 64px; text-align: center;
}
.countdown .cd-num { font-family: 'Fraunces', serif; font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown .cd-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #d9c3ca; }

/* Brand marquee */
.brand-marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brand-marquee-track { display: flex; gap: 4rem; width: max-content; animation: marquee 28s linear infinite; align-items: center; }
.brand-marquee:hover .brand-marquee-track { animation-play-state: paused; }
.brand-marquee-track img { height: 34px; opacity: .55; filter: grayscale(1); transition: opacity .2s ease, filter .2s ease; }
.brand-marquee-track img:hover { opacity: 1; filter: grayscale(0); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Testimonial swiper */
.testimonial-card { background: #fff; border-radius: 1rem; padding: 1.75rem; height: 100%; }
.testimonial-card .bi-quote { font-size: 1.6rem; color: var(--brand-soft); }

/* Footer */
.site-footer { background: var(--ink); color: #cbb8bd; }
.site-footer h6 { color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.site-footer a { color: #cbb8bd; text-decoration: none; transition: color .15s ease, padding-left .15s ease; }
.site-footer a:hover { color: #fff; padding-left: 3px; }
.site-footer .social-icons a { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #4a3d43; align-items: center; justify-content: center; margin-right: .5rem; transition: background-color .2s ease, transform .2s ease; }
.site-footer .social-icons a:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-3px); padding-left: 0; }

/* Back to top */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 1040;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background-color .2s ease;
  box-shadow: 0 10px 24px -8px rgba(34,27,32,.4);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brand-dark); }

/* Cart / checkout */
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid #ddd; border-radius: .5rem; }
.qty-stepper button { border: none; background: none; width: 34px; height: 34px; transition: color .15s ease; }
.qty-stepper button:hover { color: var(--brand); }
.qty-stepper input { width: 42px; border: none; text-align: center; }

/* Safety net: an uploaded image can never be wider than its container,
   whatever its original size. */
img { max-width: 100%; }

/* Cart table — fixed-size thumbnail regardless of uploaded image dimensions */
.cart-table thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); border-bottom-width: 1px; white-space: nowrap; }
.cart-table td, .cart-table th { vertical-align: middle; padding: 1rem .75rem; }
.cart-table .cart-thumb { width: 72px; height: 72px; flex: 0 0 72px; object-fit: cover; border-radius: .6rem; background: var(--bg-soft); border: 1px solid #eee; }
.cart-table .cart-col-price, .cart-table .cart-col-total { white-space: nowrap; }
.min-w-0 { min-width: 0; }

/* Cart on phones: each item becomes a card — image + name on top,
   then Price / Quantity / Total as labelled rows. */
@media (max-width: 767.98px) {
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { position: relative; padding: 1rem; border-bottom: 1px solid #eee; }
  .cart-table tr:last-child { border-bottom: 0; }
  .cart-table td { border: 0; padding: .35rem 0; }
  .cart-table .cart-col-product { padding-right: 2.5rem; padding-bottom: .75rem; }
  .cart-table .cart-thumb { width: 64px; height: 64px; flex-basis: 64px; }
  .cart-table .cart-col-price, .cart-table .cart-col-qty, .cart-table .cart-col-total {
    display: flex; justify-content: space-between; align-items: center;
  }
  .cart-table td[data-label]::before { content: attr(data-label); font-size: .8rem; color: var(--ink-soft); font-weight: 500; }
  .cart-table .cart-col-remove { position: absolute; top: .75rem; right: .5rem; width: auto; padding: 0; }
}

/* Blog */
.blog-card { transition: box-shadow .25s ease, transform .25s ease; }
.blog-card:hover { box-shadow: 0 16px 32px -16px rgba(34,27,32,.3); transform: translateY(-4px); }
.blog-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; transition: transform .5s ease; }
.blog-card:hover img { transform: scale(1.06); }

.rating-stars { color: #e0a75e; letter-spacing: 1px; }

@media (prefers-reduced-motion: reduce) {
  .discount-badge, .brand-marquee-track { animation: none !important; }
  .product-card, .product-card .product-thumb { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  .page-header-icon, .shop-empty i { animation: none !important; }
}

/* Order cancellation — cancelled notice and the reason picker in the cancel popup */
.order-cancelled-banner {
  display: flex; gap: .85rem; align-items: flex-start;
  background: #fdecee; border: 1px solid #f5c2c7; color: #842029;
  border-radius: 1rem; padding: 1rem 1.25rem;
}
.order-cancelled-banner > i { font-size: 1.5rem; line-height: 1; }
.cancel-reason-option {
  display: flex; align-items: center; gap: .6rem; cursor: pointer;
  border: 1px solid #eee; border-radius: .6rem; padding: .55rem .8rem; margin-bottom: .45rem;
  font-size: .92rem; transition: border-color .15s ease, background-color .15s ease;
}
.cancel-reason-option .form-check-input { margin: 0; }
.cancel-reason-option:hover { border-color: var(--brand-soft); background: var(--bg-soft); }
.cancel-reason-option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
