/* ════════════════════════════════════
   TOKENS
════════════════════════════════════ */
:root {
  --R: #C41230;
  --Y: #F0B800;
  --K: #111111;
  --W: #ffffff;
  --F: #f5f3f0;
  --G: #888888;
  --L: #e4e0db;
}

/* ════════════════════════════════════
   RESET & BASE
════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'DM Sans', sans-serif; background: var(--W); color: var(--K); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Fluid section spacing ── */
.sec { padding: clamp(48px, 8vw, 80px) 0; }

/* ════════════════════════════════════
   BUTTONS
════════════════════════════════════ */
.btn-r, .btn-k, .btn-o, .btn-y {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .72rem 1.6rem; border: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-r  { background: var(--R); color: var(--W); }
.btn-r:hover  { background: #a00f26; color: var(--W); }
.btn-k  { background: var(--K); color: var(--W); }
.btn-k:hover  { background: #333; color: var(--W); }
.btn-o  { background: transparent; color: var(--K); border: 1.5px solid var(--K); }
.btn-o:hover  { background: var(--K); color: var(--W); }
.btn-y  { background: var(--Y); color: var(--K); }
.btn-y:hover  { background: #d9a500; }
.btn-ghost-w {
  background: transparent; color: rgba(255,255,255,.8);
  border: 1.5px solid rgba(255,255,255,.35);
  font-size: .7rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .72rem 1.6rem;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background .2s, color .2s;
}
.btn-ghost-w:hover { background: rgba(255,255,255,.1); color: var(--W); }

/* ════════════════════════════════════
   EDITORIAL SECTION HEADER
════════════════════════════════════ */
.ed-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.ed-num {
  font-family: 'Playfair Display', serif;
  font-size: .7rem; font-weight: 700;
  color: var(--G); letter-spacing: .12em;
  white-space: nowrap; flex-shrink: 0;
}
.ed-rule { flex: 1; height: 1px; background: var(--L); }
.ed-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700; line-height: 1.1;
  white-space: nowrap; flex-shrink: 0;
  padding-right: 2rem;
}
.ed-header-r { flex-shrink: 0; }

/* ════════════════════════════════════
   TOPBAR
════════════════════════════════════ */
.topbar {
  background: var(--R);
  text-align: center;
  padding: .45rem 1rem;
  font-size: .65rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.88);
}
.topbar strong { color: var(--Y); }

/* ════════════════════════════════════
   NAV
════════════════════════════════════ */
.nav-bar {
  background: var(--W);
  border-bottom: 1px solid var(--L);
  position: sticky; top: 0; z-index: 1040;
  padding: .8rem 0;
  overflow: visible;
}
/* Full-width shop dropdown — single horizontal scroll row */
.nav-links .dropdown { position: static; }
.nav-scroll-menu {
  left: 0 !important; right: 0 !important;
  width: 100% !important; min-width: unset !important;
  border-radius: 0 !important; border-top: 2px solid var(--R) !important;
  margin-top: .45rem !important; padding: 0 !important;
}
.nav-scroll-row {
  display: flex; align-items: center;
  overflow-x: auto; scrollbar-width: none;
  gap: .15rem; padding: .6rem 1rem;
  white-space: nowrap;
}
.nav-scroll-row::-webkit-scrollbar { display: none; }
.nav-scroll-row a {
  font-size: .65rem; color: var(--G);
  padding: .3rem .65rem; white-space: nowrap;
  transition: color .15s, background .15s;
  border-radius: 2px;
}
.nav-scroll-row a:hover { color: var(--K); background: var(--F); }
.nav-scroll-div {
  width: 1px; height: 14px; background: var(--L);
  flex-shrink: 0; margin: 0 .35rem;
}
.nav-scroll-all {
  margin-left: .5rem;
  font-weight: 700 !important; color: var(--K) !important;
  letter-spacing: .04em;
}
.nav-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .75rem;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 900;
  letter-spacing: -.03em;
  color: var(--K); text-align: center;
}
.nav-logo .dot { color: var(--R); }
.nav-links {
  list-style: none; display: flex; align-items: center; gap: 0;
  justify-self: start;
  padding-left: 0;
}
.nav-links a {
  font-size: .68rem; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase;
  padding: .35rem .7rem; color: var(--K);
  position: relative; transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute;
  left: .7rem; bottom: 0; right: .7rem;
  height: 1.5px; background: var(--R);
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s;
}
.nav-links a:hover { color: var(--R); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.hot { color: var(--R); font-weight: 700; }
.nav-actions { display: flex; justify-content: flex-end; align-items: center; }
.nib {
  background: none; border: none;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--K); cursor: pointer;
  position: relative; transition: color .2s;
}
.nib .bi-person { font-size: 1.15rem; }
.pip {
  position: absolute; top: 5px; right: 3px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--Y); color: var(--K);
  font-size: .5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ════════════════════════════════════
   HERO
════════════════════════════════════ */
.hero {
  position: relative;
  height: clamp(520px, calc(90vh - 38px), 960px) !important;
  overflow: hidden;
}

/* ── Carousel fills the hero section ── */
.hero-car { height: 100%; }
.hero-car .carousel-inner,
.hero-car .carousel-item { height: 100%; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
}

.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,.02) 0%,
    rgba(0,0,0,.05) 30%,
    rgba(0,0,0,.65) 100%
  );
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 5vw, 3.5rem);
}
.hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.hero-eye {
  display: flex; align-items: center; gap: .75rem;
  font-size: .6rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--Y); margin-bottom: 1rem;
}
.hero-eye::before {
  content: ''; display: block;
  width: 20px; height: 1.5px; background: var(--Y); flex-shrink: 0;
}
.hero-h {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: .92; letter-spacing: -.03em;
  color: var(--W); margin-bottom: 1.25rem;
}
.hero-h em { font-style: italic; font-weight: 400; }
.hero-p {
  font-size: clamp(.78rem, 1.5vw, .9rem);
  color: rgba(255,255,255,.6); line-height: 1.7;
  max-width: 360px; margin-bottom: 1.75rem;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-aside { text-align: right; flex-shrink: 0; }
.hero-aside-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 900;
  color: var(--Y); line-height: 1;
}
.hero-aside-lbl {
  font-size: .58rem; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}
.hero-aside-div { width: 1px; height: 32px; background: rgba(255,255,255,.18); margin: .75rem 0 .75rem auto; }

/* Scroll cue: bottom-center */
.hero-scroll {
  position: absolute;
  bottom: clamp(1.5rem, 5vw, 3.5rem);
  left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  z-index: 10;
}
.hero-scroll-line {
  width: 1px; height: 38px;
  background: rgba(255,255,255,.25);
  animation: sc 1.6s ease-in-out infinite;
}
@keyframes sc { 0%,100%{height:38px;opacity:.3} 50%{height:18px;opacity:.7} }
.hero-scroll span {
  font-size: .55rem; color: rgba(255,255,255,.38);
  letter-spacing: .15em; text-transform: uppercase;
}

/* Carousel controls: top-left */
.hero-c-nav {
  position: absolute;
  top: clamp(1.5rem, 5vw, 3.5rem);
  left: clamp(1.5rem, 5vw, 3.5rem);
  display: flex; align-items: center; gap: .55rem;
  z-index: 10;
}
.hero-c-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.22);
  color: var(--W); font-size: .82rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  line-height: 1;
}
.hero-c-btn:hover { background: var(--R); border-color: var(--R); }
.hero-c-count {
  font-size: .6rem; letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  font-variant-numeric: tabular-nums;
  user-select: none; min-width: 3.5rem; text-align: center;
}
.hero-c-count strong { color: var(--W); font-weight: 700; }

@media (max-width: 767px) {
  .hero-aside { display: none; }
  .hero-h { margin-bottom: 1rem; }
  .hero-p { display: none; }
}

/* ════════════════════════════════════
   MARQUEE
════════════════════════════════════ */
.mq-bar { border-bottom: 1px solid var(--L); overflow: hidden; padding: .65rem 0; }
.mq-track {
  display: flex; white-space: nowrap;
  animation: mq 28s linear infinite;
}
@keyframes mq { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.mq-i {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 0 2rem;
  font-size: .64rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--G);
}
.mq-i i { color: var(--R); font-size: .7rem; }
.mq-dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--L); }

/* ════════════════════════════════════
   CATEGORIES
════════════════════════════════════ */
.cat-sec { padding-top: clamp(40px, 6vw, 64px); }

/* Unified card grid — text above, image below on desktop */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.cat-card {
  display: flex;
  flex-direction: column;
  color: inherit;
}
.cat-card-txt {
  padding: 1.1rem 1rem;
  border-top: 1px solid var(--L);
  border-bottom: 1px solid var(--L);
  border-right: 1px solid var(--L);
  position: relative;
  transition: background .2s;
}
.cat-card:last-child .cat-card-txt { border-right: none; }
.cat-card:hover .cat-card-txt { background: var(--F); }
.cat-card:hover .cat-cn { color: var(--R); }
.cat-card:hover .cat-arr { opacity: 1; transform: translateX(0); }
.cat-card:hover .cat-card-img img { transform: scale(1.04); }

.cat-card-img { aspect-ratio: 4/5; overflow: hidden; }
.cat-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}

.cat-no { font-size: .55rem; color: var(--G); letter-spacing: .1em; margin-bottom: .3rem; }
.cat-cn {
  font-family: 'Playfair Display', serif;
  font-size: clamp(.85rem, 1.5vw, 1rem);
  font-weight: 700; color: var(--K);
  transition: color .2s; margin-bottom: .15rem;
}
.cat-ct { font-size: .58rem; color: var(--G); }
.cat-arr {
  position: absolute; bottom: 1rem; right: 1rem;
  font-size: .7rem; color: var(--G);
  opacity: 0; transform: translateX(-3px);
  transition: opacity .2s, transform .2s;
}

/* Mobile: horizontal snap scroll, image on top */
@media (max-width: 767px) {
  .cat-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain; /* keeps snap from being overridden by momentum */
    scrollbar-width: none;
    /* -webkit-overflow-scrolling: touch removed — conflicts with scroll-snap on iOS */
  }
  .cat-grid::-webkit-scrollbar { display: none; }
  /* Spacers let card 1 and card 5 reach true center */
  .cat-grid::before,
  .cat-grid::after {
    content: ''; flex-shrink: 0;
    width: 11vw; /* (100vw - 78vw) / 2 */
  }
  .cat-card {
    min-width: 78vw;
    max-width: 78vw;
    flex-shrink: 0;
    scroll-snap-align: center;
    flex-direction: column-reverse;
    border-right: 1px solid var(--L);
  }
  .cat-card:last-child { border-right: none; }
  .cat-card-txt {
    border-top: none;
    border-right: none;
    border-bottom: 1px solid var(--L);
    padding: .85rem 1rem;
  }
  /* 4/3 landscape — room photos are naturally wide; also ~50% shorter than 3/4 */
  .cat-card-img { aspect-ratio: 4 / 3; }
  .cat-arr { opacity: 1; transform: translateX(0); position: static; margin-top: .3rem; font-size: .75rem; }
}

/* ════════════════════════════════════
   PRODUCT CARD
════════════════════════════════════ */
.pcard { position: relative; }
.pcard .thumb {
  aspect-ratio: 3 / 4;
  background: var(--F);
  overflow: hidden; position: relative;
}
.pcard .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.pcard:hover .thumb img { transform: scale(1.04); }
.pcard .thumb::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  height: 2px; width: 0;
  background: var(--Y);
  transition: width .4s ease;
}
.pcard:hover .thumb::after { width: 100%; }

.pbadge {
  position: absolute; top: .6rem; left: .6rem;
  font-size: .56rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .2rem .5rem; line-height: 1.4;
}
.pb-s { background: var(--R); color: var(--W); }
.pb-n { background: var(--K); color: var(--Y); }

.pq {
  position: absolute; top: .6rem; right: .6rem;
  display: flex; flex-direction: column; gap: .3rem;
  opacity: 0; transform: translateX(5px);
  transition: opacity .2s, transform .2s;
}
.pcard:hover .pq { opacity: 1; transform: translateX(0); }
.pqb {
  width: 28px; height: 28px;
  background: var(--W); color: var(--K);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; cursor: pointer;
  box-shadow: 0 1px 6px rgba(0,0,0,.12);
  transition: background .18s, color .18s;
}
.pqb:hover { background: var(--R); color: var(--W); }

.pinfo { padding: .8rem 0 0; }
.p-cat {
  font-size: .56rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--R); margin-bottom: .25rem;
}
.p-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(.85rem, 1.5vw, .95rem);
  font-weight: 700; color: var(--K); line-height: 1.25;
}
.p-row {
  display: flex; align-items: baseline;
  justify-content: space-between; margin-top: .3rem; gap: .4rem;
}
.p-stars { color: var(--Y); font-size: .6rem; flex-shrink: 0; }
.p-price { font-size: .82rem; font-weight: 700; }
.p-old { text-decoration: line-through; color: #bbb; font-size: .7rem; font-weight: 400; margin-right: .2rem; }
.p-disc { color: var(--R); font-size: .62rem; font-weight: 700; }
.p-add {
  display: flex; align-items: center; gap: .4rem;
  margin-top: .5rem;
  font-size: .62rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--G); cursor: pointer;
  opacity: 0; transform: translateY(3px);
  transition: opacity .2s, transform .2s, color .18s;
  background: none; border: none; padding: 0;
}
.pcard:hover .p-add { opacity: 1; transform: translateY(0); }
.p-add:hover { color: var(--R); }
.p-add-ln { flex: 1; height: 1px; background: currentColor; opacity: .2; }

/* ── Product card — mobile ── */
@media (max-width: 767px) {
  /* Square image: 2 cards visible per screen without excessive scroll */
  .pcard .thumb { aspect-ratio: 1 / 1; }

  /* Yellow sweep stays on mobile tap */
  .pcard .thumb::after { transition: none; }
  .pcard:active .thumb::after { width: 100%; }

  /* Wishlist heart: always visible, only heart (eye is redundant on touch) */
  .pq {
    opacity: 1;
    transform: none;
    flex-direction: row;
    top: .5rem; right: .5rem;
  }
  .pq .pqb:last-child { display: none; }
  .pqb { width: 32px; height: 32px; font-size: .8rem; }

  /* Tighter info block */
  .pinfo { padding: .55rem 0 0; }
  .p-cat { font-size: .52rem; margin-bottom: .18rem; }

  /* Clamp name to 2 lines */
  .p-name {
    font-size: .82rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Stack stars above price — prevents long price overflowing */
  .p-row { flex-direction: column; align-items: flex-start !important; gap: .12rem !important;; margin-top: .22rem !important;; }
  .p-price { font-size: .78rem !important; line-height: 1.3; margin-top: .2rem; }
  .p-old  { font-size: .66rem; }
  .p-disc { font-size: .58rem; }

  /* Add to Cart: always visible, full-width tap target */
  .p-add {
    opacity: 1;
    transform: none;
    width: 100%;
    justify-content: center;
    gap: .35rem;
    margin-top: .6rem;
    padding: .55rem .5rem;
    min-height: 40px;
    border: 1px solid var(--L);
    color: var(--K);
    font-size: .58rem;
    letter-spacing: .08em;
    transition: background .15s, border-color .15s, color .15s;
  }
  .p-add:active,
  .p-add:focus { background: var(--K); border-color: var(--K); color: var(--W); }
  .p-add-ln { display: none; }
}

/* ════════════════════════════════════
   BEST SELLERS LAZY LOAD
════════════════════════════════════ */
.bs-item { transition: opacity .4s ease, transform .4s ease; }
.bs-item.bs-hidden { display: none; }
.bs-item.bs-entering { opacity: 0; transform: translateY(12px); }
.bs-footer { margin-top: clamp(28px, 4vw, 40px); }
.bs-track { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.bs-count {
  font-size: .62rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--G); white-space: nowrap; flex-shrink: 0;
}
.bs-bar-wrap { flex: 1; height: 2px; background: var(--L); overflow: hidden; }
.bs-bar { height: 100%; background: var(--R); transition: width .5s ease; }
.bs-spinner { display: flex; justify-content: center; padding: 1rem 0; gap: 0; }
.bs-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--G); margin: 0 3px;
  animation: bsdot 1.1s ease-in-out infinite both;
}
.bs-dot:nth-child(2) { animation-delay: .16s; }
.bs-dot:nth-child(3) { animation-delay: .32s; }
@keyframes bsdot { 0%,80%,100%{transform:scale(.6);opacity:.35} 40%{transform:scale(1);opacity:1} }

/* ════════════════════════════════════
   FILTER PILLS
════════════════════════════════════ */
.fpill {
  font-size: .63rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  padding: .32rem .85rem;
  border: 1px solid var(--L);
  background: var(--W); color: var(--G);
  cursor: pointer; transition: all .18s;
}
.fpill.on, .fpill:hover { background: var(--K); color: var(--W); border-color: var(--K); }

/* ════════════════════════════════════
   SALE — red block
════════════════════════════════════ */
.sale-sec {
  background: var(--R);
  padding: clamp(48px, 8vw, 72px) 0;
  position: relative; overflow: hidden;
}
.sale-sec::before {
  content: '40';
  position: absolute; right: -2rem; top: 50%;
  transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-size: clamp(12rem, 30vw, 26rem);
  font-weight: 900; line-height: 1;
  color: rgba(0,0,0,.07); pointer-events: none;
  letter-spacing: -.06em;
}
.sale-lbl {
  font-size: .6rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: .65rem;
}
.sale-h {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900; color: var(--W);
  line-height: .9; letter-spacing: -.03em;
  margin-bottom: .9rem;
}
.sale-h .y { color: var(--Y); }
.sale-sub {
  font-size: clamp(.78rem, 1.5vw, .88rem);
  color: rgba(255,255,255,.6); max-width: 340px;
  line-height: 1.7; margin-bottom: 1.75rem;
}
.cd-row { display: flex; gap: .45rem; margin-bottom: 1.75rem; }
.cd-box {
  background: rgba(0,0,0,.2);
  padding: .6rem .8rem; min-width: 48px; text-align: center;
}
.cd-n {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 900;
  color: var(--Y); line-height: 1; display: block;
}
.cd-l { font-size: .5rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.sale-strip { margin-top: clamp(32px, 5vw, 48px); }
.sale-mini { background: rgba(0,0,0,.18); overflow: hidden; }
.sale-mini img { width: 100%; aspect-ratio: 1/1; object-fit: cover; opacity: .82; transition: opacity .25s; }
.sale-mini:hover img { opacity: 1; }
.sale-mini-info { padding: .75rem .9rem .9rem; }
.sale-mini-name {
  font-family: 'Playfair Display', serif;
  font-size: .82rem; font-weight: 700;
  color: var(--W); margin-bottom: .2rem;
}
.sale-mini-p { font-size: .7rem; color: rgba(255,255,255,.55); }
.sale-mini-p strong { color: var(--Y); font-weight: 700; }

/* ════════════════════════════════════
   WHY — dark 6-col
════════════════════════════════════ */
.why-sec { background: #0c0c0c; padding: clamp(40px, 6vw, 56px) 0; }
.why-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.why-cell {
  padding: 1.35rem 1.1rem;
  border-right: 1px solid rgba(255,255,255,.07);
}
.why-cell:last-child { border-right: none; }
@media (max-width: 767px) {
  /* Single horizontal row, 2 cells visible per snap stop */
  .why-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .why-grid::-webkit-scrollbar { display: none; }
  .why-cell {
    min-width: 50vw;
    max-width: 50vw;
    flex-shrink: 0;
    padding: 1rem .85rem;
    border-right: 1px solid rgba(255,255,255,.07);
    border-bottom: none;
  }
  /* Snap on 1st cell of each pair → [01+02] [03+04] [05+06] */
  .why-cell:nth-child(odd) { scroll-snap-align: start; }
}
.why-n {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 900;
  color: var(--R); line-height: 1; margin-bottom: .45rem;
}
.why-rule { width: 16px; height: 1.5px; background: rgba(255,255,255,.14); margin-bottom: .45rem; }
.why-t { font-size: .68rem; font-weight: 600; color: var(--W); margin-bottom: .25rem; }
.why-d { font-size: .6rem; line-height: 1.5; color: rgba(255,255,255,.32); }

/* ════════════════════════════════════
   NEWSLETTER
════════════════════════════════════ */
.nl-sec { background: var(--K); padding: clamp(20px, 2vw, 4px) 0; }
.nl-h {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700; color: var(--W);
}
.nl-h em { font-style: normal; color: var(--Y); }
.nl-row { display: flex; }
.nl-inp {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--W); padding: .68rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem; outline: none;
  transition: border-color .2s;
}
.nl-inp::placeholder { color: rgba(255,255,255,.32); }
.nl-inp:focus { border-color: var(--Y); }
.nl-sub {
  background: var(--Y); color: var(--K); border: none;
  padding: .68rem 1.3rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: background .2s;
}
.nl-sub:hover { background: #d9a500; }

/* Newsletter — mobile accordion */
.nl-acc .accordion-item { background: transparent; border: none; }
.nl-acc-btn {
  background: transparent;
  color: var(--W);
  padding: 0;              /* no side padding — arrow is in-flow, not absolute */
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  border: none;
  text-align: center;
}
/* Pulse: heading breathes 2× on load, stops when user taps (collapsed removed) */
@keyframes nl-pulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(1.03); opacity: .78; }
}
.nl-acc-btn.collapsed .nl-h {
  animation: nl-pulse 1.9s ease-in-out 1.2s 2 both;
}

.nl-acc-lbl {
  font-size: .56rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.38);
  margin-bottom: .3rem;
}
.nl-acc-body { padding: 1rem 0 0; }
.nl-acc-sub {
  font-size: .7rem; color: rgba(255,255,255,.36);
  margin-bottom: .85rem;
}
.nl-acc-body .nl-row { flex-direction: column; gap: .45rem; }
.nl-acc-body .nl-inp  { text-align: center; }
.nl-acc-body .nl-sub  { width: 100%; }

