:root {
  --bg: #f7f3f1f1;
  --bg-gradient: linear-gradient(180deg, #f7f6f5 0%, #fcf1ec 50%, #e7e0dd 100%);
  --surface: #ffffff;
  --ink: #190019;
  --ink-soft: #2B124C;
  --muted: #854F6C;
  --line: #DFB6B2;
  --accent: #522B5B;
  --accent-dark: #2B124C;
  --accent-light: #854F6C;
  --accent-rose: #DFB6B2;
  --sand: #e7ccc0;
  --sand-card: #FDF4EF;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(43, 18, 76, .08);
  --shadow-hover: 0 14px 36px rgba(43, 18, 76, .14);
  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Karla', system-ui, Arial, sans-serif;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0
}

body {
  background: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem)
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem)
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto
}

.section {
  padding: clamp(1.25rem, 3vw, 2.5rem) 0
}

.page-head {
  padding: 1.5rem 0 0.5rem;
  text-align: center;
}

.page-head h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 0.2rem;
}

.page-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.center {
  text-align: center
}

.muted {
  color: var(--muted)
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
  text-align: center
}

.btn-primary {
  background: var(--accent);
  color: #fff
}

.btn-primary:hover {
  background: var(--accent-dark)
}

.btn-outline {
  background: transparent;
  border-color: var(--accent);
  font-size: 20px;
  /* color: var(--accent) */
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff
}

.btn-block {
  width: 100%
}

.btn-sm {
  padding: .5rem 1rem;
  font-size: .875rem
}

/* Header */
.topbar {
  background: var(--bg);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
  padding: .5rem 1rem;
  letter-spacing: .05em;
  border-bottom: 1px solid rgba(82, 43, 91, 0.15);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #190019;
  color: #ffffff;
  border-bottom: 1px solid rgba(223, 182, 178, 0.2);
  box-shadow: 0 4px 20px rgba(25, 0, 25, 0.25);
}

.header a {
  color: #ffffff;
}

.nav {
  display: flex;
  align-items: center;
  min-height: 68px;
  gap: 1.5rem;
  padding: 0
}

.logo-box {
  display: flex;
  align-items: center;
  margin-right: auto;
  height: auto
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  line-height: 1
}

.logo-img {
  height: 42px;
  width: auto;
  max-height: 50px;
  max-width: 195px;
  object-fit: contain;
  display: block;
  margin: 0;
  transition: transform .2s ease
}

.logo:hover .logo-img {
  transform: scale(1.02)
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 68px
}

.nav-links li {
  display: flex;
  align-items: center;
  height: 100%
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  font-size: .95rem;
  padding: 0 .2rem;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 2px solid transparent;
  transition: all .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  border-color: #FBE4D8;
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  height: 68px
}

.cart-link {
  position: relative;
  font-weight: 600;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  transition: opacity .2s ease;
}

.cart-link:hover {
  color: #FBE4D8;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #FBE4D8;
  color: #190019;
  font-size: .7rem;
  font-weight: 700;
  margin-left: .35rem;
}

.profile-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center
}

.profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  cursor: pointer;
  transition: all .2s ease;
  padding: 0
}

.profile-btn svg {
  stroke: #ffffff;
}

.profile-btn:hover,
.profile-dropdown.open .profile-btn {
  background: rgba(255, 255, 255, 0.28);
  border-color: #FBE4D8;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25)
}

.profile-btn svg {
  width: 18px;
  height: 18px
}

.profile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: .75rem;
  display: none;
  z-index: 100
}

.profile-dropdown.open .profile-menu {
  display: block
}

.profile-menu .user-info {
  padding: .4rem .5rem .6rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: .4rem;
  font-size: .85rem
}

