:root{
  --pdgm-orange:#f28a2b;
  --pdgm-orange-2:#ff9a3c;
  --pdgm-bg:#17191c;
  --pdgm-bg2:#1f2226;
  --pdgm-card:rgba(30,33,37,.90);
  --pdgm-card2:rgba(38,41,45,.92);
  --pdgm-line:rgba(255,255,255,.09);
  --pdgm-text:#f5f5f3;
  --pdgm-muted:#aeb1b5;
  --pdgm-soft:#d6d7d8;
}

.pdgm-shell{
  max-width:1520px;
  margin:0 auto;
  padding:28px;
  color:var(--pdgm-text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.pdgm-shell *{box-sizing:border-box}

.pdgm-shell a{text-decoration:none}

.pdgm-eyebrow{
  display:inline-block;
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:11px;
  font-weight:700;
  letter-spacing:.18em;
  color:var(--pdgm-orange);
  text-transform:uppercase;
}

.pdgm-hero,
.pdgm-page-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  padding:42px;
  border:1px solid var(--pdgm-line);
  border-radius:26px;
  background:
    radial-gradient(circle at 85% 20%,rgba(242,138,43,.13),transparent 30%),
    linear-gradient(135deg,rgba(34,37,41,.97),rgba(20,22,24,.97));
  box-shadow:0 22px 70px rgba(0,0,0,.20);
}

.pdgm-hero h1,
.pdgm-page-head h1{
  margin:7px 0 10px;
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:clamp(38px,5vw,72px);
  line-height:.96;
  letter-spacing:-.045em;
  font-weight:700;
}

.pdgm-page-head h1{font-size:clamp(34px,4vw,58px)}

.pdgm-hero p,
.pdgm-page-head p{
  margin:0;
  max-width:680px;
  color:var(--pdgm-muted);
  font-size:16px;
  line-height:1.6;
}

.pdgm-hero__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.pdgm-orange-btn,
.pdgm-ghost-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 20px;
  border-radius:12px;
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:13px;
  font-weight:700;
  transition:.2s ease;
}

.pdgm-orange-btn{
  background:var(--pdgm-orange);
  color:#171717!important;
}

.pdgm-orange-btn:hover{background:var(--pdgm-orange-2);transform:translateY(-1px)}

.pdgm-ghost-btn{
  color:#fff!important;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.045);
}

.pdgm-ghost-btn:hover{
  background:rgba(255,255,255,.09);
  border-color:rgba(255,255,255,.24);
}

.pdgm-ghost-btn--full{width:100%}

.pdgm-searchbar{
  margin:18px 0 22px;
  padding:13px;
  background:var(--pdgm-card);
  border:1px solid var(--pdgm-line);
  border-radius:18px;
  backdrop-filter:blur(15px);
}

.pdgm-searchbar form{
  display:grid;
  grid-template-columns:minmax(280px,1fr) 230px 170px auto;
  gap:10px;
}

.pdgm-searchbox{
  position:relative;
}

.pdgm-searchicon{
  position:absolute;
  left:15px;
  top:50%;
  transform:translateY(-50%);
  color:#7f8286;
  font-size:24px;
}

.pdgm-searchbar input,
.pdgm-searchbar select,
.pdgm-resultbar select,
.pdgm-filter-panel input,
.pdgm-qty input{
  width:100%;
  min-height:46px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:11px;
  padding:0 13px;
  color:#f4f4f4;
  background:#17191c;
  outline:none;
}

.pdgm-searchbox input{padding-left:43px}

.pdgm-searchbar input:focus,
.pdgm-searchbar select:focus,
.pdgm-filter-panel input:focus{
  border-color:rgba(242,138,43,.65);
  box-shadow:0 0 0 3px rgba(242,138,43,.08);
}

.pdgm-searchbar button{
  border:0;
  border-radius:11px;
  padding:0 22px;
  background:var(--pdgm-orange);
  color:#161616;
  font-family:"Space Grotesk",Inter,sans-serif;
  font-weight:700;
}

.pdgm-layout{
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  gap:22px;
}

.pdgm-sidebar{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.pdgm-panel,
.pdgm-section-card{
  border:1px solid var(--pdgm-line);
  border-radius:18px;
  background:var(--pdgm-card);
  backdrop-filter:blur(15px);
}

.pdgm-panel{padding:18px}

.pdgm-panel__title{
  margin-bottom:12px;
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:15px;
  font-weight:700;
  color:#fff;
}

.pdgm-category{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-height:38px;
  padding:8px 10px;
  margin:2px 0;
  border-radius:9px;
  color:#c8c9cb!important;
  font-size:13px;
  transition:.15s ease;
}

.pdgm-category:hover{
  background:rgba(255,255,255,.05);
  color:#fff!important;
}

.pdgm-category.is-active{
  background:rgba(242,138,43,.13);
  color:var(--pdgm-orange)!important;
}

.pdgm-category em{
  font-style:normal;
  font-size:11px;
  color:#7f8286;
}

.pdgm-filter-panel form{
  display:flex;
  flex-direction:column;
}

.pdgm-label{
  margin:15px 0 8px;
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:11px;
  font-weight:600;
  letter-spacing:.09em;
  color:#8f9296;
  text-transform:uppercase;
}

.pdgm-two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.pdgm-check{
  display:flex;
  align-items:center;
  gap:9px;
  padding:5px 0;
  color:#c7c8ca;
  font-size:13px;
}

.pdgm-check input{
  width:16px;
  min-height:16px;
  accent-color:var(--pdgm-orange);
}

.pdgm-filter-btn{
  margin-top:18px;
  min-height:42px;
  border:0;
  border-radius:10px;
  color:#151515;
  background:var(--pdgm-orange);
  font-weight:700;
}

.pdgm-main{min-width:0}

.pdgm-resultbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  margin-bottom:16px;
  color:var(--pdgm-muted);
  font-size:13px;
}

.pdgm-resultbar select{
  width:auto;
  min-width:185px;
}

.pdgm-result-count{
  color:#fff;
  font-size:22px;
  font-weight:700;
  margin-right:4px;
}

.pdgm-products{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

.pdgm-card{
  overflow:hidden;
  border:1px solid var(--pdgm-line);
  border-radius:17px;
  background:var(--pdgm-card);
  transition:.22s ease;
}

.pdgm-card:hover{
  transform:translateY(-3px);
  border-color:rgba(242,138,43,.26);
  box-shadow:0 18px 45px rgba(0,0,0,.26);
}

.pdgm-card__image{
  position:relative;
  display:block;
  aspect-ratio:1/1;
  overflow:hidden;
  background:#111315;
}

.pdgm-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}

.pdgm-card:hover .pdgm-card__image img{transform:scale(1.035)}

.pdgm-placeholder{
  width:100%;
  height:100%;
  min-height:210px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 75% 20%,rgba(242,138,43,.15),transparent 25%),
    linear-gradient(140deg,#2a2e32,#16181b);
  color:var(--pdgm-orange);
  font-family:"Orbitron","Space Grotesk",sans-serif;
  font-weight:700;
  letter-spacing:.12em;
}

.pdgm-placeholder--large{min-height:560px}