.nl-acc .accordion-button::after {
  display: none;
}

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.ftr {
  background: #0a0a0a;
  padding: clamp(44px, 7vw, 60px) 0 24px;
  position: relative; overflow: hidden;
}
.ftr-ghost {
  position: absolute;
  bottom: -1.5rem; left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-size: clamp(5rem, 20vw, 22rem);
  font-weight: 900; letter-spacing: -.05em;
  color: rgba(255,255,255,.024);
  white-space: nowrap; pointer-events: none;
  line-height: 1;
}
.ftr-inner { position: relative; z-index: 1; }
/* ── Brand column ── */
.ftr-brand-col {
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding-bottom: 2rem;
}
@media (min-width: 992px) {
  .ftr-brand-col {
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,.06);
    padding-bottom: 0;
    padding-right: 2rem;
  }
}
@media (max-width: 991px) {
  .ftr-brand-col { text-align: center; }
  .ftr-brand-rule { margin-left: auto; margin-right: auto; }
  .ftr-soc-row  { justify-content: center; }
  .ftr-pay-row  { justify-content: center; }
  .ftr-brand-loc { justify-content: center; }
}

.ftr-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 900;
  color: var(--W); letter-spacing: -.02em;
}
.ftr-logo .dot { color: var(--R); }
.ftr-tag { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.25); margin-top: .2rem; }

.ftr-brand-rule {
  width: 24px; height: 2px;
  background: var(--R);
  margin: .95rem 0;
}
.ftr-brand-desc {
  font-size: .72rem;
  color: rgba(255,255,255,.28);
  line-height: 1.78;
  margin-bottom: .7rem;
}
.ftr-brand-loc {
  display: flex; align-items: center; gap: .3rem;
  font-size: .58rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.2);
  margin-bottom: 1.1rem;
}
.ftr-soc-row {
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin-bottom: 1rem;
}
.ftr-pay-row { display: flex; flex-wrap: wrap; gap: .3rem; }

.ftr-head { font-size: .56rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: .8rem; }
.ftr-a { display: block; font-size: .75rem; color: rgba(255,255,255,.38); margin-bottom: .35rem; transition: color .2s; }
.ftr-a:hover { color: var(--Y); }
.ftr-div { border-color: rgba(255,255,255,.07); margin: 2rem 0 1rem; }
.ftr-copy { font-size: .65rem; color: rgba(255,255,255,.2); }
.soc {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.38); font-size: .82rem;
  transition: background .2s, color .2s;
}
.soc:hover { background: var(--R); color: var(--W); }
.pay {
  background: rgba(255,255,255,.05);
  padding: .14rem .38rem;
  font-size: .56rem; letter-spacing: .04em;
  color: rgba(255,255,255,.26);
}

/* ════════════════════════════════════
   FIXED FLOATS
════════════════════════════════════ */
#wa {
  position: fixed; bottom: 18px; right: 18px; z-index: 999;
  width: 42px; height: 42px; border-radius: 50%;
  background: #25d366; display: flex;
  align-items: center; justify-content: center;
  color: var(--W); font-size: 1.2rem;
  box-shadow: 0 3px 14px rgba(37,211,102,.4);
}
#btt {
  position: fixed; bottom: 68px; right: 18px; z-index: 999;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--K); color: var(--W);
  border: none; font-size: .8rem; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

/* ════════════════════════════════════
   DROPDOWN OVERRIDE
════════════════════════════════════ */
.dropdown-menu { border-radius: 0; border: 1px solid var(--L); }
.dropdown-item { font-size: .8rem; padding: .4rem .75rem; }
.dropdown-item:hover { background: var(--F); color: var(--R); }

/* ════════════════════════════════════
   SALE — snap scroll strip (mobile)
════════════════════════════════════ */
.sale-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
}
@media (max-width: 991px) {
  /* Break out of Bootstrap container so the track is full viewport width */
  .sale-strip {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
  }
  .sale-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    gap: .5rem;
  }
  .sale-scroll::-webkit-scrollbar { display: none; }
  /* Spacers let first and last card reach true center */
  .sale-scroll::before,
  .sale-scroll::after {
    content: ''; flex-shrink: 0;
    width: 16vw; /* (100vw - 68vw) / 2 */
  }
  .sale-scroll .sale-mini {
    min-width: 68vw;
    max-width: 68vw;
    flex-shrink: 0;
    scroll-snap-align: center;
  }
}

/* ════════════════════════════════════
   SALE — left column mobile compact
════════════════════════════════════ */
@media (max-width: 767px) {
  .sale-sec { padding: 1.75rem 0; }
  .sale-sec::before { display: none; } /* replaced by heading watermark */

  /* Column: centered, stacking context for watermark */
  .sale-sec .col-lg-5 {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .55rem;
  }

  /* Heading: large ghost watermark — centered, pinned to bottom */
  .sale-h {
    position: absolute;
    bottom: -.4rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    text-align: center;
    font-size: clamp(3.8rem, 20vw, 6rem);
    line-height: .86;
    color: rgba(0,0,0,.07);
    pointer-events: none;
    z-index: 0;
    margin: 0;
  }
  .sale-h .y { color: rgba(0,0,0,.07); }

  /* Functional content above the watermark */
  .sale-lbl,
  .cd-row { position: relative; z-index: 1; }

  .sale-lbl { margin-bottom: 0; }
  .sale-sub { display: none; }

  /* Compact centered countdown */
  .cd-row { gap: .28rem; margin-bottom: 0; justify-content: center; }
  .cd-box { padding: .38rem .5rem; min-width: 46px; }
  .cd-n   { font-size: 1rem; }
  .cd-l   { font-size: .42rem; }

  .sale-strip { margin-top: 1.25rem; }

  /* Full-width CTA below the product grid */
  .sale-mob-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ════════════════════════════════════
   FILTER PILLS — horizontal scroll (mobile)
════════════════════════════════════ */
.pill-scroll {
  display: flex;
  gap: .45rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .2rem;
}
.pill-scroll::-webkit-scrollbar { display: none; }
.pill-scroll .fpill { flex-shrink: 0; }

/* ════════════════════════════════════
   FOOTER — accordion (mobile)
════════════════════════════════════ */
.ftr-acc .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ftr-acc .accordion-item:last-child { border-bottom: none; }
.ftr-acc .accordion-button {
  background: transparent;
  color: rgba(255,255,255,.45);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .9rem 0;
  box-shadow: none;
}
.ftr-acc .accordion-button:not(.collapsed) {
  color: var(--Y);
  background: transparent;
  box-shadow: none;
}
.ftr-acc .accordion-button::after {
  filter: invert(1);
  opacity: .35;
  background-size: .7rem;
}
.ftr-acc .accordion-button:not(.collapsed)::after {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(0deg);
  opacity: .8;
}
.ftr-acc .accordion-body {
  padding: .25rem 0 1rem;
}
.ftr-acc .ftr-a { font-size: .8rem; }

/* ════════════════════════════════════
   HERO — mobile overrides
════════════════════════════════════ */
@media (max-width: 767px) {
  /* 72vh: marquee peeks into viewport, creating natural scroll curiosity */
  .hero { height: 72vh; min-height: 360px; }

  .hero-content { padding: 1.25rem; }
  .hero-eye { margin-bottom: .6rem; }
  .hero-h { font-size: clamp(2rem, 9.5vw, 2.8rem); margin-bottom: .85rem; }
  .hero-btns .btn-r,
  .hero-btns .btn-ghost-w { font-size: .66rem; padding: .6rem 1.1rem; }

  /* Controls: tighter position on mobile */
  .hero-c-nav   { top: .9rem; left: 1.25rem; gap: .4rem; }
  .hero-c-btn   { width: 28px; height: 28px; font-size: .72rem; }
  .hero-c-count { font-size: .56rem; min-width: 2.8rem; }
  /* Scroll cue hidden — 72vh peek handles this */
  .hero-scroll  { display: none; }
}

/* ────────────────────────────────────────────
   MEGA MENU
──────────────────────────────────────────── */
.mega-li { position: static !important; }

.mega-menu {
  position: fixed !important;
  left: 0 !important; right: 0 !important;
  top: auto !important;
  width: 100% !important;
  border-top: 2px solid var(--R) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  border-radius: 0 !important;
}

.mega-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.75rem 1rem;
  gap: 1.5rem;
}

.mega-col { display: flex; flex-direction: column; gap: .75rem; }

.mega-cat-img {
  display: block; position: relative;
  overflow: hidden; aspect-ratio: 16/9;
  background: var(--F);
}
.mega-cat-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.mega-cat-img:hover img { transform: scale(1.05); }
.mega-cat-img span {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: .4rem .6rem;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  font-family: 'Playfair Display', serif;
  font-size: .78rem; font-weight: 700;
  color: var(--W);
}

.mega-links { display: flex; flex-direction: column; gap: .1rem; }
.mega-links a {
  font-size: .68rem; color: var(--G);
  padding: .2rem 0;
  letter-spacing: .03em;
  transition: color .15s, padding-left .15s;
}
.mega-links a:hover { color: var(--R); padding-left: .3rem; }

.mega-all {
  margin-top: .4rem;
  font-size: .62rem !important; font-weight: 700 !important;
  letter-spacing: .08em !important; text-transform: uppercase;
  color: var(--K) !important;
}
.mega-all:hover { color: var(--R) !important; padding-left: 0 !important; }
/* ═══════════════════════════════════════════════
   SHOP.CSS — shop.html specific styles
   Odoo 19 website_sale theme prototype · Mobelivin
   Depends on: style.css (tokens & globals)
═══════════════════════════════════════════════ */

/* ────────────────────────────────────────────
   BREADCRUMB STRIP
   Odoo: website_sale.shop_breadcrumb
──────────────────────────────────────────── */
.bc-strip {
  background: var(--F);
  border-bottom: 1px solid var(--L);
  padding: .65rem 0;
}
.bc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.bc-list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .15rem;
  margin: 0; padding: 0;
}
.bc-count {
  font-size: .62rem;
  color: var(--G);
  letter-spacing: .06em;
  white-space: nowrap;
}

/* ────────────────────────────────────────────
   SHOP LAYOUT
──────────────────────────────────────────── */
.shop-sec { padding: 2rem 0 4rem; }

.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 992px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none !important; }
}

.shop-main { min-width: 0; }

:where(#o_wsale_container) #products_grid { overflow: unset; }

/* ────────────────────────────────────────────
   SIDEBAR
──────────────────────────────────────────── */
.shop-sidebar {
  position: sticky;
  top: calc(57px + 1rem) !important;
  max-height: calc(100vh - 80px);
  display: flex; flex-direction: column;
  overflow: hidden;
  scrollbar-width: none;
}
.shop-sidebar::-webkit-scrollbar { display: none; }

.sf-scroll {
  flex: 1; overflow-y: auto;
  scrollbar-width: none;
  padding-bottom: .5rem;
}
.sf-scroll::-webkit-scrollbar { display: none; }

.sf-actions {
  flex-shrink: 0;
  padding: .75rem 0 .5rem;
  border-top: 1px solid var(--L);
  background: var(--W);
}

/* Sidebar head */
.sf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 0;
  border-bottom: 1px solid var(--L);
  min-height: 52px;
}
.sf-title {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--K);
}
.sf-clear {
  background: none; border: none; cursor: pointer;
  font-size: .6rem; color: var(--G);
  letter-spacing: .06em; text-transform: uppercase;
  padding: 0; transition: color .2s;
}
.sf-clear:hover { color: var(--R); }

/* Sidebar sections */
.sf-section { border-bottom: 1px solid var(--L); }
.sf-sec-btn {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 0;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--K); transition: color .2s;
}
.sf-sec-btn:hover { color: var(--R); }
.sf-chev {
  font-size: .6rem; color: var(--G);
  transition: transform .22s;
}
.sf-section:not(.open) .sf-chev { transform: rotate(-180deg); }

.sf-body {
  max-height: 400px;
  transition: max-height .28s ease, opacity .22s;
  opacity: 1;
}
.sf-section:not(.open) .sf-body {
  max-height: 0;
  opacity: 0;
}

/* Category list */
.sf-cat-list {
  list-style: none; margin: 0; padding: 0 0 .75rem;
}
.sf-cat-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: .38rem .5rem .38rem 0;
  cursor: pointer;
  font-size: .72rem; color: var(--G);
  border-radius: 3px;
  transition: color .2s, background .2s;
}
.sf-cat-item:hover { color: var(--K); }
.sf-cat-item.active { color: var(--K); font-weight: 600; }
.sf-cat-item.active .sf-cat-name { color: var(--R); }
.sf-cat-cnt {
  font-size: .6rem; color: var(--G);
  background: var(--F); border-radius: 99px;
  padding: .1rem .45rem;
}

/* Checkbox list */
.sf-check-list {
  list-style: none; margin: 0; padding: 0 0 .75rem;
}
.sf-check {
  display: flex; align-items: center; gap: .55rem;
  font-size: .72rem; color: var(--K);
  cursor: pointer; padding: .3rem 0;
  user-select: none;
}
.sf-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.sf-check-box {
  width: 14px; height: 14px; flex-shrink: 0;
  border: 1.5px solid var(--L); border-radius: 2px;
  background: var(--W);
  transition: background .18s, border-color .18s;
  position: relative;
}
.sf-check input:checked ~ .sf-check-box {
  background: var(--K); border-color: var(--K);
}
.sf-check input:checked ~ .sf-check-box::after {
  content: '';
  position: absolute; top: 1px; left: 4px;
  width: 4px; height: 7px;
  border: 2px solid var(--W);
  border-top: none; border-left: none;
  transform: rotate(45deg);
}
.sf-check:hover .sf-check-box { border-color: var(--K); }

/* Color swatches */
.sf-swatches {
  display: flex; flex-wrap: wrap; gap: .5rem;
  padding-bottom: .85rem;
}
.sf-swatch {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, outline .15s;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.sf-swatch:hover { transform: scale(1.15); }
.sf-swatch.active { outline-color: var(--K); }

/* Rating list */
.sf-rating-list {
  list-style: none; margin: 0; padding: 0 0 .75rem;
}
.sf-rating-row {
  display: flex; align-items: center; gap: .5rem;
  background: none; border: none; cursor: pointer;
  padding: .3rem 0; width: 100%;
  transition: color .2s;
}
.sf-rating-row.active .sf-stars { opacity: 1; }
.sf-stars {
  display: flex; gap: 1px; opacity: .5;
  transition: opacity .2s;
}
.sf-stars i { font-size: .6rem; color: var(--Y); }
.sf-rating-row:hover .sf-stars,
.sf-rating-row.active .sf-stars { opacity: 1; }
.sf-rating-cnt { font-size: .65rem; color: var(--G); }
.sf-rating-row.active .sf-rating-cnt { color: var(--K); font-weight: 600; }

/* Price range */
.sf-price-display {
  display: flex; align-items: center; gap: .5rem;
  font-size: .7rem; font-weight: 600; color: var(--K);
  margin-bottom: .75rem;
}
.sf-price-sep { color: var(--G); }
.sf-range-wrap {
  position: relative;
  height: 18px; margin-bottom: .75rem;
}
.sf-range-track {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  left: 0; right: 0; height: 2px;
  background: var(--L); border-radius: 1px;
}
.sf-range-fill {
  position: absolute;
  left: 2%; right: 0;
  height: 100%; background: var(--K); border-radius: 1px;
}
.sf-range {
  position: absolute;
  width: 100%; top: 50%;
  transform: translateY(-50%);
  appearance: none; background: transparent;
  pointer-events: none;
}
.sf-range::-webkit-slider-thumb {
  appearance: none; pointer-events: all;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--K); cursor: pointer;
  border: 2px solid var(--W);
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.sf-range::-moz-range-thumb {
  pointer-events: all;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--K); cursor: pointer;
  border: 2px solid var(--W);
}
.sf-price-inputs {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: .75rem;
}
.sf-pinp-wrap { flex: 1; }
.sf-pinp-lbl {
  display: block;
  font-size: .55rem; letter-spacing: .07em;
  text-transform: uppercase; color: var(--G);
  margin-bottom: .2rem;
}
.sf-pinp {
  width: 100%; border: 1px solid var(--L);
  padding: .35rem .5rem; font-size: .68rem;
  font-family: inherit; color: var(--K);
  background: var(--W);
  outline: none;
  transition: border-color .18s;
}
.sf-pinp:focus { border-color: var(--K); }
.sf-pinp-sep {
  width: 16px; height: 1.5px; background: var(--L); flex-shrink: 0;
}

/* Apply button */
.sf-apply {
  width: 100%;
  justify-content: center;
  font-size: .65rem;
  padding: .72rem 1rem;
}

/* ────────────────────────────────────────────
   SIDEBAR: ODOO ELEMENT OVERRIDES
   Map Odoo's rendered classes → sf-* visual
──────────────────────────────────────────── */

/* Hide the "Categories" <h6> rendered by products_categories_list
   (our sf-sec-btn already labels the section) */
.shop-sidebar .o_categories_collapse_title { display: none !important; }

/* ── Category list items ──────────────────── */
.shop-sidebar .wsale_products_categories_list .nav {
  display: block !important;
  padding: 0 0 .5rem; margin: 0;
}
.shop-sidebar .wsale_products_categories_list .nav-item { margin: 0 !important; }
.shop-sidebar .wsale_products_categories_list .nav-item a {
  display: block;
  padding: .38rem .5rem .38rem 0 !important;
  font-size: .72rem; color: var(--G) !important;
  text-decoration: none !important;
  transition: color .2s;
  line-height: 1.3;
}
.shop-sidebar .wsale_products_categories_list .nav-item a:hover { color: var(--K) !important; }
/* Active/current category — Odoo adds text-decoration-underline on the matching link */
.shop-sidebar .wsale_products_categories_list .nav-item a.text-decoration-underline {
  color: var(--R) !important; font-weight: 600; text-decoration: none !important;
}
/* Nested sub-categories */
.shop-sidebar .wsale_products_categories_list .nav-item .nav-item a {
  padding-left: .85rem;
}

/* ── Attribute accordion container ────────── */
.shop-sidebar .products_attributes_filters #wsale_products_attributes_collapse {
  position: static !important;
}
.shop-sidebar .js_attributes {
  margin: 0 !important; padding: 0;
  position: static !important;
  border: none !important;
}
/* Each attribute = sf-section appearance */
.shop-sidebar .js_attributes .accordion-item {
  border: none !important;
  border-radius: 0 !important;
  border-bottom: 1px solid var(--L) !important;
  margin: 0 !important;
  background: transparent !important;
}
/* Attribute header button = sf-sec-btn appearance */
.shop-sidebar .js_attributes .accordion-header { margin: 0 !important; }
.shop-sidebar .js_attributes .accordion-button {
  padding: .85rem 0 !important;
  font-size: .68rem !important; font-weight: 600 !important;
  letter-spacing: .07em !important; text-transform: uppercase !important;
  color: var(--K) !important;
  background: transparent !important;
  box-shadow: none !important;
}
/* Inherit Bootstrap's chevron but match sf-chev color and size */
.shop-sidebar .js_attributes .accordion-button::after {
  width: .65rem; height: .65rem;
  background-size: .65rem;
  opacity: .5;
}
/* Attribute values area — remove Bootstrap accordion inner padding */
.shop-sidebar .js_attributes .accordion-collapse { border: none !important; }
.shop-sidebar .js_attributes .accordion-collapse > div { padding: 0 !important; }

/* ── Checkboxes (radio / multi attribute type) ── */
.shop-sidebar .form-check {
  display: flex; align-items: center; gap: .55rem;
  padding: .3rem 0; margin-bottom: 0 !important;
}
.shop-sidebar .form-check-input[type="checkbox"] {
  flex-shrink: 0;
  width: 14px !important; height: 14px !important;
  margin: 0 !important;
  border: 1.5px solid var(--L) !important;
  border-radius: 2px !important;
  background-color: var(--W) !important;
  cursor: pointer !important;
  box-shadow: none !important;
  appearance: none; -webkit-appearance: none;
  transition: background .18s, border-color .18s;
  background-image: none !important;
}
.shop-sidebar .form-check-input[type="checkbox"]:checked {
  background-color: var(--K) !important;
  border-color: var(--K) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
  background-size: 70% !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}
.shop-sidebar .form-check-input[type="checkbox"]:hover { border-color: var(--K) !important; }
.shop-sidebar .form-check-label {
  font-size: .72rem; color: var(--K);
  cursor: pointer; margin: 0; font-weight: 400 !important;
}

/* ── Color swatches (.css_attribute_color) ── */
.shop-sidebar .css_attribute_color {
  width: 22px !important; height: 22px !important;
  border-radius: 50% !important;
  border: 2px solid transparent !important;
  outline: 2px solid transparent !important;
  outline-offset: 2px;
  cursor: pointer !important;
  transition: transform .15s, outline .15s;
  display: inline-block !important;
  overflow: hidden;
  position: relative;
}
.shop-sidebar .css_attribute_color:hover { transform: scale(1.15); }
.shop-sidebar .css_attribute_color.active { outline-color: var(--K) !important; }
/* Hide native checkbox inside swatch label */
.shop-sidebar .css_attribute_color input {
  position: absolute !important; opacity: 0 !important;
  width: 0 !important; height: 0 !important; pointer-events: none;
}

/* ── Price range filter ─────────────────────── */
/* Hide Odoo's repeated "Price Range" label (our sf-sec-btn already labels it) */
.shop-sidebar #o_wsale_price_range_option > label { display: none !important; }
.shop-sidebar #o_wsale_price_range_option { padding-bottom: .5rem; }
/* Style Odoo's range-with-input */
.shop-sidebar .form-range.range-with-input {
  width: 100%; accent-color: var(--K);
  margin-bottom: .5rem;
}

/* ── Sort dropdown (Odoo's o_sortby_dropdown) ─ */
.shop-topbar .o_sortby_dropdown .dropdown-toggle {
  font-size: .65rem; color: var(--K);
  border: 1px solid var(--L); padding: .42rem .75rem;
  background: var(--W);
}
.shop-topbar .o_sortby_dropdown .dropdown-toggle::after { margin-left: .4rem; }
.shop-topbar .o_sortby_dropdown .dropdown-menu {
  font-size: .72rem; min-width: 160px;
  border: 1px solid var(--L); border-radius: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.shop-topbar .o_sortby_dropdown .dropdown-item { padding: .5rem .9rem; }
.shop-topbar .o_sortby_dropdown .dropdown-item.active {
  background: var(--F); color: var(--K); font-weight: 600;
}

/* ────────────────────────────────────────────
   SHOP TOPBAR (sort + view-toggle)
──────────────────────────────────────────── */
.shop-topbar {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--L) !important;
  margin-top: -1rem;
  margin-bottom: 0 !important;
  flex-wrap: nowrap;
  overflow: hidden;
  min-height: 52px;
  position: sticky;
  top: 57px;
  background: var(--W);
  z-index: 10;
}