.profile-menu .user-info strong {
  display: block;
  font-size: .95rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.profile-menu .user-info span {
  color: var(--muted);
  font-size: .8rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.profile-menu .guest-info {
  padding: .35rem .4rem .4rem;
}

.profile-menu .guest-info strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: .2rem;
  font-family: var(--font-heading);
}

.profile-menu .guest-info span {
  display: block;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.35;
  margin-bottom: .75rem;
}

.profile-menu .profile-login-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: .5rem 1rem;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .6rem;
  text-decoration: none;
  box-sizing: border-box;
}

.profile-menu .profile-guest-sub {
  font-size: .8rem;
  text-align: center;
  color: var(--muted);
  padding-top: .4rem;
  border-top: 1px solid var(--line);
}

.profile-menu .profile-guest-sub a {
  color: var(--accent);
  font-weight: 600;
}

.profile-menu .logout-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: .5rem .6rem;
  border-radius: 8px;
  font: inherit;
  font-size: .9rem;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: background .15s ease
}

.profile-menu .logout-btn:hover {
  background: var(--sand)
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.burger:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #FBE4D8;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #ffffff;
  transition: transform .25s ease, opacity .25s ease;
}

.burger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Dropdown */
.dropdown {
  position: relative
}

.dropdown>button {
  background: none;
  border: 0;
  font: inherit;
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem 0;
  color: inherit
}

.dropdown>button:hover {
  color: var(--accent)
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 210px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: .6rem;
  display: none
}

.dropdown.open .dropdown-menu {
  display: block
}

.dropdown-menu strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  padding: .35rem .6rem;
  color: var(--muted)
}

.dropdown-menu a {
  display: block;
  padding: .55rem .6rem .55rem 1.2rem;
  border-radius: 8px;
  font-size: .92rem
}

.dropdown-menu a:hover {
  background: var(--sand);
  color: var(--accent)
}

/* Hero */
.hero {
  background: linear-gradient(135deg, rgba(251, 228, 216, 0.95) 0%, rgba(223, 182, 178, 0.65) 55%, rgba(133, 79, 108, 0.25) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) 0
}

.hero p {
  max-width: 44ch;
  color: var(--muted);
  font-size: 1.05rem
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  color: var(--accent);
  font-weight: 700
}

.hero-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  max-height: 460px
}

.hero-grid>div:first-child {
  align-self: center
}

#product-detail .hero-img img {
  max-height: 600px;
  object-fit: cover
}

#product-detail .hero-grid {
  align-items: start
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: .9rem
}

.product-gallery-thumbs {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  align-items: center
}

.thumb-btn {
  width: 70px;
  height: 88px;
  border-radius: 8px;
  border: 2px solid var(--line);
  background: var(--sand);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: .2s;
  opacity: .7
}

.thumb-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
  border-color: var(--accent)
}

.thumb-btn.active {
  border-color: var(--accent);
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(82, 43, 91, .25)
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

#main-product-image {
  transition: opacity .15s ease-in-out;
  border-radius: var(--radius);
  width: 100%;
  box-shadow: var(--shadow)
}

/* Grids */
.grid {
  display: grid;
  gap: 1.25rem
}

.grid-products {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 3.15rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .25s
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow)
}

.card-media {
  aspect-ratio: 1/1.1;
  max-height: 235px;
  overflow: hidden;
  background: var(--sand);
  position: relative;
}

.photo-count-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(36, 31, 27, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 2;
  pointer-events: none;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s
}

.card:hover .card-media img {
  transform: scale(1.05)
}

.card-body {
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  flex: 1
}

.card-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0
}

.price {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.98rem;
  margin: 0.1rem 0 0.3rem;
}

.card-body .btn {
  margin-top: auto;
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem
}

/* Toolbar / filters */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem
}

.chip {
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  font: inherit;
  font-size: .85rem
}

.chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink)
}

select,
input,
textarea {
  font: inherit;
  padding: .7rem .9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  width: 100%
}

select:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px
}

label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .35rem
}

.field {
  margin-bottom: 1rem
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}

/* Cart */
.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line)
}

.cart-item img {
  width: 90px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px
}

.cart-item .meta {
  min-width: 0
}

