:root{
  --overlay: rgba(25,25,28,0.84);
  --card: rgba(255,255,255,0.86);
  --stroke: rgba(111,60,255,0.20);
  --radius-xl: 26px;
  --ease: cubic-bezier(.22,.9,.12,1);

  --primary:#38AB24;     /* Primary */
  --secondary:#243AAB;   /* Secondary */
  --tertiary:#9624AB;    /* Tertiary */

  --gold:#B08D2A;        /* Dark solid gold */
  --menu:#2A2A2A;        /* Dark grey menu */

  --bg:#fff;
  --text:#111;

  --radius:999px;
  --radiusCard:20px;
  --radiusSoft:14px;

  --shadowFloat: 0 18px 40px rgba(0,0,0,0.18);
  --shadowSoft:  0 14px 28px rgba(0,0,0,0.14);
  --border: 1px solid rgba(0,0,0,0.12);

  --max:1100px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
}

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

.container{
  width:min(var(--max), calc(100% - 32px));
  margin-inline:auto;
}

.no-scrollbar::-webkit-scrollbar{ display:none; }
.no-scrollbar{ -ms-overflow-style:none; scrollbar-width:none; }

/* ===== HERO ===== */
.hero{
  position:relative;
  min-height:320px;
  overflow:hidden;
}
.hero__bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.10), rgba(255,255,255,0.85));
}
.hero__content{
  position:relative;
  z-index:2;
  min-height:320px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 0;
}
.hero__stack{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  text-align:center;
}

.brand-title{
  margin:0;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 900;
}
.brand-slogan{
  margin:0;
  font-size: clamp(14px, 1.7vw, 18px);
  font-weight: 700;
  opacity:0.9;
}

.logo-video{
  width: clamp(86px, 10vw, 120px);
  height: clamp(86px, 10vw, 120px);
  border-radius: 999px;
  overflow:hidden;
  background:#fff;
  box-shadow: var(--shadowSoft);
  border: 1px solid rgba(0,0,0,0.10);
}
.logo-video video,
.logo-video img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  cursor:pointer;
}

/* ===== Hamburger button ===== */
.hamburger-btn{
  position:absolute;
  top:14px;
  right:14px;
  z-index:5;
  width:44px;
  height:44px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadowSoft);
  cursor:pointer;
  display:grid;
  place-items:center;
}
.hamburger{
  width:20px;
  height:14px;
  position:relative;
}
.hamburger span{
  position:absolute;
  left:0; right:0;
  height:2px;
  background:#111;
  border-radius:3px;
}
.hamburger span:nth-child(1){ top:0; }
.hamburger span:nth-child(2){ top:6px; }
.hamburger span:nth-child(3){ top:12px; }

/* ===== Menu overlay ===== */
.menu{
  position:fixed;
  inset:0;
  z-index:50;
  display:none;
}
.menu.is-open{ display:block; }