@media (max-width: 992px) {
  .shop-topbar { margin-bottom: 0; padding-bottom: .6rem !important; }
  .shop-topbar .filter-chips { display: none; }
  .chips-row {
    display: flex;
    padding-top: .85rem;
    overflow-x: auto; scrollbar-width: none;
    scroll-snap-type: x mandatory;
    gap: .4rem;
    padding-bottom: .85rem;
    border-top: none;
    border-bottom: 1px solid var(--L);
    margin-bottom: 1.5rem;
    max-width: 100%;
    min-width: 0;
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
  }
  .chips-row::-webkit-scrollbar { display: none; }
  .chips-row .fc-chip { flex-shrink: 0; scroll-snap-align: start; }
}
@media (min-width: 992px) {
  .chips-row { display: none; } /* desktop uses inline chips */
  .shop-topbar { margin-bottom: 1.5rem; padding-bottom: 1.2rem !important }
}

/* Mobile filter button */
.shop-filter-btn {
  display: flex; align-items: center; gap: .4rem;
  background: var(--F); border: 1px solid var(--L);
  padding: .42rem .85rem; cursor: pointer;
  font-size: .65rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--K); transition: background .18s;
  position: relative;
}
.shop-filter-btn:hover { background: var(--L); }
.shop-filter-badge {
  position: absolute; top: -5px; right: -5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--R); color: var(--W);
  font-size: .55rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.shop-filter-badge:empty { display: none; }

/* Filter chips */
.filter-chips {
  display: flex; align-items: center;
  flex-wrap: nowrap; gap: .4rem;
  overflow-x: auto; scrollbar-width: none;
  min-width: 0; flex: 1;
  -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
  mask-image: linear-gradient(to right, black 80%, transparent 100%);
}
.filter-chips::-webkit-scrollbar { display: none; }
.fc-chip { flex-shrink: 0; }
.fc-chip {
  display: inline-flex; align-items: center; gap: .3rem;
  background: var(--F); border: 1px solid var(--L);
  padding: .28rem .6rem;
  font-size: .62rem; color: var(--K);
}
.fc-rm {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 0; color: var(--G); font-size: .7rem;
  line-height: 1; transition: color .15s;
}
.fc-rm:hover { color: var(--R); }

/* Right side: sort + view toggle */
.shop-topbar-r {
  display: flex; align-items: center; gap: .75rem;
  margin-left: auto; flex-shrink: 0;
}
.shop-sort-wrap { position: relative; display: flex; align-items: center; }
.shop-sort {
  appearance: none;
  border: 1px solid var(--L); background: var(--W);
  padding: .42rem 1.8rem .42rem .75rem;
  font-size: .65rem; font-family: inherit;
  color: var(--K); cursor: pointer;
  outline: none; transition: border-color .18s;
}
.shop-sort:focus { border-color: var(--K); }
.shop-sort-chev {
  position: absolute; right: .55rem;
  font-size: .55rem; color: var(--G);
  pointer-events: none;
}

/* View toggle */
.view-toggle { display: flex; gap: 2px; }
.vtb {
  width: 32px; height: 32px;
  border: 1px solid var(--L); background: var(--W);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .82rem; color: var(--G);
  transition: background .15s, color .15s, border-color .15s;
}
.vtb:hover { border-color: var(--K); color: var(--K); }
.vtb.active { background: var(--K); color: var(--W); border-color: var(--K); }

/* ────────────────────────────────────────────
   PRODUCT CARD  (.pcard)
   Odoo: website_sale.products_item
──────────────────────────────────────────── */
#productGrid > [class*="col"] { display: flex; }
#productGrid {
    margin-top: 0rem;
}

.pcard {
  background: var(--W);
  border: 1px solid var(--L);
  display: flex; flex-direction: column;
  width: 100%;
  transition: box-shadow .25s, transform .25s;
}
.pcard:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.09);
  transform: translateY(-2px);
}
.pcard[data-href] { cursor: pointer; }

/* Thumbnail */
.thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--F);
}
.thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.pcard:hover .thumb img { transform: scale(1.05); }

/* Quick-action overlay */
.pq {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: center; gap: .4rem;
  padding: .6rem;
  background: linear-gradient(transparent, rgba(0,0,0,.22));
  opacity: 0; transform: translateY(6px);
  transition: opacity .22s, transform .22s;
}
.pcard:hover .pq { opacity: 1; transform: translateY(0); }
.pqb {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; color: var(--K);
  transition: background .15s, color .15s;
}
/* On touch/mobile: wishlist always visible bottom-left, hide quick-view */
@media (hover: none), (max-width: 767px) {
  .pq {
    top: unset; bottom: .5rem; left: .5rem;
    right: unset; width: auto;
    background: none; padding: 0;
    opacity: 1; transform: none;
    flex-direction: column;
  }
  .pqb:last-child { display: none; }
}

/* Ribbon / badge */
.pbadge {
  position: absolute; top: .6rem; left: .6rem;
  font-size: .52rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .2rem .55rem; z-index: 2;
}
.pb-n { background: var(--K); color: var(--W); }

/* Product info */
.pinfo {
  padding: .85rem .85rem .85rem;
  display: flex; flex-direction: column; flex: 1;
}
.p-cat {
  font-size: .58rem; color: var(--G);
  letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: .25rem;
}
.p-name {
  font-family: 'Playfair Display', serif;
  font-size: .92rem; font-weight: 700;
  line-height: 1.2; color: var(--K);
  margin-bottom: .3rem;
}
.p-row {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: .5rem; margin-bottom: .65rem;
  flex-wrap: wrap;
}
.p-stars { display: flex; gap: 1px; }
.p-stars i { font-size: .55rem; color: var(--Y); }
.p-price {
  font-size: .8rem; font-weight: 700; color: var(--K);
}
.p-old {
  font-size: .62rem; font-weight: 400;
  color: var(--G); text-decoration: line-through;
  margin-right: .15rem;
}
.p-disc {
  font-size: .55rem; background: var(--R); color: var(--W);
  padding: .1rem .3rem; font-weight: 700;
  vertical-align: middle;
}

/* Add to cart button */
.p-add {
  width: 100%; background: var(--F);
  border: 1px solid var(--L);
  padding: .55rem .75rem;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--K); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .2s, border-color .2s, color .2s;
  position: relative; overflow: hidden;
  margin-top: auto;
}
.p-add:hover { background: var(--K); border-color: var(--K); color: var(--W); }
.p-add-ln {
  flex: 1; height: 1px; background: currentColor;
  margin: 0 .5rem; opacity: .2;
}

/* ────────────────────────────────────────────
   LIST VIEW  (#productGrid.view-list)
──────────────────────────────────────────── */
#productGrid.view-list { display: flex !important; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) {
  #productGrid.view-list { gap: 1.5rem; }
}
#productGrid.view-list > [class*="col"] {
  width: 100% !important; max-width: 100% !important; flex: none !important;
}
#productGrid.view-list .pcard {
  flex-direction: row;
}
#productGrid.view-list .pcard:hover { transform: translateY(-2px); }
#productGrid.view-list .thumb {
  width: 220px; flex-shrink: 0;
  aspect-ratio: unset; height: auto;
}
#productGrid.view-list .pinfo {
  padding: 1rem 1.25rem;
  display: flex; flex-direction: column;
}
#productGrid.view-list .p-row {
  margin-top: auto;
}
#productGrid.view-list .p-add {
  margin-top: .65rem;
}
@media (max-width: 575px) {
  #productGrid.view-list .thumb { width: 120px; }
}

/* ────────────────────────────────────────────
   PAGINATION
   Odoo: website.pager
──────────────────────────────────────────── */
.shop-layout .multirange-wrapper.position-relative.mb-5.visible {
    margin-bottom: 0 !important
}

.shop-pager {
  display: flex; align-items: center; justify-content: flex-end;
  gap: .35rem; margin-top: 2.5rem; flex-wrap: wrap;
}
.pg-btn {
  min-width: 34px; height: 34px; padding: 0 .5rem;
  border: 1px solid var(--L); background: var(--W);
  font-size: .68rem; font-weight: 600;
  color: var(--G); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s, color .15s;
}
.pg-btn:hover:not(:disabled) { border-color: var(--K); color: var(--K); }
.pg-btn.active { background: var(--K); border-color: var(--K); color: var(--W); }
.pg-btn:disabled { opacity: .35; cursor: default; }
.pg-nav { background: var(--F); }
.pg-ellipsis { font-size: .8rem; color: var(--G); padding: 0 .15rem; }

/* ────────────────────────────────────────────
   MOBILE FILTER OFFCANVAS  (#filterCanvas)
──────────────────────────────────────────── */
.fc-oc-head {
  background: var(--K); padding: .85rem 1.1rem;
}
.fc-oc-title {
  font-size: .65rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--W);
}
.fc-oc-body { background: var(--W); }
.fc-oc-section { border-bottom: 1px solid var(--L); padding: 0 1.1rem; }
.fc-oc-section .sf-sec-btn { padding: .8rem 0; }
.fc-oc-section .sf-body { padding-bottom: .25rem; }
.fc-oc-foot {
  padding: .9rem 1.1rem;
  border-top: 1px solid var(--L);
  background: var(--W);
}
.fc-oc-apply { width: 100%; justify-content: center; font-size: .65rem; }

/* ────────────────────────────────────────────
   SLIM FOOTER (shop & inner pages)
──────────────────────────────────────────── */
.ftr-slim {
  border-top: 1px solid var(--L);
  padding: 1.25rem 0;
  margin-top: 3rem;
}
.ftr-slim-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
}
.ftr-slim-links {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
}
.ftr-slim-links a {
  font-size: .62rem; color: var(--G);
  letter-spacing: .06em; text-transform: uppercase;
  transition: color .18s;
}
.ftr-slim-links a:hover { color: var(--K); }
.ftr-copy { font-size: .62rem; color: var(--G); }
/* ════════════════════════════════════════════════
   CONTACT.CSS — contact.html
   Mobelivin / Odoo 19 website prototype
   --R #C41230  --K #111  --W #fff  --F #f5f3f0  --G #888  --L #e4e0db
════════════════════════════════════════════════ */

.bc-item a, .bc-item {
  font-size: .65rem;
  letter-spacing: .06em;
  color: var(--G);
  text-transform: uppercase;
}
.bc-item a:hover { color: var(--R); text-decoration: none; }
.bc-item.bc-cur  { color: var(--K); font-weight: 600; }
.bc-sep          { color: var(--L); display: flex; align-items: center; font-size: .6rem; }

/* ── EDITORIAL PAGE HEADER (matches cart.css / portal.css) ── */
.ck-editorial-head {
  border-bottom: 1px solid var(--L);
  padding: 2.5rem 0 2rem;
}
.ck-ed-inner {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 2rem;
  flex-wrap: wrap;
}
.ck-ed-left { min-width: 0; }
.ck-ed-eyebrow {
  display: flex; align-items: center; gap: .65rem;
  font-size: .6rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--G); margin-bottom: .75rem;
}
.ck-ed-line {
  display: inline-block;
  width: 22px; height: 1.5px; background: var(--G);
}
.ck-ed-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; line-height: .92;
  letter-spacing: -.03em; color: var(--K);
  margin: 0;
}
.ck-ed-title em  { font-style: italic; font-weight: 400; }
.ck-ed-right     { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; flex-shrink: 0; }
.ck-ed-count     { font-size: .62rem; color: var(--G); letter-spacing: .06em; text-transform: uppercase; }
.ck-ed-total     { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--K); }


/* ════════════════════════════════════════════════
   CONTACT SECTION
════════════════════════════════════════════════ */
.ctc-sec { padding: 3rem 0 5rem; }

.ctc-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}


/* ── Form card ───────────────────────────────── */
.ctc-form-card {
  background: var(--W);
  border: 1px solid var(--L);
  border-radius: 2px;
  padding: 2rem 2rem 2.25rem;
}

.ctc-form-head {
  margin-bottom: 1.75rem;
}
.ctc-form-head-eyebrow {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--G);
  margin-bottom: .4rem;
}
.ctc-form-head-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--K);
  margin: 0;
}

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

.ctc-form-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: 1.1rem;
}
.ctc-form-group:last-child { margin-bottom: 0; }

.ctc-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--K);
}
.ctc-required { color: var(--R); margin-left: .2rem; }
.ctc-optional {
  font-size: .62rem;
  font-weight: 400;
  color: var(--G);
  margin-left: .3rem;
}

.ctc-input,
.ctc-textarea {
  width: 100%;
  border: 1px solid var(--L);
  border-radius: 2px;
  background: var(--F);
  color: var(--K);
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  padding: .65rem .85rem;
  outline: none;
  transition: border-color .18s, background .18s;
  -webkit-appearance: none;
}
.ctc-input:focus,
.ctc-textarea:focus {
  border-color: var(--K);
  background: var(--W);
}
.ctc-input.is-invalid,
.ctc-textarea.is-invalid {
  border-color: var(--R);
}
.ctc-input::placeholder,
.ctc-textarea::placeholder { color: #bbb; }
.ctc-textarea { resize: vertical; min-height: 130px; line-height: 1.55; }

.ctc-select-wrap {
  position: relative;
}
.ctc-select {
  width: 100%;
  border: 1px solid var(--L);
  border-radius: 2px;
  background: var(--F);
  color: var(--K);
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  padding: .65rem 2.2rem .65rem .85rem;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .18s, background .18s;
}
.ctc-select:focus { border-color: var(--K); background: var(--W); }
.ctc-select-icon {
  position: absolute;
  right: .85rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--G);
  font-size: .7rem;
}

.ctc-field-err {
  font-size: .65rem;
  color: var(--R);
  display: none;
}
.ctc-form-group.has-error .ctc-field-err { display: block; }

.ctc-privacy-row {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 1.25rem 0 0;
}
.ctc-privacy-check {
  width: 14px;
  height: 14px;
  margin-top: .12rem;
  flex-shrink: 0;
  accent-color: var(--K);
  cursor: pointer;
}
.ctc-privacy-lbl {
  font-size: .7rem;
  color: var(--G);
  line-height: 1.5;
}
.ctc-privacy-lbl a { color: var(--K); }

.ctc-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.ctc-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  background: var(--K);
  color: var(--W);
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background .18s;
}
.ctc-submit-btn:hover { background: var(--R); }
.ctc-submit-note {
  font-size: .62rem;
  color: var(--G);
}


/* ── Success state ───────────────────────────── */
.ctc-success {
  border: 1px solid var(--L);
  border-radius: 2px;
  padding: 3.5rem 2rem;
  text-align: center;
  background: var(--W);
}
.ctc-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.ctc-success-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--K);
  margin-bottom: .5rem;
}
.ctc-success-sub {
  font-size: .78rem;
  color: var(--G);
  max-width: 320px;
  margin: 0 auto 1.5rem;
  line-height: 1.55;
}
.ctc-success-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--K);
  text-decoration: none;
  transition: color .15s;
}
.ctc-success-back:hover { color: var(--R); }


/* ── Info card ───────────────────────────────── */
.ctc-info-card {
  background: var(--F);
  border: 1px solid var(--L);
  border-top: 3px solid var(--K);
  padding: 1.75rem;
  position: sticky;
  top: 1.5rem;
}

.ctc-info-head {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--K);
  margin: 0 0 1.5rem;
}

.ctc-info-items { display: flex; flex-direction: column; gap: 1.1rem; }

.ctc-info-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}
.ctc-info-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--W);
  border: 1px solid var(--L);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--K);
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: .05rem;
}
.ctc-info-icon-wa { background: #e8f5e9; border-color: #c8e6c9; color: #2e7d32; }
.ctc-info-icon-em { background: #fce4ec; border-color: #f8bbd0; color: var(--R); }

.ctc-info-content { min-width: 0; }
.ctc-info-lbl  { font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--G); margin-bottom: .18rem; }
.ctc-info-val  { font-size: .8rem; color: var(--K); line-height: 1.45; }
.ctc-info-val a { color: var(--K); transition: color .15s; }
.ctc-info-val a:hover { color: var(--R); text-decoration: none; }
.ctc-info-sub  { font-size: .65rem; color: var(--G); margin-top: .1rem; }

.ctc-info-div {
  border: none;
  border-top: 1px solid var(--L);
  margin: 1.25rem 0;
}

.ctc-hours-head {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--G);
  margin-bottom: .75rem;
}
.ctc-hours-list { display: flex; flex-direction: column; gap: .35rem; }
.ctc-hour-row   { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.ctc-hour-day   { font-size: .72rem; color: var(--K); }
.ctc-hour-time  { font-size: .72rem; color: var(--G); text-align: right; }
.ctc-hour-closed { color: #bbb; font-style: italic; }

.ctc-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  margin-top: 1.5rem;
  padding: .65rem 1rem;
  background: #25d366;
  color: var(--W);
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s;
}
.ctc-wa-btn:hover { background: #1eb955; color: var(--W); }


/* ════════════════════════════════════════════════
   SHOWROOMS SECTION
════════════════════════════════════════════════ */
.ctc-show-sec {
  padding: 4rem 0 4.5rem;
  background: var(--F);
  border-top: 1px solid var(--L);
}

.ctc-show-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.ctc-show-eyebrow {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--G);
  margin-bottom: .4rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ctc-show-eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: var(--G);
}
.ctc-show-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--K);
  margin: 0;
  line-height: .95;
  letter-spacing: -.02em;
}
.ctc-show-title em { font-style: italic; font-weight: 400; }
.ctc-show-all {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--K);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
  flex-shrink: 0;
  padding-bottom: .25rem;
  transition: color .15s;
}
.ctc-show-all:hover { color: var(--R); }

.ctc-show-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.ctc-show-card {
  background: var(--W);
  border: 1px solid var(--L);
  overflow: hidden;
}
.ctc-show-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.ctc-show-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.ctc-show-card:hover .ctc-show-img { transform: scale(1.03); }

.ctc-show-city-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--W);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--K);
  padding: .3rem .7rem;
}

.ctc-show-body {
  padding: 1.4rem 1.5rem 1.5rem;
}
.ctc-show-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--K);
  margin: 0 0 .9rem;
}
.ctc-show-detail-row {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin-bottom: .55rem;
  font-size: .72rem;
  color: var(--G);
}
.ctc-show-detail-icon { color: var(--K); font-size: .8rem; flex-shrink: 0; margin-top: .05rem; }
.ctc-show-detail-txt  { line-height: 1.45; }

.ctc-show-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--L);
}
.ctc-show-badge {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2e7d32;
  background: #e8f5e9;
  padding: .25rem .65rem;
}
.ctc-show-dir {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--K);
  text-decoration: none;
  transition: color .15s;
}
.ctc-show-dir:hover { color: var(--R); }


/* ════════════════════════════════════════════════
   MAP SECTION
════════════════════════════════════════════════ */
.ctc-map-sec {
  position: relative;
  height: 360px;
  background: #e8e4de;
  overflow: hidden;
}
.ctc-map-sec iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(18%) contrast(1.05);
}
.ctc-map-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--W);
  border: 1px solid var(--L);
  padding: .85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  white-space: nowrap;
}
.ctc-map-pin { font-size: 1.1rem; color: var(--R); }
.ctc-map-addr-lbl { font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--K); }
.ctc-map-addr-txt { font-size: .72rem; color: var(--G); margin-top: .1rem; }
.ctc-map-open {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--W);
  background: var(--K);
  padding: .45rem .85rem;
  text-decoration: none;
  transition: background .15s;
  flex-shrink: 0;
}
.ctc-map-open:hover { background: var(--R); color: var(--W); }


/* ════════════════════════════════════════════════
   NEWSLETTER + FOOTER (same tokens as index.html)
════════════════════════════════════════════════ */
.nl-sec { background: var(--K); padding: clamp(20px, 3vw, 48px) 0; }
.nl-h { font-family: 'Playfair Display', serif; font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 700; color: var(--W); margin: 0; }
.nl-h em { font-style: italic; font-weight: 400; color: var(--Y); }
.nl-row { display: flex; gap: .5rem; }
.nl-inp { flex: 1; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: var(--W); font-family: 'DM Sans', sans-serif; font-size: .78rem; padding: .7rem 1rem; outline: none; transition: border-color .18s; }
.nl-inp:focus { border-color: rgba(255,255,255,.45); }
.nl-inp::placeholder { color: rgba(255,255,255,.28); }
.nl-sub { padding: .7rem 1.4rem; background: var(--R); color: var(--W); font-family: 'DM Sans', sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; border: none; cursor: pointer; white-space: nowrap; transition: background .15s; }
.nl-sub:hover { background: #a00f26; }
.nl-acc { border: none; }
.nl-acc-btn { background: transparent; color: var(--W); font-family: 'DM Sans', sans-serif; padding: .9rem 0; box-shadow: none !important; }
.nl-acc-btn::after { filter: invert(1); }
.nl-acc-btn:not(.collapsed) { background: transparent; color: var(--W); }
.nl-acc-lbl { font-size: .58rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.42); display: block; }
.nl-acc-body { padding: 0 0 1rem; }
.nl-acc-sub  { font-size: .68rem; color: rgba(255,255,255,.38); margin-bottom: .9rem; }


/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 1199px) {
  .ctc-layout { grid-template-columns: 1fr 340px; }
}

@media (max-width: 991px) {
  .ctc-layout { grid-template-columns: 1fr; gap: 2rem; }
  .ctc-info-card { position: static; }
  .ctc-show-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .ctc-show-grid { grid-template-columns: 1fr; }
  .ctc-show-img-wrap { height: 200px; }
  .ctc-map-sec { height: 300px; }
  .ctc-map-overlay { left: 1rem; right: 1rem; transform: none; white-space: normal; }
}