.cart-item h3 {
  margin: 0 0 .2rem;
  font-size: 1.1rem
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden
}

.qty button {
  width: 32px;
  height: 32px;
  border: 0;
  background: var(--surface);
  cursor: pointer;
  font-size: 1rem
}

.qty span {
  min-width: 32px;
  text-align: center;
  font-weight: 600
}

.link-danger {
  background: none;
  border: 0;
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  font-size: .85rem;
  padding: 0;
  text-decoration: underline
}

.summary {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: 100px
}

.summary .row {
  display: flex;
  justify-content: space-between;
  padding: .4rem 0
}

.summary .total {
  border-top: 1px solid var(--line);
  margin-top: .6rem;
  padding-top: .8rem;
  font-weight: 700;
  font-size: 1.15rem
}

.empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted)
}

/* Auth */
.auth-wrap {
  max-width: 430px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow)
}

.page-head {
  background: var(--sand);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  text-align: center
}

.page-head p {
  color: var(--muted);
  margin: 0
}

.notice {
  padding: .8rem 1rem;
  border-radius: 10px;
  background: var(--sand);
  border: 1px solid var(--line);
  font-size: .9rem;
  margin-bottom: 1rem;
  transition: .2s
}

.notice-success {
  background: #e8f5e9;
  border-color: #c8e6c9;
  color: #2e7d32
}

.notice-error {
  background: #fde8e8;
  border-color: #f8b4b4;
  color: #9b1c1c
}

.notice-info {
  background: #FDF4EF;
  border-color: #DFB6B2;
  color: #522B5B;
}

.hidden {
  display: none
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  font-size: .9rem;
  opacity: 0;
  pointer-events: none;
  transition: .3s;
  z-index: 99
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0)
}

/* Orders */
.orders-list {
  display: grid;
  gap: 1.5rem;
  max-width: 850px;
  margin-inline: auto
}

.order-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow)
}

.order-header {
  background: var(--sand);
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  border-bottom: 1px solid var(--line)
}

.order-header-info {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: .88rem
}

.order-header-info span {
  color: var(--muted);
  font-size: .75rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: .05em
}

.order-header-info strong {
  color: var(--ink);
  display: block;
  margin-top: .15rem
}

.order-status {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  background: #e3f4e9;
  color: #1e7e34
}

.order-body {
  padding: 1.25rem 1.5rem
}

.order-item-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line)
}

.order-item-row:last-child {
  border-bottom: 0
}

.order-item-row img {
  width: 60px;
  height: 75px;
  object-fit: cover;
  border-radius: 8px
}

.order-footer {
  padding: 1rem 1.5rem;
  background: var(--sand);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .9rem
}

.order-footer strong {
  font-size: 1.1rem;
  color: var(--accent)
}

.profile-menu-link {
  display: block;
  padding: .55rem .6rem;
  border-radius: 8px;
  font-size: .92rem;
  color: var(--ink);
  margin-bottom: .25rem;
  font-weight: 500
}

.profile-menu-link:hover {
  background: var(--sand);
  color: var(--accent)
}

/* Footer */
.footer {
  background: #190019;
  color: #FBE4D8;
  margin-top: 3rem;
  padding: 3rem 0 1.5rem
}

.footer a {
  color: #DFB6B2
}

.footer a:hover {
  color: #ffffff
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2rem
}

.footer-logo {
  display: inline-block;
  /* margin-bottom: 1.2rem; */
  margin-left: -12px;
  text-decoration: none;
  text-align: left
}

.footer-logo-img {
  height: 20px;
  width: auto;
  max-height: 110px;
  max-width: 320px;
  object-fit: contain;
  object-position: left center;
  display: block;
  opacity: 1;
  filter: brightness(1.15) drop-shadow(0 2px 8px rgba(0, 0, 0, .3))
}

.footer h4 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin: 0 0 .6rem
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .4rem;
  font-size: .9rem
}

.footer-bottom {
  border-top: 1px solid rgba(223, 182, 178, .2);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: .82rem;
  text-align: center;
  color: #DFB6B2
}