.pdgm-badges{
  position:absolute;
  left:11px;
  top:11px;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.pdgm-badge{
  padding:5px 8px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:7px;
  background:rgba(15,16,18,.82);
  backdrop-filter:blur(6px);
  color:#ddd;
  font-size:9px;
  font-weight:800;
  letter-spacing:.09em;
}

.pdgm-badge--orange{
  color:#191919;
  border-color:transparent;
  background:var(--pdgm-orange);
}

.pdgm-maturity{
  position:absolute;
  right:11px;
  top:11px;
  width:27px;
  height:27px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  color:#fff;
  font-size:10px;
  font-weight:800;
  background:#3d8750;
}

.pdgm-maturity--moderate{background:#b27d28}
.pdgm-maturity--adult{background:#a43e3e}

.pdgm-card__content{padding:14px}

.pdgm-card__category{
  margin-bottom:6px;
  color:#7f8286;
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.pdgm-card h2{
  margin:0 0 7px;
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:16px;
  line-height:1.3;
}

.pdgm-card h2 a{color:#f2f2f2!important}

.pdgm-store{
  color:#94979a!important;
  font-size:12px;
}

.pdgm-card__bottom{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  margin-top:16px;
}

.pdgm-stars{
  color:#f1a73c;
  font-size:12px;
  white-space:nowrap;
}

.pdgm-stars small{
  color:#787b80;
  margin-left:3px;
}

.pdgm-stars--large{
  margin-top:14px;
  font-size:17px;
}

.pdgm-price{
  color:#fff;
  font-size:19px;
  font-weight:800;
  white-space:nowrap;
}

.pdgm-price span{
  color:var(--pdgm-orange);
  font-size:11px;
  margin-left:2px;
}

.pdgm-empty{
  padding:70px 30px;
  border:1px dashed rgba(255,255,255,.11);
  border-radius:18px;
  text-align:center;
  background:rgba(255,255,255,.018);
  color:var(--pdgm-muted);
}

.pdgm-empty__icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:72px;
  height:72px;
  margin:0 auto 18px;
  border-radius:18px;
  background:rgba(242,138,43,.12);
  color:var(--pdgm-orange);
  font-family:Orbitron,sans-serif;
  font-size:19px;
  font-weight:700;
}

.pdgm-empty h2{color:#fff}

.pdgm-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-bottom:18px;
  color:#777b80;
  font-size:12px;
}

.pdgm-breadcrumb a{color:#999da1!important}
.pdgm-breadcrumb strong{color:#d8d9db}

.pdgm-product{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);
  gap:28px;
}

.pdgm-product__gallery,
.pdgm-product__info{
  border:1px solid var(--pdgm-line);
  border-radius:22px;
  background:var(--pdgm-card);
}

.pdgm-product__gallery{padding:14px}

.pdgm-product__main-image{
  aspect-ratio:1/1;
  overflow:hidden;
  border-radius:15px;
  background:#151719;
}

.pdgm-product__main-image img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.pdgm-thumbs{
  display:flex;
  gap:10px;
  margin-top:10px;
}

.pdgm-thumb{
  width:82px;
  height:82px;
  overflow:hidden;
  border:1px solid var(--pdgm-line);
  border-radius:11px;
  background:#16181a;
}

.pdgm-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.pdgm-product__info{
  padding:34px;
}

.pdgm-product__topline{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
}

.pdgm-rating-chip{
  padding:6px 10px;
  border-radius:999px;
  background:#2f6d3c;
  color:#dff0e3;
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
}

.pdgm-rating-chip--moderate{background:#755521}
.pdgm-rating-chip--adult{background:#6f2c2c}

.pdgm-product__info h1{
  margin:10px 0 8px;
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:clamp(32px,4vw,55px);
  line-height:1.02;
  letter-spacing:-.035em;
}

.pdgm-product__store{
  color:#8f9296;
  font-size:13px;
}

.pdgm-product__store a{color:var(--pdgm-orange)!important}

.pdgm-product__price{
  margin:22px 0 15px;
  color:#fff;
  font-size:38px;
  font-weight:800;
}

.pdgm-product__price span{
  color:var(--pdgm-orange);
  font-size:15px;
}

.pdgm-product__lead{
  color:#b6b8bb;
  line-height:1.65;
}

.pdgm-spec-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin:22px 0;
}

.pdgm-spec-grid div{
  padding:13px 9px;
  border:1px solid var(--pdgm-line);
  border-radius:11px;
  background:rgba(255,255,255,.025);
  text-align:center;
}

.pdgm-spec-grid span{
  display:block;
  color:#7f8286;
  font-size:10px;
  text-transform:uppercase;
}

.pdgm-spec-grid strong{
  display:block;
  margin-top:4px;
  font-size:14px;
}

.pdgm-stock{
  margin-bottom:16px;
  color:#d8c39e;
  font-size:12px;
}

.pdgm-buy-form{
  display:grid;
  grid-template-columns:90px 1fr;
  gap:10px;
}

.pdgm-qty label{
  display:block;
  margin:0 0 5px;
  color:#86898d;
  font-size:10px;
  text-transform:uppercase;
}

.pdgm-qty input{min-height:48px}

.pdgm-buy{
  width:100%;
  min-height:49px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:12px;
  background:var(--pdgm-orange);
  color:#151515!important;
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:14px;
  font-weight:800;
}

.pdgm-buy:hover{background:var(--pdgm-orange-2)}

.pdgm-delivery-note{
  margin-top:13px;
  padding:12px 13px;
  border-radius:10px;
  color:#96999d;
  background:rgba(255,255,255,.03);
  font-size:11px;
  line-height:1.5;
}

.pdgm-tabs{
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:20px;
  margin-top:22px;
}

.pdgm-tabs__main{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.pdgm-section-card{padding:24px}

.pdgm-section-card h2{
  margin:5px 0 14px;
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:21px;
}

.pdgm-description{
  color:#b8babd;
  line-height:1.75;
}

.pdgm-review{
  padding:17px 0;
  border-top:1px solid var(--pdgm-line);
}

.pdgm-review__head{
  display:flex;
  justify-content:space-between;
  gap:15px;
}

.pdgm-review p{
  color:#b4b6b8;
  line-height:1.6;
}

.pdgm-review small{color:#74777b}
.pdgm-muted{color:#898c90}

.pdgm-store-card p{
  color:#9ca0a4;
  line-height:1.6;
}

.pdgm-store-hero{
  position:relative;
  min-height:330px;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  border:1px solid var(--pdgm-line);
  border-radius:24px;
  background:linear-gradient(135deg,#292d31,#17191c);
}

.pdgm-store-hero__bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.pdgm-store-hero__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(12,13,14,.94),rgba(12,13,14,.2));
}

.pdgm-store-hero__content{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  gap:20px;
  padding:30px;
}

.pdgm-store-logo{
  width:100px;
  height:100px;
  object-fit:cover;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.15);
  background:#17191c;
}

.pdgm-store-logo--placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--pdgm-orange);
  font-family:Orbitron,sans-serif;
  font-weight:700;
}

.pdgm-store-hero h1{
  margin:5px 0;
  font-family:"Space Grotesk",sans-serif;
  font-size:42px;
}

.pdgm-store-hero p{margin:0;color:#b9bbbe}
.pdgm-store-about{margin:18px 0;color:#b8babd}
.pdgm-resultbar--store{margin:24px 0 14px}

.pdgm-cart-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:20px;
  margin-top:20px;
}

.pdgm-cart-item{
  display:grid;
  grid-template-columns:95px minmax(0,1fr) auto auto;
  gap:16px;
  align-items:center;
  padding:15px 0;
  border-bottom:1px solid var(--pdgm-line);
}

.pdgm-cart-item:last-child{border-bottom:0}

.pdgm-cart-item__image{
  width:95px;
  height:95px;
  overflow:hidden;
  border-radius:12px;
  background:#111;
}

.pdgm-cart-item__image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.pdgm-cart-item__body h3{
  margin:0 0 6px;
  font-family:"Space Grotesk",sans-serif;
}

.pdgm-cart-item__body p{
  margin:0 0 6px;
  color:#8f9296;
}

.pdgm-cart-item__body span{
  color:#777b80;
  font-size:12px;
}

.pdgm-cart-item__price{
  color:#fff;
  font-size:20px;
  font-weight:800;
}

.pdgm-cart-item__price span{
  color:var(--pdgm-orange);
  font-size:11px;
}

.pdgm-remove{
  color:#9a9da1!important;
  font-size:11px;
}

.pdgm-summary{
  align-self:start;
  position:sticky;
  top:20px;
}

.pdgm-summary__total{
  margin:8px 0 20px;
  color:#fff;
  font-size:42px;
  font-weight:800;
}

.pdgm-summary__total span{
  color:var(--pdgm-orange);
  font-size:15px;
}

.pdgm-orders{
  display:flex;
  flex-direction:column;
}

.pdgm-order{
  display:grid;
  grid-template-columns:1.4fr .5fr .7fr .7fr;
  gap:18px;
  align-items:center;
  padding:18px 0;
  border-bottom:1px solid var(--pdgm-line);
}

.pdgm-order:last-child{border-bottom:0}

.pdgm-order__main strong{
  display:block;
  margin:3px 0;
}

.pdgm-order__main small{color:#767a7e}

.pdgm-order__label{
  display:block;
  margin-bottom:5px;
  color:#74777c;
  font-size:9px;
  font-weight:700;
  letter-spacing:.11em;
}

.pdgm-order__price{
  color:#fff;
  font-size:20px;
  font-weight:800;
}

.pdgm-order__price span{
  color:var(--pdgm-orange);
  font-size:11px;
}

.pdgm-status{
  display:inline-flex;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  color:#c4c6c8;
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
}

.pdgm-status--paid,
.pdgm-status--delivered{
  background:rgba(57,128,77,.18);
  color:#8fd0a1;
}

.pdgm-status--failed{
  background:rgba(156,61,61,.18);
  color:#de8e8e;
}

@media(max-width:1200px){
  .pdgm-products{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pdgm-searchbar form{grid-template-columns:1fr 190px 150px auto}
}

@media(max-width:980px){
  .pdgm-shell{padding:18px}
  .pdgm-hero,.pdgm-page-head{align-items:flex-start;flex-direction:column;padding:28px}
  .pdgm-searchbar form{grid-template-columns:1fr 1fr}
  .pdgm-layout{grid-template-columns:1fr}
  .pdgm-sidebar{display:grid;grid-template-columns:1fr 1fr}
  .pdgm-products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pdgm-product{grid-template-columns:1fr}
  .pdgm-tabs{grid-template-columns:1fr}
  .pdgm-cart-layout{grid-template-columns:1fr}
  .pdgm-summary{position:static}
}

@media(max-width:640px){
  .pdgm-searchbar form{grid-template-columns:1fr}
  .pdgm-sidebar{grid-template-columns:1fr}
  .pdgm-products{grid-template-columns:1fr}
  .pdgm-spec-grid{grid-template-columns:repeat(2,1fr)}
  .pdgm-buy-form{grid-template-columns:1fr}
  .pdgm-cart-item{grid-template-columns:72px 1fr}
  .pdgm-cart-item__image{width:72px;height:72px}
  .pdgm-cart-item__price,.pdgm-remove{grid-column:2}
  .pdgm-order{grid-template-columns:1fr 1fr}
}


/* Seller Center */
.pdgm-seller-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;margin-top:20px}
.pdgm-seller-form{margin-top:20px}
.pdgm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}
.pdgm-form-grid label>span,.pdgm-permissions>span{display:block;margin-bottom:7px;color:#8d9094;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.pdgm-form-grid input,.pdgm-form-grid select,.pdgm-form-grid textarea{width:100%;border:1px solid rgba(255,255,255,.11);border-radius:10px;background:#17191c;color:#f4f4f4;padding:12px;outline:none}
.pdgm-form-grid input:focus,.pdgm-form-grid select:focus,.pdgm-form-grid textarea:focus{border-color:rgba(242,138,43,.65);box-shadow:0 0 0 3px rgba(242,138,43,.08)}
.pdgm-form-grid small{display:block;margin-top:6px;color:#777b80;line-height:1.4}
.pdgm-form-wide{grid-column:1/-1}
.pdgm-permissions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:14px;border:1px solid var(--pdgm-line);border-radius:10px}
.pdgm-permissions>span{width:100%;margin:0}
.pdgm-permissions label{display:flex;align-items:center;gap:7px;color:#c4c6c8;font-size:13px}
.pdgm-permissions input{width:auto;accent-color:var(--pdgm-orange)}
.pdgm-seller-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.pdgm-seller-stats{display:flex;flex-direction:column;gap:16px}
.pdgm-stat{padding:18px;border:1px solid var(--pdgm-line);border-radius:13px;background:rgba(255,255,255,.025)}
.pdgm-stat strong{display:block;font-size:34px;color:#fff}
.pdgm-stat span{color:#888c90;font-size:12px}
.pdgm-seller-table{display:flex;flex-direction:column;margin-top:14px}
.pdgm-seller-table__head,.pdgm-seller-table__row{display:grid;grid-template-columns:1.5fr .55fr .7fr .45fr .7fr;gap:14px;align-items:center}
.pdgm-seller-table__head{padding:10px 12px;color:#777b80;font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;border-bottom:1px solid var(--pdgm-line)}
.pdgm-seller-table__row{padding:14px 12px;border-bottom:1px solid var(--pdgm-line);color:#d5d6d7;font-size:13px}
.pdgm-seller-table__row small{display:block;margin-top:4px;color:#777b80}
.pdgm-actions{display:flex;gap:10px}.pdgm-actions a{color:var(--pdgm-orange)!important;font-size:12px}.pdgm-actions .danger{color:#d97979!important}
@media(max-width:900px){.pdgm-seller-grid{grid-template-columns:1fr}.pdgm-seller-table__head{display:none}.pdgm-seller-table__row{grid-template-columns:1fr 1fr}.pdgm-form-grid{grid-template-columns:1fr}.pdgm-form-wide{grid-column:auto}}

/* v1.4 Inventory picker / linked account */
.pdgm-field-title{display:block;margin-bottom:8px;color:#8d9094;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.pdgm-inventory-picker{display:flex;gap:12px;align-items:center;padding:14px;border:1px solid var(--pdgm-line);border-radius:12px;background:#17191c}.pdgm-inventory-current{flex:1;min-width:0}.pdgm-inventory-current strong,.pdgm-inventory-current small{display:block;overflow:hidden;text-overflow:ellipsis}.pdgm-inventory-current small{margin-top:5px;color:#74787c}.pdgm-modal[hidden]{display:none!important}.pdgm-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px;background:rgba(0,0,0,.75);backdrop-filter:blur(8px)}.pdgm-modal__dialog{width:min(900px,96vw);max-height:86vh;overflow:auto;border:1px solid var(--pdgm-line);border-radius:20px;background:#1b1e22;padding:22px;box-shadow:0 30px 100px rgba(0,0,0,.6)}.pdgm-modal__head{display:flex;justify-content:space-between;align-items:center}.pdgm-modal__head h2{margin:4px 0}.pdgm-modal__head button{border:0;background:transparent;color:#fff;font-size:34px}.pdgm-inventory-search{display:grid;grid-template-columns:1fr auto;gap:10px;margin:16px 0}.pdgm-inventory-search input{border:1px solid var(--pdgm-line);border-radius:10px;background:#111417;color:#fff;padding:12px}.pdgm-inventory-list{display:flex;flex-direction:column;gap:7px;margin-top:12px}.pdgm-inventory-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;text-align:left;border:1px solid var(--pdgm-line);border-radius:11px;background:#15181b;color:#eee;padding:12px 14px}.pdgm-inventory-item:hover{border-color:rgba(242,138,43,.5);background:#1e2125}.pdgm-inventory-item strong,.pdgm-inventory-item small{display:block}.pdgm-inventory-item small{margin-top:4px;color:#74787c}.pdgm-inventory-perms{display:flex;gap:5px}.pdgm-inventory-perms span{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#41282b;color:#e58d94;font-size:10px;font-weight:800}.pdgm-inventory-perms .ok{background:#213b2a;color:#93d2a2}.pdgm-account-grid{display:grid;grid-template-columns:1fr 300px;gap:20px;margin:20px 0}.pdgm-balance-card{display:flex;flex-direction:column}.pdgm-balance-card>strong{font-size:48px;margin-top:15px}.pdgm-balance-card>strong small{font-size:16px;color:var(--pdgm-orange)}.pdgm-balance-card>span:last-child{color:#83878b}.pdgm-redeliver{display:block;margin-top:8px;color:var(--pdgm-orange)!important;font-size:11px;font-weight:700}@media(max-width:800px){.pdgm-account-grid{grid-template-columns:1fr}.pdgm-inventory-picker{align-items:stretch;flex-direction:column}}


/* 1.4.1 - integrate all Marketplace frontend pages into the PDG inner-page visual system */
body.pdg-template .pdg-component-shell:has(.pdgm-shell),
body .pdg-component-shell:has(.pdgm-shell){
  max-width:none !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
body.pdg-template .pdg-inner-container:has(.pdgm-shell){
  width:min(1380px,calc(100% - 72px)) !important;
  padding-top:40px !important;
  padding-bottom:70px !important;
}
.pdgm-shell{
  max-width:1380px !important;
  padding:0 !important;
  background:transparent !important;
}
.pdgm-hero,.pdgm-page-head,.pdgm-panel,.pdgm-section-card,.pdgm-product__gallery,.pdgm-product__info{
  background:linear-gradient(145deg,rgba(9,22,35,.88),rgba(5,14,24,.88)) !important;
  border-color:rgba(145,165,184,.28) !important;
  box-shadow:0 20px 60px rgba(0,0,0,.24) !important;
  backdrop-filter:blur(18px) !important;
  -webkit-backdrop-filter:blur(18px) !important;
}
.pdgm-searchbar{background:rgba(5,14,24,.86) !important;border-color:rgba(145,165,184,.28) !important;}
.pdgm-avatar-linked{margin:10px 0;color:#b8c5d1;font-size:13px}.pdgm-online-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#55c47a;margin-right:7px}.pdgm-avatar-card code,.pdgm-linked-note code{display:inline-block;margin-top:8px;color:#ff9a3d;background:rgba(0,0,0,.20);padding:6px 8px;border-radius:7px}.pdgm-linked-note{padding:12px 14px;border:1px solid rgba(255,122,24,.18);border-radius:10px;background:rgba(255,122,24,.06);color:#c5ced7;font-size:12px;line-height:1.5}
@media(max-width:640px){body.pdg-template .pdg-inner-container:has(.pdgm-shell){width:calc(100% - 32px) !important}}


/* ===============================================================
   PDG Marketplace 1.4.2
   Integrate the component into the same modern PDG inner-page skin.
   The template's generic .pdg-component-shell must not create the
   large white/light wrapper visible around Marketplace screens.
   =============================================================== */

body.pdg-template .pdg-component-shell:has(.pdgm-shell),
body.pdg-template .pdg-inner-container .pdg-component-shell:has(.pdgm-shell),
body.pdg-template main .pdg-component-shell:has(.pdgm-shell){
    max-width:none !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    background-color:transparent !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
}

body.pdg-template .pdg-inner-container:has(.pdgm-shell){
    width:min(1380px,calc(100% - 72px)) !important;
    max-width:none !important;
    padding-top:34px !important;
    padding-bottom:54px !important;
}

body.pdg-template .pdgm-shell{
    width:100%;
    max-width:none;
    margin:0;
    padding:0;
    background:transparent !important;
    color:#f5f7fa;
}

body.pdg-template .pdgm-hero,
body.pdg-template .pdgm-page-head,
body.pdg-template .pdgm-panel,
body.pdg-template .pdgm-section-card,
body.pdg-template .pdgm-product__gallery,
body.pdg-template .pdgm-product__info,
body.pdg-template .pdgm-searchbar{
    background:linear-gradient(145deg,rgba(10,22,34,.92),rgba(5,14,24,.90)) !important;
    border:1px solid rgba(145,165,184,.30) !important;
    box-shadow:0 20px 55px rgba(0,0,0,.28) !important;
    backdrop-filter:blur(18px) !important;
    -webkit-backdrop-filter:blur(18px) !important;
}

body.pdg-template .pdgm-empty{
    background:rgba(6,16,27,.72) !important;
    border:1px dashed rgba(145,165,184,.25) !important;
    color:#aeb9c7 !important;
}

body.pdg-template .pdgm-empty h2,
body.pdg-template .pdgm-result-count,
body.pdg-template .pdgm-card h2 a,
body.pdg-template .pdgm-product__info h1,
body.pdg-template .pdgm-page-head h1,
body.pdg-template .pdgm-hero h1{
    color:#f7f9fc !important;
}

body.pdg-template .pdgm-products{
    padding-bottom:8px;
}

body.pdg-template .pdgm-main{
    min-height:420px;
}

body.pdg-template .pdgm-card{
    background:linear-gradient(145deg,rgba(10,22,34,.90),rgba(6,15,25,.91)) !important;
    border-color:rgba(145,165,184,.24) !important;
}

body.pdg-template .pdgm-searchbar input,
body.pdg-template .pdgm-searchbar select,
body.pdg-template .pdgm-resultbar select,
body.pdg-template .pdgm-filter-panel input,
body.pdg-template .pdgm-filter-panel select,
body.pdg-template .pdgm-form-grid input,
body.pdg-template .pdgm-form-grid select,
body.pdg-template .pdgm-form-grid textarea,
body.pdg-template .pdgm-qty input{
    background:rgba(4,13,23,.78) !important;
    color:#fff !important;
    border-color:rgba(255,255,255,.18) !important;
}

@media(max-width:640px){
    body.pdg-template .pdg-inner-container:has(.pdgm-shell){
        width:calc(100% - 32px) !important;
    }
}

/* PDG Marketplace 1.5.1 unified dark frontend */
body.pdg-template .pdg-component-shell:has(.pdgm-shell){
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
body.pdg-template .pdgm-shell{max-width:1240px!important;width:100%!important;margin:0 auto!important;padding:0!important;background:transparent!important}
body.pdg-template .pdgm-hero,
body.pdg-template .pdgm-page-head,
body.pdg-template .pdgm-panel,
body.pdg-template .pdgm-section-card,
body.pdg-template .pdgm-product__gallery,
body.pdg-template .pdgm-product__info,
body.pdg-template .pdgm-searchbar,
body.pdg-template .pdgm-card{
  background:linear-gradient(145deg,rgba(7,20,33,.94),rgba(4,13,23,.92))!important;
  border:1px solid rgba(145,165,184,.30)!important;
  box-shadow:0 18px 55px rgba(0,0,0,.29)!important;
  backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;
}
body.pdg-template .pdgm-empty{
  background:linear-gradient(145deg,rgba(7,20,33,.82),rgba(4,13,23,.82))!important;
  border:1px dashed rgba(145,165,184,.28)!important;color:#aab6c4!important;
}
body.pdg-template .pdgm-empty h2,
body.pdg-template .pdgm-page-head h1,
body.pdg-template .pdgm-hero h1,
body.pdg-template .pdgm-section-card h2,
body.pdg-template .pdgm-product__info h1,
body.pdg-template .pdgm-card h2 a{color:#f6f8fb!important}
body.pdg-template .pdgm-searchbar input,
body.pdg-template .pdgm-searchbar select,
body.pdg-template .pdgm-resultbar select,
body.pdg-template .pdgm-filter-panel input,
body.pdg-template .pdgm-filter-panel select,
body.pdg-template .pdgm-form-grid input,
body.pdg-template .pdgm-form-grid select,
body.pdg-template .pdgm-form-grid textarea,
body.pdg-template .pdgm-qty input{
  background:#07111d!important;color:#fff!important;border:1px solid rgba(255,255,255,.20)!important
}
body.pdg-template .pdgm-orange-btn,
body.pdg-template .pdgm-buy,
body.pdg-template .pdgm-searchbar button,
body.pdg-template .pdgm-filter-btn{
  background:linear-gradient(135deg,#ff9638,#ff771b)!important;color:#fff!important
}
body.pdg-template .pdgm-ghost-btn{
  background:rgba(7,17,29,.62)!important;color:#fff!important;border:1px solid rgba(255,255,255,.22)!important
}

/* PDG Marketplace 1.6.0 Magic Box */
.pdgm-magicbox-card{margin-top:20px}
.pdgm-api-key{display:flex;gap:10px;align-items:center;margin:14px 0}
.pdgm-api-key code{flex:1;min-width:0;padding:14px 16px;border:1px solid rgba(255,255,255,.15);border-radius:10px;background:#07111d;color:#ff9638;overflow-wrap:anywhere}
.pdgm-box-endpoint{display:grid;gap:6px;margin:10px 0 18px;color:#8f9cab;font-size:12px}
.pdgm-box-endpoint code{color:#cdd5df;overflow-wrap:anywhere}
.pdgm-connected-boxes{display:grid;gap:9px;margin-top:18px}
.pdgm-connected-box{display:grid;grid-template-columns:1fr 100px 240px;gap:15px;align-items:center;padding:13px 15px;border:1px solid rgba(255,255,255,.09);border-radius:11px;background:rgba(255,255,255,.025)}
.pdgm-connected-box strong,.pdgm-connected-box small{display:block}
.pdgm-connected-box small{color:#7f8b99;margin-top:3px}
.pdgm-boxitem-grid{display:grid;gap:10px;margin-top:15px}
.pdgm-boxitem{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:15px;align-items:center;padding:14px;border:1px solid rgba(255,255,255,.10);border-radius:12px;background:rgba(3,12,21,.48)}
.pdgm-boxitem__icon{width:52px;height:52px;display:grid;place-items:center;border-radius:11px;background:rgba(255,122,24,.12);color:#ff8b2b;font:700 18px Orbitron,sans-serif}
.pdgm-boxitem__body h3{margin:0 0 4px;font:600 15px "Space Grotesk",sans-serif;color:#fff}
.pdgm-boxitem__body small{color:#81909f}
.pdgm-box-perms{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.pdgm-box-perms span{padding:4px 7px;border-radius:6px;font-size:9px;font-weight:700;text-transform:uppercase;background:rgba(255,255,255,.06);color:#8894a0}
.pdgm-box-perms span.yes{background:rgba(58,142,82,.16);color:#8ed1a2}
.pdgm-box-perms span.no{background:rgba(162,68,68,.15);color:#df9292}
.pdgm-box-source-card{margin-top:20px}
.pdgm-box-source{display:flex;align-items:center;justify-content:space-between;gap:20px}
.pdgm-box-source h2{margin:5px 0 4px}.pdgm-box-source p{margin:0;color:#82909e}
.pdgm-magicbox-empty{margin-top:20px}
@media(max-width:760px){
 .pdgm-connected-box{grid-template-columns:1fr}
 .pdgm-boxitem{grid-template-columns:48px 1fr}
 .pdgm-boxitem>.pdgm-orange-btn{grid-column:1/-1}
 .pdgm-box-source{align-items:flex-start;flex-direction:column}
 .pdgm-api-key{align-items:stretch;flex-direction:column}
}
/* PDG Marketplace 1.6.1 Seller Guide */
.pdgm-help-flow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pdgm-help-flow>div{position:relative;padding:20px 20px 20px 72px;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:rgba(3,12,21,.48);min-height:120px}.pdgm-help-flow b{position:absolute;left:18px;top:20px;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#ff9638,#ff771b);color:#fff;font:700 16px Orbitron,sans-serif}.pdgm-help-flow h3{margin:0 0 7px;color:#fff;font:600 17px "Space Grotesk",sans-serif}.pdgm-help-flow p{margin:0;color:#9ba8b5;line-height:1.55}.pdgm-help code{padding:2px 6px;border-radius:5px;background:#07111d;color:#ff9638}.pdgm-help-pipeline{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:18px 0}.pdgm-help-pipeline span{padding:10px 12px;border:1px solid rgba(255,255,255,.10);border-radius:9px;background:#07111d;color:#fff}.pdgm-help-pipeline i{color:#ff8727;font-style:normal;font-weight:700}.pdgm-help-commands{display:grid;grid-template-columns:140px 1fr;gap:10px;align-items:center;margin:16px 0}.pdgm-help-commands code{padding:11px 13px}.pdgm-help-warning{margin-top:18px;padding:16px 18px;border:1px solid rgba(255,135,39,.45);border-radius:11px;background:rgba(255,126,28,.08);color:#d7dde4}.pdgm-help-warning strong{color:#ff9638}.pdgm-help-actions{display:flex;gap:10px;justify-content:center;margin:20px 0 4px}@media(max-width:760px){.pdgm-help-flow{grid-template-columns:1fr}.pdgm-help-commands{grid-template-columns:1fr}.pdgm-help-actions{flex-direction:column}}

/* Secure Magic Box pairing 1.7.0 */
.pdgm-pair-code-panel{margin:18px 0;padding:20px;border:1px solid rgba(255,142,42,.35);border-radius:14px;background:rgba(255,122,24,.07)}
.pdgm-pair-code{margin:8px 0 10px;font:700 32px Orbitron,sans-serif;letter-spacing:.12em;color:#ff8a25}
.pdgm-config-example{margin-top:12px}
.pdgm-config-example code{display:block;padding:12px 14px;border-radius:9px;background:#07111d;color:#dce5ee}
.pdgm-security-note{margin:16px 0;padding:13px 15px;border-left:3px solid #ff8122;background:rgba(255,129,34,.06);color:#aeb9c6;line-height:1.55}
.pdgm-connected-box form{margin:0}


/* ===============================================================
   PDG Marketplace 1.7.1 — Unified Frontend Design System
   Applies to ALL Marketplace frontend views.
   =============================================================== */

/* Remove outer white Joomla/component shell everywhere */
body.pdg-template .pdg-content:has(.pdgm-shell),
body.pdg-template .pdg-content-grid:has(.pdgm-shell),
body.pdg-template .pdg-component-shell:has(.pdgm-shell),
body.pdg-template .pdg-inner-container:has(.pdgm-shell),
body.pdg-template main:has(.pdgm-shell){
    background:transparent!important;
    background-color:transparent!important;
    border:0!important;
    box-shadow:none!important;
}

body.pdg-template .pdg-component-shell:has(.pdgm-shell){
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    border-radius:0!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}

body.pdg-template .pdg-inner-container:has(.pdgm-shell){
    width:min(1420px,calc(100% - 70px))!important;
    max-width:none!important;
    padding:34px 0 58px!important;
}

body.pdg-template .pdgm-shell{
    width:100%!important;
    max-width:1280px!important;
    margin:0 auto!important;
    padding:0!important;
    background:transparent!important;
    color:#f4f7fb!important;
    font-family:Inter,Arial,sans-serif;
}

/* Shared page hero */
body.pdg-template .pdgm-hero,
body.pdg-template .pdgm-page-head{
    position:relative;
    overflow:hidden;
    padding:34px 38px!important;
    border-radius:20px!important;
    border:1px solid rgba(255,255,255,.13)!important;
    background:
      radial-gradient(circle at 88% 20%,rgba(255,126,31,.12),transparent 30%),
      linear-gradient(145deg,rgba(11,23,36,.94),rgba(5,14,24,.93))!important;
    box-shadow:0 24px 70px rgba(0,0,0,.34)!important;
    backdrop-filter:blur(20px)!important;
    -webkit-backdrop-filter:blur(20px)!important;
    margin-bottom:18px!important;
}

body.pdg-template .pdgm-hero:before,
body.pdg-template .pdgm-page-head:before{
    content:"";
    position:absolute;
    left:0;
    top:26px;
    bottom:26px;
    width:4px;
    border-radius:4px;
    background:linear-gradient(#ff9b3c,#ff7117);
    box-shadow:0 0 18px rgba(255,119,25,.35);
}

body.pdg-template .pdgm-hero h1,
body.pdg-template .pdgm-page-head h1{
    margin:5px 0 8px!important;
    color:#fff!important;
    font-family:"Space Grotesk",Arial,sans-serif!important;
    font-size:clamp(34px,4vw,58px)!important;
    line-height:1!important;
    letter-spacing:-.035em!important;
}

body.pdg-template .pdgm-eyebrow{
    color:#ff8a24!important;
    font-family:Montserrat,Arial,sans-serif!important;
    font-size:11px!important;
    font-weight:700!important;
    letter-spacing:.18em!important;
    text-transform:uppercase!important;
}

body.pdg-template .pdgm-hero p,
body.pdg-template .pdgm-page-head p{
    color:#aab6c4!important;
    font-size:15px!important;
    line-height:1.65!important;
    max-width:760px!important;
}

/* Shared dark glass cards */
body.pdg-template .pdgm-panel,
body.pdg-template .pdgm-section-card,
body.pdg-template .pdgm-searchbar,
body.pdg-template .pdgm-card,
body.pdg-template .pdgm-product__gallery,
body.pdg-template .pdgm-product__info,
body.pdg-template .pdgm-sidebar,
body.pdg-template .pdgm-summary,
body.pdg-template .pdgm-cart-summary,
body.pdg-template .pdgm-store-card,
body.pdg-template .pdgm-order-card,
body.pdg-template .pdgm-account-card,
body.pdg-template .pdgm-filter-panel{
    background:
      linear-gradient(145deg,rgba(12,24,37,.91),rgba(5,14,24,.92))!important;
    border:1px solid rgba(255,255,255,.11)!important;
    border-radius:16px!important;
    box-shadow:0 18px 52px rgba(0,0,0,.25)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
    color:#edf2f8!important;
}

/* Empty states */
body.pdg-template .pdgm-empty,
body.pdg-template .pdgm-empty--inside{
    border:1px dashed rgba(255,255,255,.18)!important;
    border-radius:16px!important;
    background:rgba(5,15,25,.70)!important;
    color:#9ca9b7!important;
}
body.pdg-template .pdgm-empty h2{color:#fff!important}

/* Typography */
body.pdg-template .pdgm-shell h2,
body.pdg-template .pdgm-shell h3,
body.pdg-template .pdgm-shell h4{
    color:#f7f9fc!important;
    font-family:"Space Grotesk",Arial,sans-serif!important;
}
body.pdg-template .pdgm-muted,
body.pdg-template .pdgm-description,
body.pdg-template .pdgm-product__lead,
body.pdg-template .pdgm-result-count,
body.pdg-template .pdgm-meta,
body.pdg-template .pdgm-shell small{
    color:#8e9cab!important;
}

/* Form fields */
body.pdg-template .pdgm-shell input[type="text"],
body.pdg-template .pdgm-shell input[type="number"],
body.pdg-template .pdgm-shell input[type="email"],
body.pdg-template .pdgm-shell input[type="search"],
body.pdg-template .pdgm-shell input[type="url"],
body.pdg-template .pdgm-shell input[type="password"],
body.pdg-template .pdgm-shell select,
body.pdg-template .pdgm-shell textarea{
    background:#08121d!important;
    color:#f8fafc!important;
    border:1px solid rgba(255,255,255,.15)!important;
    border-radius:10px!important;
    min-height:44px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;
}
body.pdg-template .pdgm-shell textarea{min-height:110px}
body.pdg-template .pdgm-shell input:focus,
body.pdg-template .pdgm-shell select:focus,
body.pdg-template .pdgm-shell textarea:focus{
    border-color:#ff8121!important;
    outline:none!important;
    box-shadow:0 0 0 3px rgba(255,129,33,.13)!important;
}
body.pdg-template .pdgm-shell label>span,
body.pdg-template .pdgm-form-grid>label>span{
    color:#9aa7b5!important;
    font-family:Montserrat,Arial,sans-serif!important;
    font-size:10px!important;
    font-weight:600!important;
    letter-spacing:.10em!important;
    text-transform:uppercase!important;
}

/* Buttons */
body.pdg-template .pdgm-orange-btn,
body.pdg-template .pdgm-buy,
body.pdg-template .pdgm-searchbar button,
body.pdg-template .pdgm-filter-btn,
body.pdg-template button.pdgm-orange-btn{
    border:0!important;
    border-radius:10px!important;
    background:linear-gradient(135deg,#ff9b3d,#ff751b)!important;
    color:#0d1014!important;
    font-family:"Space Grotesk",Arial,sans-serif!important;
    font-weight:700!important;
    box-shadow:0 10px 28px rgba(255,122,24,.18)!important;
    transition:transform .18s ease,box-shadow .18s ease!important;
}
body.pdg-template .pdgm-orange-btn:hover,
body.pdg-template .pdgm-buy:hover,
body.pdg-template .pdgm-searchbar button:hover{
    transform:translateY(-1px);
    box-shadow:0 14px 34px rgba(255,122,24,.24)!important;
}
body.pdg-template .pdgm-ghost-btn{
    border:1px solid rgba(255,255,255,.18)!important;
    border-radius:10px!important;
    background:rgba(7,16,27,.60)!important;
    color:#eef3f8!important;
}
body.pdg-template .pdgm-ghost-btn:hover{
    border-color:rgba(255,129,33,.50)!important;
    color:#ff9a3b!important;
}

/* Marketplace search/filter bar */
body.pdg-template .pdgm-searchbar{
    padding:12px!important;
    gap:10px!important;
}
body.pdg-template .pdgm-searchbar input,
body.pdg-template .pdgm-searchbar select{
    min-height:48px!important;
}

/* Product cards */
body.pdg-template .pdgm-card{
    overflow:hidden;
    transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
body.pdg-template .pdgm-card:hover{
    transform:translateY(-3px);
    border-color:rgba(255,129,33,.32)!important;
    box-shadow:0 22px 60px rgba(0,0,0,.30)!important;
}
body.pdg-template .pdgm-card h2 a,
body.pdg-template .pdgm-card h3 a{
    color:#fff!important;
}
body.pdg-template .pdgm-price,
body.pdg-template .pdgm-product__price{
    color:#ff8a24!important;
}

/* Tables / orders */
body.pdg-template .pdgm-shell table{
    background:transparent!important;
    color:#e8edf3!important;
}
body.pdg-template .pdgm-shell th{
    background:rgba(255,255,255,.035)!important;
    color:#98a6b4!important;
    border-color:rgba(255,255,255,.08)!important;
}
body.pdg-template .pdgm-shell td{
    color:#e7edf4!important;
    border-color:rgba(255,255,255,.08)!important;
}

/* Store / My Store */
body.pdg-template .pdgm-store-grid,
body.pdg-template .pdgm-seller-grid{
    gap:16px!important;
}
body.pdg-template .pdgm-seller-title{
    padding-bottom:12px!important;
    margin-bottom:14px!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
}

/* Tabs / nav inside marketplace */
body.pdg-template .pdgm-tabs,
body.pdg-template .pdgm-subnav{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:7px!important;
    padding:10px!important;
    border-radius:14px!important;
    background:rgba(5,14,24,.84)!important;
    border:1px solid rgba(255,255,255,.10)!important;
}
body.pdg-template .pdgm-tabs a,
body.pdg-template .pdgm-subnav a{
    padding:10px 14px!important;
    border-radius:9px!important;
    color:#d7dee7!important;
    text-decoration:none!important;
}
body.pdg-template .pdgm-tabs a.active,
body.pdg-template .pdgm-tabs a:hover,
body.pdg-template .pdgm-subnav a.active,
body.pdg-template .pdgm-subnav a:hover{
    background:rgba(255,128,31,.14)!important;
    color:#ff942f!important;
}

/* Status pills */
body.pdg-template .pdgm-status{
    border:1px solid rgba(255,255,255,.12)!important;
    background:rgba(255,255,255,.045)!important;
    color:#9facb9!important;
}
body.pdg-template .pdgm-status--paid,
body.pdg-template .pdgm-status--approved{
    border-color:rgba(82,187,110,.28)!important;
    background:rgba(68,171,96,.12)!important;
    color:#8bd39f!important;
}

/* Magic box area */
body.pdg-template .pdgm-api-key code,
body.pdg-template .pdgm-config-example code,
body.pdg-template .pdgm-box-endpoint code{
    background:#07111d!important;
    border:1px solid rgba(255,255,255,.10)!important;
}
body.pdg-template .pdgm-connected-box,
body.pdg-template .pdgm-boxitem{
    background:rgba(6,16,27,.70)!important;
    border:1px solid rgba(255,255,255,.09)!important;
}
body.pdg-template .pdgm-boxitem:hover{
    border-color:rgba(255,129,33,.25)!important;
}

/* Account / My Marketplace */
body.pdg-template .pdgm-account-grid,
body.pdg-template .pdgm-order-grid{
    gap:16px!important;
}

/* Cart */
body.pdg-template .pdgm-cart-row{
    background:rgba(6,16,27,.66)!important;
    border:1px solid rgba(255,255,255,.08)!important;
    border-radius:12px!important;
}
body.pdg-template .pdgm-cart-total{
    color:#fff!important;
}

/* Seller guide */
body.pdg-template .pdgm-guide-step{
    background:rgba(6,16,27,.69)!important;
    border:1px solid rgba(255,255,255,.09)!important;
    border-radius:14px!important;
}
body.pdg-template .pdgm-guide-step__number{
    background:linear-gradient(135deg,#ff9638,#ff7419)!important;
    color:#101317!important;
}

/* Links */
body.pdg-template .pdgm-shell a:not(.pdgm-orange-btn):not(.pdgm-ghost-btn){
    color:#d9e1e9;
}
body.pdg-template .pdgm-shell a:not(.pdgm-orange-btn):not(.pdgm-ghost-btn):hover{
    color:#ff922e;
}

/* Ensure no inline white blocks survive */
body.pdg-template .pdgm-shell [style*="background:#fff"],
body.pdg-template .pdgm-shell [style*="background: #fff"],
body.pdg-template .pdgm-shell [style*="background:white"],
body.pdg-template .pdgm-shell [style*="background: white"]{
    background:rgba(7,17,28,.82)!important;
}

/* Responsive */
@media(max-width:900px){
    body.pdg-template .pdg-inner-container:has(.pdgm-shell){
        width:calc(100% - 30px)!important;
        padding-top:20px!important;
    }
    body.pdg-template .pdgm-hero,
    body.pdg-template .pdgm-page-head{
        padding:26px 24px!important;
    }
}
@media(max-width:640px){
    body.pdg-template .pdgm-shell{
        width:100%!important;
    }
    body.pdg-template .pdgm-hero h1,
    body.pdg-template .pdgm-page-head h1{
        font-size:34px!important;
    }
}


/* ===============================================================
   PDG Marketplace 1.7.2 — REAL TEMPLATE-INDEPENDENT FRONTEND FIX
   IMPORTANT:
   Do NOT depend on body.pdg-template. The live PDG template currently
   does not expose that body class.
   =============================================================== */

/* Remove the white outer component shell on the live PDG template */
.pdg-content:has(.pdgm-shell),
.pdg-content-grid:has(.pdgm-shell),
.pdg-component-shell:has(.pdgm-shell),
.pdg-inner-container:has(.pdgm-shell),
main:has(> .pdg-component-shell .pdgm-shell),
main:has(.pdgm-shell){
    background:transparent!important;
    background-color:transparent!important;
    box-shadow:none!important;
}

.pdg-component-shell:has(.pdgm-shell){
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    background-color:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}

.pdg-inner-container:has(.pdgm-shell){
    width:min(1420px,calc(100% - 70px))!important;
    max-width:none!important;
    padding:34px 0 58px!important;
    margin-inline:auto!important;
    background:transparent!important;
}

/* Component owns all its own frontend surface */
.pdgm-shell{
    display:block!important;
    width:100%!important;
    max-width:1280px!important;
    margin:0 auto!important;
    padding:0!important;
    background:transparent!important;
    color:#f5f7fa!important;
}

/* REAL Marketplace navigation */
.pdgm-subnav{
    display:flex!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    margin:0 0 16px!important;
    padding:9px!important;
    border:1px solid rgba(255,255,255,.11)!important;
    border-radius:14px!important;
    background:rgba(5,14,24,.91)!important;
    box-shadow:0 12px 38px rgba(0,0,0,.19)!important;
    backdrop-filter:blur(16px)!important;
    -webkit-backdrop-filter:blur(16px)!important;
}

.pdgm-subnav a{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:38px!important;
    padding:0 14px!important;
    border-radius:9px!important;
    border:1px solid transparent!important;
    background:transparent!important;
    color:#d6dee7!important;
    font-family:"Space Grotesk",Inter,Arial,sans-serif!important;
    font-size:12px!important;
    font-weight:600!important;
    text-decoration:none!important;
    transition:.18s ease!important;
}

.pdgm-subnav a.active,
.pdgm-subnav a:hover{
    border-color:rgba(255,139,42,.25)!important;
    background:linear-gradient(135deg,rgba(255,146,47,.18),rgba(255,112,22,.11))!important;
    color:#ff9638!important;
}

/* Hero/page headers */
.pdgm-hero,
.pdgm-page-head{
    position:relative!important;
    overflow:hidden!important;
    padding:36px 38px!important;
    margin-bottom:18px!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:18px!important;
    background:
        radial-gradient(circle at 88% 16%,rgba(255,128,30,.13),transparent 29%),
        linear-gradient(145deg,rgba(10,22,35,.96),rgba(5,14,24,.95))!important;
    box-shadow:0 22px 65px rgba(0,0,0,.31)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
}

.pdgm-hero:before,
.pdgm-page-head:before{
    content:""!important;
    position:absolute!important;
    left:0!important;
    top:24px!important;
    bottom:24px!important;
    width:4px!important;
    border-radius:0 4px 4px 0!important;
    background:linear-gradient(#ff9b3a,#ff7119)!important;
}

.pdgm-hero h1,
.pdgm-page-head h1{
    color:#fff!important;
}

/* Force ALL content area surfaces dark, including the formerly white marketplace main */
.pdgm-layout,
.pdgm-main,
.pdgm-products,
.pdgm-product-layout,
.pdgm-store-layout,
.pdgm-cart-layout,
.pdgm-account-grid,
.pdgm-seller-grid{
    background:transparent!important;
}

.pdgm-panel,
.pdgm-section-card,
.pdgm-searchbar,
.pdgm-card,
.pdgm-product__gallery,
.pdgm-product__info,
.pdgm-summary,
.pdgm-cart-summary,
.pdgm-store-card,
.pdgm-order-card,
.pdgm-account-card,
.pdgm-filter-panel{
    background:
      linear-gradient(145deg,rgba(10,22,35,.92),rgba(5,14,24,.92))!important;
    border:1px solid rgba(255,255,255,.10)!important;
    border-radius:15px!important;
    box-shadow:0 16px 48px rgba(0,0,0,.24)!important;
    backdrop-filter:blur(16px)!important;
    -webkit-backdrop-filter:blur(16px)!important;
}

/* Main Marketplace result area must NEVER be white */
.pdgm-main{
    min-height:520px!important;
    padding:16px!important;
    border:1px solid rgba(255,255,255,.08)!important;
    border-radius:16px!important;
    background:rgba(5,14,24,.72)!important;
    box-shadow:0 16px 46px rgba(0,0,0,.18)!important;
}

.pdgm-resultbar{
    margin-bottom:14px!important;
    padding:4px 0 12px!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
    color:#9aa7b4!important;
}

.pdgm-resultbar select{
    background:#08121d!important;
    color:#fff!important;
    border:1px solid rgba(255,255,255,.16)!important;
    border-radius:9px!important;
}

/* Empty state */
.pdgm-empty{
    min-height:330px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px dashed rgba(255,255,255,.14)!important;
    border-radius:14px!important;
    background:rgba(6,16,27,.56)!important;
    color:#94a1af!important;
}

.pdgm-empty h2{
    color:#fff!important;
}

.pdgm-empty__icon{
    background:rgba(255,127,31,.10)!important;
    color:#ff8b29!important;
    border:1px solid rgba(255,127,31,.16)!important;
}

/* Sidebar */
.pdgm-sidebar{
    background:transparent!important;
}

.pdgm-sidebar .pdgm-panel{
    background:rgba(8,20,33,.91)!important;
}

.pdgm-category{
    color:#b8c2cd!important;
    border-radius:8px!important;
}

.pdgm-category:hover,
.pdgm-category.is-active{
    background:rgba(255,128,31,.10)!important;
    color:#ff9638!important;
}

/* Search bar */
.pdgm-searchbar{
    background:rgba(6,17,28,.93)!important;
}

.pdgm-searchbar form{
    display:grid!important;
    grid-template-columns:minmax(280px,1fr) minmax(170px,220px) minmax(145px,190px) auto!important;
    gap:10px!important;
    align-items:center!important;
}

.pdgm-searchbox,
.pdgm-searchbar select{
    background:#08121d!important;
    border:1px solid rgba(255,255,255,.14)!important;
    border-radius:10px!important;
}

.pdgm-searchbar input{
    background:transparent!important;
    color:#fff!important;
}

.pdgm-searchbar button{
    min-height:46px!important;
    padding:0 22px!important;
    border:0!important;
    border-radius:10px!important;
    background:linear-gradient(135deg,#ff9638,#ff761b)!important;
    color:#101318!important;
    font-weight:700!important;
}

/* Forms throughout all seller/account pages */
.pdgm-shell input[type="text"],
.pdgm-shell input[type="number"],
.pdgm-shell input[type="email"],
.pdgm-shell input[type="search"],
.pdgm-shell input[type="url"],
.pdgm-shell input[type="password"],
.pdgm-shell select,
.pdgm-shell textarea{
    background:#08121d!important;
    color:#f8fafc!important;
    border:1px solid rgba(255,255,255,.14)!important;
}

.pdgm-shell input:focus,
.pdgm-shell select:focus,
.pdgm-shell textarea:focus{
    border-color:#ff8424!important;
    outline:none!important;
    box-shadow:0 0 0 3px rgba(255,132,36,.12)!important;
}

/* Buttons */
.pdgm-orange-btn,
.pdgm-buy,
.pdgm-filter-btn{
    background:linear-gradient(135deg,#ff9638,#ff751b)!important;
    color:#101318!important;
    border:0!important;
}

.pdgm-ghost-btn{
    background:rgba(5,15,25,.65)!important;
    color:#eef3f7!important;
    border:1px solid rgba(255,255,255,.16)!important;
}

/* Fix generic template/component wrappers that might not use the PDG class names */
.com-pdgmarketplace,
.com_pdgmarketplace,
[class*="com-pdgmarketplace"]:has(.pdgm-shell),
[class*="com_pdgmarketplace"]:has(.pdgm-shell){
    background:transparent!important;
}

/* Mobile */
@media(max-width:900px){
    .pdg-inner-container:has(.pdgm-shell){
        width:calc(100% - 28px)!important;
        padding-top:20px!important;
    }

    .pdgm-searchbar form{
        grid-template-columns:1fr!important;
    }

    .pdgm-main{
        padding:12px!important;
    }
}

@media(max-width:600px){
    .pdgm-subnav{
        overflow-x:auto!important;
        flex-wrap:nowrap!important;
        justify-content:flex-start!important;
    }

    .pdgm-subnav a{
        flex:0 0 auto!important;
    }

    .pdgm-hero,
    .pdgm-page-head{
        padding:28px 24px!important;
    }
}

/* JS fallback for templates/browsers where :has() is not reliable */
body.pdgm-page-active .pdgm-host-wrapper{
    background-color:transparent!important;
}
body.pdgm-page-active .pdgm-host-wrapper.pdg-component-shell{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
}


/* ==================================================================
   PDG MARKETPLACE 1.8.0
   PROFILE-STYLE FRONTEND
   Visual reference: existing PDG "My Profile" page.
   ================================================================== */

/* ---------- PAGE / OUTER WRAPPER ---------- */
.pdgm-profile-style{
    width:100%!important;
    max-width:960px!important;
    margin:0 auto!important;
    padding:0 0 60px!important;
    background:transparent!important;
    color:#eef2f6!important;
}

.pdg-component-shell:has(.pdgm-profile-style),
.pdg-inner-container:has(.pdgm-profile-style),
.pdg-content:has(.pdgm-profile-style),
.pdg-content-grid:has(.pdgm-profile-style),
main:has(.pdgm-profile-style){
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
}

/* JS fallback wrappers */
body.pdgm-page-active .pdgm-host-wrapper{
    background:transparent!important;
    border-color:transparent!important;
    box-shadow:none!important;
}

/* Marketplace has no second menu. Global PDG menu is the navigation. */
.pdgm-subnav{display:none!important}

/* ---------- PROFILE-LIKE PAGE TITLE ---------- */
.pdgm-profile-style .pdgm-page-head,
.pdgm-profile-style .pdgm-hero{
    display:flex!important;
    align-items:flex-end!important;
    justify-content:space-between!important;
    gap:28px!important;
    position:relative!important;
    overflow:visible!important;
    margin:0 0 20px!important;
    padding:39px 0 30px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}

.pdgm-profile-style .pdgm-page-head:before,
.pdgm-profile-style .pdgm-hero:before{
    display:none!important;
}

/* long subtle divider, matching Profile Information page */
.pdgm-profile-style .pdgm-page-head:after,
.pdgm-profile-style .pdgm-hero:after{
    content:""!important;
    position:absolute!important;
    left:50%!important;
    bottom:0!important;
    width:100vw!important;
    height:1px!important;
    transform:translateX(-50%)!important;
    background:linear-gradient(
        90deg,
        transparent 0,
        rgba(210,91,0,.22) 12%,
        rgba(255,117,16,.44) 50%,
        rgba(210,91,0,.22) 88%,
        transparent 100%
    )!important;
}

.pdgm-profile-style .pdgm-eyebrow{
    display:block!important;
    margin:0 0 6px!important;
    color:#ff7a12!important;
    font-family:Montserrat,Arial,sans-serif!important;
    font-size:11px!important;
    line-height:1!important;
    font-weight:700!important;
    letter-spacing:.14em!important;
    text-transform:uppercase!important;
}

.pdgm-profile-style .pdgm-page-head h1,
.pdgm-profile-style .pdgm-hero h1{
    margin:0!important;
    color:#fff!important;
    font-family:"Space Grotesk",Arial,sans-serif!important;
    font-size:36px!important;
    line-height:1.03!important;
    font-weight:800!important;
    letter-spacing:-.025em!important;
    text-transform:uppercase!important;
}

.pdgm-profile-style .pdgm-page-head h1 span,
.pdgm-profile-style .pdgm-hero h1 span{
    color:#fff!important;
    font-style:normal!important;
}

.pdgm-profile-style .pdgm-page-head h1 em,
.pdgm-profile-style .pdgm-hero h1 em{
    color:#ff6810!important;
    font-style:normal!important;
}

.pdgm-profile-style .pdgm-page-head p,
.pdgm-profile-style .pdgm-hero p{
    margin:6px 0 0!important;
    max-width:720px!important;
    color:#d9dde2!important;
    font-size:12px!important;
    line-height:1.5!important;
}

/* Actions like Profile "Refresh Profile": outlined orange first */
.pdgm-profile-style .pdgm-page-head .pdgm-actions,
.pdgm-profile-style .pdgm-hero__actions{
    display:flex!important;
    gap:10px!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
}

.pdgm-profile-style .pdgm-page-head .pdgm-orange-btn,
.pdgm-profile-style .pdgm-page-head .pdgm-ghost-btn,
.pdgm-profile-style .pdgm-hero__actions .pdgm-orange-btn,
.pdgm-profile-style .pdgm-hero__actions .pdgm-ghost-btn{
    min-height:34px!important;
    padding:0 18px!important;
    border:1px solid #d85d00!important;
    border-radius:7px!important;
    background:rgba(8,11,16,.55)!important;
    color:#ff8a23!important;
    box-shadow:none!important;
    font-size:11px!important;
    font-weight:700!important;
}

.pdgm-profile-style .pdgm-page-head .pdgm-orange-btn:hover,
.pdgm-profile-style .pdgm-page-head .pdgm-ghost-btn:hover,
.pdgm-profile-style .pdgm-hero__actions .pdgm-orange-btn:hover,
.pdgm-profile-style .pdgm-hero__actions .pdgm-ghost-btn:hover{
    background:rgba(215,91,0,.16)!important;
    color:#ff9a38!important;
    transform:none!important;
}

/* ---------- MAIN CONTENT PANELS ---------- */
/* Match Profile Information outer panel: near-black, thin steel border */
.pdgm-profile-style .pdgm-section-card,
.pdgm-profile-style .pdgm-panel,
.pdgm-profile-style .pdgm-product__gallery,
.pdgm-profile-style .pdgm-product__info,
.pdgm-profile-style .pdgm-summary,
.pdgm-profile-style .pdgm-cart-summary,
.pdgm-profile-style .pdgm-order-card,
.pdgm-profile-style .pdgm-account-card,
.pdgm-profile-style .pdgm-filter-panel,
.pdgm-profile-style .pdgm-searchbar{
    border:1px solid #27323c!important;
    border-radius:9px!important;
    background:rgba(7,11,17,.91)!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}

/* Slightly lighter nested cards, as on Profile About / Interests */
.pdgm-profile-style .pdgm-linked-note,
.pdgm-profile-style .pdgm-stat,
.pdgm-profile-style .pdgm-connected-box,
.pdgm-profile-style .pdgm-boxitem,
.pdgm-profile-style .pdgm-cart-item,
.pdgm-profile-style .pdgm-empty--inside,
.pdgm-profile-style .pdgm-help-flow>div,
.pdgm-profile-style .pdgm-guide-step{
    border:1px solid #293641!important;
    border-radius:8px!important;
    background:#0d151d!important;
    box-shadow:none!important;
}

/* Wider spacing like Profile */
.pdgm-profile-style .pdgm-section-card{
    padding:20px!important;
    margin-bottom:15px!important;
}

.pdgm-profile-style .pdgm-seller-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1.75fr) minmax(220px,.7fr)!important;
    gap:15px!important;
    margin-bottom:15px!important;
}

.pdgm-profile-style .pdgm-seller-grid>.pdgm-section-card{
    margin-bottom:0!important;
}

/* ---------- SECTION HEADERS ---------- */
.pdgm-profile-style .pdgm-section-card h2,
.pdgm-profile-style .pdgm-panel h2,
.pdgm-profile-style .pdgm-product__info h2{
    margin-top:4px!important;
    color:#f1f4f7!important;
    font-family:"Space Grotesk",Arial,sans-serif!important;
    font-size:18px!important;
    font-weight:650!important;
}

.pdgm-profile-style .pdgm-seller-title{
    margin-bottom:15px!important;
    padding-bottom:11px!important;
    border-bottom:1px solid rgba(255,255,255,.07)!important;
}

/* ---------- FORM SYSTEM FROM PROFILE ---------- */
.pdgm-profile-style .pdgm-form-grid{
    gap:12px!important;
}

.pdgm-profile-style label>span,
.pdgm-profile-style .pdgm-form-grid>label>span{
    display:block!important;
    margin-bottom:6px!important;
    color:#79838e!important;
    font-family:Montserrat,Arial,sans-serif!important;
    font-size:9px!important;
    font-weight:700!important;
    letter-spacing:.08em!important;
    text-transform:uppercase!important;
}

.pdgm-profile-style input[type="text"],
.pdgm-profile-style input[type="number"],
.pdgm-profile-style input[type="email"],
.pdgm-profile-style input[type="search"],
.pdgm-profile-style input[type="url"],
.pdgm-profile-style input[type="password"],
.pdgm-profile-style select,
.pdgm-profile-style textarea{
    width:100%!important;
    min-height:36px!important;
    padding:8px 11px!important;
    border:1px solid #263440!important;
    border-radius:6px!important;
    background:#07111b!important;
    color:#edf1f5!important;
    box-shadow:none!important;
    font-size:11px!important;
}

.pdgm-profile-style textarea{
    min-height:82px!important;
}

.pdgm-profile-style input:focus,
.pdgm-profile-style select:focus,
.pdgm-profile-style textarea:focus{
    border-color:#9b4a13!important;
    box-shadow:0 0 0 1px rgba(255,111,18,.10)!important;
}

/* ---------- BUTTONS ---------- */
.pdgm-profile-style .pdgm-orange-btn,
.pdgm-profile-style .pdgm-buy,
.pdgm-profile-style .pdgm-filter-btn,
.pdgm-profile-style .pdgm-searchbar button{
    min-height:36px!important;
    padding:0 16px!important;
    border:1px solid #c95800!important;
    border-radius:7px!important;
    background:#cf5b00!important;
    color:#fff!important;
    box-shadow:none!important;
    font-size:11px!important;
    font-weight:700!important;
}

.pdgm-profile-style .pdgm-orange-btn:hover,
.pdgm-profile-style .pdgm-buy:hover,
.pdgm-profile-style .pdgm-filter-btn:hover,
.pdgm-profile-style .pdgm-searchbar button:hover{
    background:#e16600!important;
    box-shadow:none!important;
    transform:none!important;
}

.pdgm-profile-style .pdgm-ghost-btn{
    min-height:34px!important;
    padding:0 15px!important;
    border:1px solid #c95700!important;
    border-radius:7px!important;
    background:transparent!important;
    color:#ff841d!important;
    box-shadow:none!important;
}

/* ---------- MARKETPLACE CATALOGUE ---------- */
.pdgm-profile-style .pdgm-searchbar{
    margin-bottom:14px!important;
    padding:12px!important;
}

.pdgm-profile-style .pdgm-searchbar form{
    display:grid!important;
    grid-template-columns:minmax(260px,1fr) 190px 160px auto!important;
    gap:8px!important;
}

.pdgm-profile-style .pdgm-searchbox{
    border:1px solid #263440!important;
    border-radius:6px!important;
    background:#07111b!important;
}

.pdgm-profile-style .pdgm-layout{
    display:grid!important;
    grid-template-columns:210px minmax(0,1fr)!important;
    gap:14px!important;
}

.pdgm-profile-style .pdgm-sidebar .pdgm-panel{
    padding:14px!important;
}

.pdgm-profile-style .pdgm-main{
    min-height:490px!important;
    padding:14px!important;
    border:1px solid #27323c!important;
    border-radius:9px!important;
    background:rgba(7,11,17,.91)!important;
    box-shadow:none!important;
}

.pdgm-profile-style .pdgm-resultbar{
    margin:0 0 13px!important;
    padding:0 0 12px!important;
    border-bottom:1px solid #222b33!important;
}

.pdgm-profile-style .pdgm-products{
    gap:12px!important;
}

.pdgm-profile-style .pdgm-card{
    overflow:hidden!important;
    border:1px solid #293641!important;
    border-radius:8px!important;
    background:#0d151d!important;
    box-shadow:none!important;
}

.pdgm-profile-style .pdgm-card:hover{
    border-color:#7d3d12!important;
    transform:none!important;
    box-shadow:none!important;
}

.pdgm-profile-style .pdgm-price,
.pdgm-profile-style .pdgm-product__price{
    color:#ff7212!important;
}

/* ---------- EMPTY STATES ---------- */
.pdgm-profile-style .pdgm-empty{
    min-height:300px!important;
    border:1px solid #293641!important;
    border-radius:8px!important;
    background:#0d151d!important;
    color:#808c98!important;
}

.pdgm-profile-style .pdgm-empty__icon{
    border:1px solid #6f3915!important;
    background:#16120f!important;
    color:#ff7212!important;
}

/* ---------- STATUS / CHIPS ---------- */
.pdgm-profile-style .pdgm-status{
    border:0!important;
    border-radius:12px!important;
    background:#173126!important;
    color:#7cc29b!important;
    font-size:8px!important;
    font-weight:700!important;
    text-transform:uppercase!important;
}

/* ---------- CART ---------- */
.pdgm-profile-style .pdgm-cart-layout{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 270px!important;
    gap:14px!important;
}

.pdgm-profile-style .pdgm-cart-item{
    margin-bottom:8px!important;
}

/* ---------- MY MARKETPLACE ---------- */
.pdgm-profile-style .pdgm-account-grid{
    gap:14px!important;
}

/* ---------- PRODUCT DETAILS ---------- */
.pdgm-profile-style .pdgm-product{
    gap:15px!important;
}
.pdgm-profile-style .pdgm-product__gallery,
.pdgm-profile-style .pdgm-product__info{
    padding:18px!important;
}

/* ---------- STORE PAGE ---------- */
.pdgm-profile-style .pdgm-store-hero{
    margin:38px 0 20px!important;
    border:1px solid #27323c!important;
    border-radius:9px!important;
    box-shadow:none!important;
}
.pdgm-profile-style .pdgm-store-hero__overlay{
    background:linear-gradient(90deg,rgba(5,9,14,.94),rgba(5,9,14,.58))!important;
}

/* ---------- MAGIC BOX ---------- */
.pdgm-profile-style .pdgm-pair-code-panel{
    border:1px solid #72401d!important;
    border-radius:8px!important;
    background:#15110e!important;
}
.pdgm-profile-style .pdgm-pair-code{
    color:#ff7112!important;
}
.pdgm-profile-style .pdgm-security-note{
    border-left:2px solid #d56008!important;
    background:#11100f!important;
}

/* ---------- SELLER GUIDE ---------- */
.pdgm-profile-style .pdgm-help-flow{
    gap:10px!important;
}
.pdgm-profile-style .pdgm-help-flow>div{
    padding:15px!important;
}

/* ---------- RESPONSIVE ---------- */
@media(max-width:980px){
    .pdgm-profile-style{
        max-width:calc(100% - 30px)!important;
    }
}

@media(max-width:780px){
    .pdgm-profile-style .pdgm-page-head,
    .pdgm-profile-style .pdgm-hero{
        align-items:flex-start!important;
        flex-direction:column!important;
        padding-top:28px!important;
    }

    .pdgm-profile-style .pdgm-seller-grid,
    .pdgm-profile-style .pdgm-layout,
    .pdgm-profile-style .pdgm-cart-layout{
        grid-template-columns:1fr!important;
    }

    .pdgm-profile-style .pdgm-searchbar form{
        grid-template-columns:1fr!important;
    }

    .pdgm-profile-style .pdgm-page-head .pdgm-actions,
    .pdgm-profile-style .pdgm-hero__actions{
        justify-content:flex-start!important;
    }
}

@media(max-width:540px){
    .pdgm-profile-style{
        max-width:calc(100% - 20px)!important;
    }

    .pdgm-profile-style .pdgm-page-head h1,
    .pdgm-profile-style .pdgm-hero h1{
        font-size:31px!important;
    }

    .pdgm-profile-style .pdgm-section-card{
        padding:15px!important;
    }
}


/* ============================================================
   PDG Marketplace 1.8.1
   Match normal PDG inner-page content width and hide the
   template's redundant right-side logged-in user block.
   ============================================================ */

/* Marketplace content width = normal PDG inner-page width */
.pdgm-profile-style{
    width:100%!important;
    max-width:1280px!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

/* Ensure the Joomla/template host column gives Marketplace the full row */
body.pdgm-page-active main,
body.pdgm-page-active .pdg-content,
body.pdgm-page-active .pdg-content-grid,
body.pdgm-page-active .pdg-component-shell,
body.pdgm-page-active .pdg-inner-container,
body.pdgm-page-active .pdgm-host-wrapper{
    width:100%!important;
    max-width:none!important;
}

/* The PDG template currently renders a second logged-in user module
   to the right of component output. Hide that redundant module only
   on Marketplace pages. The normal top-right Logout remains intact. */
body.pdgm-page-active .pdg-content-grid{
    display:block!important;
    grid-template-columns:1fr!important;
}

body.pdgm-page-active .pdg-content-grid > aside,
body.pdgm-page-active .pdg-content-grid > .sidebar,
body.pdgm-page-active .pdg-content-grid > .right-sidebar,
body.pdgm-page-active .pdg-content-grid > .component-sidebar,
body.pdgm-page-active .pdg-content-grid > .login-sidebar,
body.pdgm-page-active .pdg-content-grid > .user-sidebar,
body.pdgm-page-active .pdg-content-grid > [class*="sidebar"],
body.pdgm-page-active .pdg-content-grid > [class*="login"],
body.pdgm-page-active .pdg-content-grid > [class*="user"]{
    display:none!important;
}

/* If the login module is a sibling of the component shell rather than
   an explicitly named sidebar, the Marketplace component occupies all
   available width and the following module column is removed. */
body.pdgm-page-active .pdg-component-shell{
    flex:1 1 100%!important;
}

body.pdgm-page-active .pdg-component-shell + aside,
body.pdgm-page-active .pdg-component-shell ~ aside{
    display:none!important;
}

/* Keep the same left/right alignment as Profile and other PDG pages */
.pdg-inner-container:has(.pdgm-profile-style){
    width:min(1280px,calc(100% - 64px))!important;
    max-width:1280px!important;
    margin-inline:auto!important;
    padding-left:0!important;
    padding-right:0!important;
}

/* Wider catalogue and store layouts now use the available page width */
.pdgm-profile-style .pdgm-layout{
    grid-template-columns:230px minmax(0,1fr)!important;
}

.pdgm-profile-style .pdgm-seller-grid{
    grid-template-columns:minmax(0,1fr) 280px!important;
}

/* Cart empty panel should visually span the same content width */
.pdgm-profile-style .pdgm-cart-layout:has(.pdgm-empty){
    grid-template-columns:1fr!important;
}

@media(max-width:1340px){
    .pdgm-profile-style{
        max-width:calc(100% - 32px)!important;
    }
    .pdg-inner-container:has(.pdgm-profile-style){
        width:calc(100% - 48px)!important;
    }
}

@media(max-width:780px){
    .pdg-inner-container:has(.pdgm-profile-style){
        width:calc(100% - 24px)!important;
    }
}


/* v1.8.5 direct product image upload + L$ price field */
.pdgm-image-upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:4px}
.pdgm-image-upload{display:flex!important;flex-direction:column;gap:9px;padding:14px;border:1px solid rgba(255,132,24,.24);border-radius:10px;background:rgba(6,12,18,.55)}
.pdgm-image-upload img,.pdgm-image-placeholder{width:100%;aspect-ratio:1.35/1;object-fit:cover;border-radius:8px;border:1px solid rgba(255,255,255,.09);background:#080d12}
.pdgm-image-placeholder{display:flex;align-items:center;justify-content:center;color:#718093;font-size:.9rem}
.pdgm-image-upload input[type=file]{width:100%;padding:9px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.1);border-radius:7px;color:#dbe4ee}
.pdgm-image-upload small{color:#7f8d9d}
.pdgm-price-input{display:flex;align-items:stretch}
.pdgm-price-input>span{display:flex;align-items:center;padding:0 12px;border:1px solid rgba(255,132,24,.35);border-right:0;border-radius:7px 0 0 7px;background:rgba(255,132,24,.12);color:#ff8a22;font-weight:800}
.pdgm-price-input input{border-radius:0 7px 7px 0!important}
@media(max-width:800px){.pdgm-image-upload-grid{grid-template-columns:1fr}}

/* v1.8.6 multiple Magic Boxes */
.pdgm-connected-box .pdgm-box-uuid{display:block;max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.72;font-family:monospace;font-size:11px;margin-top:4px}


/* ============================================================
   PDG Marketplace 1.8.7
   UNIFIED PAGE SHELL / STORE PAGE
   Store uses the same inner-page shell and title treatment as the
   rest of PDG instead of a separate oversized 330px hero card.
   ============================================================ */

.pdgm-store-page{
    width:100%!important;
    max-width:1280px!important;
    margin:0 auto!important;
    padding:0 0 60px!important;
}

.pdgm-store-page .pdgm-store-page-head{
    margin:0 0 20px!important;
    min-height:0!important;
    padding:39px 0 30px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
}

.pdgm-store-heading{
    display:flex!important;
    align-items:center!important;
    gap:18px!important;
    min-width:0!important;
}

.pdgm-store-heading__logo{
    flex:0 0 72px!important;
    width:72px!important;
    height:72px!important;
    object-fit:cover!important;
    border:1px solid #27323c!important;
    border-radius:8px!important;
    background:#0d151d!important;
    box-shadow:none!important;
}

.pdgm-store-heading__logo.pdgm-store-logo--placeholder{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    color:#ff7212!important;
    font-family:Orbitron,Arial,sans-serif!important;
    font-size:14px!important;
    font-weight:700!important;
}

.pdgm-store-cover{
    width:100%!important;
    height:190px!important;
    margin:0 0 15px!important;
    overflow:hidden!important;
    border:1px solid #27323c!important;
    border-radius:9px!important;
    background:#0d151d!important;
    box-shadow:none!important;
}

.pdgm-store-cover img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
}

.pdgm-store-page .pdgm-store-about{
    margin:0 0 15px!important;
}

.pdgm-store-page .pdgm-resultbar--store{
    margin:0 0 14px!important;
    padding:0 0 12px!important;
}

/* Disable legacy store hero visuals if an old cached template still emits it. */
.pdgm-profile-style .pdgm-store-hero{
    min-height:0!important;
    margin:0 0 20px!important;
    border-radius:9px!important;
}

@media(max-width:780px){
    .pdgm-store-heading{
        align-items:flex-start!important;
    }
    .pdgm-store-heading__logo{
        flex-basis:58px!important;
        width:58px!important;
        height:58px!important;
    }
    .pdgm-store-cover{
        height:145px!important;
    }
}


/* v1.8.8 Seller Center split pages */
.pdgm-seller-nav{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px;padding:8px;border:1px solid rgba(255,255,255,.10);background:rgba(6,12,18,.72);border-radius:10px}
.pdgm-seller-nav a{padding:10px 16px;border-radius:7px;color:#d7dee8;text-decoration:none;font-weight:700;border:1px solid transparent}
.pdgm-seller-nav a:hover,.pdgm-seller-nav a.active{color:#fff;border-color:rgba(255,126,0,.55);background:rgba(255,126,0,.10)}
.pdgm-seller-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.pdgm-tool-card{display:flex;flex-direction:column;gap:7px;padding:22px;border:1px solid rgba(255,255,255,.10);background:rgba(6,12,18,.84);border-radius:10px;text-decoration:none;color:#fff;transition:.2s ease}
.pdgm-tool-card:hover{transform:translateY(-2px);border-color:rgba(255,126,0,.65)}
.pdgm-tool-card strong{font-size:1.35rem}.pdgm-tool-card small{color:#95a0ae}
.pdgm-magicbox-summary{display:grid;grid-template-columns:repeat(2,minmax(0,180px));gap:12px;margin:16px 0}
.pdgm-magicbox-summary>div{border:1px solid rgba(255,255,255,.09);border-radius:8px;padding:14px;background:rgba(255,255,255,.025)}
.pdgm-magicbox-summary strong{display:block;font-size:1.55rem;color:#fff}.pdgm-magicbox-summary span{color:#8f9baa;font-size:.84rem}
.pdgm-compact-btn{padding:7px 11px!important;display:inline-flex!important}.pdgm-danger-link{color:#ff766f!important}
@media(max-width:760px){.pdgm-seller-tools{grid-template-columns:1fr}.pdgm-seller-nav{gap:6px}.pdgm-seller-nav a{flex:1;text-align:center;padding:9px 8px;font-size:.9rem}}

/* v1.8.9 - instant seller image preview */
.pdgm-image-upload.pdgm-has-preview img{
  display:block;
  width:100%;
  aspect-ratio:1.35/1;
  object-fit:cover;
}

/* Product gallery thumbnail switching */
.pdgm-thumb{padding:0;cursor:pointer;appearance:none;-webkit-appearance:none;}
.pdgm-thumb:hover,.pdgm-thumb.is-active{border-color:var(--pdgm-orange,#ff7a00);box-shadow:0 0 0 1px rgba(255,122,0,.28);}
.pdgm-thumb.is-active{transform:translateY(-1px);}
#pdgm-main-product-image{transition:opacity .15s ease;}
#pdgm-main-product-image.is-switching{opacity:.35;}

/* 1.9.2 secure POST action forms */
.pdgm-inline-form{display:inline;margin:0;padding:0}.pdgm-inline-form .pdgm-ghost-btn{cursor:pointer}


/* v1.9.4 - human-readable availability */
.pdgm-availability{display:flex;align-items:center;justify-content:space-between;gap:14px}
.pdgm-availability span{opacity:.72}
.pdgm-availability strong{font-weight:700}
.pdgm-availability--unlimited{color:#f0a044}
.pdgm-availability--available{color:#8fd19e}
.pdgm-availability--sold-out,.pdgm-availability--unavailable{color:#d98b8b}
.pdgm-buy--disabled{opacity:.48;cursor:not-allowed;filter:saturate(.35)}
.pdgm-auto-availability{display:flex;flex-direction:column;gap:5px;padding:14px 16px;border:1px solid rgba(255,255,255,.10);border-radius:8px;background:rgba(0,0,0,.18)}
.pdgm-auto-availability>span{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;opacity:.68}
.pdgm-auto-availability>strong{font-size:1.05rem}
.pdgm-auto-availability>small{opacity:.58}
.pdgm-badge--availability{letter-spacing:.04em}

/* v1.9.5 selectable availability */
.pdgm-availability-select{display:flex;flex-direction:column;gap:7px}.pdgm-availability-select select{width:100%}.pdgm-availability-select small{opacity:.62}

/* v1.9.7 free listings */
.pdgm-free-label{font-style:normal;font-size:.72rem;font-weight:800;letter-spacing:.08em;margin-left:8px;opacity:.9}

/* v1.9.9 seller product actions */
.pdgm-product-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pdgm-inline-form{display:inline-flex;margin:0}
.pdgm-link-button{border:0;background:transparent;padding:0;font:inherit;cursor:pointer}
.pdgm-delete-btn{border:1px solid rgba(255,85,85,.55);background:rgba(120,10,10,.14);color:#ff9696;border-radius:6px;padding:7px 11px;font:inherit;font-weight:700;cursor:pointer}
.pdgm-delete-btn:hover{background:rgba(160,18,18,.26);border-color:rgba(255,105,105,.85);color:#ffd0d0}

/* v1.10.5 - keep revoked seller Magic Boxes visible */
.pdgm-status--revoked{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;
font-size:.72rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;
border:1px solid rgba(255,96,96,.45);background:rgba(120,18,18,.20);color:#ff9c9c}
.pdgm-box--revoked{opacity:.72}

/* v1.10.7 - active boxes vs revoked history */
.pdgm-revoked-history details{width:100%}
.pdgm-history-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;list-style:none}
.pdgm-history-summary::-webkit-details-marker{display:none}
.pdgm-history-summary>span:first-child{display:flex;flex-direction:column;gap:4px}
.pdgm-history-summary strong{font-size:1.05rem}
.pdgm-history-help{margin:18px 0 14px}
.pdgm-revoked-history .pdgm-connected-boxes{margin-top:14px}
.pdgm-box--revoked{opacity:.7}

/* v1.10.8 - revoked boxes remain visible in main list */
.pdgm-box--revoked{opacity:.78}
.pdgm-box--revoked .pdgm-box-uuid{text-decoration:none}
.pdgm-box-actions{display:flex;flex-direction:column;align-items:flex-start;gap:6px}

/* v1.10.13 - offline buyer delivery queue */
.pdgm-status--waiting_buyer{background:rgba(210,135,35,.18)!important;color:#ffb45c!important;border-color:rgba(255,160,50,.35)!important}
.pdgm-waiting-note{display:block;margin-top:7px;max-width:240px;opacity:.65;line-height:1.35}