@media (max-width: 575px) {
  .ck-ed-inner  { gap: 1rem; }
  .ck-ed-title  { font-size: 1.85rem; }
  .ck-ed-right  { display: none; }

  .ctc-sec { padding: 1.75rem 0 3.5rem; }
  .ctc-form-card { padding: 1.35rem 1.25rem 1.5rem; }
  .ctc-form-row  { grid-template-columns: 1fr; gap: 0; }

  .ctc-show-sec { padding: 2.5rem 0 3rem; }
  .ctc-show-img-wrap { height: 180px; }

  .ctc-map-sec { height: 240px; }
  .ctc-map-overlay { flex-wrap: wrap; gap: .5rem; padding: .7rem 1rem; }
}
/* ═══════════════════════════════════════════
   SALE.CSS — sale.html
   Mobelivin / Odoo 19 website_sale prototype
═══════════════════════════════════════════ */

/* ── HERO ────────────────────────────────── */
.sale-hero {
  position: relative;
  min-height: 80vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.sale-hero-bg {
  position: absolute; inset: 0;
}
.sale-hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
}
.sale-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.3) 100%);
}
.sale-hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 3rem;
  padding: 4rem 0;
  flex-wrap: wrap;
}

/* Eyebrow */
.sale-eye {
  display: flex; align-items: center; gap: .65rem;
  font-size: .6rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--Y); margin-bottom: .85rem;
}
.sale-eye-line { display: inline-block; width: 22px; height: 1.5px; background: var(--Y); }

/* Title */
.sale-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 900; line-height: .88;
  letter-spacing: -.04em; color: var(--W);
  margin-bottom: 1rem;
}
.sale-title em { font-style: italic; font-weight: 400; color: var(--Y); }

.sale-sub {
  font-size: .82rem; color: rgba(255,255,255,.65);
  line-height: 1.6; margin-bottom: 1.25rem;
}

/* Countdown */
.sale-cd {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 2rem; flex-wrap: wrap;
}
.sale-cd-box {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  padding: .6rem .9rem; min-width: 58px;
}
.sale-cd-n {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 900;
  color: var(--W); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.sale-cd-l {
  font-size: .5rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
  margin-top: .15rem;
}
.sale-cd-sep {
  font-size: 1.4rem; font-weight: 900;
  color: rgba(255,255,255,.3); align-self: flex-start;
  margin-top: .4rem;
}
.sale-cta { font-size: .68rem; }

/* Stats grid */
.sale-hero-right { flex-shrink: 0; }
.sale-stat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
}
.sale-stat {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 1.5rem 2rem;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  gap: .3rem;
}
.sale-stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 900;
  color: var(--Y); line-height: 1;
}
.sale-stat-n small {
  font-size: .6em; font-family: 'DM Sans', sans-serif;
  font-weight: 400; color: rgba(255,255,255,.5);
}
.sale-stat-l {
  font-size: .55rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}

@media (max-width: 767px) {
  .sale-hero-right { display: none; }
  .sale-hero-inner {
    padding: 4rem 1.5rem 3rem;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .sale-hero-left { width: 100%; }
}

/* ── CATEGORY TABS ───────────────────────── */
.sale-cats {
  background: var(--K);
  position: sticky; top: 57px; z-index: 30;
}
.sale-cat-row {
  display: flex; align-items: center;
  overflow-x: auto; scrollbar-width: none;
  gap: 0;
}
.sale-cat-row::-webkit-scrollbar { display: none; }
.sale-cat-btn {
  background: none; border: none; cursor: pointer;
  padding: .85rem 1.25rem;
  font-size: .62rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.45); white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  flex-shrink: 0;
}
.sale-cat-btn:hover { color: rgba(255,255,255,.75); }
.sale-cat-btn.active { color: var(--Y); border-bottom-color: var(--Y); }

/* ── GRID ────────────────────────────────── */
.sale-grid-sec { padding: 2rem 0 5rem; }
.sale-grid-head {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: .75rem;
}
.sale-grid-count { font-size: .68rem; color: var(--G); }
.sale-grid-count strong { color: var(--K); font-weight: 700; }

#saleGrid > [class*="col"] { display: flex; }

.sale-load-more {
  display: flex; justify-content: center;
  margin-top: 2.5rem;
}
/* ════════════════════════════════════════════════
   CART.CSS — cart · checkout · confirmation
   Mobelivin / Odoo 19 website_sale prototype
   --R #C41230  --K #111  --W #fff  --F #f5f3f0  --G #888  --L #e4e0db
════════════════════════════════════════════════ */

/* ── Page wrapper ───────────────────────────── */
.cart-sec { padding-bottom: 5rem; }

/* ── EDITORIAL PAGE HEADER — cart override ──────── */
.ck-ed-inner {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 2rem;
  flex-wrap: nowrap;
}
@media (max-width: 575px) {
  .ck-ed-title  { font-size: 1.75rem; }
  .ck-ed-total  { font-size: 1.2rem; }
}

/* ── CHECKOUT PROGRESS BAR ──────────────────── */
.ck-progress {
  display: flex; align-items: center; padding: .85rem 0;
  position: sticky; top: 60px; z-index: 20;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(228,224,219,.6);
}
@media (max-width: 767px) {
  .ck-progress {
    top: 60px;
    margin-top: 2px;
    margin-left: -0.2rem;
    margin-right: -0.2rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }
}
.ck-step { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.ck-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--L); background: var(--W);
  color: var(--G); font-size: .62rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
}
.ck-step-label { font-size: .58rem; text-transform: uppercase; letter-spacing: .06em; color: var(--G); white-space: nowrap; }
.ck-step.active .ck-step-num  { background: var(--K); border-color: var(--K); color: var(--W); }
.ck-step.active .ck-step-label { color: var(--K); font-weight: 600; }
.ck-step.done   .ck-step-num  { background: var(--K); border-color: var(--K); color: var(--W); }
.ck-step-line { flex: 1; height: 1px; background: var(--L); margin: 0 .5rem; position: relative; top: -10px; }
.ck-step-line.done { background: var(--K); }

/* ── LAYOUT ─────────────────────────────────── */
.ck-layout { display: flex; gap: 2.5rem; align-items: flex-start; padding: 2rem 0 4rem; }
.ck-main { flex: 1; min-width: 0; }
.ck-sidebar-wrap { width: 340px; flex-shrink: 0; position: sticky; top: calc(57px + 46px + 2rem); align-self: flex-start; }
@media (max-width: 991px) {
  .ck-layout { flex-direction: column; gap: 0; }
  .ck-sidebar-wrap { width: 100%; padding-top: 0; position: static; top: auto; }
}

/* ── ORDER SUMMARY SIDEBAR ──────────────────── */
.ck-sidebar {
  padding: 1.5rem 1.25rem;
  border: 1.5px dashed var(--L);
  background: var(--F);
  /* torn top edge */
  --s: 10px;
  -webkit-mask: radial-gradient(var(--s) at 50% 0, #0000 98%, #000) 0 0 / calc(2*var(--s)) 100%;
  mask: radial-gradient(var(--s) at 50% 0, #0000 98%, #000) 0 0 / calc(2*var(--s)) 100%;
}
@media (max-width: 991px) {
  .ck-sidebar { position: static; padding-top: 2.4rem; }
}

/* Receipt typography */
.ck-total-row { display: flex; justify-content: space-between; font-size: .72rem; color: var(--G); font-family: 'Courier New', monospace; letter-spacing: .02em; }
.ck-total-row span:last-child { color: var(--K); }
.ck-total-bold span { color: var(--K) !important; font-weight: 700; font-family: 'Courier New', monospace; }
.ck-sidebar-title { font-size: .58rem; text-transform: uppercase; letter-spacing: .1em; color: var(--G); margin-bottom: 1rem; font-weight: 600; padding: 0 0 .5rem; border-bottom: 1px solid var(--L); }

.ck-items { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.25rem; }
.ck-item { display: flex; align-items: flex-start; gap: .75rem; position: relative; }
.ck-item-thumb { width: 64px; height: 64px; object-fit: cover; border: 1px solid var(--L); flex-shrink: 0; }
.ck-item-qty {
  position: absolute; top: -7px; left: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 .3rem;
  background: var(--K); color: var(--W);
  font-size: .58rem; font-weight: 700; z-index: 1;
}

/* HTML uses ck-item-detail wrapper */
.ck-item-detail { flex: 1; min-width: 0; padding-top: .2rem; padding-left: .6rem }
.ck-item-name  { display: block; font-size: .72rem; font-weight: 600; color: var(--K); line-height: 1.3; }
.ck-item-meta  { display: block; font-size: .65rem; color: var(--G); margin-top: .15rem; }
.ck-item-qty {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 .4rem;
  background: var(--K); color: var(--W);
  font-size: .65rem; font-weight: 700;
  flex-shrink: 0;
}
.ck-item-price { font-size: .72rem; font-weight: 700; color: var(--K); white-space: nowrap; flex-shrink: 0; padding-top: .2rem; }

.ck-totals { border-top: 1px solid var(--L); padding-top: 1rem; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; margin-top: 1.25rem; }
/* HTML uses ck-total-bold for the grand total row */
.ck-total-bold { font-size: .82rem !important; font-weight: 700; color: var(--K) !important; border-top: 1px solid var(--L); padding-top: .5rem; margin-top: .25rem; }
.ck-tbd { color: var(--G); font-style: italic; }

/* Promo */
.ck-promo { display: flex; gap: .5rem; margin: 1rem 0; }
.ck-promo-input {
  flex: 1; border: 1px solid var(--L); padding: .5rem .75rem;
  font-size: .72rem; font-family: inherit; color: var(--K);
  outline: none; background: var(--W);
}
.ck-promo-input:focus { border-color: var(--K); }
.ck-promo-btn {
  background: var(--F); border: 1px solid var(--L);
  padding: .5rem 1rem; font-size: .62rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; color: var(--K); white-space: nowrap;
  transition: background .15s;
}
.ck-promo-btn:hover { background: var(--L); }

/* Checkout CTA */
.ck-checkout-btn { display: flex; align-items: center; justify-content: center; width: 100%; margin: 1.25rem 0 1rem; }

/* Trust badges */
.ck-trust { display: flex; gap: .5rem; padding-top: 1rem; border-top: 1px dashed var(--L); }
.ck-trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; gap: .25rem; }
.ck-trust-item i    { font-size: 1rem; color: var(--K); }
.ck-trust-item span { font-size: .58rem; color: var(--G); line-height: 1.3; }

/* ── CART TABLE ─────────────────────────────── */
.cart-table { width: 100%; border-collapse: collapse; counter-reset: cart-item; }
.ct-head th {
  font-size: .58rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--G); font-weight: 600; padding: 0 .75rem .5rem;
  border-bottom: 1px solid var(--L); text-align: left;
}
.ct-row { counter-increment: cart-item; transition: opacity .3s; }
.ct-row td { padding: 1.25rem .75rem; border-bottom: 1px solid var(--L); vertical-align: middle; }
.ct-row:last-child td { border-bottom: none;}

.ct-product { display: flex; align-items: center; gap: 1rem; }
.ct-product::before {
  content: counter(cart-item, decimal-leading-zero);
  font-family: 'Playfair Display', serif;
  font-size: .7rem; font-weight: 700; color: var(--G);
  flex-shrink: 0; align-self: flex-start; margin-top: .2rem;
}
.ct-thumb { width: 80px; height: 80px; object-fit: cover; border: 1px solid var(--L); flex-shrink: 0; }
.ct-info { display: flex; flex-direction: column; gap: .15rem; }
.ct-name    { font-size: .82rem; font-weight: 700; color: var(--K); font-family: 'Playfair Display', serif; }
.ct-variant { font-size: .62rem; color: var(--G); letter-spacing: .03em; }

.ct-line-total { font-size: .82rem; font-weight: 700; color: var(--K); white-space: nowrap; font-family: 'Playfair Display', serif; }
.ct-old { font-size: .65rem; font-weight: 400; color: var(--G); text-decoration: line-through; font-family: 'DM Sans', sans-serif; margin-left: .25rem; }
.ct-line-total.has-disc { color: var(--R); } /* red on discounted price */

/* Qty stepper */
.ct-qty { display: inline-flex; align-items: center; border: 1px solid var(--L); }
.ct-qty-btn {
  width: 30px; height: 32px; background: none; border: none;
  cursor: pointer; font-size: .85rem; color: var(--K);
  display: flex; align-items: center; justify-content: center;
  line-height: 1; transition: background .15s;
}
.ct-qty-btn:hover { background: var(--F); }
.ct-qty-inp {
  width: 36px; height: 32px; text-align: center;
  border: none; border-left: 1px solid var(--L); border-right: 1px solid var(--L);
  font-size: .72rem; font-weight: 600; font-family: inherit;
  color: var(--K); background: var(--W); outline: none; padding: 0;
  -moz-appearance: textfield;
}
.ct-qty-inp::-webkit-inner-spin-button,
.ct-qty-inp::-webkit-outer-spin-button { -webkit-appearance: none; }

.ct-remove { background: none; border: none; cursor: pointer; color: var(--G); font-size: 1.05rem; padding: .25rem .4rem; transition: color .15s; }
.ct-remove:hover { color: var(--R); }

.ct-continue { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.25rem; font-size: .72rem; color: var(--G); transition: color .15s; }
.ct-continue:hover { color: var(--K); }

/* ── FORM SECTIONS (checkout) ───────────────── */
.ck-section { border: 1px solid var(--L); padding: 1.5rem; margin-bottom: 1.5rem; }
.ck-section-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--K); margin-bottom: 1.25rem; }
.ck-section-title span { font-family: 'DM Sans', sans-serif; font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--G); display: block; margin-bottom: .2rem; }

.ck-field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.ck-field:last-child { margin-bottom: 0; }
.ck-label { font-size: .62rem; text-transform: uppercase; letter-spacing: .07em; color: var(--G); font-weight: 600; }
.ck-input { width: 100%; padding: .6rem .75rem; border: 1px solid var(--L); background: var(--W); font-size: .78rem; font-family: inherit; color: var(--K); outline: none; transition: border-color .15s; }
.ck-input:focus { border-color: var(--K); }
select.ck-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; padding-right: 2rem; }
.ck-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .ck-input-row { grid-template-columns: 1fr; } }

.ck-check-row { display: flex; align-items: center; gap: .5rem; margin-top: .75rem; }
.ck-check-row input { accent-color: var(--K); }
.ck-check-row label { font-size: .7rem; color: var(--G); cursor: pointer; }

.ck-step-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.ck-back-link { font-size: .68rem; color: var(--G); cursor: pointer; background: none; border: none; padding: 0; transition: color .15s; }
.ck-back-link:hover { color: var(--K); }

/* ── SHIPPING OPTIONS ───────────────────────── */
.ship-opts { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1rem; }
.ship-opt { display: flex; align-items: center; gap: .75rem; border: 1px solid var(--L); padding: .85rem 1rem; cursor: pointer; transition: border-color .15s, background .15s; }
.ship-opt:hover { border-color: var(--G); }
.ship-opt.active { border-color: var(--K); background: var(--F); }
.ship-opt-radio { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--L); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: border-color .15s; }
.ship-opt.active .ship-opt-radio { border-color: var(--K); }
.ship-opt.active .ship-opt-radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--K); }
.ship-opt-info { flex: 1; }
.ship-opt-name     { font-size: .75rem; font-weight: 600; color: var(--K); }
.ship-opt-estimate { font-size: .62rem; color: var(--G); margin-top: .1rem; }
.ship-opt-price    { font-size: .75rem; font-weight: 700; color: var(--K); white-space: nowrap; }
.ship-eta { font-size: .68rem; color: var(--G); margin-top: .75rem; }
.ship-eta strong { color: var(--K); }

@media (max-width: 991px) {
  .ship-opts { display: flex; flex-wrap: nowrap; flex-direction: column !important; }
}

/* ── PAYMENT OPTIONS ────────────────────────── */
.pay-opts { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1rem; }
.pay-opt { display: flex; flex-direction: column; border: 1px solid var(--L); cursor: pointer; transition: border-color .15s; overflow: hidden; }
.pay-opt:hover { border-color: var(--G); }
.pay-opt.active { border-color: var(--K); }
.pay-opt-header { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; }
.pay-opt.active .pay-opt-header { background: var(--F); }
.pay-opt-body { display: none; padding: 1rem; border-top: 1px solid var(--L); }
.pay-opt.active .pay-opt-body { display: block; }
.pay-logos { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.pay-chip { border: 1px solid var(--L); padding: .2rem .55rem; font-size: .6rem; font-weight: 600; color: var(--G); letter-spacing: .04em; }
.pay-secure { display: flex; align-items: center; gap: .4rem; font-size: .62rem; color: var(--G); margin-top: 1rem; }

/* ── CONFIRMATION ────────────────────────────── */
.conf-wrap { max-width: 680px; margin: 0 auto; padding: 2.5rem 1rem 5rem; }
.conf-hero { text-align: center; padding: 2.5rem 0 2rem; }
.conf-check {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--K); color: var(--W);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.25rem;
  animation: checkPop .45s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes checkPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.conf-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 4vw, 2rem); color: var(--K); margin: .5rem 0; }
.conf-hero p { font-size: .78rem; color: var(--G); margin: 0; }
.conf-order-num { display: inline-block; font-family: 'Courier New', monospace; font-size: .7rem; font-weight: 700; background: var(--F); border: 1px solid var(--L); padding: .3rem .75rem; letter-spacing: .08em; margin: .75rem 0 .4rem; }
.conf-status { display: inline-block; padding: .25rem .85rem; font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-top: .4rem; }
.conf-status.paid    { background: #e6f4ea; color: #1e7e34; }
.conf-status.pending { background: #fff8e1; color: #8a6500; }
.conf-status.failed  { background: #fdecea; color: var(--R); }

.conf-block { border: 1px solid var(--L); padding: 1.25rem; margin-bottom: 1.25rem; }
.conf-block-title { font-size: .58rem; text-transform: uppercase; letter-spacing: .1em; color: var(--G); margin-bottom: .85rem; display: block; }
.conf-items { display: flex; flex-direction: column; gap: .6rem; }
.conf-item  { display: flex; align-items: center; gap: .75rem; }
.conf-item-thumb { width: 52px; height: 52px; object-fit: cover; border: 1px solid var(--L); flex-shrink: 0; }
.conf-item-name  { flex: 1; font-size: .73rem; font-weight: 600; color: var(--K); line-height: 1.3; }
.conf-item-meta  { font-size: .62rem; color: var(--G); }
.conf-item-price { font-size: .73rem; font-weight: 700; color: var(--K); white-space: nowrap; }

.conf-totals { border-top: 1px solid var(--L); margin-top: .85rem; padding-top: .75rem; display: flex; flex-direction: column; gap: .4rem; }
.conf-total-row { display: flex; justify-content: space-between; font-size: .72rem; color: var(--G); }
.conf-total-row span:last-child { color: var(--K); }
.conf-total-row.grand { font-weight: 700; border-top: 1px solid var(--L); padding-top: .4rem; margin-top: .2rem; }
.conf-total-row.grand span { color: var(--K); }

.conf-delivery-addr { font-size: .75rem; line-height: 1.7; color: var(--K); }
.conf-delivery-eta  { font-size: .72rem; color: var(--G); margin-top: .4rem; }
.conf-delivery-eta strong { color: var(--R); }

.conf-timeline { display: flex; flex-direction: column; }
.conf-tl-step { display: flex; align-items: flex-start; gap: .75rem; padding-bottom: 1.25rem; position: relative; }
.conf-tl-step:not(:last-child)::before { content: ''; position: absolute; left: 9px; top: 20px; width: 1px; height: calc(100% - 8px); background: var(--L); }
.conf-tl-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--L); background: var(--W); flex-shrink: 0; z-index: 1; }
.conf-tl-step.done .conf-tl-dot   { background: var(--K); border-color: var(--K); }
.conf-tl-step.active .conf-tl-dot { background: var(--R); border-color: var(--R); }
.conf-tl-label { font-size: .73rem; font-weight: 600; color: var(--K); line-height: 1; }
.conf-tl-date  { font-size: .62rem; color: var(--G); margin-top: .2rem; }

.conf-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.conf-actions .btn-r, .conf-actions .btn-o { flex: 1; justify-content: center; min-width: 140px; }
.conf-dl-link { width: 100%; text-align: center; display: block; font-size: .68rem; color: var(--G); margin-top: .75rem; transition: color .15s; }
.conf-dl-link:hover { color: var(--K); }

.conf-related { border-top: 1px solid var(--L); padding: 2.5rem 0 4rem; }
.conf-related .ed-header { margin-bottom: 1.5rem; }
.conf-related #productGrid > [class*="col"] { display: flex; }

/* ── MOBILE STICKY BAR ─────────────────────── */
.ck-mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: var(--W); border-top: 1px solid var(--L);
  padding: .75rem 1.25rem;
  align-items: center; justify-content: space-between; gap: 1rem;
}
.ck-mobile-total { font-size: .82rem; font-weight: 700; color: var(--K); }
.ck-mobile-sub   { font-size: .58rem; color: var(--G); }
@media (max-width: 767px) { .ck-mobile-bar { display: flex; } }

/* ── CART TABLE — mobile ────────────────────── */
@media (max-width: 767px) {
  /* Hide table chrome */
  .cart-table, .cart-table tbody { display: block; }
  .cart-table thead { display: none; }

  /* Each row = flex card */
  .ct-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--L);
  }

  /* All tds: block, no padding */
  .ct-row td { display: flex; padding: 0; border: none; align-items: center; }

  /* Product spans full width, single row */
  .ct-product { width: 100%; display: flex; flex-wrap: nowrap; align-items: center; }

  /* Bottom row: qty + price + remove in one flex line */
  .ct-qty-cell, .ct-price-cell, .ct-action-cell {
    display: flex; align-items: center;
  }
  .ct-qty-cell    { flex: 1; margin-left: 1.7rem; }
  .ct-price-cell  { margin-left: auto; display: flex !important; align-items: center !important; }
  .ct-action-cell { margin-left: .5rem; margin-top: .5rem; }
}/* ═══════════════════════════════════════════════
   PRODUCT.CSS — editorial product detail
   Odoo 19 website_sale · Mobelivin
═══════════════════════════════════════════════ */

/* ── HERO: full-bleed split ─────────────────── */
#product_details {
    padding: 2.5rem 2.5rem 2rem;
}

.pd-hero {
  display: grid;
  grid-template-columns: 55% 1fr;
  height: calc(100vh - 57px - 32px);
}
@media (max-width: 991px) {
  .pd-hero { grid-template-columns: 1fr; height: auto; }
}