/* Legal & Content Pages */
.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 900px;
  margin-inline: auto;
  line-height: 1.75
}

.legal-card h2 {
  font-size: 1.35rem;
  margin: 2rem 0 .6rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: .4rem
}

.legal-card h2:first-child {
  margin-top: 0
}

.legal-card h3 {
  font-size: 1.1rem;
  margin: 1.2rem 0 .4rem;
  color: var(--ink)
}

.legal-card p {
  color: #2B124C;
  margin-bottom: 1rem;
  font-size: .98rem
}

.legal-card ul {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
  color: #2B124C;
  font-size: .98rem
}

.legal-card li {
  margin-bottom: .4rem
}

.legal-badge {
  display: inline-block;
  background: var(--sand);
  padding: .25rem .75rem;
  border-radius: 999px;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-weight: 600
}

/* Blog & Fashion Guide Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .25s;
  height: 100%
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow)
}

.blog-card-media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--sand);
  position: relative
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.05)
}

.blog-card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .82rem;
  color: var(--muted);
  flex-wrap: wrap
}

.blog-tag {
  background: var(--sand);
  color: var(--accent);
  padding: .2rem .6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em
}

.blog-card-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  margin: 0;
  line-height: 1.25
}

.blog-card-title a:hover {
  color: var(--accent)
}

.blog-excerpt {
  color: #522B5B;
  font-size: .92rem;
  line-height: 1.55;
  margin: 0;
  flex: 1
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--accent);
  margin-top: .6rem
}

.blog-read-more:hover {
  color: var(--accent-dark);
  text-decoration: underline
}

/* Blog Article Post Details */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.5rem;
  align-items: start
}

.article-main {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 3rem)
}

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line)
}

.article-header h1 {
  margin-top: .5rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem)
}

.article-hero-img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  max-height: 450px;
  object-fit: cover;
  box-shadow: var(--shadow)
}

.article-body {
  color: #190019;
  font-size: 1.05rem;
  line-height: 1.8
}

.article-body h2 {
  font-size: 1.5rem;
  margin: 2rem 0 .8rem;
  color: var(--ink);
  border-left: 4px solid var(--accent);
  padding-left: .8rem
}

.article-body h3 {
  font-size: 1.2rem;
  margin: 1.4rem 0 .5rem;
  color: var(--ink)
}

.article-body p {
  margin-bottom: 1.2rem
}

.article-body ul,
.article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem
}

.article-body li {
  margin-bottom: .5rem
}

.tip-box {
  background: var(--sand);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  font-size: .95rem
}

.tip-box strong {
  color: var(--accent-dark);
  display: block;
  margin-bottom: .3rem
}

.article-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem
}

.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem
}

.sidebar-widget h3 {
  font-size: 1.15rem;
  margin-bottom: .9rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--line)
}

.sidebar-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem
}

.sidebar-post-item a {
  display: flex;
  gap: .75rem;
  align-items: center
}

.sidebar-post-item img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0
}

.sidebar-post-item h4 {
  font-family: var(--font-head);
  font-size: .95rem;
  margin: 0;
  line-height: 1.2;
  color: var(--ink)
}

.sidebar-post-item span {
  font-size: .78rem;
  color: var(--muted)
}

.sidebar-post-item:hover h4 {
  color: var(--accent)
}

/* Responsive */
@media (max-width:900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center
  }

  .hero p {
    margin-inline: auto
  }

  .cart-layout {
    grid-template-columns: 1fr
  }

  .summary {
    position: static
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .article-layout {
    grid-template-columns: 1fr
  }

  .article-sidebar {
    position: static
  }
}