/* Prevent background scrolling/panning when menu is open */
.menu{ overscroll-behavior: contain; touch-action: none; }
.menu__backdrop{ touch-action: none; }
.menu__panel{ overflow-y: auto; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
html.ow-lock, body.ow-lock{ overflow:hidden; height:100%; }
body.ow-lock{ position:fixed; width:100%; }

.menu__backdrop{
  position:absolute;
  inset:0;
  background: var(--overlay);
  backdrop-filter: blur(6px);
}

/* Menu overlay (normalized to match overlay panels) */
.menu__panel{
  position:absolute;
  top:0;
  bottom:0;
  right:0;
  left:auto;
  width:min(420px, 40vw);
  background: var(--card);
  color: #111;
  border: 1px solid var(--stroke);
  box-shadow: -18px 0 45px rgba(0,0,0,0.12);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  padding: 12px;
  display:flex;
  flex-direction:column;
  gap:14px;
  transform: translateX(110%);
  transition: transform .22s var(--ease);
}
.menu.is-open .menu__panel{ transform: translateX(0); }

.menu__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.menu__title{ margin:0; font-weight:900; font-size:18px; }
.menu__close{
  width:44px;
  height:44px;
  border:none;
  background: rgba(0,0,0,0.06);
  border-radius: 12px;
  cursor:pointer;
  color:#111;
  font-size:20px;
}

.menu__links{
  display:grid;
  gap:10px;
}
.menu__links a{
  padding:12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(111,60,255,0.18);
  background: rgba(255,255,255,0.55);
  color:#121218;
  font-weight:900;
}
.menu__links a:hover{
  background: rgba(255,255,255,0.10);
}

/* ===== Buttons ===== */
.btn{
  border:none;
  cursor:pointer;
  font-weight:900;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.btn-pill{
  padding:10px 14px;
  border-radius: var(--radius);
  color:#fff;
}

.btn-primary{ background: var(--primary); }
.btn-secondary{ background: var(--secondary); }
.btn-tertiary{ background: var(--tertiary); }
.btn-black{ background:#111; }
.btn-white{
  background:#fff;
  border: var(--border);
  color:#111;
}

.btn-square-soft{
  padding:10px 14px;
  border-radius: 10px; /* squared with curved edges */
  color:#fff;
}

.btn:active{ transform: translateY(1px); }

/* Screen-reader only */
.sr-only{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* ===== STOCK TOOLS ===== */
.stock-tools{
  background:#fff;
  border-bottom: var(--border);
}
.stock-tools__inner{
  padding:14px 0;
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:10px;
}
.stock-tools__search input{
  width:100%;
  padding:14px 14px;
  border-radius: var(--radiusSoft);
  border: var(--border);
  background:#fff;
  font-weight:900;
  outline:none;
}
.stock-tools__actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
}

/* Search suggestions (stocks + item search) */
.search-wrap{position:relative;flex:1;min-width:0;}
.search-suggest{
  position:absolute;
  top:calc(100% + 8px);
  left:0;right:0;
  background:#fff;
  border: var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
  overflow:hidden;
  z-index:80;
  display:none;
}
.search-suggest.is-open{display:block;}
.search-suggest button{
  width:100%;
  text-align:left;
  padding:12px 12px;
  background:transparent;
  border:0;
  font-weight:950;
  cursor:pointer;
}
.search-suggest button + button{border-top: var(--border);}
.search-suggest button:hover{background:rgba(0,0,0,0.04);}

/* Universal go-back floating button */
.back-fab{
  position:fixed;
  top:14px;
  left:14px;
  width:44px;
  height:44px;
  border-radius: 999px;
  border:0;
  background:#1f6fff;
  color:#fff;
  font-weight:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:95;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

/* Active crawler / ticker */
.ow-ticker{
  background:#000;
  color:#fff;
  overflow:hidden;
  border-bottom: var(--border);
}
.ow-ticker__inner{display:flex;align-items:center;gap:10px;padding:10px 0;}
.ow-ticker__label{font-weight:1000;letter-spacing:0.06em;font-size:12px;opacity:0.95;white-space:nowrap;}
.ow-ticker__track{position:relative;flex:1;overflow:hidden;}
.ow-ticker__row{display:flex;gap:18px;align-items:center;white-space:nowrap;will-change:transform;}
.ow-ticker__pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,0.14);
  font-weight:1000;
  min-width:40px;
}

/* Stocks: cubic gallery */
.ow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.ow-card{
  background:#fff;
  border: var(--border);
  border-radius: 18px;
  overflow:hidden;
  cursor:pointer;
}
.ow-card__img{width:100%;height:120px;object-fit:cover;display:block;background:rgba(0,0,0,0.04);}
.ow-card__body{padding:10px 10px 12px;display:flex;flex-direction:column;gap:6px;}
.ow-card__title{font-weight:1000;line-height:1.1;}
.ow-card__price{font-weight:1000;opacity:0.75;}
.ow-card__meta{font-size:12px;font-weight:900;opacity:0.6;}
.ow-togglebar{margin-top:12px;display:flex;justify-content:center;}
.ow-togglebar .btn{width:100%;}

/* Item page */
.itempage-header{position:sticky;top:0;z-index:70;background:#fff;border-bottom: var(--border);}
.itempage-header__inner{display:flex;align-items:center;gap:10px;padding:12px 0;}
.iconbtn{width:40px;height:40px;border-radius:999px;border: var(--border);background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;font-weight:1000;}
.itempage-header__left{display:flex;align-items:center;gap:10px;}
.itempage-header__right{margin-left:auto;}
.itempage-mini-search{flex:1;min-width:0;}
.itempage-mini-search input{width:100%;padding:10px 12px;border-radius:999px;border: var(--border);font-weight:950;}
.gallery{width:100%;overflow:hidden;background:#000;}
.gallery__strip{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:10px;}
.gallery__strip img{height:240px;min-width:85%;object-fit:cover;scroll-snap-align:start;border-radius:16px;}
.gallery__strip img:active{transform:scale(0.995);}
.btn-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;}
.btn-square{
  border:0;
  background:#111;
  color:#fff;
  font-weight:1000;
  padding:14px 12px;
  border-radius:16px;
  cursor:pointer;
}
.btn-square.alt{background:#fff;color:#111;border: var(--border);}
.accordion{border-top: var(--border);margin-top:16px;}
.accordion details{border-bottom: var(--border);}
.accordion summary{list-style:none;cursor:pointer;padding:14px 0;font-weight:1000;}
.accordion summary::-webkit-details-marker{display:none;}
.accordion .acc-body{padding:0 0 14px;font-weight:850;opacity:0.78;}

/* Search suggestions (Stocks + Item page mini-search) */
.search-wrap{ position:relative; flex:1 1 auto; }
.search-suggest{
  position:absolute;
  top:calc(100% + 6px);
  left:0;
  right:0;
  background:#fff;
  border:var(--border);
  border-radius:16px;
  overflow:hidden;
  z-index:40;
  display:none;
}
.search-suggest.open{ display:block; }
.search-suggest button{
  width:100%;
  text-align:left;
  padding:12px 14px;
  background:transparent;
  border:none;
  font-weight:900;
  cursor:pointer;
}
.search-suggest button:hover{ background:rgba(0,0,0,0.05); }

/* Ticker / crawler */
.ow-ticker{
  background:#6b6b6b;
  color:#fff;
  font-weight:900;
  overflow:hidden;
  border-bottom: var(--border);
}
.ow-ticker__inner{ display:flex; align-items:center; gap:10px; padding:10px 0; }
.ow-ticker__label{ opacity:0.85; padding-left:6px; white-space:nowrap; }
.ow-ticker__track{ position:relative; flex:1; overflow:hidden; }
.ow-ticker__line{ white-space:nowrap; will-change:transform; }
.ow-ticker__pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(0,0,0,0.25);
  margin-right:10px;
}

/* Universal back floating button */
.back-fab{
  position:fixed;
  top:12px;
  left:12px;
  z-index:80;
  width:44px;
  height:44px;
  border-radius:14px;
  border:none;
  background:#1e64ff;
  color:#fff;
  font-weight:1000;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

/* Cubic gallery */
.cube-grid{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; }
.cube{
  border: var(--border);
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  cursor:pointer;
}
.cube__img{ width:100%; height:128px; object-fit:cover; display:block; background:rgba(0,0,0,0.03); }
.cube__body{ padding:10px 10px 12px; }
.cube__title{ font-weight:1000; margin:0 0 6px; line-height:1.1; }
.cube__price{ font-weight:1000; opacity:0.8; margin:0; }
.cube__bar{
  margin-top:10px;
  padding:10px;
  border-radius:16px;
  border: var(--border);
  background:#fff;
  font-weight:1000;
  text-align:center;
  cursor:pointer;
}

/* Item page */
.itempage-header{
  position:sticky;
  top:0;
  z-index:70;
  background:#fff;
  border-bottom: var(--border);
}
.itempage-header__row{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 0;
}
.icon-btn{
  width:40px;height:40px;
  border-radius:14px;
  border: var(--border);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-weight:1000;
}
.item-gallery{ overflow:hidden; }
.item-gallery__strip{ display:flex; gap:10px; overflow:auto; padding:10px 0; }
.item-gallery__strip img{ width:84%; max-width:340px; height:220px; object-fit:cover; border-radius:0; flex:0 0 auto; }
.item-gallery__strip img:last-child{ margin-right:10px; }
.item-actions{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; }
.item-actions .btn{ border-radius:16px; }
.accordion{ border: var(--border); border-radius:18px; overflow:hidden; background:#fff; }
.accordion button{ width:100%; text-align:left; padding:14px; background:#fff; border:none; font-weight:1000; cursor:pointer; }
.accordion .panel{ padding:0 14px 14px; display:none; font-weight:900; opacity:0.8; }
.accordion.open .panel{ display:block; }

/* ===== DRAWERS (filter/sort/cart) ===== */
.drawer{
  position:fixed;
  inset:0;
  display:none;
  z-index:60;
}
.drawer.is-open{ display:block; }
.drawer__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.35);
}
.drawer__panel{
  position:absolute;
  top:0;right:0;
  width:min(420px, 92vw);
  height:100%;
  background:#fff;
  border-left: var(--border);
  box-shadow: var(--shadowFloat);
  display:flex;
  flex-direction:column;
}
.drawer--left .drawer__panel{ left:0; right:auto; border-left:none; border-right: var(--border); }
.drawer__head{
  padding:14px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-bottom: var(--border);
}
.drawer__title{ margin:0; font-weight:1000; }
.drawer__close{
  width:40px;height:40px;
  border-radius: var(--radius);
  border: var(--border);
  background:#fff;
  font-weight:1000;
}
.drawer__body{
  padding:14px;
  overflow:auto;
  display:grid;
  gap:14px;
}
.drawer__section{ display:grid; gap:10px; }
.drawer__label{ font-weight:1000; font-size:13px; }
.drawer__hint{ margin:0; opacity:0.7; font-weight:800; font-size:12px; line-height:1.35; }
.drawer__row{ display:flex; gap:10px; }
.drawer__input, .drawer__select{
  width:100%;
  padding:12px;
  border-radius: var(--radiusSoft);
  border: var(--border);
  background:#fff;
  font-weight:900;
}
.drawer__checks{ display:grid; gap:8px; }
.drawer__check{
  display:flex; align-items:center; gap:10px;
  font-weight:900;
}
.drawer__chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{
  padding:8px 10px;
  border-radius: var(--radius);
  border: var(--border);
  background:#fff;
  font-weight:1000;
}
.chip.is-on{ background:#111; color:#fff; border-color:#111; }
.drawer__tiles{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; }
.tile{
  border: var(--border);
  border-radius: var(--radiusCard);
  overflow:hidden;
  background: linear-gradient(135deg, rgba(0,0,0,0.06), rgba(0,0,0,0.02));
  padding:12px;
  font-weight:1000;
  display:flex;
  align-items:flex-end;
  min-height:74px;
}

/* ===== DEPARTMENT ACCORDION + ITEMS ===== */
.dept{
  border: var(--border);
  border-radius: var(--radiusCard);
  overflow:hidden;
  background:#fff;
  box-shadow: var(--shadowSoft);
}
.dept__head{
  padding:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  cursor:pointer;
}
.dept__title{ font-weight:1000; font-size:18px; }
.dept__meta{ font-weight:900; opacity:0.75; }
.dept__body{ display:none; padding:0 14px 14px; }
.dept.is-open .dept__body{ display:block; }
.item{
  display:grid;
  grid-template-columns:72px 1fr auto;
  gap:12px;
  align-items:center;
  padding:12px;
  border-radius: var(--radiusSoft);
  border: var(--border);
  background:#fff;
}
.item + .item{ margin-top:10px; }
.item__img{
  width:72px;height:72px;
  border-radius: var(--radiusSoft);
  border: var(--border);
  object-fit:cover;
  background:rgba(0,0,0,0.04);
}
.item__name{ font-weight:1000; }
.item__sub{ display:flex; gap:8px; flex-wrap:wrap; margin-top:6px; }
.badge{
  padding:6px 10px;
  border-radius: var(--radius);
  border: var(--border);
  font-weight:1000;
  font-size:12px;
}
.badge--new{ background:rgba(56,171,36,0.10); border-color:rgba(56,171,36,0.25); }
.badge--out{ background:rgba(255,0,0,0.10); border-color:rgba(255,0,0,0.25); }
.badge--low{ background:rgba(176,141,42,0.14); border-color:rgba(176,141,42,0.28); }
.badge--in{ background:rgba(36,58,171,0.10); border-color:rgba(36,58,171,0.25); }
.item__price{ font-weight:1000; text-align:right; }
.item__btn{
  margin-top:8px;
}

/* ===== CART ===== */
.cart-fab{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:55;
  width:54px;
  height:54px;
  border-radius: var(--radius);
  border: var(--border);
  background:#fff;
  box-shadow: var(--shadowFloat);
  display:flex;
  align-items:center;
  justify-content:center;
}
.cart-fab__badge{
  position:absolute;
  top:-6px; right:-6px;
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius: var(--radius);
  background:#111;
  color:#fff;
  font-weight:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
}
.cart__row{
  display:grid;
  grid-template-columns:56px 1fr auto;
  gap:10px;
  align-items:center;
  padding:10px;
  border-radius: var(--radiusSoft);
  border: var(--border);
}
.cart__row + .cart__row{ margin-top:10px; }
.cart__img{ width:56px;height:56px;object-fit:cover;border-radius: var(--radiusSoft); border: var(--border); background:rgba(0,0,0,0.04); }
.cart__name{ font-weight:1000; }
.cart__meta{ font-weight:900; opacity:0.75; font-size:12px; margin-top:4px; }
.cart__remove{ width:40px;height:40px;border-radius: var(--radius); border: var(--border); background:#fff; font-weight:1000; }
.cart__footer{ margin-top:14px; display:grid; gap:10px; }
.cart__total{ font-weight:1000; }
.cart__checkout{ background:#0b6b2f; color:#fff; border:1px solid rgba(0,0,0,0.08); text-align:center; }
.cart__checkout[aria-disabled="true"]{ opacity:0.5; pointer-events:none; }

/* ===== ZOOM OVERLAY ===== */
.zoom{
  position:fixed;
  inset:0;
  display:none;
  z-index:70;
}
.zoom.is-open{ display:block; }
.zoom__backdrop{ position:absolute; inset:0; background:rgba(0,0,0,0.55); }
.zoom__panel{
  position:absolute;
  left:50%; top:50%;
  transform:translate(-50%,-50%);
  width:min(920px, 92vw);
  max-height:min(520px, 70vh);
  background:#fff;
  border-radius: var(--radiusCard);
  border: var(--border);
  box-shadow: var(--shadowFloat);
  overflow:hidden;
}
.zoom__strip{
  display:flex;
  gap:10px;
  overflow:auto;
  padding:12px;
}
.zoom__strip img{
  height: min(420px, 62vh);
  max-width: 85vw;
  object-fit:contain;
  border-radius: var(--radiusSoft);
  border: var(--border);
  background:rgba(0,0,0,0.04);
}

/* ===== Pills nav ===== */
.pills{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding: 14px 0 6px;
}
.pill{
  white-space:nowrap;
  padding:10px 14px;
  border-radius: var(--radius);
  border: var(--border);
  background:#fff;
  font-weight:900;
}
.pill:hover{ background: rgba(0,0,0,0.04); }

/* ===== Main ===== */
main{ padding: 16px 0 26px; }

.section-title{
  margin: 8px 0 10px;
  font-size: 20px;
  font-weight: 900;
}

/* ===== 3D video cards ===== */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
@media (max-width: 900px){
  .grid-3{ grid-template-columns: 1fr; }
}

.card{
  background:#fff;
  border: var(--border);
  border-radius: var(--radiusCard);
  box-shadow: var(--shadowSoft);
}
.card-float{
  box-shadow: var(--shadowFloat);
}
.video-thumb{
  border-radius: var(--radiusCard);
  overflow:hidden;
  border: var(--border);
  background:#fff;
  box-shadow: var(--shadowFloat);
  position:relative;
}
.video-thumb video{
  width:100%;
  aspect-ratio: 16 / 9;
  object-fit:cover;
  display:block;
}
.video-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(135deg, rgba(255,255,255,0) 60%, rgba(255,255,255,0.22));
}

/* ===== Horizontal thumbnail strips ===== */
.thumb-strip{
  display:flex;
  gap:12px;
  overflow-x:auto;
  padding: 10px 0;
}
.thumb-card{
  width: 180px;
  flex: 0 0 auto;
}
.thumb{
  border-radius: var(--radiusCard);
  overflow:hidden;
  border: 1px solid #000;   /* thin black line requirement */
  box-shadow: var(--shadowSoft);
  background:#fff;
}
.thumb img{
  width:100%;
  height:110px;
  object-fit:cover;
  display:block;
}
.thumb-label{
  margin:10px 0 0;
  font-weight:900;
}

/* ===== Elegant black + gold strip option ===== */
.elegant-strip{
  border-radius: var(--radiusCard);
  overflow:hidden;
  border: var(--border);
  margin-top: 12px;
}
.elegant-strip__bar{
  background:#000;
  padding:10px;
  display:flex;
  gap:10px;
  overflow-x:auto;
}
.elegant-tab{
  border:none;
  cursor:pointer;
  font-weight:900;
  white-space:nowrap;
  padding:10px 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  color: var(--gold);
}
.elegant-tab.active{
  background: var(--gold);
  color:#000;
}

/* ===== Dropbar area ===== */
.dropbar{
  margin-top: 12px;
  display:none;
}
.dropbar.open{ display:block; }

.item{
  border-radius: var(--radiusCard);
  border: var(--border);
  background:#fff;
  box-shadow: var(--shadowSoft);
  padding:14px;
  margin-bottom: 10px;
}
.item-row{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.item-media{
  width: 320px;
  max-width: 100%;
}
.item-media img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius: var(--radiusCard);
  border: var(--border);
  box-shadow: var(--shadowSoft);
  cursor:pointer;
}
.media-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:10px;
}
.item-body{ flex:1; min-width: 240px; }
.item-name{ margin:0; font-size:18px; font-weight:900; }
.item-meta{ margin:6px 0 0; font-weight:800; opacity:0.85; }
.item-details{ margin:10px 0 0; padding-left:18px; }
.item-details li{ font-weight:700; opacity:0.9; }

/* ===== Rental cards (image right, details left) ===== */
.rental-card{
  border-radius: var(--radiusCard);
  border: var(--border);
  background:#fff;
  box-shadow: var(--shadowSoft);
  padding:14px;
  display:flex;
  gap:14px;
  align-items:stretch;
}
.rental-left{ flex:1; }
.rental-right{
  width: 200px;
  max-width: 45%;
  border-radius: var(--radiusCard);
  overflow:hidden;
  border: var(--border);
  box-shadow: var(--shadowSoft);
}
.rental-right img{ width:100%; height:100%; object-fit:cover; display:block; }
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:900;
}
.dot{
  width:10px; height:10px;
  border-radius: 999px;
  display:inline-block;
}
.dot.green{ background: var(--primary); }
.dot.red{ background: #d22; }

/* ===== Updates list ===== */
.filter-row{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding: 6px 0 10px;
}
.post{
  border-radius: var(--radiusCard);
  border: var(--border);
  background:#fff;
  box-shadow: var(--shadowSoft);
  padding:14px;
}
.post h3{ margin:0; font-weight:900; }
.post .meta{ margin:6px 0 0; font-weight:800; opacity:0.75; }
.post .excerpt{ margin:8px 0 0; font-weight:700; opacity:0.9; }
.post video{
  margin-top: 12px;
  width:100%;
  aspect-ratio: 16/9;
  border-radius: var(--radiusCard);
  border: var(--border);
  box-shadow: var(--shadowFloat);
  object-fit:cover;
  display:block;
}

/* ===== Social list cards ===== */
.social-card{
  border-radius: var(--radiusCard);
  border: var(--border);
  background:#fff;
  box-shadow: var(--shadowSoft);
  padding:14px;
  display:flex;
  gap:14px;
  align-items:center;
}
.social-card img{
  width:64px; height:64px;
  border-radius: var(--radiusCard);
  border: var(--border);
  box-shadow: var(--shadowSoft);
  object-fit:cover;
}
.social-card .label{ font-weight:900; }
.social-card .url{ font-weight:800; opacity:0.7; word-break:break-all; }

/* ===== Modal ===== */
.modal{
  position:fixed;
  inset:0;
  z-index:80;
  display:none;
}
.modal.open{ display:block; }
.modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.65);
}
.modal__panel{
  position:absolute;
  inset: 0;
  margin:auto;
  width: min(980px, calc(100% - 26px));
  height: min(80vh, 720px);
  background:#fff;
  border-radius: var(--radiusCard);
  overflow:hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  display:flex;
  flex-direction:column;
}
.modal__head{
  padding:10px 12px;
  border-bottom: var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.modal__title{
  margin:0;
  font-weight:900;
}
.modal__close{
  width:44px;
  height:44px;
  border:none;
  background: rgba(0,0,0,0.06);
  border-radius: 12px;
  cursor:pointer;
  font-size:20px;
}
.modal__body{
  flex:1;
  overflow:auto;
  padding:12px;
}
.modal__body iframe{
  width:100%;
  height:100%;
  border:0;
}

/* ===== Footer ===== */
footer{
  background:#000;
  color:#fff;
  margin-top: 18px;
}
.footer-inner{
  padding: 14px 0;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  font-weight:800;
}


#menuOpen{ background:none !important; border:none !important; box-shadow:none !important; }

/* Mobile overlay safe area */
@media (max-width: 520px){
  .overlay__panel, .menu__panel{
    bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
    max-height: calc(100vh - 14px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 22px;
  }
}

#cartSavedMount{max-height:180px; overflow:auto;}

/* v4 action strip portrait fix */
@media (max-width: 640px){
  .ixyp-actions{
    flex-wrap:nowrap !important;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:6px;
  }
  .ixyp-actions > *{
    flex:0 0 auto !important;
  }
  #applyBtn{min-width:120px}
  .ixyp-qty{min-width:170px}
  #orderBtn{min-width:140px}
}

/* v4 mini card compact (more horizontal, less vertical height) */
.ixyp-mini{min-width:220px; padding:10px 12px !important; border-radius:18px}
.ixyp-mini__head{margin-bottom:6px !important}
.ixyp-mini .muted{line-height:1.2}
.ixyp-mini select{padding:10px 12px}
.ixyp-scrollmenu{max-height:120px}

/* iXYP action strip: Apply + Qty + Buy Now always in one row */
.ixyp-actions--triple{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:12px;
  align-items:center;
}
.ixyp-actions--triple .ixyp-qty{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
}
.ixyp-actions--triple .ixyp-qty label{display:none;}
@media (max-width:640px){
  .ixyp-actions--triple{gap:10px;}
  .ixyp-actions--triple .ixyp-qty label{display:none;}
  .ixyp-actions--triple button{padding:10px 10px; font-size:14px;}
  .ixyp-actions--triple select{padding:10px 10px; font-size:14px;}
}