.pd-hero-img {
  position: relative;
  background: var(--F);
  display: flex; flex-direction: column;
  overflow: hidden; min-height: 0;
}
.pd-hero-img > img {
  flex: 1; width: 100%; min-height: 0;
  object-fit: cover; display: block;
}
@media (max-width: 991px) {
  .pd-hero-img { aspect-ratio: 4/5; }
  .pd-hero-img > img { flex: none; height: 100%; }
}
.pd-hero-badge {
  position: absolute; bottom: 2rem; left: 2rem;
  display: flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.9);
  padding: .4rem .85rem;
  font-size: .6rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
}
.pd-hero-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: .85rem; font-weight: 900;
  color: var(--R);
}

.pd-hero-panel {
  padding: 2.5rem 2.5rem 2rem;
  display: flex; flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--L);
  overflow-y: visible;
}
@media (max-width: 991px) {
  .pd-hero-panel {
    max-height: none; position: static;
    border-left: none; border-top: 1px solid var(--L);
    padding: 1.75rem 1rem;
  }
}

/* Breadcrumb inside panel */
.pd-bc {
  display: flex; align-items: center; gap: .3rem;
  font-size: .6rem; color: var(--G);
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.pd-bc a { color: var(--G); transition: color .15s; }
.pd-bc a:hover { color: var(--R); }
.pd-bc i { font-size: .5rem; }
.pd-bc span { color: var(--K); }

/* Eyebrow */
.pd-eye {
  display: flex; align-items: center; gap: .65rem;
  font-size: .6rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--R); margin-bottom: .85rem;
}
.pd-eye-line {
  display: inline-block;
  width: 22px; height: 1.5px; background: var(--R);
}

/* Title */
.pd-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; line-height: .95;
  letter-spacing: -.03em; color: var(--K);
  margin-bottom: .85rem;
  max-width: 14ch;
}
@media (max-width: 991px) { .pd-title { max-width: none; white-space: nowrap; font-size: clamp(1.4rem, 6vw, 2rem); } }
.pd-title em { font-style: italic; font-weight: 400; }

/* Rating */
.pd-rating {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: 1rem;
}
.pd-stars { display: flex; gap: 2px; }
.pd-stars i { font-size: .6rem; color: var(--Y); }
.pd-rating-cnt { font-size: .62rem; color: var(--G); border-bottom: 1px solid var(--L); }
.pd-rating-cnt:hover { color: var(--R); }

/* Price */
.pd-price-row {
  display: flex; align-items: baseline; gap: .65rem;
  flex-wrap: wrap; margin-bottom: .3rem;
}
.pd-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700; color: var(--K);
}
.pd-old {
  font-size: .78rem; color: var(--G);
  text-decoration: line-through;
}
.pd-tax { font-size: .6rem; color: var(--G); margin-bottom: 0; }

.pd-div { border: none; border-top: 1px solid var(--L); margin: 1rem 0; }

/* Variants */
.pd-attr { margin-bottom: .85rem; }
.pd-attr-label {
  font-size: .6rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--G);
  margin-bottom: .5rem;
}
.pd-attr-label strong { color: var(--K); }

.pd-swatches { display: flex; gap: .5rem; }
.pd-swatch {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer;
  outline: 2px solid transparent; outline-offset: 2px;
  transition: outline .15s;
}
.pd-swatch:hover { outline-color: var(--G); }
.pd-swatch.active { outline-color: var(--K); }

.pd-attr .js_variant_change {
    display: none
}

.pd-pills { display: flex; gap: .4rem; flex-wrap: wrap; }
.pd-pill {
  padding: .3rem .85rem;
  border: 1px solid var(--L); background: var(--W);
  font-size: .62rem; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.pd-pill:hover { border-color: var(--K); }
.pd-pill.active { background: var(--K); border-color: var(--K); color: var(--W); }

/* Actions */
.pd-actions {
  display: flex; gap: .6rem; align-items: stretch;
  margin-bottom: .6rem; flex-wrap: wrap;
}
.pd-qty {
  display: flex; align-items: center;
  border: 1px solid var(--L);
}
.pd-qty-btn {
  width: 34px; height: 100%;
  background: none; border: none; cursor: pointer;
  font-size: .85rem; color: var(--K);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.pd-qty-btn:hover { background: var(--F); }
.pd-qty-inp {
  width: 40px; text-align: center;
  border: none; border-left: 1px solid var(--L); border-right: 1px solid var(--L);
  font-size: .72rem; font-weight: 600; font-family: inherit;
  color: var(--K); background: var(--W); outline: none; padding: 0;
  -moz-appearance: textfield;
}
.pd-qty-inp::-webkit-outer-spin-button,
.pd-qty-inp::-webkit-inner-spin-button { -webkit-appearance: none; }

.pd-cart { flex: 1; justify-content: center; padding: .68rem 1rem; font-size: .65rem; }

.pd-wish {
  width: 40px; flex-shrink: 0;
  background: var(--F); border: 1px solid var(--L);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: var(--K); cursor: pointer;
  transition: background .15s, color .15s;
}
.pd-wish:hover, .pd-wish.active { background: var(--R); color: var(--W); border-color: var(--R); }

.pd-buy {
  width: 100%; background: transparent;
  border: 1.5px solid var(--K); color: var(--K);
  padding: .68rem; cursor: pointer;
  font-size: .65rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  font-family: inherit;
  transition: background .2s, color .2s;
}
.pd-buy:hover { background: var(--K); color: var(--W); }

.pd-wa {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; margin-top: .5rem;
  padding: .65rem;
  background: #25D366; color: var(--W);
  font-size: .65rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s;
}
.pd-wa:hover { background: #1da851; color: var(--W); }

/* Trust */
.pd-trust {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: .4rem; margin-top: 1rem;
}
.pd-trust-item {
  display: flex; flex-direction: column; align-items: center;
  gap: .25rem; padding: .55rem .35rem;
  background: var(--F); text-align: center;
}
.pd-trust-item i { font-size: .9rem; color: var(--K); }
.pd-trust-item span { font-size: .55rem; color: var(--G); letter-spacing: .03em; }

/* ── THUMBNAIL STRIP ─────────────────────────── */
/* Thumbs inside hero image: right side on desktop, bottom on mobile */
.pd-thumb-strip { display: none; } /* replaced by in-image thumbs */

.pd-hero-img .pd-thumbs {
  position: absolute;
  right: .75rem; bottom: 2rem; /* aligns with badge bottom */
  display: flex; flex-direction: column;
  gap: .4rem; width: auto;
}
.pd-hero-img .pd-thumb {
  width: 56px; height: 56px;
  border: 2px solid rgba(255,255,255,.5);
  background: rgba(0,0,0,.15);
}
.pd-hero-img .pd-thumb.active { border-color: var(--W); }
.pd-hero-img .pd-thumb:hover { border-color: rgba(255,255,255,.85); }

@media (max-width: 991px) {
  .pd-hero-img .pd-thumb { width: 48px; height: 48px; }
  .pd-hero-badge { left: 1rem; }
}
.pd-thumbs {
  display: flex; gap: .5rem;
  overflow-x: auto; scrollbar-width: none;
}
.pd-thumbs::-webkit-scrollbar { display: none; }
.pd-thumb {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border: 2px solid transparent;
  background: var(--F); overflow: hidden;
  cursor: pointer; padding: 0;
  transition: border-color .15s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active { border-color: var(--K); }
.pd-thumb:hover { border-color: var(--G); }

/* ── EDITORIAL STORY ────────────────────────── */
.pd-story { border-top: 1px solid var(--L); }

.pd-story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}
.pd-story-block--rev { direction: rtl; }
.pd-story-block--rev > * { direction: ltr; }

@media (max-width: 767px) {
  .pd-story-block,
  .pd-story-block--rev { grid-template-columns: 1fr; min-height: auto; direction: ltr; }
  .pd-story-block--rev > * { direction: ltr; }
}

.pd-story-img {
  overflow: hidden; background: var(--F);
}
.pd-story-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .6s ease;
}
.pd-story-block:hover .pd-story-img img { transform: scale(1.03); }

.pd-story-text {
  display: flex; flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  border-left: 1px solid var(--L);
  border-top: 1px solid var(--L);
}
.pd-story-block--rev .pd-story-text {
  border-left: none;
  border-right: 1px solid var(--L);
}
@media (max-width: 767px) {
  .pd-story-text { border-left: none; border-right: none; padding: 1.75rem 1rem; }
}

.pd-story-num {
  font-family: 'Playfair Display', serif;
  font-size: .65rem; font-weight: 900;
  color: var(--R); letter-spacing: .15em;
  margin-bottom: 1rem;
}
.pd-story-h {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 900; line-height: .95;
  letter-spacing: -.02em; color: var(--K);
  margin-bottom: 1.25rem;
}
.pd-story-h em { font-style: italic; font-weight: 400; }
.pd-story-text p {
  font-size: .78rem; line-height: 1.8;
  color: var(--G); max-width: 42ch;
  margin-bottom: 1rem;
}
.pd-story-list {
  list-style: none; padding: 0; margin: 0;
}
.pd-story-list li {
  font-size: .68rem; color: var(--G);
  padding: .3rem 0;
  border-bottom: 1px solid var(--F);
  display: flex; align-items: center; gap: .5rem;
}
.pd-story-list li::before {
  content: ''; display: block;
  width: 14px; height: 1px; background: var(--R); flex-shrink: 0;
}

/* Full-bleed stat block */
.pd-story-stat-block {
  position: relative; overflow: hidden;
  min-height: 50vh;
  display: flex; align-items: flex-end;
  border-top: 1px solid var(--L);
}
.pd-story-stat-block img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.pd-story-shade {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 60%);
}
.pd-story-stats {
  position: relative;
  display: flex; align-items: center;
  gap: 0; padding: 2.5rem clamp(1rem,5vw,3rem);
  flex-wrap: wrap; width: 100%;
}
.pd-stat {
  display: flex; flex-direction: column;
  gap: .25rem; padding: 0 2rem;
}
.pd-stat:first-child { padding-left: 0; }
.pd-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; color: var(--W); line-height: 1;
}
.pd-stat-num small {
  font-size: .55em; font-weight: 400;
  font-family: 'DM Sans', sans-serif;
  color: rgba(255,255,255,.55); margin-left: .15rem;
}
.pd-stat-lbl {
  font-size: .58rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
}
.pd-stat-div {
  width: 1px; align-self: stretch;
  background: rgba(255,255,255,.18);
  margin: .5rem 0;
}
@media (max-width: 575px) {
  .pd-story-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0; padding: 1.5rem 1rem;
  }
  .pd-stat {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .pd-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
  .pd-stat-div { display: none; }
}

/* ── SPECS + REVIEWS ────────────────────────── */
.pd-details { padding: 3rem 0 2rem; }
@media (max-width: 767px) { .pd-details { padding: 2rem 1rem; } }

.pd-tab-nav {
  display: flex; border-bottom: 1px solid var(--L);
  margin-bottom: 2rem; gap: 0;
}
.pd-tab-btn {
  background: none; border: none; cursor: pointer;
  padding: .75rem 1.4rem;
  font-size: .65rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--G); white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
  display: flex; align-items: center; gap: .4rem;
}
.pd-tab-btn:hover { color: var(--K); }
.pd-tab-btn.active { color: var(--K); border-bottom-color: var(--R); }
.pd-tab-cnt {
  font-size: .55rem; background: var(--F);
  border-radius: 99px; padding: .1rem .45rem;
  color: var(--G);
}

.pd-tab-panel { display: none; }
.pd-tab-panel.active { display: block; }

.pd-spec-cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
}
@media (max-width: 575px) { .pd-spec-cols { grid-template-columns: 1fr; } }

.pd-spec-table { width: 100%; border-collapse: collapse; font-size: .7rem; }
.pd-spec-table tr { border-bottom: 1px solid var(--F); }
.pd-spec-table th {
  padding: .6rem .75rem .6rem 0;
  color: var(--G); font-weight: 400;
  width: 45%; text-align: left; vertical-align: top;
}
.pd-spec-table td { padding: .6rem 0; color: var(--K); font-weight: 500; }

/* Reviews */
.pd-review-summary {
  display: flex; gap: 2.5rem; align-items: flex-start;
  padding-bottom: 2rem; margin-bottom: 2rem;
  border-bottom: 1px solid var(--L); flex-wrap: wrap;
}
.pd-review-score {
  display: flex; flex-direction: column;
  align-items: center; gap: .35rem; flex-shrink: 0;
}
.pd-score-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 900; line-height: 1; color: var(--K);
}
.pd-stars-lg { display: flex; gap: 2px; }
.pd-stars-lg i { font-size: .7rem; color: var(--Y); }
.pd-score-cnt { font-size: .6rem; color: var(--G); }

.pd-review-bars { flex: 1; display: flex; flex-direction: column; gap: .5rem; min-width: 180px; }
.pd-rbar { display: flex; align-items: center; gap: .6rem; font-size: .6rem; color: var(--G); }
.pd-rbar-track { flex: 1; height: 4px; background: var(--F); border-radius: 2px; }
.pd-rbar-fill { height: 100%; background: var(--Y); border-radius: 2px; }

.pd-reviews-list { display: flex; flex-direction: column; gap: 1.5rem; }
.pd-review { padding-bottom: 1.5rem; border-bottom: 1px solid var(--F); }
.pd-review-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .45rem; }
.pd-reviewer { font-size: .7rem; font-weight: 700; color: var(--K); margin-bottom: .2rem; }
.pd-review-stars { display: flex; gap: 1px; }
.pd-review-stars i { font-size: .52rem; color: var(--Y); }
.pd-review-date { font-size: .6rem; color: var(--G); }
.pd-review-body { font-size: .72rem; line-height: 1.75; color: var(--G); margin: 0; }

/* ── RELATED ─────────────────────────────────── */
.pd-related-sec {
  border-top: 1px solid var(--L);
  padding: 3rem 0 4rem;
}
.pd-related-sec #productGrid > [class*="col"] { display: flex; }

/* ── Scroll snap ─────────────────────────────── */
html { scroll-snap-type: y proximity; scroll-padding-top: 57px; }

.pd-story-block,
.pd-story-stat-block,
.pd-details { scroll-snap-align: start; }

/* ── Sticky bottom checkout bar ─────────────── */
.pd-sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--W);
  border-top: 1px solid var(--L);
  padding: .75rem 0;
  z-index: 1030;
  transform: translateY(100%);
  transition: transform .28s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.pd-sticky-bar.visible { transform: translateY(0); }
.pd-sticky-bar-info { flex: 1; min-width: 0; }
.pd-sticky-bar-name {
  font-size: .7rem; font-weight: 700; color: var(--K);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pd-sticky-bar-price {
  font-size: .75rem; font-weight: 700;
  font-family: 'Playfair Display', serif; color: var(--K);
}
.pd-sticky-bar .btn-r { white-space: nowrap; font-size: .62rem; padding: .65rem 1.25rem; }
.pd-sticky-wa {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: #25D366; color: var(--W);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: background .2s;
}
.pd-sticky-wa:hover { background: #1da851; color: var(--W); }
/* ═══════════════════════════════════════════
   NEWARRIVALS.CSS
   Mobelivin / Odoo 19 website_sale prototype
   Depends on: style.css, shop.css
═══════════════════════════════════════════ */

/* ── HERO ────────────────────────────────── */
.na-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(88vh - 20px);
  overflow: hidden;
}

.na-hero-left {
  background: var(--K);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem);
}

/* Faint ghost watermark behind text */
.na-hero-left::before {
  content: 'NEW';
  position: absolute;
  bottom: -2rem; left: -1rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(8rem, 22vw, 18rem);
  font-weight: 900;
  line-height: .82;
  letter-spacing: -.05em;
  color: rgba(255,255,255,.03);
  pointer-events: none;
  user-select: none;
}

.na-hero-text { position: relative; z-index: 1; max-width: 540px; }

.na-eye {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--Y);
  margin-bottom: 1.1rem;
}
.na-eye-line { display: inline-block; width: 22px; height: 1.5px; background: var(--Y); }

.na-drop-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--Y);
  color: var(--K);
  padding: .28rem .75rem;
  font-size: .54rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.na-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.04em;
  color: var(--W);
  margin-bottom: 1.25rem;
}
.na-title em { font-style: italic; font-weight: 400; color: var(--Y); }

.na-sub {
  font-size: .84rem;
  color: rgba(255,255,255,.48);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 380px;
}

.na-hero-meta {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 2.25rem;
}
.na-meta-n {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--Y);
  line-height: 1;
}
.na-meta-l {
  font-size: .52rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
  margin-top: .18rem;
}
.na-meta-div {
  width: 1px; height: 36px;
  background: rgba(255,255,255,.1);
}

.na-btns { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Right image panel */
.na-hero-right {
  position: relative;
  overflow: hidden;
}
.na-hero-right img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform .8s ease;
}
.na-hero-right:hover img { transform: scale(1.03); }

/* New badge overlay on the image */
.na-hero-img-tag {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  background: var(--K);
  color: var(--Y);
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .3rem .75rem;
}

/* Product info card floating at bottom of image */
.na-hero-card {
  position: absolute;
  bottom: 2rem; right: 2rem; left: 2rem;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(12px);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.na-hero-card-name {
  font-family: 'Playfair Display', serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--W);
  margin-bottom: .15rem;
}
.na-hero-card-cat {
  font-size: .54rem;
  color: rgba(255,255,255,.42);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.na-hero-card-price {
  font-size: .88rem;
  font-weight: 700;
  color: var(--Y);
  white-space: nowrap;
}

@media (max-width: 991px) {
  .na-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .na-hero-right {
    height: 52vw;
    min-height: 280px;
  }
  .na-hero-left {
    padding: 3.5rem 1.5rem 3rem;
  }
}
@media (max-width: 767px) {
  .na-hero-left { padding: 3.5rem 1.5rem 2.5rem; }
  .na-hero-meta { gap: 1.1rem; }
  .na-meta-n { font-size: 1.35rem; }
  .na-hero-right { height: 60vw; }
  .na-hero-card { bottom: 1rem; right: 1rem; left: 1rem; padding: .75rem 1rem; }
  .na-hero-card-name { font-size: .8rem; }
}


/* ── MARQUEE (reuse .mq-bar, just override content) ── */


/* ── SPOTLIGHT ───────────────────────────── */
.na-spot {
  padding: clamp(48px, 8vw, 80px) 0;
}

.na-spot-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(24px, 4vw, 40px);
  gap: 1rem;
  flex-wrap: wrap;
}
.na-spot-eyebrow {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--G);
  margin-bottom: .4rem;
}
.na-spot-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--K);
}

.na-spot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}

.na-spot-card {
  position: relative;
  overflow: hidden;
  background: var(--F);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.na-spot-card:hover .na-spot-img img { transform: scale(1.05); }
.na-spot-card:hover .na-spot-add { opacity: 1; }

/* Main card spans both rows */
.na-spot-main {
  grid-row: 1 / 3;
}

.na-spot-img {
  overflow: hidden;
  flex: 1;
}
.na-spot-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}
.na-spot-main .na-spot-img { min-height: 420px; }
.na-spot-card:not(.na-spot-main) .na-spot-img { height: 200px; }

.na-spot-info {
  padding: .85rem 1rem .8rem;
  background: var(--W);
  border-top: 1px solid var(--L);
}
.na-spot-badge {
  display: inline-block;
  background: var(--K);
  color: var(--Y);
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .15rem .45rem;
  margin-bottom: .45rem;
}
.na-spot-cat {
  font-size: .56rem;
  color: var(--G);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.na-spot-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(.88rem, 1.6vw, 1.05rem);
  font-weight: 700;
  color: var(--K);
  line-height: 1.2;
  margin-bottom: .35rem;
}
.na-spot-price {
  font-size: .8rem;
  font-weight: 700;
  color: var(--K);
}
.na-spot-add {
  width: 100%;
  background: var(--K);
  color: var(--W);
  border: none;
  padding: .6rem 1rem;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  opacity: 0;
  transition: opacity .2s, background .18s;
}
.na-spot-add:hover { background: var(--R); }

@media (max-width: 991px) {
  .na-spot-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .na-spot-main {
    grid-column: 1 / 3;
    grid-row: auto;
    flex-direction: row;
  }
  .na-spot-main .na-spot-img {
    width: 50%;
    min-height: 260px;
    flex: none;
  }
  .na-spot-main .na-spot-info { flex: 1; }
  .na-spot-main .na-spot-add { opacity: 1; }
  .na-spot-card:not(.na-spot-main) .na-spot-img { height: 180px; }
  .na-spot-card:not(.na-spot-main) .na-spot-add { opacity: 1; }
}
@media (max-width: 575px) {
  .na-spot-grid { grid-template-columns: 1fr; }
  .na-spot-main { grid-column: auto; flex-direction: column; }
  .na-spot-main .na-spot-img { width: 100%; min-height: 280px; }
  .na-spot-card:not(.na-spot-main) .na-spot-img { height: 220px; }
}


/* ── FRESHNESS BAND ──────────────────────── */
.na-band {
  background: var(--K);
  padding: 2.75rem 0;
}
.na-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.na-band-eye {
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--Y);
  margin-bottom: .5rem;
}
.na-band-h {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--W);
  line-height: 1.1;
  margin: 0;
}
.na-band-h em { font-style: italic; color: var(--Y); }

.na-band-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}
.na-band-pill {
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.55);
  background: transparent;
  padding: .3rem .8rem;
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .07em;
  cursor: default;
}

@media (max-width: 767px) {
  .na-band-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}


/* ── CATEGORY TABS ───────────────────────── */
.na-cats {
  background: var(--W);
  border-bottom: 1px solid var(--L);
  position: sticky;
  top: 57px;
  z-index: 30;
}
.na-cat-row {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.na-cat-row::-webkit-scrollbar { display: none; }
.na-cat-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: .85rem 1.25rem;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(0,0,0,.38);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  flex-shrink: 0;
}
.na-cat-btn:hover { color: var(--K); }
.na-cat-btn.active { color: var(--K); border-bottom-color: var(--K); }


/* ── GRID SECTION ────────────────────────── */
.na-grid-sec { padding: 2.5rem 0 5rem; }