@media (max-width:760px) {
  .nav {
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    min-height: 58px;
    padding: .4rem 0;
  }

  .logo-box {
    margin-right: auto;
  }

  .logo-img {
    height: 34px;
    max-width: 135px;
  }

  .nav-actions {
    order: 1;
    margin-left: auto;
    margin-right: .5rem;
    height: auto;
    gap: .5rem;
  }

  .burger {
    display: flex;
    order: 2;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  .nav-links {
    display: none;
    order: 3;
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 0 .75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: #190019;
    margin: .4rem 0 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    height: auto;
    display: block;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    padding: .75rem .5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: .95rem;
    font-weight: 500;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: #FBE4D8;
    background: rgba(255, 255, 255, 0.05);
    border-bottom-color: rgba(255, 255, 255, 0.2);
  }

  .dropdown>button {
    width: 100%;
    justify-content: space-between;
    padding: .7rem .25rem;
    border-bottom: 1px solid var(--line)
  }

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    background: var(--sand);
    margin: .4rem 0
  }

  .dropdown.open .dropdown-menu {
    display: block
  }
}

@media (max-width:560px) {
  .form-row {
    grid-template-columns: 1fr
  }

  .grid-products {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem
  }

  .cart-item {
    grid-template-columns: 70px 1fr;
    row-gap: .6rem
  }

  .cart-item img {
    width: 70px;
    height: 88px
  }

  .cart-item .actions {
    grid-column: 1/-1;
    display: flex;
    justify-content: space-between;
    align-items: center
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center
  }

  .footer ul {
    justify-items: center
  }

  .blog-grid {
    grid-template-columns: 1fr
  }
}

/* ===== Product Media & Video Gallery ===== */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.main-gallery-media {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.main-gallery-media img,
.main-gallery-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
  display: block;
}

.main-gallery-media video {
  background: #000;
}

.product-gallery-thumbs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 4px;
}

.thumb-btn {
  width: 68px;
  height: 86px;
  border: 2px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--sand);
  padding: 0;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.thumb-btn:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.thumb-btn.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(82, 43, 91, 0.25);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-btn.video-thumb {
  background: #1c1917;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.thumb-btn.video-thumb .video-icon-badge {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  margin-bottom: 2px;
}

.thumb-btn.video-thumb .video-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #e7e5e4;
}

.video-pill-badge {
  background: rgba(82, 43, 91, 0.92);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* ===== Product Page (PDP) Extras: Pincode, Offers & Accordions ===== */
.pincode-checker {
  margin: 1.5rem 0 1.25rem;
}

.pincode-form {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 4px 6px 4px 16px;
  background: #fff;
  max-width: 420px;
  transition: border-color 0.2s;
}

.pincode-form:focus-within {
  border-color: var(--accent);
}

.pincode-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.92rem;
  flex: 1;
  color: var(--ink);
  font-family: inherit;
}

.pincode-btn {
  background: none;
  border: none;
  color: #1e3a8a;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 999px;
  transition: opacity 0.15s;
}

.pincode-btn:hover {
  opacity: 0.75;
}

.pincode-result {
  font-size: 0.82rem;
  margin-top: 0.4rem;
  padding-left: 0.5rem;
}

/* Offers Section */
.offers-section {
  margin: 1.5rem 0;
}

.offers-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.offers-scroll {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}

.offer-card {
  flex: 0 0 220px;
  background: #f0f7ff;
  border: 1px solid #d4e5f9;
  border-radius: 12px;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.6rem;
  scroll-snap-align: start;
  transition: transform 0.15s, box-shadow 0.15s;
}

.offer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.08);
}

