.zfe-catalog-shell{
  --zfe-dark:#070b12;
  --zfe-ink:#0f172a;
  --zfe-muted:#667085;
  --zfe-gold:#d6a228;
  --zfe-gold-soft:#fff3d6;
  --zfe-border:rgba(15,23,42,.08);
  --zfe-shadow:0 24px 70px rgba(3,7,18,.13);
  width:min(100%,1580px);
  margin:0 auto 34px;
  padding:0 clamp(12px,2vw,28px);
  box-sizing:border-box;
  isolation:isolate;
}
.zfe-catalog-shell *{box-sizing:border-box}

.zfe-grid-wrap{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(18px,2vw,28px);
  margin:22px 0 0;
}

.zfe-card-public{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:100%;
  overflow:hidden;
  border-radius:30px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.98));
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 16px 45px rgba(15,23,42,.09);
  transform:translateZ(0);
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;
}
.zfe-card-public:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  background:linear-gradient(90deg,#111827,#d6a228,#111827);
  opacity:.9;
  z-index:2;
}
.zfe-card-public:hover{
  transform:translateY(-7px);
  border-color:rgba(214,162,40,.34);
  box-shadow:0 32px 85px rgba(3,7,18,.18);
}
.zfe-card-ribbon{
  position:absolute;
  z-index:3;
  top:16px;
  left:16px;
  right:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  pointer-events:none;
}
.zfe-card-ribbon span{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:6px 10px;
  border-radius:999px;
  font-size:.72rem;
  line-height:1;
  font-weight:900;
  letter-spacing:.02em;
  color:#0f172a;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(214,162,40,.34);
  box-shadow:0 10px 22px rgba(15,23,42,.1);
  backdrop-filter:blur(10px);
}
.zfe-card-ribbon span:first-child{
  color:#7a4a00;
  background:linear-gradient(135deg,#fff7e7,#ffe6aa);
}
.zfe-card-ribbon span:last-child{
  color:#027a48;
  background:linear-gradient(135deg,#ecfdf3,#d1fadf);
  border-color:#abefc6;
}
.zfe-card-public img{
  width:100%;
  height:270px;
  object-fit:contain;
  padding:30px 26px 24px;
  background:
    radial-gradient(circle at 80% 10%,rgba(214,162,40,.14),transparent 30%),
    radial-gradient(circle at 10% 85%,rgba(17,24,39,.09),transparent 38%),
    linear-gradient(180deg,#f8fafc 0%,#edf1f7 100%);
  border-bottom:1px solid rgba(15,23,42,.06);
}
.zfe-card-body{
  display:flex;
  flex-direction:column;
  flex:1;
  gap:12px;
  padding:24px;
}
.zfe-card-public h3{
  margin:0;
  min-height:3.2rem;
  color:#090e19;
  font-size:clamp(1.06rem,1.1vw,1.34rem);
  font-weight:950;
  line-height:1.22;
  letter-spacing:-.04em;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.zfe-card-public p{
  margin:0;
  min-height:3rem;
  color:#475467;
  font-size:.94rem;
  line-height:1.6;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.zfe-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:auto;
}
.zfe-meta span,
.zfe-pill,
.zfe-category-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border-radius:999px;
  padding:8px 12px;
  font-size:.76rem;
  line-height:1;
  font-weight:850;
  text-decoration:none!important;
}
.zfe-meta span{
  max-width:100%;
  color:#344054;
  background:#f2f4f7;
  border:1px solid rgba(15,23,42,.06);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.zfe-pill{
  color:#8a5200;
  background:linear-gradient(135deg,#fff8ec,#fff2d2);
  border:1px solid rgba(214,162,40,.32);
}
.zfe-price-row{
  padding:14px 0 4px;
  border-top:1px solid rgba(15,23,42,.06);
}
.zfe-price-label{
  display:block;
  margin-bottom:2px;
  color:#667085;
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.zfe-price{
  margin:0;
  color:#070b12;
  font-size:clamp(1.55rem,1.6vw,2.05rem);
  font-weight:950;
  line-height:1.05;
  letter-spacing:-.055em;
}
.zfe-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-top:2px;
}
.zfe-buy,
.zfe-search button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  border-radius:999px;
  padding:13px 18px;
  color:#fff!important;
  background:linear-gradient(135deg,#070b12 0%,#172033 52%,#0b111f 100%);
  border:1px solid rgba(214,162,40,.34);
  box-shadow:0 14px 32px rgba(3,7,18,.22);
  font-weight:900;
  line-height:1;
  text-decoration:none!important;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease,border-color .18s ease;
}
.zfe-buy:hover,
.zfe-search button:hover{
  color:#fff!important;
  text-decoration:none!important;
  filter:brightness(1.08);
  transform:translateY(-1px);
  border-color:rgba(214,162,40,.55);
  box-shadow:0 18px 42px rgba(3,7,18,.28);
}
.zfe-buy:after{content:"↗";margin-left:8px;font-size:.92em}

.zfe-search{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px;
  border-radius:28px;
  background:linear-gradient(135deg,#ffffff,#f6f8fb);
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 16px 42px rgba(15,23,42,.07);
}
.zfe-search input{
  flex:1;
  min-height:52px;
  border:0!important;
  outline:none!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:10px 18px;
  color:#0f172a;
  font-size:1rem;
}
.zfe-search input::placeholder{color:#98a2b3}

.zfe-category-intro{
  position:relative;
  overflow:hidden;
  margin:0 0 18px;
  padding:clamp(26px,4vw,52px);
  border-radius:34px;
  color:#fff;
  background:
    radial-gradient(circle at 18% 18%,rgba(214,162,40,.20),transparent 24%),
    radial-gradient(circle at 90% 0%,rgba(255,255,255,.10),transparent 30%),
    linear-gradient(135deg,#05080f 0%,#101827 50%,#070b12 100%);
  border:1px solid rgba(214,162,40,.18);
  box-shadow:0 28px 80px rgba(3,7,18,.24);
}
.zfe-category-intro:after{
  content:"";
  position:absolute;
  right:-80px;
  bottom:-110px;
  width:280px;
  height:280px;
  border-radius:999px;
  border:1px solid rgba(214,162,40,.22);
  opacity:.75;
}
.zfe-category-intro h2{
  position:relative;
  z-index:1;
  max-width:850px;
  margin:0 0 12px;
  color:#fff;
  font-size:clamp(1.75rem,3vw,3.2rem);
  line-height:1.04;
  font-weight:950;
  letter-spacing:-.06em;
}
.zfe-category-intro p{
  position:relative;
  z-index:1;
  max-width:780px;
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:clamp(.98rem,1.2vw,1.08rem);
  line-height:1.75;
}
.zfe-category-nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 26px;
}
.zfe-category-chip{
  min-height:42px;
  color:#0f172a;
  background:rgba(255,255,255,.95);
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 10px 24px rgba(15,23,42,.07);
  transition:background .18s ease,color .18s ease,transform .18s ease,border-color .18s ease;
}
.zfe-category-chip:hover{
  color:#fff;
  background:#070b12;
  border-color:rgba(214,162,40,.55);
  transform:translateY(-1px);
}
.zfe-category-sections{display:grid;gap:38px;margin:0}
.zfe-category-section{scroll-margin-top:110px}
.zfe-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin:0 0 18px;
  padding:24px 26px;
  border-radius:28px;
  background:linear-gradient(135deg,#ffffff 0%,#f7f9fc 100%);
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 16px 42px rgba(15,23,42,.07);
}
.zfe-section-head h2{
  margin:0 0 6px;
  color:#0f172a;
  font-size:clamp(1.45rem,2vw,2.1rem);
  line-height:1.12;
  font-weight:950;
  letter-spacing:-.055em;
}
.zfe-section-head p{margin:0;color:#475467;line-height:1.65}

.zfe-table-wrap{
  overflow:auto;
  border-radius:26px;
  border:1px solid rgba(15,23,42,.08);
  background:#fff;
  box-shadow:0 20px 55px rgba(15,23,42,.08);
}
.zfe-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff}
.zfe-table th,.zfe-table td{padding:17px 20px;border-bottom:1px solid #eef2f7;text-align:left;vertical-align:middle}
.zfe-table th{background:#f8fafc;color:#475467;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}
.zfe-table tbody tr:nth-child(even) td{background:#fcfcfd}
.zfe-table tbody tr:hover td{background:#f8fbff}
.zfe-table small,.zfe-offer-row small{display:block;color:#667085;margin-top:5px;line-height:1.5}

.zfe-offers{display:grid;gap:14px}
.zfe-offers h3{margin:0 0 8px;color:#0f172a;font-size:clamp(1.5rem,2vw,2rem);font-weight:950;letter-spacing:-.04em}
.zfe-offer-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:16px;
  align-items:center;
  padding:18px;
  border-radius:24px;
  border:1px solid rgba(15,23,42,.08);
  background:linear-gradient(180deg,#fff,#fbfcfe);
  box-shadow:0 12px 30px rgba(15,23,42,.06);
}
.zfe-offer-row strong{font-size:1rem;color:#0f172a}
.zfe-empty{
  color:#8a5200;
  background:#fff8ec;
  border:1px solid rgba(214,162,40,.32);
  border-radius:18px;
  padding:16px 18px;
  font-weight:800;
}
.zfe-buy:focus-visible,
.zfe-search button:focus-visible,
.zfe-search input:focus-visible,
.zfe-category-chip:focus-visible{
  outline:3px solid #d6a228;
  outline-offset:3px;
}
@media (prefers-reduced-motion:reduce){
  .zfe-card-public,.zfe-buy,.zfe-search button,.zfe-category-chip{transition:none}
  .zfe-card-public:hover,.zfe-buy:hover,.zfe-search button:hover,.zfe-category-chip:hover{transform:none}
}
@media (max-width:1460px){.zfe-grid-wrap{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:1080px){.zfe-grid-wrap{grid-template-columns:repeat(2,minmax(0,1fr))}.zfe-card-public img{height:245px}.zfe-section-head{align-items:flex-start;flex-direction:column}}
@media (max-width:700px){
  .zfe-catalog-shell{padding:0 10px;margin-bottom:24px}
  .zfe-grid-wrap{grid-template-columns:1fr;gap:18px}
  .zfe-card-public{border-radius:24px}
  .zfe-card-ribbon{top:12px;left:12px;right:12px}
  .zfe-card-ribbon span{font-size:.68rem;padding:6px 9px}
  .zfe-card-public img{height:220px;padding:28px 20px 20px}
  .zfe-card-body{padding:18px}
  .zfe-card-public h3{min-height:auto;font-size:1.15rem}
  .zfe-card-public p{min-height:auto;-webkit-line-clamp:3}
  .zfe-price{font-size:1.7rem}
  .zfe-actions{align-items:stretch;flex-direction:column}
  .zfe-buy{width:100%}
  .zfe-actions .zfe-pill{width:max-content}
  .zfe-search{align-items:stretch;flex-direction:column;border-radius:22px}
  .zfe-search button{width:100%}
  .zfe-category-intro,.zfe-section-head{border-radius:24px;padding:22px}
  .zfe-category-nav{overflow-x:auto;flex-wrap:nowrap;padding-bottom:6px;scroll-snap-type:x proximity}
  .zfe-category-chip{white-space:nowrap;scroll-snap-align:start}
  .zfe-offer-row{grid-template-columns:1fr}
}

/* v1.6.6 premium supplement card polish */
.zfe-catalog-shell{
  --zfe-card-radius:28px;
  --zfe-card-min-height:690px;
  --zfe-image-height:280px;
}
.zfe-grid-wrap{
  align-items:stretch;
}
.zfe-card-public{
  min-height:var(--zfe-card-min-height);
  height:100%;
  border-radius:var(--zfe-card-radius);
  background:linear-gradient(180deg,#ffffff 0%,#f9fbff 100%);
}
.zfe-card-public:hover .zfe-image-stage img{
  transform:scale(1.055) translateY(-2px);
}
.zfe-image-stage{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:var(--zfe-image-height);
  padding:28px;
  overflow:hidden;
  background:
    radial-gradient(circle at 70% 5%,rgba(214,162,40,.13),transparent 34%),
    radial-gradient(circle at 5% 92%,rgba(15,23,42,.08),transparent 44%),
    linear-gradient(180deg,#f8fafc 0%,#eef3f8 100%);
  border-bottom:1px solid rgba(15,23,42,.06);
}
.zfe-card-public img{
  width:100%;
  max-width:230px;
  height:220px;
  object-fit:contain;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  transition:transform .28s ease, filter .28s ease;
  filter:drop-shadow(0 18px 26px rgba(15,23,42,.12));
}
.zfe-card-body{
  min-height:410px;
  padding:24px;
  gap:13px;
}
.zfe-card-public h3{
  min-height:3.25rem;
  font-size:clamp(1.08rem,1.04vw,1.28rem);
  line-height:1.24;
  font-weight:900;
  letter-spacing:-.035em;
}
.zfe-product-info,
.zfe-card-public p.zfe-product-info{
  min-height:4.55rem;
  color:#556070;
  font-size:.94rem;
  line-height:1.55;
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.zfe-meta{
  min-height:37px;
  margin-top:0;
  align-content:flex-start;
}
.zfe-meta span{
  max-width:100%;
  min-height:32px;
  padding:8px 11px;
  font-size:.72rem;
  color:#334155;
  background:linear-gradient(180deg,#f8fafc,#eef2f7);
}
.zfe-card-details{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:32px;
  padding:10px 0 0;
  color:#64748b;
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.055em;
  border-top:1px solid rgba(15,23,42,.06);
}
.zfe-card-details span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.zfe-price-row{
  margin-top:auto;
  padding:12px 0 4px;
  border-top:0;
}
.zfe-price{
  font-size:clamp(1.5rem,1.45vw,1.95rem);
  line-height:1.05;
}
.zfe-actions{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  min-height:52px;
}
.zfe-buy{
  width:100%;
  min-width:0;
  min-height:50px;
  padding:14px 18px;
  font-size:.92rem;
  letter-spacing:.01em;
}
.zfe-pill{
  min-height:38px;
  white-space:nowrap;
}
@media(max-width:1080px){
  .zfe-catalog-shell{--zfe-card-min-height:660px;--zfe-image-height:255px}
  .zfe-card-public img{height:200px;max-width:220px}
  .zfe-card-body{min-height:405px}
}
@media(max-width:700px){
  .zfe-catalog-shell{--zfe-card-min-height:auto;--zfe-image-height:240px}
  .zfe-card-body{min-height:auto;padding:20px}
  .zfe-product-info,.zfe-card-public p.zfe-product-info{min-height:auto;-webkit-line-clamp:3}
  .zfe-meta{min-height:auto}
  .zfe-card-details{font-size:.72rem}
  .zfe-actions{grid-template-columns:1fr}
  .zfe-pill{width:max-content}
}

/* v1.6.7: category intro removed */
.zfe-category-intro{display:none!important;}
.zfe-category-sections{margin-top:0!important;}

/* v1.7.8 - clean premium cards */
.zfe-card-public{
  border-radius:24px!important;
  border:1px solid #e7ebf1!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfd 100%)!important;
  box-shadow:0 10px 28px rgba(15,23,42,.06)!important;
}
.zfe-card-public:before{display:none!important}
.zfe-card-public:hover{
  transform:translateY(-2px)!important;
  border-color:#dde4ec!important;
  box-shadow:0 20px 44px rgba(15,23,42,.09)!important;
}
.zfe-card-public:hover .zfe-image-stage img{
  transform:none!important;
}
.zfe-image-stage{
  background:linear-gradient(180deg,#fbfcfd 0%,#f3f6f8 100%)!important;
  border-bottom:1px solid #edf1f4!important;
}
.zfe-image-stage::before,
.zfe-image-stage::after{content:none!important}
.zfe-card-public img{
  filter:none!important;
  transition:none!important;
}
.zfe-card-ribbon span{
  box-shadow:none!important;
  backdrop-filter:none!important;
  background:#fff!important;
  border:1px solid #e9edf2!important;
  color:#46505c!important;
}
.zfe-card-ribbon span:first-child{
  background:#fffaf0!important;
  border-color:#f0e1ba!important;
  color:#8b5b00!important;
}
.zfe-card-ribbon span:last-child{
  background:#f8fafc!important;
  border-color:#e4e9f0!important;
  color:#46505c!important;
}
.zfe-meta span{
  background:#f5f7fa!important;
  border-color:#e7ebf0!important;
  color:#4b5563!important;
}
.zfe-pill{
  background:#fffaf0!important;
  border-color:#f0e1ba!important;
  color:#8b5b00!important;
}
.zfe-buy,
.zfe-offers-toggle{
  background:#111820!important;
  border:1px solid #111820!important;
  color:#fff!important;
  box-shadow:none!important;
}
.zfe-buy:hover,
.zfe-offers-toggle:hover{
  background:#1b2430!important;
  border-color:#1b2430!important;
  color:#fff!important;
  transform:translateY(-1px)!important;
}
.zfe-buy:after{content:none!important}


/* v1.7.9 - cleaner product image area and refined box shadow */
.zfe-card-public{box-shadow:0 14px 34px rgba(15,23,42,.08)!important;border:1px solid #e6ebf1!important;}
.zfe-card-public:hover{box-shadow:0 22px 48px rgba(15,23,42,.12)!important;border-color:#dbe2ea!important;}
.zfe-image-stage{background:linear-gradient(180deg,#fbfcfd 0%,#f3f5f7 100%)!important;border-radius:0!important;}
.zfe-image-stage::before,.zfe-image-stage::after{content:none!important;display:none!important;}
.zfe-card-public img{filter:none!important;transform:none!important;background:transparent!important;border-radius:0!important;}
.zfe-card-public:hover .zfe-image-stage img{transform:none!important;filter:none!important;}

/* v1.8.0 buyer UX controls */
.zfe-catalog-shell{--zfe-gold:var(--zfe-accent,#d6a228)}
.zfe-grid-wrap{grid-template-columns:repeat(var(--zfe-columns,4),minmax(0,1fr))}
.zfe-disclosure{margin:0 0 16px;padding:13px 16px;border-radius:18px;background:#fff8ec;border:1px solid rgba(214,162,40,.28);color:#7a4a00;font-weight:750;line-height:1.55;box-shadow:0 10px 24px rgba(15,23,42,.05)}
.zfe-filterbar{position:sticky;top:10px;z-index:20;display:grid;grid-template-columns:minmax(220px,1fr) minmax(160px,220px) auto;gap:12px;align-items:end;margin:0 0 18px;padding:14px;border-radius:24px;background:rgba(255,255,255,.92);border:1px solid rgba(15,23,42,.08);box-shadow:0 18px 45px rgba(15,23,42,.08);backdrop-filter:blur(14px)}
.zfe-filterbar label{display:flex;flex-direction:column;gap:6px;color:#475467;font-size:.78rem;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.zfe-filterbar input[type=search],.zfe-filterbar select{min-height:46px;border:1px solid rgba(15,23,42,.12)!important;border-radius:16px!important;background:#fff!important;color:#0f172a!important;padding:10px 13px!important;box-shadow:none!important;text-transform:none;letter-spacing:0;font-size:.95rem}.zfe-filterbar .zfe-check{flex-direction:row;align-items:center;min-height:46px;text-transform:none;letter-spacing:0;font-size:.9rem;color:#344054}.zfe-card-public[hidden]{display:none!important}.zfe-catalog-shell[data-zfe-preset="compact"] .zfe-card-public{min-height:560px;border-radius:20px}.zfe-catalog-shell[data-zfe-preset="compact"] .zfe-image-stage{height:210px}.zfe-catalog-shell[data-zfe-preset="compact"] .zfe-card-body{min-height:320px;padding:18px}.zfe-catalog-shell[data-zfe-preset="dark"]{color:#fff}.zfe-catalog-shell[data-zfe-preset="dark"] .zfe-card-public,.zfe-catalog-shell[data-zfe-preset="dark"] .zfe-section-head,.zfe-catalog-shell[data-zfe-preset="dark"] .zfe-filterbar{background:linear-gradient(180deg,#0b1120,#111827);border-color:rgba(255,255,255,.1)}.zfe-catalog-shell[data-zfe-preset="dark"] .zfe-card-public h3,.zfe-catalog-shell[data-zfe-preset="dark"] .zfe-section-head h2{color:#fff}.zfe-catalog-shell[data-zfe-preset="dark"] .zfe-product-info,.zfe-catalog-shell[data-zfe-preset="dark"] .zfe-section-head p{color:rgba(255,255,255,.72)}
@media(max-width:1080px){.zfe-grid-wrap{grid-template-columns:repeat(2,minmax(0,1fr))!important}.zfe-filterbar{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.zfe-grid-wrap{grid-template-columns:1fr!important}.zfe-filterbar{position:relative;top:auto;grid-template-columns:1fr;border-radius:20px}.zfe-filterbar .zfe-check{justify-content:flex-start}}