.na-grid-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: .75rem;
}
.na-grid-count { font-size: .68rem; color: var(--G); }
.na-grid-count strong { color: var(--K); font-weight: 700; }
/* ════════════════════════════════════════════════
   PORTAL.CSS — customer account / portal
   Mobelivin / Odoo 19 website_sale prototype
   --R #C41230  --K #111  --W #fff  --F #f5f3f0  --G #888  --L #e4e0db
════════════════════════════════════════════════ */

/* ── EDITORIAL PAGE HEADER — portal override (restores wrap after cart) ── */
.ck-ed-inner {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 2rem;
  flex-wrap: wrap;
}

/* ── PORTAL LAYOUT ────────────────────────────── */
.prfl-sec { padding-bottom: 5rem; }

.prfl-layout {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 2.5rem 0 0;
}

.prfl-sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: calc(58px + 2rem);
  align-self: flex-start;
}

.prfl-main { flex: 1; min-width: 0; }

/* ── PROFILE CARD ─────────────────────────────── */
.prfl-card {
  border: 1px solid var(--L);
  padding: 1.5rem 1.25rem 1.25rem;
  text-align: center;
  margin-bottom: .15rem;
  background: var(--F);
}

.prfl-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--K); color: var(--W);
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .85rem;
  letter-spacing: .02em; flex-shrink: 0;
}

.prfl-name {
  font-family: 'Playfair Display', serif;
  font-size: .95rem; font-weight: 700;
  color: var(--K); margin-bottom: .2rem;
  line-height: 1.2;
}

.prfl-email {
  font-size: .65rem; color: var(--G);
  letter-spacing: .02em; margin-bottom: .85rem;
}

.prfl-card-info { width: 100%; }

.prfl-member {
  display: inline-block;
  font-size: .55rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--G);
  background: var(--W); border: 1px solid var(--L);
  padding: .18rem .6rem;
}

/* ── SIDEBAR NAV ──────────────────────────────── */
.prfl-nav {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--L);
  border-top: none;
}

.prfl-nav-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem; font-weight: 500;
  color: var(--G);
  padding: .7rem .85rem;
  border-left: 2.5px solid transparent;
  border-bottom: 1px solid var(--L);
  transition: color .15s, background .15s, border-color .15s;
  letter-spacing: .03em;
}
.prfl-nav-item:last-child { border-bottom: none; }

.prfl-nav-item i {
  font-size: .88rem; flex-shrink: 0;
  width: 16px; text-align: center;
}

.prfl-nav-item > span { flex: 1; }

.prfl-nav-item:hover {
  color: var(--K);
  background: var(--F);
  border-left-color: var(--L);
}

.prfl-nav-item.active {
  color: var(--K); font-weight: 600;
  background: var(--F);
  border-left-color: var(--R);
}

.prfl-nav-badge {
  background: var(--K); color: var(--W);
  font-size: .52rem; font-weight: 700;
  padding: .12rem .38rem;
  min-width: 18px; text-align: center;
  flex-shrink: 0; line-height: 1.4;
}

.prfl-nav-div {
  border: none; border-top: 1px solid var(--L);
  margin: 0;
}

.prfl-nav-out { color: var(--G); }
.prfl-nav-out:hover { color: var(--R); background: #fdecea; border-left-color: var(--R); }

/* ── STATS GRID ───────────────────────────────── */
.prfl-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--L);
  border: 1px solid var(--L);
  margin-bottom: 2.5rem;
}

.prfl-stat {
  background: var(--W);
  padding: 1.4rem 1.5rem 1.25rem;
}

.prfl-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900; color: var(--K);
  line-height: 1; margin-bottom: .35rem;
  letter-spacing: -.02em;
}

.prfl-stat-lbl {
  font-size: .58rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--G); font-weight: 600;
}

.prfl-stat-sub {
  font-size: .6rem; color: var(--G);
  margin-top: .2rem;
}

.prfl-stat-accent { background: var(--K); }
.prfl-stat-accent .prfl-stat-num  { color: var(--Y); }
.prfl-stat-accent .prfl-stat-lbl  { color: rgba(255,255,255,.38); }
.prfl-stat-accent .prfl-stat-sub  { color: rgba(255,255,255,.22); }

/* ── SECTION HEADER (inside portal) ──────────── */
.prfl-section-head {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.prfl-sec-num {
  font-family: 'Playfair Display', serif;
  font-size: .7rem; font-weight: 700;
  color: var(--G); letter-spacing: .12em;
  white-space: nowrap; flex-shrink: 0;
}
.prfl-sec-rule { flex: 1; height: 1px; background: var(--L); }
.prfl-sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700; line-height: 1.1;
  white-space: nowrap; flex-shrink: 0;
}
.prfl-sec-actions { flex-shrink: 0; display: flex; gap: .35rem; flex-wrap: wrap; }

/* ── ORDERS TABLE ─────────────────────────────── */
.ord-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.ord-head th {
  font-size: .58rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--G);
  font-weight: 600; padding: 0 .75rem .65rem;
  border-bottom: 1px solid var(--L);
  text-align: left;
}

.ord-row td {
  padding: 1.1rem .75rem;
  border-bottom: 1px solid var(--L);
  vertical-align: middle;
}
.ord-row:last-child td { border-bottom: none; }

.ord-row {
  transition: background .15s;
  cursor: default;
}
.ord-row:hover td { background: var(--F); }

/* Order number + item count */
.ord-numtxt {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: .72rem; font-weight: 700;
  color: var(--K); letter-spacing: .04em;
  margin-bottom: .18rem;
}
.ord-items-txt {
  font-size: .6rem; color: var(--G); letter-spacing: .03em;
}

/* Date */
.ord-date-txt {
  font-size: .72rem; color: var(--G); white-space: nowrap;
}

/* Thumbnail preview */
.ord-thumb-group {
  display: flex; align-items: center; gap: 3px;
}
.ord-thumb {
  width: 46px; height: 46px;
  object-fit: cover; border: 1px solid var(--L);
  flex-shrink: 0;
}
.ord-thumb-more {
  width: 46px; height: 46px;
  border: 1px solid var(--L); background: var(--F);
  font-size: .62rem; font-weight: 700; color: var(--G);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; letter-spacing: .02em;
}

/* Amount */
.ord-price {
  font-family: 'Playfair Display', serif;
  font-size: .88rem; font-weight: 700;
  color: var(--K); white-space: nowrap;
}

/* Status badge */
.ord-badge {
  display: inline-block;
  font-size: .56rem; text-transform: uppercase;
  letter-spacing: .1em; font-weight: 700;
  padding: .22rem .65rem; white-space: nowrap;
}
.ord-badge-processing { background: #fff8e1; color: #8a6500; }
.ord-badge-shipped    { background: #e8f4fd; color: #1a6699; }
.ord-badge-delivered  { background: #e6f4ea; color: #1e7e34; }
.ord-badge-cancelled  { background: #fdecea; color: var(--R); }
.ord-badge-pending    { background: var(--F); color: var(--G); border: 1px solid var(--L); }

/* Action column */
.ord-action-cell { text-align: right; }
.ord-view-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .62rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .42rem 1rem;
  border: 1.5px solid var(--L); color: var(--G);
  background: transparent;
  transition: border-color .15s, color .15s, background .15s;
  white-space: nowrap;
}
.ord-view-btn:hover {
  border-color: var(--K); color: var(--K);
}

/* Empty state */
.ord-empty {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border: 1px dashed var(--L);
}
.ord-empty-icon {
  font-size: 2.2rem; color: var(--L);
  margin-bottom: 1rem; display: block;
}
.ord-empty-h {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--K);
  margin-bottom: .4rem;
}
.ord-empty-p {
  font-size: .75rem; color: var(--G);
  margin-bottom: 1.25rem;
}

/* Load more */
.ord-more {
  display: flex;
  justify-content: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--L);
}

/* ── ADDRESSES PANEL (stub) ───────────────────── */
.prfl-addr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.prfl-addr-card {
  border: 1px solid var(--L);
  padding: 1.25rem;
  position: relative;
  transition: border-color .15s;
}
.prfl-addr-card:hover { border-color: var(--G); }
.prfl-addr-card.prfl-addr-default { border-color: var(--K); }
.prfl-addr-tag {
  position: absolute; top: -1px; left: 1rem;
  font-size: .52rem; text-transform: uppercase;
  letter-spacing: .1em; font-weight: 700;
  background: var(--K); color: var(--W);
  padding: .12rem .45rem;
}
.prfl-addr-name {
  font-family: 'Playfair Display', serif;
  font-size: .88rem; font-weight: 700;
  color: var(--K); margin-bottom: .4rem; margin-top: .35rem;
}
.prfl-addr-lines {
  font-size: .72rem; color: var(--G);
  line-height: 1.75; margin-bottom: .85rem;
}
.prfl-addr-actions { display: flex; gap: .5rem; }

/* ── RESPONSIVE ───────────────────────────────── */

/* ── Tablet (≤ 991px): sidebar stacks above main ── */
@media (max-width: 991px) {
  /* Column layout — align-items defaults to stretch so both children
     fill the full container width automatically */
  .prfl-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .prfl-sidebar { width: 100%; position: static; }
  .prfl-main    { width: 100%; padding-top: 1.25rem; }

  /* Profile card: horizontal strip — avatar left, info right */
  .prfl-card {
    display: flex; align-items: center;
    gap: .85rem; text-align: left;
    padding: .85rem 1rem;
    border-bottom: none;
    margin-bottom: 0;
  }
  .prfl-avatar    { margin: 0; width: 44px; height: 44px; font-size: .88rem; flex-shrink: 0; }
  .prfl-card-info { display: flex; flex-direction: column; gap: .1rem; min-width: 0; flex: 1; }
  .prfl-name      { font-size: .88rem; }
  .prfl-email     { margin-bottom: 0; font-size: .62rem; }
  .prfl-member    { display: none; }

  /* Nav: horizontal scrollable row of icon+label chips */
  .prfl-nav {
    flex-direction: row;
    overflow-x: auto; scrollbar-width: none;
    border: none;
    border-top: 1px solid var(--L);
    border-bottom: 1px solid var(--L);
  }
  .prfl-nav::-webkit-scrollbar { display: none; }

  .prfl-nav-item {
    flex-direction: column; align-items: center;
    gap: .2rem; padding: .55rem .85rem;
    border-left: none;
    border-bottom: 2.5px solid transparent;
    border-right: 1px solid var(--L);
    white-space: nowrap; font-size: .6rem;
    flex-shrink: 0;
  }
  .prfl-nav-item:last-child { border-right: none; }
  .prfl-nav-item.active {
    border-left-color: transparent;
    border-bottom-color: var(--R);
    background: var(--F);
  }
  .prfl-nav-item > span { text-align: center; }
  .prfl-nav-badge { display: none; }
  .prfl-nav-div   { display: none; }

  .prfl-stats   { margin-bottom: 1.75rem; }
  .ck-ed-total  { font-size: 1.2rem; }
}

/* ── Mobile (≤ 767px): nav becomes fixed bottom tab bar ── */
@media (max-width: 767px) {

  /* Lift the nav out of the document flow and pin to bottom */
  .prfl-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 500;
    flex-direction: row;
    justify-content: space-around;
    overflow: visible;
    background: var(--W);
    border-top: 1px solid var(--L);
    border-bottom: none;
    box-shadow: 0 -2px 16px rgba(0,0,0,.07);
    /* Respect notched-phone safe area */
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .prfl-nav-item {
    flex: 1;
    flex-direction: column; align-items: center;
    gap: .18rem;
    padding: .6rem .25rem .55rem;
    border-right: none; border-left: none; border-bottom: none;
    border-top: 2.5px solid transparent;
    font-size: .54rem; white-space: normal; text-align: center;
    flex-shrink: 1; min-width: 0;
  }
  .prfl-nav-item i { font-size: .95rem; }
  .prfl-nav-item.active {
    border-top-color: var(--R);
    border-left-color: transparent;
    border-bottom-color: transparent;
    color: var(--K); font-weight: 600;
    background: var(--F);
  }
  /* Hide Sign Out from thumb zone — accessible via Settings */
  .prfl-nav-out { display: none; }

  /* Reserve space so fixed bar doesn't overlap last content */
  .prfl-sec { padding-bottom: 76px; }

  /* Sidebar is now just the profile card — no nav below it */
  .prfl-sidebar { border-bottom: 1px solid var(--L); margin-bottom: 1rem; }
  .prfl-main    { padding-top: 0; }
}

/* ── Small mobile (≤ 575px) ── */
@media (max-width: 575px) {

  /* Editorial header: scale title down */
  .ck-ed-title  { font-size: clamp(1.8rem, 10vw, 2.4rem); }

  /* Stats: 2-col + full-width accent row */
  .prfl-stats { grid-template-columns: 1fr 1fr; }
  .prfl-stat-accent {
    grid-column: 1 / -1;
    display: flex; align-items: center;
    justify-content: space-between; gap: 1rem;
    padding: 1rem 1.5rem;
  }
  .prfl-stat-accent .prfl-stat-num { margin-bottom: 0; font-size: 1.5rem; }
  .prfl-stat-accent .prfl-stat-lbl { font-size: .55rem; }

  /* ── Orders + invoice tables → flex cards ──
     Converts <table> to block/flex so we can reorder cells visually.
     Bootstrap's d-none d-sm-table-cell still hides preview/date cells
     at this breakpoint (d-none fires at xs = <576px). */
  .ord-table,
  .ord-table tbody { display: block; }
  .ord-head { display: none; }

  .ord-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: .5rem;
    row-gap: .35rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--L);
  }
  .ord-row:last-child { border-bottom: none; }
  .ord-row td { display: block; padding: 0; border: none; }
  .ord-row:hover td { background: transparent; }

  /* ── Orders list row layout (CSS Grid) ──
       ┌────────────────────────┬───────────────┐
       │ #MBL-XXXX-XXXXX        │  [Processing] │
       │ 2 items                │               │
       ├────────────────────────┼───────────────┤
       │ Rp 12.300.000          │    [View →]   │
       └────────────────────────┴───────────────┘  */
  .ord-list-table .ord-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "num    status"
      "amount action";
    row-gap: .45rem;
    column-gap: .6rem;
  }

  .ord-list-table .ord-num-cell    { grid-area: num;    min-width: 0; }
  .ord-list-table .ord-status-cell { grid-area: status; align-self: start; justify-self: end; }
  .ord-list-table .ord-amount-cell { grid-area: amount; align-self: center; }
  .ord-list-table .ord-action-cell { grid-area: action; align-self: center; justify-self: end;
                                     display: block !important; }
  /* Date + preview cells already hidden by Bootstrap d-none at xs */
  .ord-list-table .ord-date-cell,
  .ord-list-table .ord-preview-cell { display: none !important; }

  .ord-list-table .ord-price  { font-size: .82rem; }
  .ord-list-table .ord-view-btn { padding: .35rem .75rem; font-size: .6rem; }

  /* ── Invoice list row layout (CSS Grid) ──
     Grid guarantees placement. flex-wrap + order would let a flex:1 num-cell
     eat the full first row before the status badge could land beside it.

       ┌──────────────────────────┬───────────┐
       │ INV# / order ref         │  [badge]  │
       ├──────────────────────────┼───────────┤
       │ Rp amount                │  [Pay →]  │
       └──────────────────────────┴───────────┘  */
  .inv-list-table .ord-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "num    status"
      "amount action";
    row-gap: .45rem;
    column-gap: .6rem;
  }

  .inv-list-table .ord-num-cell    { grid-area: num;    min-width: 0; }
  .inv-list-table .inv-status-cell { grid-area: status; align-self: start; justify-self: end; }
  .inv-list-table .inv-amount-cell { grid-area: amount; align-self: center; }
  .inv-list-table .inv-action-cell { grid-area: action; align-self: center; justify-self: end;
                                     display: block !important; }
  .inv-list-table .inv-date-cell,
  .inv-list-table .inv-due-cell   { display: none !important; }

  .inv-list-table .inv-list-amount      { font-size: .82rem; }
  .inv-list-table .inv-list-of-total    { display: block; font-size: .7rem; margin-top: .1rem; }
  .inv-list-table .inv-list-amount-paid { font-size: .72rem; }
  .inv-list-table .ord-view-btn         { padding: .35rem .75rem; font-size: .6rem; }

  /* Addresses: single column */
  .prfl-addr-grid { grid-template-columns: 1fr; }

  /* Section heading: tighter */
  .prfl-section-head { gap: .5rem; }
  .prfl-sec-title    { font-size: 1.15rem; }
}

/* ════════════════════════════════════════════════
   ORDER DETAIL PAGE (portal-order.html)
════════════════════════════════════════════════ */

/* ── Breadcrumb strip ─────────────────────────── */
.bc-row   { padding: .65rem 0; }
.bc-list  { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.bc-item  { font-size: .62rem; color: var(--G); }
.bc-item a { color: var(--G); text-decoration: none; }
.bc-item a:hover { color: var(--K); }
.bc-item.bc-cur { color: var(--K); font-weight: 600; }
.bc-sep   { font-size: .5rem; color: var(--L); }

/* ── 2-col layout within prfl-main ──────────────  */
.ord-detail-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.ord-detail-content {
  flex: 1;
  min-width: 0;
}
.ord-detail-aside {
  width: 260px;
  flex-shrink: 0;
  position: sticky;
  top: calc(58px + 2rem);
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

/* ── Status alerts ───────────────────────────── */
.ord-alert {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .85rem 1.1rem;
  margin-bottom: 1.5rem;
  font-size: .75rem;
  line-height: 1.6;
}
.ord-alert i { font-size: 1rem; flex-shrink: 0; margin-top: .1rem; }
.ord-alert strong { display: block; font-weight: 700; margin-bottom: .15rem; }
.ord-alert-info    { background: #e8f4fd; color: #1a6699; }
.ord-alert-success { background: #e6f4ea; color: #1e7e34; }
.ord-alert-danger  { background: #fdecea; color: var(--R); }
.ord-alert-link    { font-weight: 700; text-decoration: none; color: inherit; border-bottom: 1px solid currentColor; }

/* ── Order info + address grid ───────────────── */
.ord-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.ord-info-panel {
  border: 1px solid var(--L);
  padding: 1.1rem 1.25rem;
}
.ord-panel-title {
  font-size: .56rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--G);
  font-weight: 700;
  margin-bottom: .75rem;
}
.ord-info-rows  { display: flex; flex-direction: column; gap: .42rem; }
.ord-info-row   { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .72rem; }
.ord-info-lbl   { color: var(--G); white-space: nowrap; flex-shrink: 0; }
.ord-info-val   { color: var(--K); font-weight: 500; text-align: right; }
.ord-addr-name  { font-weight: 700; color: var(--K); font-size: .78rem; margin-bottom: .3rem; font-family: 'Playfair Display', serif; }
.ord-addr-lines { font-size: .72rem; color: var(--G); line-height: 1.7; }
.ord-addr-phone { font-size: .7rem; color: var(--G); margin-top: .35rem; }

/* ── Section headers ─────────────────────────── */
.ord-detail-section { margin-bottom: 1.75rem; }
.ord-detail-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700; color: var(--K);
  border-bottom: 1px solid var(--L);
  padding-bottom: .65rem; margin-bottom: 1rem;
}

/* ── Horizontal timeline ─────────────────────── */
.ord-htimeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: .25rem;
}
.ord-htimeline::-webkit-scrollbar { display: none; }

.ord-htl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex: 1;
  min-width: 68px;
}
.ord-htl-step:last-child .ord-htl-connector { display: none; }

.ord-htl-dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--L); background: var(--W);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; color: var(--W);
  z-index: 1; flex-shrink: 0; margin-bottom: .45rem;
}
.ord-htl-step.done .ord-htl-dot    { background: var(--K); border-color: var(--K); }
.ord-htl-step.active .ord-htl-dot  { background: var(--R); border-color: var(--R); }
.ord-htl-step.failed .ord-htl-dot  { background: var(--R); border-color: var(--R); }

.ord-htl-connector {
  position: absolute;
  top: 14px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: var(--L);
  z-index: 0;
}
.ord-htl-step.done .ord-htl-connector  { background: var(--K); }
.ord-htl-step.active .ord-htl-connector { background: var(--L); }

.ord-htl-label { font-size: .62rem; font-weight: 600; color: var(--G); line-height: 1.3; margin-bottom: .12rem; }
.ord-htl-step.done .ord-htl-label   { color: var(--K); }
.ord-htl-step.active .ord-htl-label { color: var(--R); }
.ord-htl-step.failed .ord-htl-label { color: var(--R); }
.ord-htl-sub { font-size: .56rem; color: var(--L); }
.ord-htl-step.done .ord-htl-sub   { color: var(--G); }
.ord-htl-step.active .ord-htl-sub { color: var(--G); }

/* ── Order lines table ───────────────────────── */
.ord-lines-table { border: 1px solid var(--L); }

.ord-lines-head {
  display: grid;
  grid-template-columns: 60px 1fr auto auto auto;
  padding: .55rem .85rem;
  border-bottom: 1px solid var(--L);
  background: var(--F);
  font-size: .56rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--G); font-weight: 700;
  gap: 1rem;
}
/* "Product" header spans the image column + info column */
.ord-lines-head .ord-lines-col-product { grid-column: 1 / 3; }

.ord-lines-row {
  display: grid;
  grid-template-columns: 60px 1fr auto auto auto;
  align-items: center;
  gap: 1rem;
  padding: .9rem .85rem;
  border-bottom: 1px solid var(--L);
}
.ord-lines-row:last-child { border-bottom: none; }

.ord-lines-img {
  width: 60px; height: 60px;
  object-fit: cover; border: 1px solid var(--L);
  flex-shrink: 0;
}
.ord-lines-info { display: flex; flex-direction: column; gap: .2rem; }
.ord-lines-name { font-size: .78rem; font-weight: 600; color: var(--K); line-height: 1.3; }
.ord-lines-variant { font-size: .62rem; color: var(--G); }
.ord-lines-qty-mob { font-size: .65rem; color: var(--G); margin-top: .1rem; }
.ord-lines-disc-badge {
  display: inline-block;
  background: #fff8e1; color: #8a6500;
  font-size: .52rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .1rem .45rem; margin-top: .15rem;
}
.ord-lines-col-product { display: flex; align-items: center; }
.ord-lines-col-qty  { text-align: center; font-size: .72rem; color: var(--G); white-space: nowrap; }
.ord-lines-col-unit { text-align: right; font-size: .72rem; color: var(--G); white-space: nowrap; }
.ord-lines-col-total { text-align: right; font-size: .78rem; font-weight: 700; color: var(--K); white-space: nowrap; }
.ord-lines-qty-val  { color: var(--G); }
.ord-lines-unit-val { color: var(--G); display: flex; flex-direction: column; align-items: flex-end; gap: .1rem; }
.ord-lines-strike   { text-decoration: line-through; color: var(--L); font-size: .65rem; }