.offer-header {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.offer-icon-box {
  width: 28px;
  height: 28px;
  background: #dbeafe;
  color: #1e40af;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.offer-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
  margin: 0;
}

.offer-code {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e40af;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px dashed #93c5fd;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

/* Accordions Section */
.product-accordions {
  margin-top: 2rem;
  border-bottom: 1px solid var(--line);
}

.accordion-item {
  border-top: 1px solid var(--line);
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.15s;
}

.accordion-header:hover {
  color: var(--accent);
}

.accordion-icon {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.accordion-content {
  display: none;
  padding-bottom: 1.25rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #4b5563;
}

.accordion-item.active .accordion-content {
  display: block;
  animation: accordionFade 0.2s ease-in-out;
}

@keyframes accordionFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.accordion-content ul {
  padding-left: 1.2rem;
  margin: 0.4rem 0;
}

.accordion-content li {
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   Instagram Spotlight Section
   ========================================================================== */
.insta-section {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.insta-spotlight-card {
  background: linear-gradient(135deg, #ffffff 0%, #fdf6f3 50%, #f8ede8 100%);
  border: 1px solid rgba(223, 182, 178, 0.45);
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 16px 40px rgba(43, 18, 76, 0.06);
  position: relative;
  overflow: hidden;
}

.insta-spotlight-card::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(223, 182, 178, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.insta-spotlight-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.insta-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.insta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(82, 43, 91, 0.08);
  border: 1px solid rgba(82, 43, 91, 0.15);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
}

.insta-badge svg {
  color: #e1306c;
}

.insta-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
}

.insta-desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-soft);
  opacity: 0.85;
  margin: 0;
  max-width: 52ch;
}

.insta-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.insta-hl-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(223, 182, 178, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.insta-hl-item:hover {
  transform: translateX(4px);
  background: #ffffff;
}

.insta-hl-icon {
  color: #d4a373;
  font-size: 1.1rem;
  line-height: 1.2;
}

.insta-hl-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.insta-hl-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.insta-cta-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.btn-insta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(220, 39, 67, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-insta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(220, 39, 67, 0.4);
  filter: brightness(1.05);
}

.btn-insta svg {
  flex-shrink: 0;
}

.insta-handle-tag {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
}

/* Instagram Post Column & Card */
.insta-post-col {
  display: flex;
  justify-content: center;
}

.insta-post-card {
  display: block;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid rgba(82, 43, 91, 0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(43, 18, 76, 0.09);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.insta-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(43, 18, 76, 0.18);
  border-color: rgba(225, 48, 108, 0.3);
}

.insta-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: #ffffff;
}

.insta-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.insta-avatar-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.insta-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #190019;
  object-fit: contain;
  padding: 6px;
  border: 2px solid #ffffff;
}

.insta-username-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.2;
}

.insta-username {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.insta-verified {
  flex-shrink: 0;
}

.insta-subline {
  font-size: 0.75rem;
  color: #737373;
  display: block;
}

.insta-card-badge {
  color: #e1306c;
  display: flex;
  align-items: center;
}

.insta-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #190019;
  aspect-ratio: 4 / 5;
}

.insta-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.insta-post-card:hover .insta-post-image {
  transform: scale(1.04);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 0, 25, 0.3) 0%, rgba(25, 0, 25, 0.75) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(2px);
}

.insta-post-card:hover .insta-overlay {
  opacity: 1;
}

.insta-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.insta-post-card:hover .insta-overlay-content {
  transform: translateY(0);
}

.insta-overlay-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.insta-overlay-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.insta-overlay-link {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.03em;
}

.insta-badge-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(25, 0, 25, 0.75);
  color: #ffffff;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(223, 182, 178, 0.4);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
}

.insta-card-footer {
  padding: 1rem 1.15rem 1.25rem;
  background: #ffffff;
}

.insta-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  color: #262626;
}

.insta-actions-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.insta-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.insta-post-card:hover .insta-action-btn {
  color: #e1306c;
}

.insta-caption {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink);
}

.insta-caption-text {
  margin: 0 0 0.5rem;
  color: #262626;
}

.insta-caption-text strong {
  font-weight: 700;
  margin-right: 0.35rem;
}

.insta-link-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e1306c;
  transition: gap 0.2s ease;
}

.insta-post-card:hover .insta-link-hint {
  gap: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .insta-spotlight-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .insta-info-col {
    text-align: center;
    align-items: center;
  }

  .insta-cta-wrap {
    justify-content: center;
  }

  .insta-highlights {
    width: 100%;
    max-width: 440px;
    text-align: left;
  }
}