:root {
  --ink: #16130f;
  --ink-soft: #6b645c;
  --paper: #faf7f4;
  --cream: #f1eb63;
  --accent: #c8442a;
  --green: #4a6b52;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

/* Full-width shell with medium side padding */
.shell { width: 100%; margin-inline: auto; padding-inline: clamp(1.25rem, 2vw, 2.5rem); }

/* ---------- Announcement bar ---------- */
.announcement-bar { background: var(--ink); font-size: .82rem; letter-spacing: .02em; }
.announcement-bar a { color: var(--cream); font-weight: 600; text-decoration: none; }
.announcement-bar a:hover { color: #fff; text-decoration: underline; }
.announcement-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cream); flex: 0 0 auto; }

/* ---------- Header shell ---------- */
.site-header { background: rgba(250, 247, 244, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-main { height: 78px; }
.utility-bar { background: rgba(250, 247, 244, .6); }
.utility-link { color: var(--ink-soft); text-decoration: none; }
.utility-link:hover { color: var(--ink); }

.brand {
  font-family: "Playfair Display", serif;
  font-weight: 700; font-size: 1.55rem; letter-spacing: .18em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.brand span { color: var(--accent); }

/* Hamburger */
.menu-button { display: inline-flex; flex-direction: column; gap: 5px; width: 28px; }
.menu-button span { display: block; height: 2px; width: 22px; background: var(--ink); border-radius: 2px; }

/* Desktop nav */
.desktop-nav { gap: .3rem; }
.desktop-nav .nav-link {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem;
  padding: .5rem .95rem; border-radius: 999px; white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.desktop-nav .nav-link:hover { background: rgba(22, 19, 15, .06); color: var(--ink); }
.desktop-nav .nav-link.active { background: rgba(22, 19, 15, .06); color: var(--ink); font-weight: 600; }
.desktop-nav .nav-link.sale-link { color: var(--accent); }
.desktop-nav .nav-link.sale-link:hover { background: rgba(200, 68, 42, .12); color: var(--accent); }

/* Dropdown trigger: hide Bootstrap caret, use a chevron icon instead */
.desktop-nav .dropdown-toggle::after { display: none; }
.desktop-nav .dropdown-toggle .bi-chevron-down { font-size: .65rem; opacity: .55; margin-left: .3rem; transition: transform .2s ease; }
.desktop-nav .dropdown.show .dropdown-toggle .bi-chevron-down { transform: rotate(180deg); }

/* Dropdown menu polish */
.dropdown-menu {
  --bs-dropdown-link-hover-color: var(--ink);
  --bs-dropdown-link-hover-bg: rgba(22, 19, 15, .06);
  --bs-dropdown-link-active-bg: rgba(22, 19, 15, .06);
}
.dropdown-menu .dropdown-item { border-radius: .6rem; padding: .5rem .75rem; font-size: .9rem; gap: .6rem; }
.dropdown-menu .dropdown-item i { font-size: 1rem; line-height: 1; color: var(--ink-soft); transition: color .2s ease; }
.dropdown-menu .dropdown-item:hover i { color: var(--ink); }
.dropdown-menu .dropdown-item.text-danger, .dropdown-menu .dropdown-item.text-danger i { color: var(--accent); }
.dropdown-menu .dropdown-item.text-danger:hover { background: rgba(200, 68, 42, .1); color: var(--accent); }
.dropdown-menu .dropdown-header { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); padding: .4rem .75rem .35rem; }
.dropdown-menu .dropdown-divider { border-color: rgba(22, 19, 15, .08); margin: .4rem .35rem; }

/* Smooth entrance */
.dropdown-menu.show { animation: dropdownIn .18s ease; }
@keyframes dropdownIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Open dropdowns on hover for desktop */
@media (min-width: 992px) {
  .desktop-nav .dropdown:hover > .dropdown-menu { display: block; animation: dropdownIn .18s ease; }
}

/* Icon buttons */
.icon-button { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; position: relative; font-size: 1.15rem; transition: background .2s ease, transform .2s ease; }
.icon-button:hover { background: rgba(22, 19, 15, .07); transform: translateY(-1px); }
.bag-count { position: absolute; top: 1px; right: -2px; min-width: 18px; height: 18px; background: var(--accent); color: #fff; font-size: .66rem; font-weight: 700; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--paper); }

/* Inline search */
.search-inline { background: #fff; border: 1px solid rgba(22, 19, 15, .1); border-radius: 999px; padding: .35rem .8rem; gap: .5rem; }
.search-inline input { font-size: .9rem; width: 150px; }
.search-inline input:focus { outline: none; }

/* Cart & account dropdowns */
.cart-menu { width: 320px; }
.cart-menu .cart-item { border-radius: .6rem; transition: background .2s ease; }
.cart-menu .cart-item:hover { background: rgba(22, 19, 15, .04); }
.cart-thumb { width: 52px; height: 52px; border-radius: 8px; flex: 0 0 auto; }
.cart-remove { border: 0; background: transparent; color: #8a8075; line-height: 1; padding: .25rem; border-radius: .4rem; display: inline-flex; align-items: center; justify-content: center; }
.cart-remove:hover { color: #b00020; background: rgba(176, 0, 32, .08); }
.account-menu { min-width: 224px; }

/* ---------- Hero carousel ---------- */
.hero { padding-top: 1.5rem; }
.hero-carousel { border-radius: 1.5rem; }
.hero-inner { min-height: 560px; }
.carousel-item.slide { min-height: 560px; height: 100%; }
.hero-inner .row { min-height: 560px; }
.letter-spacing { letter-spacing: .18em; }

/* Slide backgrounds */
.slide-autumn { background: linear-gradient(120deg, #f6efe7 0%, #efe1cd 100%); }
.slide-linen { background: linear-gradient(120deg, #eef1ea 0%, #dbe3d6 100%); }
.slide-sale { background: linear-gradient(120deg, #c8442a 0%, #a2331f 100%); }

/* Hero art base */
.hero-art { position: relative; overflow: hidden; min-height: 480px; }
.hero-art-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero-art-autumn::after { background: linear-gradient(90deg, #f6efe7 0%, rgba(246, 239, 231, 0) 55%); }
.hero-art-linen::after { background: linear-gradient(90deg, #eef1ea 0%, rgba(238, 241, 234, 0) 55%); }
.hero-art-sale::after { background: linear-gradient(90deg, #c8442a 0%, rgba(200, 68, 42, 0) 55%); }

/* Autumn art (arches + vase + leaves) */
.orb-sun { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--cream); right: 14%; top: 10%; filter: blur(2px); opacity: .9; }
.arch { position: absolute; bottom: 0; border-radius: 999px 999px 0 0; }
.arch-a { width: 260px; height: 380px; right: 8%; background: #d9c8b4; opacity: .85; }
.arch-b { width: 220px; height: 330px; right: 26%; background: #ead9bf; opacity: .95; }
.vase { position: absolute; width: 130px; height: 190px; right: 18%; bottom: 0; background: linear-gradient(180deg, #2a2622, #16130f); border-radius: 40px 40px 0 0; box-shadow: 0 30px 60px rgba(22, 19, 15, .25); }
.vase span { position: absolute; left: 50%; top: -70px; width: 8px; height: 90px; background: #2a2622; transform: translateX(-50%) rotate(-8deg); }
.leaf { position: absolute; background: var(--green); border-radius: 0 0 100% 0; }
.lf-1 { width: 60px; height: 130px; right: 22%; top: 6%; transform: rotate(20deg); }
.lf-2 { width: 46px; height: 100px; right: 8%; top: 18%; transform: rotate(55deg); }
.lf-3 { width: 40px; height: 90px; right: 34%; top: 14%; transform: rotate(-10deg); }

/* Linen art (rings + product card) */
.ring { position: absolute; border-radius: 50%; border: 2px solid rgba(22, 19, 15, .15); }
.ring-sm { width: 180px; height: 180px; right: 32%; top: 14%; }
.ring-lg { width: 340px; height: 340px; right: -40px; bottom: -60px; }
.product-card { position: absolute; right: 14%; top: 22%; width: 220px; background: #fff; border-radius: 16px; padding: 1rem; box-shadow: 0 24px 50px rgba(22, 19, 15, .16); }
.product-badge { position: absolute; top: -10px; left: 1rem; background: var(--green); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .1em; padding: .2rem .6rem; border-radius: 999px; }
.product-thumb { height: 160px; border-radius: 10px; background: linear-gradient(135deg, #d8c3a8, #b39a7c); margin-bottom: .75rem; }
.product-meta { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; }

/* Sale art */
.sale-badge { position: absolute; font-family: "Playfair Display", serif; font-weight: 700; color: #fff; border: 2px solid rgba(255, 255, 255, .5); border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.sale-badge:nth-child(1) { width: 180px; height: 180px; right: 26%; top: 22%; font-size: 2.4rem; }
.sale-badge:nth-child(2) { width: 120px; height: 120px; right: 8%; top: 10%; font-size: 1.6rem; opacity: .85; }
.sale-badge:nth-child(3) { width: 90px; height: 90px; right: 42%; bottom: 10%; font-size: 1.2rem; opacity: .8; }

/* Carousel controls & indicators */
.hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next {
  width: 7%; opacity: 1; transition: opacity .25s ease;
}
.hero-carousel:hover .carousel-control-prev, .hero-carousel:hover .carousel-control-next { opacity: 1; }
.hero-carousel .carousel-control-prev:hover, .hero-carousel .carousel-control-next:hover { opacity: 1; }
.hero-carousel .carousel-control-prev-icon, .hero-carousel .carousel-control-next-icon {
  width: 1.6rem; height: 1.6rem; filter: none; background-size: 100% 100%;
}
.hero-carousel .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3E%3Cpath fill-rule='evenodd' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}
.hero-carousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}
.hero-carousel .carousel-indicators { margin-bottom: 1.25rem; }
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 8px; height: 8px; border-radius: 50%; background: #16130f; border: 0; opacity: .25; transition: opacity .2s ease;
}
.hero-carousel .carousel-indicators [data-bs-target].active { opacity: .75; width: 26px; border-radius: 999px; }

/* ---------- Category cards ---------- */
.category-card { display: block; border-radius: 1.25rem; overflow: hidden; position: relative; color: #fff !important; background: #6b5849; }
.category-image { aspect-ratio: 1 / 1.05; background-color: #6b5849; transition: transform .4s ease; }
.category-card:hover .category-image { transform: scale(1.05); }
.category-label {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between;
  padding: 1rem; background: linear-gradient(180deg, transparent 35%, rgba(22, 19, 15, .78));
  color: #fff !important; z-index: 1; font-weight: 600; font-size: 1.1rem;
}
.category-label span { color: #fff !important; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.category-label i { color: #fff !important; }
/* A clear fallback makes newly created category cards readable before their image loads. */
.category-card .category-image[style=""] { background: #6b5849; }

/* ---------- Benefits ---------- */
.benefit { text-align: center; padding: 1.5rem 1rem; border-radius: 16px; background: #fff; border: 1px solid rgba(22, 19, 15, .06); height: 100%; }
.benefit i { font-size: 1.5rem; color: var(--accent); display: block; margin-bottom: .6rem; }
.benefit strong { display: block; font-weight: 600; font-size: .98rem; }
.benefit span { color: var(--ink-soft); font-size: .88rem; }

/* ---------- Section headers ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1.5rem; }
.section-head .eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--ink-soft); margin-bottom: .25rem; }
.section-head h2 { font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.9rem; margin: 0; }
.section-link { font-weight: 500; font-size: .9rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.section-link:hover { color: var(--accent); }

/* ---------- Product grid cards ---------- */
.product-card-item { border: 0; background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: 0 6px 18px rgba(22, 19, 15, .05); transition: transform .25s ease, box-shadow .25s ease; }
.product-link { display: block; height: 100%; width: 100%; color: inherit; text-decoration: none; }
.product-name { font-weight: 600; font-size: .95rem; margin: 0 0 .2rem; color: var(--ink); text-decoration: none; display: block; transition: color .2s ease; }
a.product-name:hover { color: var(--accent); }
.product-card-item:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(22, 19, 15, .12); }
.product-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #efe9e2; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card-item:hover .product-media img { transform: scale(1.06); }
.product-flag { position: absolute; top: .75rem; left: .75rem; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; color: #fff; }
.product-flag.new { background: var(--green); }
.product-flag.sale { background: var(--accent); }
.product-wish { position: absolute; top: .7rem; right: .7rem; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; text-decoration: none; transition: transform .2s ease, color .2s ease; }
.product-wish:hover { transform: scale(1.1); color: var(--accent); }
.product-body { padding: .85rem 1rem 1rem; }
.product-name { font-weight: 600; font-size: .95rem; margin: 0 0 .2rem; }
.product-cat { font-size: .78rem; color: var(--ink-soft); }
.product-price { display: flex; align-items: baseline; gap: .5rem; margin-top: .4rem; font-weight: 600; }
.product-price .old { color: var(--ink-soft); text-decoration: line-through; font-weight: 400; font-size: .85rem; }
.product-price .now { color: var(--accent); }
.quick-add { position: absolute; left: .75rem; right: .75rem; bottom: .75rem; transform: translateY(120%); opacity: 0; transition: transform .3s ease, opacity .3s ease; }
.product-card-item:hover .quick-add { transform: translateY(0); opacity: 1; }
.quick-add .btn { width: 100%; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.quick-add .btn:hover { background: var(--accent); }

/* ---------- Promo / advertisement banners ---------- */
.promo-banner { position: relative; border-radius: 1.25rem; overflow: hidden; min-height: 320px; display: flex; color: #fff; text-decoration: none; }
.promo-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.promo-banner:hover img { transform: scale(1.04); }
.promo-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,19,15,.62) 0%, rgba(22,19,15,.25) 55%, transparent 100%); }
.promo-content { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 4vw, 3rem); max-width: 55%; }
.promo-content .kicker { font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--cream); margin-bottom: .5rem; }
.promo-content h3 { font-family: "Playfair Display", serif; font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: .5rem; }
.promo-content p { font-size: .95rem; opacity: .92; margin-bottom: 1.25rem; }
.promo-content .btn { border-radius: 999px; font-weight: 600; }
.promo-banner.wide .promo-content { max-width: 44%; }
.promo-banner.small { min-height: 260px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d8d2cb; margin-top: 3rem; padding: 3rem 0 1.5rem; }
.footer-brand { color: #fff; font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.6rem; letter-spacing: .18em; text-decoration: none; }
.footer-brand span { color: var(--cream); }
.footer-col h5 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 1rem; }
.footer-col a { color: #c8c2bb; text-decoration: none; font-size: .92rem; display: block; padding: .28rem 0; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-about { font-size: .9rem; color: #b3ada6; max-width: 260px; }
.newsletter-input { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff; border-radius: 999px; }
.newsletter-input::placeholder { color: #9b958e; }
.newsletter-input:focus { background: rgba(255,255,255,.1); border-color: var(--cream); box-shadow: none; color: #fff; }
.newsletter-btn { border-radius: 999px; background: var(--accent); border: 0; font-weight: 600; }
.newsletter-btn:hover { background: #a2331f; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.footer-social a:hover { background: var(--accent); transform: translateY(-2px); }
.footer-copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem; }
.footer-copy a { color: #c8c2bb; text-decoration: none; }
.footer-copy a:hover { color: #fff; }

/* ---------- Mobile nav ---------- */
.mobile-nav { display: flex; flex-direction: column; gap: .4rem; }
.mobile-nav a { font-size: 1.15rem; font-weight: 500; color: var(--ink); text-decoration: none; padding: .75rem 0; border-bottom: 1px solid rgba(22, 19, 15, .08); }
.mobile-nav a.sale-link { color: var(--accent); }

/* ---------- Search modal ---------- */
.search-modal { border-radius: 20px; border: 0; }
.search-modal input { border: 0; border-bottom: 1px solid rgba(22, 19, 15, .18); border-radius: 0; padding: .75rem .25rem; font-size: 1.1rem; background: transparent; }
.search-modal input:focus { box-shadow: none; border-color: var(--ink); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .85rem; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb-item.active { color: var(--ink); font-weight: 500; }

/* ---------- Product detail page ---------- */
.pdp-gallery { background: #fff; border-radius: 1.25rem; padding: 1rem; border: 1px solid rgba(22, 19, 15, .06); }
.sticky-gallery { position: sticky; top: 96px; }
.gallery-main { position: relative; aspect-ratio: 1 / 1; border-radius: 1rem; overflow: hidden; background: #efe9e2; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .product-flag { z-index: 2; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; margin-top: .75rem; }
.gallery-thumb { border: 2px solid transparent; border-radius: .6rem; overflow: hidden; background: transparent; padding: 0; aspect-ratio: 1 / 1; cursor: pointer; transition: border-color .2s ease, opacity .2s ease; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--ink); }

.pdp-info { padding-top: .25rem; }
.pdp-cat { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--ink-soft); margin: 0 0 .5rem; }
.pdp-title { font-family: "Playfair Display", serif; font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 .5rem; }
.pdp-irregular { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #fff; background: var(--accent); padding: .35rem .7rem; border-radius: 999px; margin-bottom: .75rem; }

.pdp-rating { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.rate-stars { color: var(--accent); font-size: .95rem; }
.rate-count { font-size: .85rem; color: var(--ink-soft); }

.pdp-price { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .25rem; flex-wrap: wrap; }
.pdp-now { font-size: 1.9rem; font-weight: 700; color: var(--ink); }
.pdp-old { font-size: 1.15rem; color: var(--ink-soft); text-decoration: line-through; }
.pdp-discount { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--accent); padding: .25rem .55rem; border-radius: 999px; }
.pdp-tax { margin: 0; }
.pdp-desc { font-size: .98rem; color: var(--ink-soft); line-height: 1.6; }

.pdp-block { border-top: 1px solid rgba(22, 19, 15, .08); padding-top: 1.1rem; }
.option-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--ink); margin-bottom: .6rem; display: flex; justify-content: space-between; }
.option-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.color-chip { border: 1px solid rgba(22, 19, 15, .16); background: #fff; color: var(--ink); font-size: .85rem; font-weight: 500; padding: .5rem .9rem; border-radius: 999px; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.color-chip:hover { border-color: var(--ink); }
.color-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.qty-group { display: inline-flex; align-items: center; border: 1px solid rgba(22, 19, 15, .16); border-radius: 999px; overflow: hidden; background: #fff; }
.qty-btn { width: 44px; height: 48px; border: 0; background: transparent; color: var(--ink); font-size: 1.1rem; cursor: pointer; transition: background .2s ease; }
.qty-btn:hover { background: rgba(22, 19, 15, .06); }
.qty-input { width: 44px; text-align: center; border: 0; font-weight: 600; font-size: 1rem; background: transparent; color: var(--ink); }
.qty-input:focus { outline: none; }
.pdp-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.add-cart-btn.added { background: var(--green) !important; border-color: var(--green) !important; }

.pdp-perks { display: grid; gap: .6rem; border-top: 1px solid rgba(22, 19, 15, .08); padding-top: 1.1rem; }
.perk { display: flex; align-items: center; gap: .75rem; }
.perk i { font-size: 1.3rem; color: var(--accent); flex: 0 0 auto; }
.perk strong { display: block; font-size: .88rem; }
.perk span { font-size: .78rem; color: var(--ink-soft); }

.pdp-meta { display: flex; gap: .4rem; flex-wrap: wrap; border-top: 1px solid rgba(22, 19, 15, .08); padding-top: 1rem; margin-top: 1.1rem; }
.pdp-share { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.pdp-share a { color: var(--ink-soft); font-size: 1.1rem; text-decoration: none; transition: color .2s ease; }
.pdp-share a:hover { color: var(--ink); }

/* ---------- Accordion / details ---------- */
.pdp-accordion { border-radius: 1rem; overflow: hidden; }
.pdp-accordion .accordion-item { border-color: rgba(22, 19, 15, .08); }
.pdp-accordion .accordion-button { background: #fff; font-weight: 600; color: var(--ink); padding: 1.1rem 1.25rem; }
.pdp-accordion .accordion-button:not(.collapsed) { color: var(--ink); background: #fff; box-shadow: inset 0 -1px 0 rgba(22, 19, 15, .08); }
.pdp-accordion .accordion-button:focus { box-shadow: none; }
.pdp-accordion .accordion-body { color: var(--ink-soft); line-height: 1.65; }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { display: flex; gap: .6rem; align-items: flex-start; padding: .4rem 0; color: var(--ink); font-size: .95rem; }
.feature-list li i { color: var(--green); margin-top: .05rem; }

/* ---------- Category page ---------- */
.category-hero { position: relative; min-height: 360px; display: flex; align-items: end; overflow: hidden; color: #fff; border-radius: 0 0 2rem 2rem; }
.category-hero > img, .category-hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.category-hero > img { object-fit: cover; }
.category-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22,19,15,.55), transparent 55%); pointer-events: none; }
.category-hero-overlay { background: linear-gradient(90deg, rgba(22,19,15,.78) 0%, rgba(22,19,15,.35) 55%, rgba(22,19,15,.1) 100%); }
.category-hero-content { position: relative; padding-top: 4.5rem; padding-bottom: 3rem; z-index: 2; }
.category-hero .breadcrumb { font-size: .8rem; }
.category-hero .breadcrumb a { color: rgba(255,255,255,.75); }
.category-hero .breadcrumb a:hover { color: #fff; }
.category-hero .breadcrumb-item.active { color: #fff; }
.category-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }
.category-hero .eyebrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-bottom: .5rem; }
.category-hero h1 { font-family: "Playfair Display", serif; font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.8rem); margin: 0 0 .5rem; }
.category-hero-content > p:last-child { max-width: 500px; font-size: 1.08rem; margin: 0; color: rgba(255,255,255,.86); }

.category-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.category-toolbar h2 { font-family: "Playfair Display", serif; font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0 0 .2rem; }
.category-count { color: var(--ink-soft); font-size: .9rem; }
.sort-control { display: flex; align-items: center; gap: .6rem; color: var(--ink-soft); font-size: .85rem; white-space: nowrap; }
.sort-control select { appearance: none; -webkit-appearance: none; border: 1px solid rgba(22,19,15,.15); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2316130f'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") no-repeat right .9rem center / .75rem; color: var(--ink); padding: .5rem 2.25rem .5rem 1rem; cursor: pointer; font-size: .85rem; }
.sort-control select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22,19,15,.08); }

.category-filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.category-filters button { border: 1px solid rgba(22,19,15,.15); border-radius: 999px; background: #fff; color: var(--ink); padding: .45rem .95rem; font-size: .85rem; font-weight: 500; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.category-filters button:hover { border-color: var(--ink); transform: translateY(-1px); }
.category-filters button.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.category-empty { text-align: center; background: #fff; border-radius: 1rem; border: 1px solid rgba(22,19,15,.06); padding: 4rem 1.5rem; color: var(--ink-soft); }
.category-empty i { display: block; color: var(--accent); font-size: 2.4rem; margin-bottom: .75rem; }
.category-empty h2 { color: var(--ink); font-family: "Playfair Display", serif; font-size: 1.8rem; margin-bottom: .5rem; }

/* Category cards (shop-by-category grid) */
.category-page .category-card, .category-card { color: #fff; }
.category-page .category-image { aspect-ratio: 1 / 1.15; }

/* ---------- Checkout page ---------- */
.checkout-title { font-family: "Playfair Display", serif; font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.6rem); margin: 0 0 .25rem; }
.checkout-block { border-top: 1px solid rgba(22,19,15,.1); padding-top: 1.75rem; margin-top: 1.75rem; }
.checkout-block-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.checkout-block-head h2 { font-size: 1.15rem; font-weight: 700; margin: 0; display: flex; align-items: center; gap: .65rem; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.secure-tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 600; color: var(--green); }
.step-badge { font-size: .72rem; color: var(--ink-soft); background: rgba(22,19,15,.06); padding: .25rem .6rem; border-radius: 999px; }
.checkout-input { border: 1px solid rgba(22,19,15,.14); border-radius: .7rem; padding: .7rem .85rem; }
.checkout-input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22,19,15,.08); }
.card-input-group { position: relative; }
.card-input-group .card-icon { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--ink-soft); }
.card-input-group .checkout-input { padding-left: 2.4rem; }

.delivery-options { display: flex; gap: .75rem; flex-direction: column; }
.delivery-option { display: flex; align-items: center; gap: .75rem; border: 1px solid rgba(22,19,15,.14); border-radius: .8rem; padding: .8rem .9rem; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.delivery-option:hover { border-color: var(--ink); }
.delivery-option.selected { border-color: var(--ink); background: rgba(22,19,15,.03); }
.delivery-option input { position: absolute; opacity: 0; }
.delivery-radio { width: 18px; height: 18px; border: 2px solid rgba(22,19,15,.3); border-radius: 50%; flex: 0 0 auto; display: inline-block; transition: border-color .2s ease; }
.delivery-option.selected .delivery-radio { border-color: var(--ink); background: radial-gradient(var(--ink) 45%, transparent 50%); }
.delivery-body { display: flex; flex-direction: column; line-height: 1.3; }
.delivery-body strong { font-size: .95rem; }
.delivery-body span { color: var(--ink-soft); font-size: .82rem; }
.delivery-price { margin-left: auto; font-weight: 700; }

.checkout-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

/* Order summary */
.order-summary { background: #fff; border: 1px solid rgba(22,19,15,.06); border-radius: 1.25rem; padding: 1.5rem; position: sticky; top: 108px; }
.order-summary-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.order-summary-head h2 { font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.4rem; margin: 0; }
.bag-count-static { font-size: .78rem; font-weight: 600; color: var(--ink-soft); background: rgba(22,19,15,.06); padding: .25rem .6rem; border-radius: 999px; }
.order-items { border-top: 1px solid rgba(22,19,15,.08); padding-top: 1rem; margin-bottom: 1rem; max-height: 340px; overflow-y: auto; }
.order-item { display: flex; align-items: center; gap: .85rem; padding: .6rem 0; }
.order-item-thumb { position: relative; flex: 0 0 auto; }
.order-item-thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: .6rem; }
.order-qty { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; background: var(--ink); color: #fff; font-size: .68rem; font-weight: 700; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.order-item-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.order-item-body strong { font-size: .92rem; }
.order-item-price { font-weight: 700; }
.order-totals { border-top: 1px solid rgba(22,19,15,.08); padding-top: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.order-total-row { display: flex; align-items: center; justify-content: space-between; color: var(--ink-soft); font-size: .92rem; }
.order-total-row.promo-row { justify-content: space-between; }
#applyCode { font-size: .8rem; padding: .3rem .8rem; }
#applyCode.applied { background: var(--green); border-color: var(--green); color: #fff; }
.order-total-row.grand-total { padding-top: .75rem; margin-top: .25rem; border-top: 1px dashed rgba(22,19,15,.15); color: var(--ink); font-size: 1.15rem; font-weight: 700; }
.order-perks { display: flex; flex-direction: column; gap: .5rem; border-top: 1px solid rgba(22,19,15,.08); margin-top: 1.1rem; padding-top: 1.1rem; color: var(--ink-soft); font-size: .85rem; }
.order-perks i { color: var(--green); margin-right: .4rem; }

/* ---------- Auth (login / register) — full-screen, no site chrome ---------- */
.auth-body { min-height: 100vh; background: var(--paper); }
.auth-screen { display: flex; min-height: 100vh; }

/* Brand / promo aside (desktop) */
.auth-screen-aside {
  flex: 0 0 44%;
  background: linear-gradient(160deg, #16130f 0%, #2a2622 60%, #3a2d26 100%);
  color: #e9e4de;
  position: relative;
  overflow: hidden;
}
.auth-screen-aside::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(200, 68, 42, .35);
  filter: blur(2px);
}
.auth-screen-aside::before {
  content: "";
  position: absolute;
  left: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(241, 235, 99, .35);
}
.auth-aside-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: clamp(2rem, 5vw, 4rem);
}
.brand-light { color: #fff; }
.brand-light:hover { color: #fff; }
.auth-aside-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin: 2.5rem 0 .75rem;
  color: #fff;
}
.auth-aside-text { font-size: .98rem; line-height: 1.6; color: #c8c2bb; margin-bottom: 1.75rem; max-width: 300px; }
.auth-perks { margin: 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.auth-perks li { display: flex; align-items: center; gap: .7rem; font-size: .92rem; }
.auth-perks i { font-size: 1.1rem; color: var(--cream); flex: 0 0 auto; }

/* Form panel — fills the screen */
.auth-screen-panel {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow-y: auto;
}
.auth-form { width: 100%; max-width: 440px; }
.auth-form-header { margin-bottom: 1.75rem; }
.auth-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  margin: 0 0 .35rem;
}
.auth-subtitle { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* Inputs & form fields */
.form-label {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink);
  margin-bottom: .45rem;
}
.auth-form .form-label::after { content: " *"; color: var(--accent); }

/* Input group (icon + field + toggle) as one cohesive control */
.auth-group {
  border: 1px solid rgba(22, 19, 15, .14);
  border-radius: .85rem;
  overflow: hidden;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.auth-group:hover { border-color: rgba(22, 19, 15, .3); }
.auth-group:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(22, 19, 15, .06);
}
.auth-group .input-group-text {
  background: transparent;
  border: 0;
  color: var(--ink-soft);
  padding: .8rem .95rem;
  transition: color .2s ease;
}
.auth-group:focus-within .input-group-text { color: var(--ink); }
.auth-group .form-control {
  border: 0;
  background: transparent;
  padding: .8rem .85rem;
  font-size: .95rem;
  color: var(--ink);
  box-shadow: none;
}
.auth-group .form-control:focus { box-shadow: none; border: 0; }
.auth-group .form-control::placeholder { color: #b4ada4; opacity: 1; }

/* Password show/hide toggle inside the field */
.auth-group .password-toggle {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  width: 48px;
  flex: 0 0 auto;
  padding: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .2s ease, background .2s ease;
}
.auth-group .password-toggle:hover,
.auth-group .password-toggle:focus,
.auth-group .password-toggle:active {
  background: rgba(22, 19, 15, .05);
  color: var(--ink);
  border: 0;
  box-shadow: none;
}

/* Standalone field (first/last name) */
.auth-control {
  border: 1px solid rgba(22, 19, 15, .14);
  border-radius: .85rem;
  background: #fff;
  padding: .8rem .95rem;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.auth-control:hover { border-color: rgba(22, 19, 15, .3); }
.auth-control:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(22, 19, 15, .06); outline: none; }
.auth-control::placeholder { color: #b4ada4; opacity: 1; }

/* Links & checks */
.auth-link { color: var(--ink); font-weight: 600; text-decoration: none; }
.auth-link:hover { color: var(--accent); text-decoration: underline; }
.form-check-input:checked { background-color: var(--ink); border-color: var(--ink); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(22, 19, 15, .08); border-color: var(--ink); }
.auth-terms { color: var(--ink-soft); line-height: 1.5; }

/* Primary auth button */
.btn-auth {
  border: 0;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: .96rem;
  letter-spacing: .02em;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  box-shadow: 0 8px 20px rgba(22, 19, 15, .16);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-auth:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(200, 68, 42, .28);
}
.btn-auth:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(22, 19, 15, .14); }
.btn-auth:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(22, 19, 15, .14); }
.btn-auth .bi-arrow-right { transition: transform .2s ease; }
.btn-auth:hover .bi-arrow-right { transform: translateX(3px); }

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: .8rem;
  margin: 1.5rem 0;
}
.auth-divider::before, .auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(22, 19, 15, .1);
}
.auth-divider span { padding: 0 .9rem; }

/* Social buttons */
.btn-social {
  border: 1px solid rgba(22, 19, 15, .14);
  background: #fff;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
  padding: .75rem 1rem;
  border-radius: .8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  box-shadow: 0 2px 8px rgba(22, 19, 15, .04);
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-social:hover {
  background: rgba(22, 19, 15, .03);
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(22, 19, 15, .08);
}
.btn-social:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(22, 19, 15, .12); }
.btn-social i { font-size: 1.05rem; }

/* Alternate prompt */
.auth-alt { margin: 1.75rem 0 0; font-size: .9rem; color: var(--ink-soft); }

/* Password strength meter */
.password-meter { height: 5px; }
.meter-seg {
  height: 5px;
  flex: 1;
  border-radius: 999px;
  background: rgba(22, 19, 15, .12);
  transition: background .25s ease;
}
.meter-seg.weak { background: var(--accent); }
.meter-seg.fair { background: #d8a13a; }
.meter-seg.strong { background: var(--green); }
.password-hint { font-size: .75rem; color: var(--ink-soft); }
.password-hint.weak { color: var(--accent); font-weight: 600; }
.password-hint.fair { color: #b9831f; font-weight: 600; }
.password-hint.strong { color: var(--green); font-weight: 600; }

@media (max-width: 991px) {
  .auth-screen-aside { display: none; }
  .auth-screen { min-height: 100vh; }
  .auth-screen-panel { padding: 2rem 1.25rem; }
}

/* ---------- 404 ---------- */
.error-wrap { padding: 3rem 1rem 1rem; }
.error-wrap .display-3 { font-family: "Playfair Display", serif; }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991px) {
  .hero-inner, .carousel-item.slide, .hero-inner .row { min-height: 0; }
  .hero-art { min-height: 260px; }
  .product-card { width: 190px; }
  .sticky-gallery { position: static; }
  .category-hero { min-height: 280px; }
  .order-summary { position: static; }
}
@media (max-width: 575px) {
  .category-toolbar { align-items: flex-start; flex-direction: column; }
  .sort-control { width: 100%; justify-content: space-between; }
}
@media (max-width: 575px) {
  .header-main { height: 66px; }
  .hero-inner { min-height: 0; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .pdp-actions .btn-lg { width: 100%; }
}

/* ===================== ACCOUNT DASHBOARD ===================== */
/* Vertical divider between the left sidebar and the content area. */
.account-layout .account-sidebar-col {
  padding-right: 1.5rem;
}
.account-sidebar-col {
  border-right: 1px solid rgba(22, 19, 15, .14);
}
@media (max-width: 991.98px) {
  .account-sidebar-col {
    border-right: 0;
    border-bottom: 1px solid rgba(22, 19, 15, .14);
  }
}

/* Monochrome (black & white only) sidebar navigation. */
.account-nav {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  --bs-nav-pills-link-active-bg: var(--ink);
  --bs-nav-pills-link-active-color: #fff;
  --bs-nav-pills-link-active-border-color: var(--ink);
}
.account-nav .nav-link {
  color: var(--ink);
  font-weight: 500;
  padding: .55rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.account-nav .nav-link:hover {
  background: rgba(22, 19, 15, .06);
  color: var(--ink);
}
.account-nav .nav-link.active {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}
.account-nav .nav-link .badge {
  background: #16130f;
  color: #fff;
  border: 1px solid #16130f;
}
.account-nav .nav-link.active .badge {
  background: #fff;
  color: #16130f;
  border-color: #fff;
}
.account-nav .nav-link i {
  color: inherit;
}