/* Order line totals block */
.ord-lines-totals {
  background: var(--F);
  border-top: 1px solid var(--L);
  padding: .85rem 1.1rem;
  display: flex; flex-direction: column; gap: .4rem;
}
.ord-lines-total-row {
  display: flex; justify-content: space-between;
  font-size: .72rem; color: var(--G);
}
.ord-lines-grand-total {
  font-family: 'Playfair Display', serif;
  font-size: .95rem; font-weight: 700; color: var(--K);
  border-top: 1px solid var(--L); margin-top: .35rem;
  padding-top: .65rem;
}

/* ── Invoice row ─────────────────────────────── */
.ord-invoice-row {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  border: 1px solid var(--L); padding: .9rem 1.1rem;
}
.ord-invoice-left { display: flex; align-items: center; gap: .75rem; }
.ord-invoice-icon { font-size: 1.4rem; color: var(--G); }
.ord-invoice-num  { font-family: 'Courier New', monospace; font-size: .72rem; font-weight: 700; color: var(--K); }
.ord-invoice-date { font-size: .62rem; color: var(--G); margin-top: .15rem; }
.ord-invoice-right { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }

/* ── Terms ───────────────────────────────────── */
.ord-terms-text { font-size: .73rem; color: var(--G); line-height: 1.75; margin: 0; }

/* ── Message thread ──────────────────────────── */
.ord-msg-thread { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 1.5rem; }

.ord-msg { display: flex; gap: .75rem; }

.ord-msg-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700; flex-shrink: 0;
  margin-top: .1rem;
}
.ord-msg-avatar-sys  { background: var(--K); color: var(--W); font-size: .9rem; }
.ord-msg-avatar-user { background: var(--F); color: var(--K); border: 1px solid var(--L); font-family: 'Playfair Display', serif; }

.ord-msg-body   { flex: 1; min-width: 0; }
.ord-msg-header { display: flex; align-items: baseline; gap: .65rem; margin-bottom: .35rem; }
.ord-msg-author { font-size: .7rem; font-weight: 700; color: var(--K); }
.ord-msg-time   { font-size: .6rem; color: var(--G); }
.ord-msg-content {
  font-size: .73rem; color: var(--K); line-height: 1.65;
  background: var(--F); border: 1px solid var(--L);
  padding: .65rem .85rem;
}

/* Message compose */
.ord-msg-compose { display: flex; gap: .75rem; margin-top: .5rem; }
.ord-msg-compose-field { flex: 1; min-width: 0; }
.ord-msg-input {
  width: 100%;
  border: 1px solid var(--L); background: var(--W);
  padding: .6rem .85rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .73rem; color: var(--K);
  resize: vertical; outline: none;
  transition: border-color .15s;
}
.ord-msg-input:focus { border-color: var(--K); }
.ord-msg-input::placeholder { color: var(--G); }
.ord-msg-compose-actions { display: flex; justify-content: flex-end; margin-top: .5rem; }

/* ── Order aside panels ──────────────────────── */
.ord-aside-panel {
  border: 1px solid var(--L);
  padding: 1.1rem 1.15rem;
  background: var(--W);
}

.ord-aside-total-lbl {
  font-size: .56rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--G); font-weight: 700; margin-bottom: .35rem;
}
.ord-aside-total-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 900; color: var(--K); line-height: 1;
  letter-spacing: -.02em;
}
.ord-aside-total-sub { font-size: .6rem; color: var(--G); margin-top: .25rem; }

.ord-aside-actions { display: flex; flex-direction: column; gap: .45rem; }
.ord-aside-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  gap: .45rem; font-size: .65rem !important;
  padding: .6rem 1rem !important;
}

.ord-aside-panel-title {
  font-size: .56rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--G); font-weight: 700;
  border-bottom: 1px solid var(--L);
  padding-bottom: .5rem; margin-bottom: .65rem;
}
.ord-aside-rows { display: flex; flex-direction: column; gap: .38rem; }
.ord-aside-row  {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .68rem; gap: .5rem;
}
.ord-aside-row span:first-child { color: var(--G); flex-shrink: 0; }
.ord-aside-row span:last-child  { color: var(--K); font-weight: 500; text-align: right; }

.ord-aside-contact { display: flex; align-items: center; gap: .75rem; }
.ord-aside-contact-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--K); color: var(--W);
  font-family: 'Playfair Display', serif;
  font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ord-aside-contact-name  { font-size: .75rem; font-weight: 700; color: var(--K); }
.ord-aside-contact-role  { font-size: .62rem; color: var(--G); margin-top: .1rem; }
.ord-aside-contact-email { font-size: .62rem; color: var(--R); text-decoration: none; display: block; margin-top: .15rem; }
.ord-aside-contact-email:hover { text-decoration: underline; }

/* ── State switcher (prototype) ──────────────── */
.state-sw {
  position: fixed; bottom: 5.5rem; right: 1rem; z-index: 300;
  background: var(--K); padding: .5rem .65rem;
  display: flex; align-items: center; gap: .4rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.state-sw-label {
  font-size: .48rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.3); white-space: nowrap; margin-right: .15rem;
}
.ss-btn {
  background: none; border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.5); font-size: .55rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .5rem; cursor: pointer; transition: all .15s;
}
.ss-btn.active    { background: var(--W); color: var(--K); border-color: var(--W); }
.ss-btn:hover:not(.active) { border-color: rgba(255,255,255,.45); color: var(--W); }

/* ── ORDER DETAIL RESPONSIVE ─────────────────── */

/* Tablet: stack aside below content */
@media (max-width: 1100px) {
  .ord-detail-aside { width: 230px; }
}

@media (max-width: 991px) {
  .ord-detail-layout { flex-direction: column; }
  .ord-detail-aside {
    width: 100%; position: static; top: auto;
    flex-direction: row; flex-wrap: wrap; gap: .6rem;
  }
  .ord-detail-aside .ord-aside-panel { flex: 1 1 calc(50% - .3rem); min-width: 200px; }
  .ord-detail-aside .ord-aside-actions { flex: 0 0 100%; flex-direction: row; flex-wrap: wrap; }
  .ord-aside-btn { flex: 1; }
}

@media (max-width: 767px) {
  .ord-info-grid { grid-template-columns: 1fr; }
  .ord-detail-aside .ord-aside-panel { flex: 1 1 100%; }
  .ord-lines-head { display: none; }
  .ord-lines-row  {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .ord-lines-img       { grid-row: 1 / 3; }
  .ord-lines-info      { grid-column: 2; }
  .ord-lines-col-total { grid-column: 2; text-align: left; }
  .state-sw { bottom: 4.5rem; right: .75rem; flex-wrap: wrap; max-width: calc(100vw - 1.5rem); }
}

@media (max-width: 575px) {
  .ord-htl-label { font-size: .55rem; }
  .ord-htl-sub   { font-size: .5rem; }
  .ord-htimeline { gap: 0; }
}

/* ════════════════════════════════════════════════
   INVOICE DETAIL PAGE (portal-invoice.html)
════════════════════════════════════════════════ */

/* ── Editorial header status badges ──────────── */
.inv-status-badge {
  display: inline-block;
  font-size: .58rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .28rem .85rem;
}
.inv-status-unpaid   { background: #fdecea; color: var(--R); }
.inv-status-partial  { background: #fff8e1; color: #8a6500; }
.inv-status-process  { background: #e8f4fd; color: #1a6699; }
.inv-status-paid     { background: #e6f4ea; color: #1e7e34; }
.inv-status-reversed { background: var(--F); color: var(--G); border: 1px solid var(--L); }

/* ── Invoice document card ───────────────────── */
.inv-doc {
  background: var(--W);
  border: 1px solid var(--L);
  padding: 2.5rem;
  margin-bottom: 1.75rem;
  position: relative;
}

/* ── Invoice document header ─────────────────── */
.inv-doc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}
.inv-doc-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 900;
  color: var(--K); letter-spacing: -.02em;
  line-height: 1;
}
.inv-doc-brand-sub {
  font-size: .58rem; text-transform: uppercase;
  letter-spacing: .14em; color: var(--G);
  margin-top: .3rem; margin-bottom: .75rem;
}
.inv-doc-brand-addr {
  font-size: .68rem; color: var(--G); line-height: 1.7;
}
.inv-doc-meta { text-align: right; }
.inv-doc-type {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 900;
  color: var(--K); letter-spacing: -.01em;
  margin-bottom: .85rem; line-height: 1;
}
.inv-doc-meta-rows  { display: flex; flex-direction: column; gap: .3rem; }
.inv-doc-meta-row   {
  display: flex; justify-content: flex-end;
  align-items: baseline; gap: 1rem;
  font-size: .7rem;
}
.inv-doc-meta-row span:first-child { color: var(--G); text-align: right; }
.inv-doc-meta-row span:last-child  { color: var(--K); font-weight: 600; min-width: 110px; text-align: right; }

/* ── Divider ─────────────────────────────────── */
.inv-doc-divider { border: none; border-top: 1px solid var(--L); margin: 1.5rem 0; }

/* ── Address blocks ──────────────────────────── */
.inv-doc-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.inv-addr-label {
  font-size: .54rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--G); font-weight: 700;
  margin-bottom: .5rem;
}
.inv-addr-name  { font-family: 'Playfair Display', serif; font-size: .88rem; font-weight: 700; color: var(--K); margin-bottom: .3rem; }
.inv-addr-lines { font-size: .7rem; color: var(--G); line-height: 1.75; }
.inv-addr-method {
  display: inline-flex; align-items: center;
  font-size: .65rem; color: var(--K); font-weight: 600;
  background: var(--F); border: 1px solid var(--L);
  padding: .2rem .65rem; margin-top: .55rem;
}

/* ── Line items table ────────────────────────── */
.inv-lines-table { margin-bottom: 0; }

.inv-lines-head {
  display: grid;
  grid-template-columns: 1fr 60px 110px 55px 65px 100px;
  padding: .5rem 0 .4rem;
  border-bottom: 2px solid var(--K);
  font-size: .56rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--G); font-weight: 700;
  gap: .75rem;
}
.inv-lines-row {
  display: grid;
  grid-template-columns: 1fr 60px 110px 55px 65px 100px;
  padding: .85rem 0;
  border-bottom: 1px solid var(--L);
  align-items: start;
  gap: .75rem;
  font-size: .72rem;
}
.inv-lines-row-minor { background: none; }
.inv-lines-row-minor .inv-line-name { color: var(--G); font-weight: 400; }

.inv-line-name  { font-weight: 600; color: var(--K); line-height: 1.3; margin-bottom: .15rem; }
.inv-line-desc  { font-size: .62rem; color: var(--G); }
.inv-line-qty-mob { font-size: .62rem; color: var(--G); margin-top: .2rem; }
.inv-price-strike { text-decoration: line-through; color: var(--L); font-size: .65rem; display: block; }

.inv-col-product { min-width: 0; }
.inv-col-qty   { text-align: right; color: var(--G); }
.inv-col-price { text-align: right; color: var(--G); }
.inv-col-disc  { text-align: right; }
.inv-col-tax   { text-align: right; color: var(--G); }
.inv-col-total { text-align: right; font-weight: 700; color: var(--K); }

/* ── Totals ──────────────────────────────────── */
.inv-totals {
  display: flex;
  justify-content: flex-end;
  margin-top: .25rem;
  border-top: 2px solid var(--K);
  padding-top: 1rem;
}
.inv-totals-inner { width: 280px; display: flex; flex-direction: column; gap: .45rem; }
.inv-total-row {
  display: flex; justify-content: space-between;
  font-size: .72rem; color: var(--G);
}
.inv-grand-total {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 900; color: var(--K);
  border-top: 1px solid var(--K); margin-top: .35rem;
  padding-top: .6rem;
}
.inv-total-words {
  font-size: .58rem; color: var(--G); font-style: italic;
  border-top: 1px dashed var(--L);
  padding-top: .55rem; margin-top: .35rem;
  line-height: 1.5;
}

/* ── Payment record ──────────────────────────── */
.inv-payment-record {
  border: 1px solid var(--L); background: var(--F);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
}
.inv-payment-record-title {
  font-size: .56rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--G); font-weight: 700;
  margin-bottom: .65rem;
}
.inv-payment-record-rows { display: flex; flex-direction: column; gap: .35rem; }
.inv-pr-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .7rem; color: var(--K);
}
.inv-pr-lbl { color: var(--G); }

/* ── Bank transfer box ───────────────────────── */
.inv-bank-box {
  border: 1px solid #f0e0a0;
  background: #fffdf0;
  padding: 1.1rem 1.25rem;
  margin-top: 1.5rem;
}
.inv-bank-title {
  font-size: .62rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: #8a6500; margin-bottom: .75rem;
  display: flex; align-items: center;
}
.inv-bank-rows  { display: flex; flex-direction: column; gap: 0; }
.inv-bank-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .7rem; color: var(--K);
  padding: .38rem 0; border-bottom: 1px solid #f0e8c0;
}
.inv-bank-row:last-child { border-bottom: none; }
.inv-bank-row span:first-child { color: var(--G); }
.inv-bank-row span:last-child  { font-weight: 600; display: flex; align-items: center; gap: .3rem; }
.inv-bank-note {
  font-size: .62rem; color: var(--G); line-height: 1.6;
  margin-top: .75rem; font-style: italic;
}
.inv-copy-btn {
  background: none; border: none; color: var(--G);
  cursor: pointer; font-size: .75rem; padding: 0;
  transition: color .15s; line-height: 1;
}
.inv-copy-btn:hover { color: var(--K); }

/* ── Document footer ─────────────────────────── */
.inv-doc-footer {
  margin-top: 1.75rem; padding-top: 1.25rem;
  border-top: 1px solid var(--L);
  position: relative;
}
.inv-footer-note { font-size: .65rem; color: var(--G); line-height: 1.7; max-width: 75%; }
.inv-footer-stamp {
  position: absolute;
  bottom: 0; right: 0;
  border: 3px solid #1e7e34;
  color: #1e7e34;
  font-size: 1.3rem; font-weight: 900;
  letter-spacing: .22em; text-transform: uppercase;
  padding: .35rem 1rem;
  transform: rotate(-12deg);
  opacity: .55;
  pointer-events: none;
  font-family: 'Courier New', monospace;
}

/* ── Aside: partial payment progress bar ─────── */
.inv-partial-bars { margin-top: .75rem; display: flex; flex-direction: column; gap: .3rem; }
.inv-partial-row  { display: flex; justify-content: space-between; font-size: .65rem; }
.inv-partial-progress {
  height: 5px; background: var(--L); position: relative; overflow: hidden;
}
.inv-partial-fill { height: 100%; background: #1e7e34; }

/* ── Aside: processing badge ─────────────────── */
.inv-processing-badge {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  font-size: .65rem; font-weight: 600; color: #1a6699;
  background: #e8f4fd; padding: .55rem;
}

/* ── INVOICE RESPONSIVE ──────────────────────── */
@media (max-width: 991px) {
  .inv-doc { padding: 1.75rem; }
}

@media (max-width: 767px) {
  .inv-doc { padding: 1.25rem; }
  .inv-doc-header { flex-direction: column; gap: 1.25rem; }
  .inv-doc-meta { text-align: left; }
  .inv-doc-meta-row { justify-content: flex-start; }
  .inv-doc-meta-row span:last-child { min-width: unset; text-align: left; }
  .inv-doc-addresses { grid-template-columns: 1fr; gap: 1rem; }
  .inv-lines-head { display: none; }
  .inv-lines-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: .3rem .75rem;
  }
  .inv-col-product { grid-column: 1; grid-row: 1; }
  .inv-col-total   { grid-column: 2; grid-row: 1; align-self: start; }
  .inv-totals-inner { width: 100%; }
  .inv-footer-note { max-width: 100%; }
  .inv-footer-stamp { bottom: 1rem; }
}

@media (max-width: 575px) {
  .inv-doc { padding: 1rem; }
  .inv-doc-logo { font-size: 1.2rem; }
  .inv-doc-type { font-size: 1.1rem; }
}


/* ═══════════════════════════════════════════════════
   ADDRESS PAGE — portal-addresses.html
   Odoo: portal.my_addresses, portal.address_card,
         portal.address_management, portal.address_form_fields
   ═══════════════════════════════════════════════════ */

/* ── Section header ─────────────────────────── */
.addr-section { }

.addr-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.addr-section-titles {
  display: flex;
  align-items: baseline;
  gap: .65rem;
}

.addr-section-num {
  font-family: 'Courier New', monospace;
  font-size: .7rem;
  color: var(--G);
  letter-spacing: .05em;
}

.addr-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--K);
  margin: 0;
}

.addr-add-btn {
  font-size: .65rem;
  padding: .45rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
}

/* ── Address grid ───────────────────────────── */
.addr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

/* ── Address card ───────────────────────────── */
.addr-card {
  background: var(--W);
  border: 1px solid var(--L);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow .18s;
  text-align: left;
}

.addr-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,.07);
}

.addr-card-main {
  border-color: var(--K);
}

.addr-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .65rem .75rem .45rem;
  border-bottom: 1px solid var(--L);
  min-height: 38px;
}

.addr-card-main .addr-card-top {
  border-bottom-color: var(--K);
}

/* Odoo: is_user_address → Main, type=='delivery' → Delivery, type=='invoice' → Billing */
.addr-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .18rem .55rem;
  border: 1px solid;
}

.addr-badge-main     { background: var(--K); color: var(--W); border-color: var(--K); }
.addr-badge-delivery { background: var(--F); color: var(--K); border-color: var(--L); }
.addr-badge-billing  { background: #fff8e1; color: #8a6500;  border-color: #f0d870; }

.addr-card-actions {
  display: flex;
  align-items: center;
  gap: .15rem;
  flex-shrink: 0;
}

.addr-actions-div {
  width: 1px;
  height: 14px;
  background: var(--L);
  margin: 0 .1rem;
}

.addr-icon-btn {
  background: none;
  border: none;
  padding: .28rem .4rem;
  color: var(--G);
  font-size: .8rem;
  cursor: pointer;
  transition: color .15s, background .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.addr-icon-btn:hover {
  color: var(--K);
  background: var(--F);
}

.addr-icon-btn-danger:hover {
  color: var(--R);
  background: #fdecea;
}

.addr-card-body {
  flex: 1;
  padding: .75rem .75rem .5rem;
}

.addr-card-label {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--G);
  margin-bottom: .35rem;
}

.addr-card-name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--K);
  margin-bottom: .25rem;
}

.addr-card-lines {
  font-size: .75rem;
  color: #444;
  line-height: 1.55;
}

.addr-card-footer {
  padding: .45rem .75rem .65rem;
  min-height: 28px;
}

.addr-last-used {
  font-size: .6rem;
  color: var(--G);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: .3rem;
}

.addr-last-used::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1e7e34;
  flex-shrink: 0;
}

/* ── Add-new placeholder card ───────────────── */
.addr-card-add {
  border: 1.5px dashed var(--L);
  background: transparent;
  cursor: pointer;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  transition: border-color .18s, background .18s;
  color: var(--G);
}

.addr-card-add:hover {
  border-color: var(--K);
  background: var(--F);
  color: var(--K);
}

.addr-add-icon {
  font-size: 1.35rem;
  opacity: .5;
}

.addr-add-text {
  font-size: .7rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}

/* ── Billing toggle ─────────────────────────── */
.addr-billing-toggle {
  padding: 1rem 1.1rem;
  border: 1px solid var(--L);
  background: var(--F);
  margin-bottom: .25rem;
}

.addr-toggle-label {
  display: flex;
  align-items: center;
  gap: .85rem;
  cursor: pointer;
  margin: 0;
}

/* Custom toggle switch */
.addr-toggle-switch {
  position: relative;
  flex-shrink: 0;
}

.addr-toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.addr-toggle-track {
  display: block;
  width: 36px;
  height: 20px;
  background: var(--L);
  border-radius: 10px;
  position: relative;
  transition: background .2s;
  cursor: pointer;
}

.addr-toggle-switch input:checked + .addr-toggle-track {
  background: var(--K);
}

.addr-toggle-thumb {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: var(--W);
  border-radius: 50%;
  transition: left .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

.addr-toggle-switch input:checked + .addr-toggle-track .addr-toggle-thumb {
  left: 18px;
}

.addr-toggle-text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.addr-toggle-title {
  font-size: .8rem;
  font-weight: 600;
  color: var(--K);
}

.addr-toggle-sub {
  font-size: .68rem;
  color: var(--G);
}

/* ── Remove toast ───────────────────────────── */
.addr-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--K);
  color: var(--W);
  padding: .85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  z-index: 9999;
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
  font-size: .78rem;
  white-space: nowrap;
  max-width: calc(100vw - 2rem);
}

.addr-toast-body {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}

.addr-toast-actions {
  display: flex;
  gap: .5rem;
}

.addr-toast-btn-danger {
  background: var(--R);
  border: none;
  color: var(--W);
  font-size: .68rem;
  font-weight: 700;
  padding: .3rem .8rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.addr-toast-btn-cancel {
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.7);
  font-size: .68rem;
  font-weight: 500;
  padding: .3rem .8rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ═══════════════════════════════════════════════
   ADDRESS MODAL
   Odoo: portal.address_management
   ═══════════════════════════════════════════════ */

.addr-modal-content {
  border: 0;
  border-radius: 0;
}

.addr-modal-header {
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--L);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.addr-modal-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--R);
  margin-bottom: .3rem;
}

.addr-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--K);
  margin: 0;
}

.addr-modal-close {
  background: none;
  border: none;
  color: var(--G);
  font-size: 1rem;
  padding: .25rem .4rem;
  cursor: pointer;
  transition: color .15s;
  flex-shrink: 0;
  margin-top: .15rem;
}

