@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap");

* { box-sizing: border-box; }
html { min-height: 100%; }
body { min-height: 100vh; font-family: Inter, system-ui, sans-serif; }
.site-body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.site-main { flex: 1 0 auto; width: 100%; padding-bottom: 4rem; }
.site-footer { flex-shrink: 0; margin-top: auto; }
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  width: 3.55rem;
  height: 3.55rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #25d366;
  color: white;
  box-shadow: 0 16px 40px rgba(17, 17, 17, .24);
}
.whatsapp-float:hover { color: white; background: #1fb95a; transform: translateY(-2px); }
.whatsapp-float svg { width: 1.9rem; height: 1.9rem; fill: currentColor; }
h1, h2, .font-serif { font-family: "Cormorant Garamond", Georgia, serif; }
a { transition: color .2s ease, background .2s ease, border .2s ease, transform .2s ease; }
a:hover { color: #b66b2f; }
img { max-width: 100%; display: block; }
button:disabled { opacity: .45; cursor: not-allowed; }
input, select, textarea { font: inherit; }

.brand-mark { display: inline-flex; align-items: center; gap: .65rem; color: #111; }
.brand-mark img { width: 46px; height: 46px; border-radius: 999px; object-fit: cover; border: 1px solid #e7ded1; }
.brand-mark span { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35rem; letter-spacing: .18em; }
.icon-btn { width: 2.35rem; height: 2.35rem; display: grid; place-items: center; border: 1px solid #e7ded1; border-radius: 999px; background: #fff; color: #171411; }
.icon-btn svg { width: 1.12rem; height: 1.12rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { border-color: #b66b2f; color: #b66b2f; }
.cart-badge { position: absolute; right: -4px; top: -5px; min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; background: #b66b2f; color: white; font-size: 11px; }
.btn-dark, .btn-light, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .7rem 1.2rem; border-radius: 999px; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.btn-dark { background: #111; color: white; border: 1px solid #111; }
.btn-dark:hover { background: #b66b2f; border-color: #b66b2f; color: white; }
.btn-light { background: white; color: #111; border: 1px solid white; }
.btn-ghost { border: 1px solid #2a2119; color: #2a2119; background: transparent; }
.btn-ghost.small { min-height: 2rem; padding: .35rem .7rem; font-size: .72rem; }
.eyebrow { color: #b66b2f; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

.hero { position: relative; min-height: clamp(520px, 80vh, 760px); display: flex; align-items: center; overflow: hidden; background: #f4eadb; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251,247,239,.96), rgba(251,247,239,.68) 42%, rgba(251,247,239,.05)); }
.hero-content { position: relative; width: min(100% - 2rem, 76rem); margin: 0 auto; padding: 5rem 0 8rem; }
.hero h1 { max-width: 650px; font-size: clamp(3.4rem, 8vw, 8rem); line-height: .86; letter-spacing: 0; }
.hero p:not(.eyebrow) { max-width: 460px; margin-top: 1.4rem; color: #56483e; font-size: 1.05rem; line-height: 1.8; }
.section { width: min(100% - 2rem, 76rem); margin: 4.5rem auto 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.section-head h2, .split-section h2, .instagram-band h2, .page-head h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: .96; }
.circle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 1.3rem; }
.circle-card { text-align: center; font-size: .9rem; font-weight: 600; }
.circle-img { width: min(100%, 138px); aspect-ratio: 1; margin: 0 auto .8rem; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #fff 0, #f4dfc4 45%, #c47d3c 100%); color: #2b2119; font-family: "Cormorant Garamond", serif; font-size: 3rem; overflow: hidden; }
.circle-img img { width: 100%; height: 100%; object-fit: cover; }
.color-story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.color-story { min-height: 150px; display: flex; flex-direction: column; justify-content: end; gap: .4rem; padding: 1.2rem; border: 1px solid #eadfd1; background: white; }
.color-story span { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(0,0,0,.18); box-shadow: inset 0 0 0 3px rgba(255,255,255,.45); }
.color-story strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.8rem; line-height: 1; }
.color-story small { color: #766a60; }
.split-section { width: min(100% - 2rem, 76rem); margin: 5rem auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: end; padding: 4rem; background: #171411; color: white; }
.split-section p:last-child { color: #e8d9c7; line-height: 2; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.product-card { min-width: 0; }
.product-media-wrap { position: relative; }
.product-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #f3e8d9; }
.product-media img, .product-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-media img, .product-card:hover .product-media video { transform: scale(1.04); }
.favorite { position: absolute; right: .8rem; top: .8rem; z-index: 3; width: 2.2rem; height: 2.2rem; border-radius: 999px; background: rgba(255,255,255,.92); display: grid; place-items: center; color: #111; border: 1px solid rgba(0,0,0,.08); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.favorite.is-active, .favorite-detail.is-active { background: #b66b2f; border-color: #b66b2f; color: white; }
.favorite-detail { margin-top: 1.4rem; display: inline-flex; min-height: 2.6rem; align-items: center; justify-content: center; border: 1px solid #ded4c7; background: white; padding: .65rem 1rem; border-radius: 999px; font-size: .86rem; font-weight: 700; color: #111; }
.wishlist-panel { position: absolute; right: 0; top: calc(100% + .7rem); width: min(320px, calc(100vw - 2rem)); border: 1px solid #eadfd1; background: white; color: #111; padding: 1rem; box-shadow: 0 18px 50px rgba(0,0,0,.16); }
.wishlist-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #f0e8df; padding: .85rem 0; color: #111; }
.wishlist-item:last-child { border-bottom: 0; }
.wishlist-item span { font-weight: 700; }
.wishlist-item small { color: #b66b2f; white-space: nowrap; }
.badge { position: absolute; left: .8rem; top: .8rem; border-radius: 999px; background: #111; color: white; padding: .35rem .65rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.color-dot { width: 18px; height: 18px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,.18); box-shadow: inset 0 0 0 2px rgba(255,255,255,.45); }
.bag-placeholder { height: 100%; min-height: 260px; display: grid; place-items: center; background: linear-gradient(135deg, #f8eee1, #d1a06c 52%, #1f1a16); color: white; }
.bag-placeholder span { width: 42%; aspect-ratio: 1.1; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.75); border-radius: 44% 44% 18% 18%; font-family: "Cormorant Garamond", serif; font-size: 4rem; }
.bag-placeholder.large { min-height: 560px; }
.bag-placeholder.mini { width: 82px; height: 96px; min-height: 0; flex: none; }
.bag-placeholder.mini span { font-size: 1.3rem; }
.collection-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.collection-card { min-height: 180px; padding: 1.5rem; display: flex; flex-direction: column; justify-content: end; background: linear-gradient(135deg, #211b16, #b66b2f); color: white; }
.collection-card span { font-family: "Cormorant Garamond", serif; font-size: 2rem; line-height: 1; }
.collection-card small { margin-top: .8rem; color: #ffe9d3; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.offer-card { min-height: 190px; padding: 1.5rem; display: flex; flex-direction: column; justify-content: end; border: 1px solid #eadfd1; background: white; color: #171411; }
.offer-card.featured { background: linear-gradient(135deg, #171411, #b65f22); color: white; border-color: transparent; transform: translateY(-6px); }
.offer-card span { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #b66b2f; }
.offer-card.featured span { color: #ffcf9e; }
.offer-card strong { margin-top: .45rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 3rem; line-height: 1; }
.offer-card small { margin-top: .7rem; color: #766a60; line-height: 1.7; }
.offer-card.featured small { color: #ffe7d0; }
.instagram-band { width: min(100% - 2rem, 76rem); margin: 5rem auto 0; display: grid; grid-template-columns: .75fr 1.25fr; gap: 2rem; align-items: center; }
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.insta-tile { display: block; aspect-ratio: 1; overflow: hidden; background: linear-gradient(135deg, #f7ebdb, #bd7438 55%, #111); }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.insta-tile:hover img { transform: scale(1.04); }
.page-head { width: min(100% - 2rem, 76rem); margin: 3.5rem auto 2rem; }
.shop-layout { width: min(100% - 2rem, 76rem); margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.filters, .summary-box, .form-panel, .dash-panel { border: 1px solid #eadfd1; background: white; padding: 1.3rem; box-shadow: 0 14px 40px rgba(50, 34, 19, .06); }
.filters form, .form-panel { display: grid; gap: 1rem; }
label { display: grid; gap: .45rem; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6d5f53; }
input, select, textarea {
  width: 100%;
  min-width: 0;
  min-height: 2.9rem;
  border: 1px solid #ded4c7;
  border-radius: 6px;
  background: #fffdf9;
  padding: .72rem .85rem;
  color: #171411;
  outline: none;
  transition: border .18s ease, box-shadow .18s ease, background .18s ease;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select,
textarea {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
select { padding-right: 2.5rem !important; }
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #6d5f53 50%), linear-gradient(135deg, #6d5f53 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}
textarea { line-height: 1.7; resize: vertical; }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
select {
  height: 2.9rem;
  line-height: 1.2;
}
input:focus, select:focus, textarea:focus { border-color: #b66b2f; background: #fff; box-shadow: 0 0 0 3px rgba(182, 107, 47, .14); }
input::placeholder, textarea::placeholder { color: #a99c90; }
input[type="checkbox"], input[type="radio"] { width: 1rem; min-height: 1rem; accent-color: #b66b2f; box-shadow: none; }
input[type="file"] {
  width: min(100%, 12rem);
  max-width: 12rem;
  min-width: 0;
  min-height: 2.35rem;
  overflow: hidden;
  padding: .35rem;
  background: #fff;
  font-size: .72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
input[type="file"]::file-selector-button {
  max-width: 5.8rem;
  margin-right: .35rem;
  border: 0;
  border-radius: 999px;
  background: #171411;
  color: white;
  padding: .4rem .55rem;
  font-size: .68rem;
  font-weight: 800;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.filter-title { margin-bottom: 1rem; border-bottom: 1px solid #efe5da; padding-bottom: 1rem; }
.filter-title span { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; line-height: 1; }
.filter-title small { display: block; margin-top: .35rem; color: #796d62; line-height: 1.6; }
.pagination { margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.product-detail { width: min(100% - 2rem, 76rem); margin: 3rem auto 0; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: start; }
.product-gallery > img, .product-video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #f4e7d5; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin-top: .7rem; }
.thumbs img { aspect-ratio: 1; object-fit: cover; }
.product-info { position: sticky; top: 6rem; }
.product-info h1 { font-size: clamp(2.8rem, 5vw, 5rem); line-height: .92; }
.price { margin: 1.4rem 0; font-size: 1.5rem; font-weight: 700; }
.price span { margin-left: .7rem; color: #9b9288; text-decoration: line-through; font-size: 1rem; }
.variant-list { display: grid; gap: .7rem; }
.variant-list label { display: flex; align-items: center; gap: .7rem; border: 1px solid #e5dacd; padding: .8rem; font-weight: 500; }
.variant-list label.disabled { color: #9b9288; background: #f5f0ea; }
.variant-list small { margin-left: auto; color: #8c8175; }
.input.qty { max-width: 86px; }
.cart-layout, .checkout-layout { width: min(100% - 2rem, 76rem); margin: 0 auto; display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
.cart-lines { display: grid; gap: 1rem; }
.cart-line { display: flex; gap: 1rem; border: 1px solid #eadfd1; background: white; padding: 1rem; }
.summary-box h2 { font-family: "Cormorant Garamond", serif; font-size: 2rem; }
.confirmation { width: min(100% - 2rem, 46rem); min-height: 52vh; margin: 4rem auto; text-align: center; }
.confirmation h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.order-alert { margin: 0 auto 2rem; display: grid; gap: .35rem; border: 1px solid rgba(34, 112, 68, .2); background: #f0fbf4; color: #164f2e; padding: 1rem; text-align: left; }
.order-alert strong { font-size: .95rem; }
.order-alert span { color: #3f6d51; line-height: 1.6; }
.content-page { width: min(100% - 2rem, 52rem); margin: 0 auto; padding: 2rem; background: white; border: 1px solid #eadfd1; line-height: 2; }
.content-page h2 { margin-top: 1.4rem; font-size: 1.7rem; }
footer a { display: block; margin-top: .55rem; color: #d8c7b7; }
.footer-logo { width: 210px; max-width: 100%; background: #000; }
.footer-title { margin-bottom: 1rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: #c47d3c; }

.dashboard-shell { min-height: 100vh; display: grid; grid-template-columns: 270px 1fr; }
.dash-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 2rem; background: #15120f; color: white; padding: 1.4rem; }
.dash-logo img { width: 100%; max-width: 210px; background: #000; }
.dash-sidebar nav { display: grid; gap: .35rem; }
.dash-sidebar nav a { padding: .65rem .75rem; border-radius: 6px; color: #e8d9c7; }
.dash-sidebar nav a:hover { background: rgba(255,255,255,.08); color: white; }
.dash-main { padding: 2rem; min-width: 0; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.dash-head h1 { font-size: 3rem; line-height: 1; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card { background: white; border: 1px solid #e5ddd4; padding: 1rem; }
.stat-card span { display: block; color: #796d62; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.stat-card strong { display: block; margin-top: .55rem; font-size: 2rem; }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.dash-panel { overflow-x: auto; border-radius: 8px; }
.dash-panel h2 { margin-bottom: 1rem; font-size: 1.8rem; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { border-bottom: 1px solid #ece5dc; padding: .8rem; text-align: left; vertical-align: top; }
th { color: #6f6257; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.dash-search { display: flex; gap: .7rem; margin-bottom: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.form-grid > *, .inline-row > *, .homepage-image-row > *, .homepage-color-row > * { min-width: 0; }
.form-grid > label:has(textarea), .formset-panel, .form-grid > .flex { grid-column: 1 / -1; }
.formset-panel { border-top: 1px solid #ece5dc; padding-top: 1rem; }
.inline-row { display: grid; grid-template-columns: repeat(5, minmax(110px, 1fr)); gap: .7rem; align-items: end; margin-bottom: .8rem; padding-bottom: .8rem; border-bottom: 1px solid #f0e8df; }
.admin-field, .form-grid > label { min-width: 0; }
.admin-field small { letter-spacing: 0; text-transform: none; color: #8c8175; font-weight: 500; line-height: 1.5; }
.admin-field .errorlist, .form-panel .errorlist { margin-top: .25rem; color: #a02d20; letter-spacing: 0; text-transform: none; font-weight: 600; }
.homepage-edit-section:first-of-type { border-top: 0; padding-top: 0; }
.homepage-edit-section + .homepage-edit-section { margin-top: 1.5rem; }
.homepage-color-list { display: grid; gap: 1rem; }
.homepage-color-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .7rem; align-items: end; padding-bottom: 1rem; border-bottom: 1px solid #f0e8df; }
.homepage-color-row:last-child { border-bottom: 0; padding-bottom: 0; }
.homepage-image-list { display: grid; gap: 1rem; }
.homepage-image-row { display: grid; grid-template-columns: 110px repeat(6, minmax(0, 1fr)); gap: .7rem; align-items: end; padding-bottom: 1rem; border-bottom: 1px solid #f0e8df; }
.homepage-image-row:last-child { border-bottom: 0; padding-bottom: 0; }
.homepage-image-preview { width: 110px; aspect-ratio: 1; overflow: hidden; background: linear-gradient(135deg, #f7ebdb, #bd7438 55%, #111); }
.homepage-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.homepage-image-preview span { display: block; width: 100%; height: 100%; }
.login-fields p { display: grid; gap: .45rem; margin-bottom: 1rem; }
.login-fields label { margin-bottom: .1rem; }

@media (max-width: 900px) {
  .hero { min-height: 660px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(251,247,239,.96), rgba(251,247,239,.72), rgba(251,247,239,.18)); }
  .split-section, .instagram-band, .shop-layout, .product-detail, .cart-layout, .checkout-layout, .dashboard-shell, .dash-grid { grid-template-columns: 1fr; }
  .split-section { padding: 2rem; }
  .product-info { position: static; }
  .dash-sidebar { position: static; height: auto; }
  .dash-main { padding: 1rem; }
}

@media (max-width: 560px) {
  .whatsapp-float { right: .9rem; bottom: .9rem; width: 3.2rem; height: 3.2rem; }
  .hero h1 { font-size: 3.2rem; }
  .section-head, .dash-head, .cart-line { align-items: start; flex-direction: column; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid, .inline-row, .homepage-image-row, .homepage-color-row { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
  .product-card .font-medium { font-size: .9rem; }
}
