
:root{
  --bg:#f5f7fb;
  --card:#ffffff;
  --ink:#101828;
  --muted:#667085;
  --line:#e7eaf0;
  --navy:#0f172a;
  --purple:#6d28d9;
  --pink:#ec4899;
  --green:#16a34a;
  --amber:#f59e0b;
  --danger:#dc2626;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(109,40,217,.08), transparent 30%),
    radial-gradient(circle at top right, rgba(236,72,153,.08), transparent 28%),
    var(--bg);
  color:var(--ink)
}
a{text-decoration:none;color:inherit}
button,input,textarea{font:inherit}
.shell{max-width:1020px;margin:auto;padding:22px}
.topbar{
  display:flex;justify-content:space-between;align-items:center;
  padding:12px 0 22px;gap:18px
}
.brand-wrap{display:flex;align-items:center;gap:12px}
.brand-mark{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;color:#fff;font-size:22px;font-weight:900;
  background:linear-gradient(135deg,var(--purple),var(--pink));
  box-shadow:0 10px 25px rgba(109,40,217,.22)
}
.brand{font-weight:950;font-size:30px;letter-spacing:-1.4px}
.tag{color:var(--muted);font-size:13px;margin-top:2px}
.hero{
  position:relative;overflow:hidden;
  background:linear-gradient(135deg,#0f172a 0%,#1e1b4b 52%,#581c87 100%);
  color:white;border-radius:28px;padding:30px 36px;margin:4px 0 30px;
  box-shadow:0 24px 55px rgba(15,23,42,.18)
}
.hero:after{
  content:"$";position:absolute;right:34px;top:-42px;
  font-size:220px;line-height:1;color:rgba(255,255,255,.06);font-weight:950
}
.hero-badge{
  display:inline-flex;gap:8px;align-items:center;
  padding:8px 12px;border:1px solid rgba(255,255,255,.2);
  border-radius:999px;background:rgba(255,255,255,.08);font-size:13px;font-weight:750
}
.hero h1{font-size:52px;line-height:1.02;margin:16px 0 12px;letter-spacing:-2.2px;max-width:760px}
.hero p{font-size:18px;line-height:1.6;margin:0;color:#e5e7eb;max-width:730px}
.hero-steps{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.hero-step{
  padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.14);font-size:13px
}
.section-head{display:flex;justify-content:space-between;align-items:end;margin:6px 0 15px}
.section-head h2{margin:0;font-size:25px;letter-spacing:-.7px}
.section-head p{margin:0;color:var(--muted);font-size:14px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{
  background:var(--card);border:1px solid rgba(231,234,240,.9);
  border-radius:24px;overflow:hidden;
  box-shadow:0 10px 35px rgba(16,24,40,.06);
  transition:.2s ease;position:relative
}
.card:hover{transform:translateY(-3px);box-shadow:0 20px 48px rgba(16,24,40,.10)}
.image-wrap{position:relative;background:#eef1f5}
.card img,.product-img{width:100%;height:240px;object-fit:cover;display:block}
.badge{
  position:absolute;top:16px;left:16px;padding:8px 11px;border-radius:999px;
  background:rgba(15,23,42,.88);color:#fff;font-size:12px;font-weight:800;
  backdrop-filter:blur(8px)
}
.card-body{padding:20px}
.card-title{font-size:22px;margin:0 0 8px;letter-spacing:-.5px}
.desc{color:var(--muted);line-height:1.55;font-size:14px;min-height:42px}
.price-row{display:flex;align-items:center;justify-content:space-between;margin:16px 0}
.price-label{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-weight:800}
.price-old{text-decoration:line-through;color:var(--muted);font-weight:700}
.cta-row{display:flex;gap:10px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:linear-gradient(135deg,var(--purple),var(--pink));
  color:#fff;border:none;border-radius:14px;padding:13px 18px;font-weight:850;
  cursor:pointer;box-shadow:0 10px 24px rgba(109,40,217,.18)
}
.btn:hover{filter:brightness(1.03)}
.btn.secondary{background:#fff;color:#111827;border:1px solid var(--line);box-shadow:none}
.btn.dark{background:var(--navy);box-shadow:none}
.btn.danger{background:#b91c1c;box-shadow:none}
.btn.full{width:100%}
.form-card,.offer-box{
  background:#fff;padding:26px;border:1px solid var(--line);
  border-radius:24px;box-shadow:0 14px 40px rgba(16,24,40,.06)
}
.form-card{max-width:680px;margin:30px auto}
label{display:block;font-weight:800;margin:14px 0 7px;font-size:14px}
input,textarea{
  width:100%;padding:13px 14px;border:1px solid #d0d5dd;border-radius:12px;
  font-size:16px;background:#fff;outline:none;transition:.15s
}
input:focus,textarea:focus{border-color:#8b5cf6;box-shadow:0 0 0 4px rgba(139,92,246,.1)}
textarea{min-height:115px}
.flash{padding:14px 16px;border-radius:14px;margin:10px 0;font-weight:750}
.flash.success{background:#dcfce7;color:#166534}
.flash.near{background:#fee2e2;color:#991b1b}
.flash.warm{background:#fef3c7;color:#92400e}
.flash.error{background:#f3f4f6;color:#374151}
.product-wrap{display:grid;grid-template-columns:1.08fr .92fr;gap:30px;align-items:start}
.product-panel{background:#fff;border-radius:26px;overflow:hidden;border:1px solid var(--line);box-shadow:0 14px 42px rgba(16,24,40,.06)}
.product-panel .product-img{height:560px}
.kicker{color:var(--purple);font-weight:900;text-transform:uppercase;letter-spacing:.09em;font-size:12px}
.offer-box h1{font-size:38px;line-height:1.05;margin:8px 0 10px;letter-spacing:-1.3px}
.retail-chip{
  display:inline-flex;padding:8px 11px;background:#f2f4f7;border-radius:999px;
  color:#475467;font-size:13px;font-weight:800;margin:5px 0 14px
}
.offer-callout{
  margin:18px 0;padding:18px;border-radius:18px;
  background:linear-gradient(135deg,#faf5ff,#fdf2f8);border:1px solid #f0d7ff
}
.offer-callout h2{margin:0 0 6px;font-size:28px}
.offer-input{font-size:30px;font-weight:900;letter-spacing:-.5px}
.share-title{margin:22px 0 10px;font-size:13px;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.share-row{display:flex;gap:9px;flex-wrap:wrap}
.share-btn{
  display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border-radius:12px;
  font-weight:800;font-size:14px;border:1px solid var(--line);background:#fff;cursor:pointer
}
.share-btn.whatsapp{border-color:#bbf7d0;background:#f0fdf4}
.share-btn.facebook{border-color:#bfdbfe;background:#eff6ff}
.share-btn.instagram{border-color:#fbcfe8;background:#fdf2f8}
.share-btn.copy{background:#f8fafc}
.social-icon{font-size:17px}
.big-win{text-align:center;background:#fff;border-radius:24px;border:1px solid var(--line);padding:34px;max-width:680px;margin:30px auto;box-shadow:0 14px 40px rgba(16,24,40,.07)}
.big-win .amount{font-size:56px;font-weight:950;letter-spacing:-2px}
table{width:100%;border-collapse:collapse;background:#fff;border-radius:16px;overflow:hidden}
th,td{padding:11px;border-bottom:1px solid var(--line);text-align:left;font-size:14px}
th{background:#f8fafc;font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.admin-section{margin:28px 0}
.small{font-size:13px;color:var(--muted);line-height:1.5}
.actions{display:flex;gap:8px;flex-wrap:wrap}
.footer{text-align:center;color:var(--muted);font-size:12px;padding:44px 0 20px}
@media(max-width:760px){
  .shell{padding:15px}
  .hero{padding:32px 24px}
  .hero h1{font-size:39px}
  .hero:after{font-size:150px}
  .product-wrap{grid-template-columns:1fr}
  .product-panel .product-img{height:390px}
  .offer-box h1{font-size:32px}
  .topbar{align-items:flex-start}
}

select{
  width:100%;padding:13px 14px;border:1px solid #d0d5dd;border-radius:12px;
  font-size:16px;background:#fff;outline:none
}
.shop-tools{
  background:#fff;border:1px solid var(--line);border-radius:20px;
  padding:16px;margin:0 0 22px;box-shadow:0 10px 30px rgba(16,24,40,.04)
}
.search-form{display:flex;gap:10px}
.search-form input{margin:0}
.category-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.category-pill{
  padding:9px 13px;border-radius:999px;background:#f8fafc;border:1px solid var(--line);
  font-size:13px;font-weight:800;color:#475467;transition:.15s
}
.category-pill:hover,.category-pill.active{
  background:linear-gradient(135deg,var(--purple),var(--pink));
  color:white;border-color:transparent
}
.product-card{display:flex;flex-direction:column;height:100%}
.product-card .image-wrap{height:280px}
.product-card .image-wrap img{height:280px}
.product-card-body{
  display:flex;flex-direction:column;justify-content:space-between;gap:20px;flex:1
}
.card-footer{margin-top:auto}
.clamp-3{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;
  min-height:65px
}
.view-link{
  display:inline-block;margin-top:2px;font-size:13px;font-weight:800;color:var(--purple)
}
.category-badge{
  position:absolute;top:16px;right:16px;padding:8px 10px;border-radius:999px;
  background:rgba(255,255,255,.93);border:1px solid rgba(255,255,255,.8);
  color:#344054;font-size:11px;font-weight:900;backdrop-filter:blur(8px)
}
.retail-price{font-size:22px;font-weight:950;letter-spacing:-.6px;color:#101828}
.wudupay-mini{
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 12px;border-radius:12px;background:#faf5ff;border:1px solid #f0d7ff;
  margin:0 0 12px;font-weight:950;color:#6d28d9
}
.wudupay-mini span{font-size:12px;color:#7c3aed;font-weight:700}
.empty-state{
  grid-column:1/-1;text-align:center;background:#fff;border:1px solid var(--line);
  border-radius:20px;padding:40px
}
@media(max-width:760px){
  .search-form{flex-direction:column}
}

.premium-product{align-items:start}
.gallery-panel{padding:14px}
.gallery-panel .product-img{
  width:100%;height:520px;object-fit:contain;background:#fff;border-radius:18px
}
.thumb-row{display:flex;gap:10px;overflow-x:auto;padding:12px 2px 2px}
.thumb{
  width:76px;height:76px;flex:0 0 76px;border-radius:12px;border:2px solid transparent;
  background:#fff;padding:4px;cursor:pointer
}
.thumb.active{border-color:var(--purple)}
.thumb img{width:100%;height:100%;object-fit:cover;border-radius:8px}
.sticky-offer{position:sticky;top:18px}
.price-summary{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 0 6px
}
.stock-pill{
  padding:9px 12px;border-radius:999px;background:#ecfdf3;color:#027a48;
  font-weight:850;font-size:12px;border:1px solid #abefc6
}
.offer-eyebrow{
  font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#7c3aed
}
.offer-callout p{margin:7px 0 0;color:#6b7280;line-height:1.5}
.money-input-wrap{
  display:flex;align-items:center;border:1px solid #d0d5dd;border-radius:14px;
  padding-left:14px;background:#fff
}
.money-input-wrap:focus-within{border-color:#8b5cf6;box-shadow:0 0 0 4px rgba(139,92,246,.1)}
.money-input-wrap span{font-size:26px;font-weight:900;color:#667085}
.money-input-wrap input{
  border:none;box-shadow:none!important;padding-left:8px
}
.mega-offer{margin-top:16px;padding:16px;font-size:16px}
.attempt-note{
  margin-top:14px;padding:13px;border-radius:14px;background:#f8fafc;
  border:1px solid var(--line);color:#475467;font-size:13px;line-height:1.5
}
.admin-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;margin:10px 0 14px}
.admin-gallery-item{border:1px solid var(--line);border-radius:14px;padding:8px;background:#fff}
.admin-gallery-item img{width:100%;height:110px;object-fit:cover;border-radius:10px;margin-bottom:8px}
.admin-gallery-item form{margin:0}
@media(max-width:760px){
  .sticky-offer{position:static}
  .gallery-panel .product-img{height:380px}
}

.offer-alert{
  display:flex;
  align-items:center;
  gap:18px;
  padding:22px 26px;
  margin:4px 0 18px;
  border-radius:20px;
  border:1px solid;
  box-shadow:0 12px 30px rgba(16,24,40,.06);
}
.offer-alert-icon{
  width:54px;height:54px;min-width:54px;
  border-radius:50%;
  display:grid;place-items:center;
  font-size:30px;font-weight:950;
}
.offer-alert-title{
  font-size:28px;
  line-height:1.05;
  font-weight:950;
  letter-spacing:-.8px;
}
.offer-alert-sub{
  margin-top:6px;
  font-size:15px;
  font-weight:700;
}
.offer-alert.offer-low{
  background:linear-gradient(90deg,#fff1f2,#ffe4e6);
  border-color:#fecdd3;
  color:#b42318;
}
.offer-alert.offer-low .offer-alert-icon{
  color:#fff;background:#dc2626;
}
.offer-alert.offer-warm{
  background:linear-gradient(90deg,#fffbeb,#fef3c7);
  border-color:#fde68a;
  color:#92400e;
}
.offer-alert.offer-warm .offer-alert-icon{
  background:#f59e0b;color:#fff;
}
.offer-alert.offer-close{
  background:linear-gradient(90deg,#fff7ed,#ffedd5);
  border-color:#fdba74;
  color:#c2410c;
}
.offer-alert.offer-close .offer-alert-icon{
  background:#ea580c;color:#fff;
}
.tries-card,.privacy-card{
  display:flex;gap:14px;align-items:flex-start;
  background:linear-gradient(135deg,#faf5ff,#fdf2f8);
  border:1px solid #e9d5ff;
  border-radius:18px;
  padding:18px 20px;
  margin-top:16px;
}
.tries-icon,.privacy-icon{font-size:28px}
.tries-title,.privacy-title{
  font-weight:950;color:#6d28d9;letter-spacing:.04em;font-size:14px
}
.tries-text,.tries-left,.privacy-text{
  color:#475467;font-size:13px;line-height:1.55;margin-top:3px
}
.tries-left strong{color:#6d28d9}
.privacy-card{
  margin:20px 0 0;
  background:#fff;
  border-color:var(--line);
}
.tries-exhausted{
  padding:18px;border-radius:16px;background:#f8fafc;border:1px solid var(--line);
  display:flex;flex-direction:column;gap:5px;color:#344054
}
.tries-exhausted strong{font-size:16px}
.tries-exhausted span{font-size:13px;color:#667085}
@media(max-width:760px){
  .offer-alert{padding:18px;gap:12px}
  .offer-alert-icon{width:44px;height:44px;min-width:44px;font-size:24px}
  .offer-alert-title{font-size:21px}
  .offer-alert-sub{font-size:13px}
}

.soldout-overlay{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:rgba(15,23,42,.52);backdrop-filter:grayscale(.15);z-index:3;pointer-events:none
}
.soldout-stamp{
  padding:12px 22px;border:3px solid #fff;border-radius:10px;color:#fff;
  font-size:28px;font-weight:950;letter-spacing:.08em;transform:rotate(-4deg);
  text-shadow:0 2px 10px rgba(0,0,0,.25)
}
.soldout-sub{margin-top:10px;color:#fff;font-size:13px;font-weight:950;letter-spacing:.12em}
.wudupay-mini.claimed{
  background:#f8fafc;border-color:#d0d5dd;color:#344054
}
.wudupay-mini.claimed span{color:#667085}
.soldout-button{
  background:#344054!important;box-shadow:none!important
}
.stock-pill.sold{
  background:#fef2f2;color:#b42318;border-color:#fecaca
}
.claimed-box{
  display:flex;gap:14px;align-items:center;padding:18px;border-radius:16px;
  background:linear-gradient(135deg,#faf5ff,#fdf2f8);border:1px solid #e9d5ff;margin-top:14px
}
.claimed-emoji{font-size:34px}
.claimed-title{font-size:20px;font-weight:950;color:#6d28d9}
.claimed-text{margin-top:4px;color:#667085;font-size:13px;line-height:1.5}

.orders-toolbar{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  flex-wrap:wrap;margin:8px 0 22px
}
.orders-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px
}
.order-card{
  background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;
  box-shadow:0 10px 30px rgba(16,24,40,.06)
}
.order-top{
  display:flex;justify-content:space-between;align-items:flex-start;gap:18px
}
.order-top h3{margin:5px 0 0;font-size:19px;line-height:1.25}
.order-amount{font-size:30px;font-weight:950;letter-spacing:-1px;white-space:nowrap}
.order-status{
  display:inline-flex;padding:7px 10px;border-radius:999px;
  font-size:11px;font-weight:900;letter-spacing:.06em
}
.order-status.paid{background:#dcfce7;color:#166534}
.order-status.accepted{background:#fef3c7;color:#92400e}
.order-lines{
  display:grid;gap:8px;margin-top:17px;padding-top:16px;
  border-top:1px solid var(--line);color:#475467;font-size:13px;line-height:1.45
}
.order-lines strong{color:#101828}
.admin-top-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}
@media(max-width:760px){
  .order-top{flex-direction:column}
}

.fulfillment-banner{
  margin-top:14px;padding:10px 12px;border-radius:12px;
  font-size:12px;font-weight:950;letter-spacing:.06em
}
.fulfillment-banner.ready_to_ship,.fulfillment-banner.new{
  background:#ecfdf3;color:#027a48;border:1px solid #abefc6
}
.fulfillment-banner.shipped{
  background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe
}
.fulfillment-actions{
  margin-top:16px;padding-top:16px;border-top:1px solid var(--line)
}
.fulfillment-actions form{margin:0}
.fulfillment-actions label{margin-top:0}
.fulfillment-actions input{margin-bottom:10px}
.webhook-note{
  margin-top:22px;padding:16px 18px;background:#fff;border:1px solid var(--line);
  border-radius:16px;color:#475467;font-size:13px
}
.webhook-note code{font-weight:800;color:#6d28d9}
/* ===== WUDUPAY DESKTOP WIDTH CONTROL ===== */
@media (min-width: 1100px) {
    .shell {
        max-width: 1180px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 24px;
        padding-right: 24px;
    }
}