.addr-modal-close:hover { color: var(--K); }

.addr-modal-body {
  padding: 1.5rem 1.75rem;
}

.addr-modal-footer {
  padding: 1rem 1.75rem 1.25rem;
  border-top: 1px solid var(--L);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .75rem;
  background: var(--F);
}

/* ── Form sections ──────────────────────────── */
.addr-form-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--L);
}

.addr-form-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.addr-form-section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--G);
  margin-bottom: .85rem;
}

/* ── Label pills ────────────────────────────── */
.addr-label-pills {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.addr-label-pill {
  background: none;
  border: 1px solid var(--L);
  color: var(--G);
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  font-weight: 500;
  padding: .38rem .9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .35rem;
  transition: border-color .15s, color .15s, background .15s;
}

.addr-label-pill:hover {
  border-color: var(--K);
  color: var(--K);
}

.addr-label-pill.active {
  background: var(--K);
  border-color: var(--K);
  color: var(--W);
}

/* ── Form fields ────────────────────────────── */
.addr-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.addr-form-group {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-bottom: .75rem;
}

.addr-form-group:last-child { margin-bottom: 0; }

.addr-form-label {
  font-family: 'DM Sans', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  color: var(--K);
  letter-spacing: .02em;
}

.addr-required {
  color: var(--R);
  margin-left: .1rem;
}

.addr-optional {
  color: var(--G);
  font-weight: 400;
  font-style: italic;
  margin-left: .25rem;
}

.addr-form-input {
  width: 100%;
  border: 1px solid var(--L);
  border-radius: 0;
  background: var(--W);
  color: var(--K);
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  padding: .5rem .75rem;
  outline: none;
  transition: border-color .15s;
  appearance: none;
  -webkit-appearance: none;
}

.addr-form-input:focus {
  border-color: var(--K);
  box-shadow: none;
}

.addr-form-input.addr-input-error {
  border-color: var(--R);
  background: #fff8f8;
}

.addr-form-textarea {
  resize: vertical;
  min-height: 60px;
}

/* Select wrapper with chevron */
.addr-form-select-wrap {
  position: relative;
}

.addr-form-select {
  width: 100%;
  border: 1px solid var(--L);
  border-radius: 0;
  background: var(--W);
  color: var(--K);
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  padding: .5rem 2rem .5rem .75rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .15s;
}

.addr-form-select:focus { border-color: var(--K); }

.addr-select-icon {
  position: absolute;
  right: .65rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--G);
  font-size: .7rem;
  pointer-events: none;
}

/* ── ADDRESSES RESPONSIVE ───────────────────── */
@media (max-width: 991px) {
  .addr-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  }
}

@media (max-width: 767px) {
  .addr-grid {
    grid-template-columns: 1fr 1fr;
  }

  .addr-modal-header,
  .addr-modal-body,
  .addr-modal-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .addr-form-row {
    grid-template-columns: 1fr;
  }

  .addr-section-title { font-size: 1.05rem; }
}

@media (max-width: 479px) {
  .addr-grid {
    grid-template-columns: 1fr;
  }

  .addr-modal-header,
  .addr-modal-body,
  .addr-modal-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .addr-modal-footer { flex-direction: column-reverse; align-items: stretch; }
  .addr-modal-footer .btn-r,
  .addr-modal-footer .btn-o { width: 100%; justify-content: center; text-align: center; }
}


/* ═══════════════════════════════════════════════════
   LIST PAGES — portal-orders.html / portal-invoices.html
   Odoo: portal_my_orders, portal_my_invoices
   ═══════════════════════════════════════════════════ */

/* ── Summary strip ──────────────────────────── */
.list-summary-strip {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--L);
  background: var(--W);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.list-summary-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem .75rem .9rem;
  gap: .18rem;
}

.list-summary-div {
  width: 1px;
  background: var(--L);
  align-self: stretch;
  flex-shrink: 0;
}

.list-summary-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--K);
  line-height: 1;
}

.list-summary-num-accent { color: var(--R); }

.list-summary-lbl {
  font-size: .55rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--G);
  font-weight: 600;
}

/* ── Toolbar ─────────────────────────────────── */
.list-toolbar {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

/* ── Search bar ──────────────────────────────── */
.list-search-wrap {
  position: relative;
  flex-shrink: 0;
}

.list-search-icon {
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--G);
  font-size: .8rem;
  pointer-events: none;
}

.list-search-input {
  border: 1px solid var(--L);
  border-radius: 0;
  background: var(--W);
  font-family: 'DM Sans', sans-serif;
  font-size: .75rem;
  color: var(--K);
  padding: .48rem 2rem .48rem 2.1rem;
  outline: none;
  width: 200px;
  transition: border-color .15s, width .25s;
  appearance: none;
  -webkit-appearance: none;
}

.list-search-input:focus {
  border-color: var(--K);
  width: 240px;
}

.list-search-input::placeholder { color: var(--G); }

.list-search-clear {
  position: absolute;
  right: .4rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--G);
  font-size: .85rem;
  padding: .2rem;
  cursor: pointer;
  line-height: 1;
}

.list-search-clear:hover { color: var(--K); }

/* ── Filter pills ────────────────────────────── */
/* .fpill already defined in portal.css; extend with count badge */
.fpill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.08);
  font-size: .5rem;
  font-weight: 700;
  min-width: 16px;
  height: 14px;
  padding: 0 .3rem;
  margin-left: .2rem;
  vertical-align: middle;
}

.fpill.on .fpill-count {
  background: rgba(255,255,255,.25);
}

/* ── Empty state ─────────────────────────────── */
.list-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  padding: 4rem 1rem;
  border: 1.5px dashed var(--L);
  background: var(--F);
  text-align: center;
}

.list-empty-icon {
  font-size: 2rem;
  color: var(--L);
}

.list-empty-msg {
  font-size: .8rem;
  color: var(--G);
}

/* ── Pagination ──────────────────────────────── */
.list-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0 .5rem;
  border-top: 1px solid var(--L);
  flex-wrap: wrap;
}

.list-pager-info {
  font-size: .65rem;
  color: var(--G);
  letter-spacing: .04em;
}

.list-pager-pages {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.list-pager-btn {
  background: none;
  border: 1px solid var(--L);
  color: var(--G);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}

.list-pager-btn:hover:not(:disabled) {
  border-color: var(--K);
  color: var(--K);
}

.list-pager-btn:disabled {
  opacity: .32;
  cursor: not-allowed;
}

.list-pager-num {
  background: none;
  border: 1px solid var(--L);
  color: var(--G);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}

.list-pager-num:hover {
  border-color: var(--K);
  color: var(--K);
}

.list-pager-num.active {
  background: var(--K);
  border-color: var(--K);
  color: var(--W);
  cursor: default;
}

/* ═══════════════════════════════════════════════
   INVOICE LIST — portal-invoices.html specifics
   ═══════════════════════════════════════════════ */

/* Overdue date highlight — Odoo: class="text-danger" when past due + not_paid/partial */
.inv-date-overdue {
  color: var(--R);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
}

.inv-date-na { color: var(--G); }

/* Amount due column */
.inv-list-amount {
  font-weight: 600;
  font-size: .78rem;
  color: var(--K);
  display: block;
}

.inv-list-amount.inv-list-amount-processing { color: #1a6699; font-style: italic; font-weight: 400; }
.inv-list-amount.inv-list-amount-paid       { color: var(--G); font-weight: 400; }
.inv-list-amount.inv-list-amount-reversed   { color: var(--G); font-weight: 400; text-decoration: line-through; }

.inv-list-of-total {
  display: block;
  font-size: .6rem;
  color: var(--G);
  margin-top: .1rem;
}

/* Invoice status badges — inline (used in list rows) */
.inv-status-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  white-space: nowrap;
  display: inline-block;
}

/* Reuse the existing inv-status-* color classes from portal.css */
.inv-status-badge.inv-status-unpaid   { background: #fdecea; color: var(--R); }
.inv-status-badge.inv-status-partial  { background: #fff8e1; color: #8a6500; }
.inv-status-badge.inv-status-process  { background: #e8f4fd; color: #1a6699; }
.inv-status-badge.inv-status-paid     { background: #e6f4ea; color: #1e7e34; }
.inv-status-badge.inv-status-reversed { background: var(--F); color: var(--G); border: 1px solid var(--L); }

/* Overdue alert banner */
.inv-overdue-alert {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #fdecea;
  border: 1px solid #f5b5b5;
  border-left: 3px solid var(--R);
  padding: .75rem 1rem;
  font-size: .75rem;
  color: var(--K);
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}

.inv-overdue-alert i { color: var(--R); font-size: .9rem; flex-shrink: 0; }

.inv-overdue-link {
  font-weight: 700;
  color: var(--R);
  font-size: .68rem;
  margin-left: auto;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: .04em;
}

.inv-overdue-link:hover { text-decoration: underline; }

/* Pay button variant */
.ord-view-btn-pay {
  background: var(--R) !important;
  color: var(--W) !important;
  border-color: var(--R) !important;
}

.ord-view-btn-pay:hover {
  background: #a00e26 !important;
  border-color: #a00e26 !important;
}

/* Outstanding balance card in sidebar */
.inv-list-balance-card {
  border: 1px solid var(--L);
  border-top: 2px solid var(--R);
  padding: 1.1rem 1.1rem .9rem;
  margin-top: 1rem;
  background: var(--W);
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.inv-list-balance-label {
  font-size: .55rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--R);
  font-weight: 700;
}

.inv-list-balance-amount {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--K);
  line-height: 1.1;
}

.inv-list-balance-detail {
  font-size: .62rem;
  color: var(--G);
  margin-bottom: .3rem;
}

.inv-list-balance-btn {
  font-size: .62rem;
  padding: .45rem 1rem;
  text-align: center;
  display: block;
}

/* ── LIST PAGES RESPONSIVE ───────────────────── */
@media (max-width: 991px) {
  .list-search-input { width: 180px; }
  .list-search-input:focus { width: 210px; }
}

@media (max-width: 767px) {
  .list-toolbar { gap: .6rem; }
  .list-search-input { width: 160px; }
  .list-search-input:focus { width: 185px; }
  .list-summary-strip { gap: 0; }
  .list-summary-item { padding: .75rem .5rem .65rem; }
  .list-summary-num { font-size: 1.2rem; }
  .list-pager { flex-direction: column; align-items: flex-start; gap: .6rem; }
}

@media (max-width: 575px) {
  .list-toolbar { flex-direction: column; align-items: stretch; }
  .list-search-wrap { width: 100%; }
  .list-search-input { width: 100%; }
  .list-search-input:focus { width: 100%; }
  .list-filters { display: flex; flex-wrap: wrap; gap: .3rem; }
  .inv-overdue-alert { flex-direction: column; align-items: flex-start; }
  .inv-overdue-link { margin-left: 0; }
}


/* ═══════════════════════════════════════════════════
   ACCOUNT PAGE — portal-account.html
   Odoo: portal.portal_my_details (/my/account)
         portal_my_security       (/my/security)
   ═══════════════════════════════════════════════════ */

/* ── Section quick-links (sidebar) ──────────── */
.acct-section-nav {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--L);
  border-top: none;
  margin-top: 1rem;
}

.acct-section-link {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .7rem;
  font-weight: 500;
  color: var(--G);
  padding: .65rem .85rem;
  border-left: 2.5px solid transparent;
  border-bottom: 1px solid var(--L);
  transition: color .15s, background .15s, border-color .15s;
  text-decoration: none;
}

.acct-section-link:last-child { border-bottom: none; }
.acct-section-link i { font-size: .82rem; width: 14px; text-align: center; flex-shrink: 0; }

.acct-section-link:hover {
  color: var(--K);
  background: var(--F);
  border-left-color: var(--L);
}

.acct-section-link.active {
  color: var(--K);
  font-weight: 600;
  background: var(--F);
  border-left-color: var(--R);
}

.acct-section-link-danger:hover { color: var(--R); background: #fdecea; border-left-color: var(--R); }

/* ── Flash message ───────────────────────────── */
.acct-flash {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem 1rem;
  font-size: .78rem;
  border-left: 3px solid;
  margin-bottom: 1.5rem;
}

.acct-flash-success {
  background: #e6f4ea;
  border-color: #1e7e34;
  color: #1a5c28;
}

.acct-flash-info {
  background: #e8f4fd;
  border-color: #1a6699;
  color: #144f75;
}

.acct-flash-error {
  background: #fdecea;
  border-color: var(--R);
  color: #8b0e1d;
}

.acct-flash i { flex-shrink: 0; font-size: .9rem; }

.acct-flash-close {
  background: none;
  border: none;
  color: inherit;
  margin-left: auto;
  cursor: pointer;
  padding: .1rem .25rem;
  font-size: .85rem;
  opacity: .6;
}

.acct-flash-close:hover { opacity: 1; }

/* ── Panel ───────────────────────────────────── */
.acct-panel {}

.acct-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--L);
}

.acct-panel-eyebrow {
  font-family: 'Courier New', monospace;
  font-size: .62rem;
  color: var(--G);
  letter-spacing: .05em;
  margin-bottom: .3rem;
}

.acct-panel-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--K);
  margin: 0;
  line-height: 1.1;
}

/* ── Avatar ──────────────────────────────────── */
.acct-avatar-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--L);
}

.acct-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.acct-avatar-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--K);
  color: var(--W);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .02em;
}

.acct-avatar-change {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--W);
  border: 1.5px solid var(--L);
  color: var(--G);
  font-size: .68rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}

.acct-avatar-change:hover { border-color: var(--K); color: var(--K); }

.acct-avatar-file { display: none; }

.acct-avatar-name {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--K);
  margin-bottom: .2rem;
}

.acct-avatar-hint {
  font-size: .62rem;
  color: var(--G);
  margin-bottom: .55rem;
}

.acct-avatar-upload-btn {
  background: none;
  border: 1px solid var(--L);
  color: var(--G);
  font-family: 'DM Sans', sans-serif;
  font-size: .65rem;
  font-weight: 500;
  padding: .32rem .8rem;
  cursor: pointer;
  transition: border-color .15s, color .15s;
  display: flex;
  align-items: center;
}

.acct-avatar-upload-btn:hover { border-color: var(--K); color: var(--K); }

/* ── Form (account) — reuses addr-form-* pattern ── */
.acct-form-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--L);
}

.acct-form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.acct-form-section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--G);
  margin-bottom: .9rem;
}

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

.acct-form-group {
  display: flex;
  flex-direction: column;
  gap: .28rem;
  margin-bottom: .75rem;
}

.acct-form-group:last-child { margin-bottom: 0; }

.acct-form-label {
  font-family: 'DM Sans', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  color: var(--K);
  display: flex;
  align-items: baseline;
  gap: .25rem;
  flex-wrap: wrap;
}

.acct-required { color: var(--R); }

.acct-optional {
  font-weight: 400;
  color: var(--G);
  font-style: italic;
}

.acct-field-note {
  font-weight: 400;
  color: var(--G);
  font-size: .6rem;
  font-style: italic;
}

.acct-form-input {
  width: 100%;
  border: 1px solid var(--L);
  border-radius: 0;
  background: var(--W);
  color: var(--K);
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  padding: .5rem .75rem;
  outline: none;
  transition: border-color .15s;
  appearance: none;
  -webkit-appearance: none;
}

.acct-form-input:focus { border-color: var(--K); }
.acct-form-input.acct-input-error { border-color: var(--R); background: #fff8f8; }

.acct-form-select-wrap { position: relative; }

.acct-form-select {
  width: 100%;
  border: 1px solid var(--L);
  border-radius: 0;
  background: var(--W);
  color: var(--K);
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  padding: .5rem 2rem .5rem .75rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .15s;
}

.acct-form-select:focus { border-color: var(--K); }

.acct-select-icon {
  position: absolute;
  right: .65rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--G);
  font-size: .68rem;
  pointer-events: none;
}

.acct-form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--L);
  margin-top: 1.5rem;
}

.acct-discard-btn {
  font-size: .68rem;
  padding: .52rem 1.2rem;
  display: flex;
  align-items: center;
}

/* ── Security page ───────────────────────────── */
.acct-security-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--L);
}

.acct-security-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.acct-security-section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--G);
  margin-bottom: 1rem;
}

.acct-security-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Info rows (read-only fields) */
.acct-info-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--L);
}

.acct-info-row:last-child { border-bottom: none; }

.acct-info-row-label {
  font-size: .65rem;
  font-weight: 600;
  color: var(--G);
  width: 110px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.acct-info-row-value {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.acct-info-row-txt {
  font-size: .78rem;
  color: var(--K);
}

.acct-info-row-edit {
  background: none;
  border: none;
  color: var(--G);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  padding: .18rem .45rem;
  transition: color .15s;
  display: flex;
  align-items: center;
  gap: .25rem;
  text-transform: uppercase;
  margin-left: auto;
}

.acct-info-row-edit:hover { color: var(--K); }

/* Password input with show/hide toggle */
.acct-pw-wrap {
  position: relative;
}

.acct-pw-input {
  padding-right: 2.5rem !important;
}

.acct-pw-toggle {
  position: absolute;
  right: .5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--G);
  font-size: .82rem;
  cursor: pointer;
  padding: .2rem;
  transition: color .15s;
}

.acct-pw-toggle:hover { color: var(--K); }

/* Password strength */
.acct-pw-strength {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: .4rem;
}

.acct-pw-bar {
  flex: 1;
  height: 3px;
  background: var(--L);
  overflow: hidden;
}

.acct-pw-bar-fill {
  height: 100%;
  width: 0;
  transition: width .3s, background .3s;
}

.acct-pw-label {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .04em;
  min-width: 55px;
  text-align: right;
}

/* Password match feedback */
.acct-pw-match {
  font-size: .6rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-top: .35rem;
}

.acct-pw-match-ok  { color: #1e7e34; }
.acct-pw-match-err { color: var(--R); }

/* Sessions */
.acct-sessions-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--L);
}

.acct-session-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--L);
  background: var(--W);
}

.acct-session-item:last-child { border-bottom: none; }

.acct-session-current { background: var(--F); }

.acct-session-icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--L);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--G);
  flex-shrink: 0;
  background: var(--W);
}

.acct-session-info { flex: 1; min-width: 0; }

.acct-session-device {
  font-size: .75rem;
  font-weight: 500;
  color: var(--K);
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
}

.acct-session-this-badge {
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--K);
  color: var(--W);
  padding: .12rem .42rem;
}

.acct-session-meta {
  font-size: .62rem;
  color: var(--G);
  margin-top: .15rem;
}

.acct-session-revoke {
  background: none;
  border: none;
  color: var(--G);
  font-size: .75rem;
  cursor: pointer;
  padding: .3rem .4rem;
  transition: color .15s;
  flex-shrink: 0;
}

.acct-session-revoke:hover { color: var(--R); }

.acct-revoke-all-btn {
  background: none;
  border: 1px solid var(--L);
  color: var(--G);
  font-family: 'DM Sans', sans-serif;
  font-size: .62rem;
  font-weight: 600;
  padding: .35rem .8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: border-color .15s, color .15s;
  white-space: nowrap;
  letter-spacing: .03em;
}

.acct-revoke-all-btn:hover { border-color: var(--R); color: var(--R); }

/* ── Danger zone ─────────────────────────────── */
.acct-danger-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--L);
  flex-wrap: wrap;
}

.acct-danger-item:last-child { border-bottom: none; padding-bottom: 0; }

.acct-danger-item-info {
  flex: 1;
  min-width: 200px;
}

.acct-danger-item-title {
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: var(--K);
  margin-bottom: .3rem;
}

.acct-danger-title-red { color: var(--R); }

.acct-danger-item-desc {
  font-size: .72rem;
  color: var(--G);
  line-height: 1.5;
  max-width: 420px;
}

.acct-danger-btn-safe {
  font-size: .65rem;
  padding: .48rem 1.1rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.acct-danger-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .65rem;
  cursor: pointer;
  margin: 0;
}

.acct-danger-btn-delete {
  background: #fdecea;
  border: 1px solid #f5b5b5;
  color: var(--R);
  font-family: 'DM Sans', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .5rem 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: background .15s, border-color .15s;
  flex-shrink: 0;
}

.acct-danger-btn-delete:hover {
  background: var(--R);
  border-color: var(--R);
  color: var(--W);
}

.acct-danger-item-delete { align-items: flex-start; padding-top: 1.5rem; }

/* ── Delete modal ────────────────────────────── */
.acct-delete-modal-header {
  padding: 1.75rem 1.5rem 1rem;
  text-align: center;
}

.acct-delete-modal-icon {
  width: 44px;
  height: 44px;
  border: 2px solid var(--R);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--R);
  font-size: 1.1rem;
  margin: 0 auto .9rem;
}

.acct-delete-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--K);
  margin-bottom: .5rem;
}

.acct-delete-modal-body {
  font-size: .75rem;
  color: var(--G);
  line-height: 1.55;
  margin: 0;
}

.acct-delete-check {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .68rem;
  color: var(--G);
  margin-top: .9rem;
  cursor: pointer;
  line-height: 1.45;
}

.acct-delete-check input { flex-shrink: 0; margin-top: .18rem; }

.acct-delete-confirm-btn {
  width: 100%;
  background: var(--R);
  border: none;
  color: var(--W);
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  transition: background .15s;
}

.acct-delete-confirm-btn:hover { background: #a00e26; }

/* ── ACCOUNT RESPONSIVE ──────────────────────── */
@media (max-width: 991px) {
  .acct-form-row { grid-template-columns: 1fr 1fr; }
  .acct-info-row-label { width: 90px; }
}

@media (max-width: 767px) {
  .acct-avatar-row { flex-direction: column; align-items: flex-start; }
  .acct-form-row { grid-template-columns: 1fr; }
  .acct-form-footer { flex-direction: column-reverse; align-items: stretch; }
  .acct-form-footer .btn-r,
  .acct-form-footer .acct-discard-btn { width: 100%; justify-content: center; text-align: center; }
  .acct-security-section-header { flex-direction: column; align-items: flex-start; }
  .acct-info-row { flex-wrap: wrap; }
  .acct-info-row-label { width: 100%; margin-bottom: .1rem; }
  .acct-danger-item { flex-direction: column; align-items: flex-start; gap: .75rem; }
}
