.wh-hero{padding:65px 0 50px;max-width:850px}.wh-hero h1{font:clamp(40px,6vw,74px)/1.05 Georgia,serif;margin:20px 0}.wh-hero p{max-width:700px}.wh-note,.arrange-note{padding:16px;background:#f2eadb;border-radius:8px;color:#634b20}.arrange-note{font-size:13px;line-height:1.5}.wh-auth-tabs{display:flex;gap:10px;margin-bottom:20px}.wh-auth-tabs button{flex:1}.wh-private{font-size:13px;padding:14px;background:#edf3ee;border-radius:8px}.wh-product-image{width:100%;height:230px;object-fit:cover}.wh-quantity{display:flex;gap:10px;margin:15px 0}.wh-quantity input{width:90px}.wh-progress{padding:15px;background:#edf3ee;border-radius:8px;margin:15px 0}#whToast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#243b30;color:white;padding:12px 22px;border-radius:8px;display:none;z-index:50}#whToast.visible{display:block}#whClose{float:right}#whContent{clear:both}#whDialog{width:min(680px,94vw);max-height:90vh;padding:26px;border:0;border-radius:14px}#whDialog::backdrop{background:#0008}.wh-history{padding:15px;border:1px solid #ddd;margin:12px 0}.wh-docs{display:flex;gap:8px;flex-wrap:wrap}.wh-docs a{padding:8px;background:#edf3ee;border-radius:4px}.wh-account-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}@media(max-width:650px){header nav{flex-wrap:wrap}.wh-hero{padding-top:35px}.wh-product-image{height:170px}.wh-quantity{flex-wrap:wrap}.wh-quantity input{width:100%}}

.wh-product-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2rem;align-items:start}.wh-product-detail button{margin:.4rem}.wh-product-detail a{color:inherit}@media(max-width:700px){.wh-product-detail{grid-template-columns:1fr}}


/* CORENTRA WHOLESALE PREMIUM DARK THEME */
:root{color-scheme:dark}
body{background:#0b100e!important;color:#edf5ef!important}
body:has(.wh-hero) header,body:has(.wh-hero) footer{background:#111b16!important;color:#edf5ef!important;border-color:#26382e!important}
body:has(.wh-hero) main{background:#0b100e!important}
body:has(.wh-hero) .wh-hero{max-width:100%!important;padding:65px 30px 48px!important;margin:0 0 35px;background:linear-gradient(135deg,#14271d,#101a15 60%,#1b3023)!important;border:1px solid #294c37;border-radius:0 0 24px 24px}
body:has(.wh-hero) h1,body:has(.wh-hero) h2,body:has(.wh-hero) h3,body:has(.wh-hero) strong{color:#f3faf5}
body:has(.wh-hero) p,body:has(.wh-hero) label,body:has(.wh-hero) small{color:#c1d0c5}
body:has(.wh-hero) a{color:#8fe0ad}
body:has(.wh-hero) .card,body:has(.wh-hero) .panel,body:has(.wh-hero) .wh-history{background:#151f19!important;color:#edf5ef!important;border:1px solid #2a4032!important;border-radius:16px!important;box-shadow:0 8px 25px #0005;padding:16px}
body:has(.wh-hero) .wh-product-detail{background:#121c16;border:1px solid #2a4032;border-radius:20px;padding:22px}
body:has(.wh-hero) .wh-note,body:has(.wh-hero) .arrange-note{background:#302719!important;color:#f4d99c!important;border:1px solid #66502c;border-radius:12px}
body:has(.wh-hero) input,body:has(.wh-hero) textarea,body:has(.wh-hero) select{background:#101813!important;color:#f2f7f3!important;border:1px solid #405848!important;border-radius:10px!important;padding:12px!important}
body:has(.wh-hero) button{background:linear-gradient(135deg,#1e6242,#12442f)!important;color:#fff!important;border:1px solid #39865c!important;border-radius:12px!important;padding:12px 18px!important;font-weight:700!important;cursor:pointer;transition:.2s ease}
body:has(.wh-hero) button:hover{background:linear-gradient(135deg,#287d52,#19583b)!important;transform:translateY(-2px);box-shadow:0 7px 18px #0006}
body:has(.wh-hero) .ct-product-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
body:has(.wh-hero) .ct-product-actions button{min-height:54px;margin:0!important;font-size:14px}
body:has(.wh-hero) .ct-add-btn{background:linear-gradient(135deg,#197448,#105333)!important;border:1px solid #55a978!important}
body:has(.wh-hero) .ct-share-btn{background:linear-gradient(135deg,#303b34,#202a24)!important;border:1px solid #71877a!important;color:#fff!important}
body:has(.wh-hero) .wh-progress{background:#193326!important;color:#a9efc1!important;border:1px solid #397653;border-radius:12px}
body:has(.wh-hero) #whDialog{background:#121b16!important;color:#edf5ef!important;border:1px solid #3a5945}
body:has(.wh-hero) #whDialog::backdrop{background:#000b}
body:has(.wh-hero) #whToast{background:#174d34!important;color:#fff!important;border:1px solid #65a77b}
body:has(.wh-hero) .wh-auth-tabs{flex-wrap:wrap}
body:has(.wh-hero) .wh-order-guide{background:linear-gradient(135deg,#172c20,#121c16);border:1px solid #426b4d;border-radius:16px;padding:20px;margin:22px 0;color:#e8f5eb}
body:has(.wh-hero) .wh-order-guide h2{color:#a5e9b8;margin-top:0}
body:has(.wh-hero) .wh-order-guide p{color:#d0dfd4;line-height:1.7;margin:9px 0}
@media(max-width:650px){
 body:has(.wh-hero) .wh-hero{padding:38px 16px!important}
 body:has(.wh-hero) .ct-product-actions{gap:8px}
 body:has(.wh-hero) .ct-product-actions button{font-size:12px;padding:10px 5px!important}
}

/* Wholesale category filter buttons */
body:has(.wh-hero) .wh-category-filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:18px 0 22px;
}
body:has(.wh-hero) .wh-category-filters button{
  white-space:nowrap;
  border-radius:999px!important;
  padding:10px 17px!important;
  background:#17271e!important;
  border:1px solid #426b4d!important;
  color:#d7eadc!important;
}
body:has(.wh-hero) .wh-category-filters button.active{
  background:linear-gradient(135deg,#287d52,#19583b)!important;
  border-color:#69b984!important;
  color:#fff!important;
  box-shadow:0 0 0 2px #287d5233;
}
@media(max-width:650px){
  body:has(.wh-hero) .wh-category-filters{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding:4px 2px 12px;
  }
  body:has(.wh-hero) .wh-category-filters button{
    flex:0 0 auto;
  }
}

/* CORENTRA WHOLESALE — PREMIUM GRAPHITE GOLD THEME */
body:has(.wh-hero) {
  background: #101318 !important;
  color: #f4f1e8 !important;
  color-scheme: dark;
}

body:has(.wh-hero) header,
body:has(.wh-hero) main,
body:has(.wh-hero) footer {
  background: #101318 !important;
  color: #f4f1e8 !important;
  border-color: #343a45 !important;
}

body:has(.wh-hero) .wh-hero {
  background: linear-gradient(135deg,#242b35,#151a22 60%,#29251c) !important;
  border: 1px solid #8f7445 !important;
}

body:has(.wh-hero) h1,
body:has(.wh-hero) h2,
body:has(.wh-hero) h3,
body:has(.wh-hero) .wh-hero strong {
  color: #f4f1e8 !important;
}

body:has(.wh-hero) p,
body:has(.wh-hero) label,
body:has(.wh-hero) small,
body:has(.wh-hero) .eyebrow {
  color: #d5d8dc !important;
}

body:has(.wh-hero) .eyebrow {
  color: #c8a45d !important;
}

body:has(.wh-hero) a {
  color: #e2c27c !important;
}

body:has(.wh-hero) #whProducts .card,
body:has(.wh-hero) .wh-product-detail,
body:has(.wh-hero) .wh-history,
body:has(.wh-hero) .wh-order-guide {
  background: #1a2029 !important;
  color: #f4f1e8 !important;
  border: 1px solid #46505a !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.28) !important;
  padding: 18px !important;
}

body:has(.wh-hero) #whProducts .card h3,
body:has(.wh-hero) #whProducts .card h3 a,
body:has(.wh-hero) #whProducts .card b,
body:has(.wh-hero) .wh-product-detail h1,
body:has(.wh-hero) .wh-product-detail h2,
body:has(.wh-hero) .wh-product-detail strong {
  color: #e2c27c !important;
}

body:has(.wh-hero) .wh-product-image,
body:has(.wh-hero) #whDetailMedia {
  background: #151b23 !important;
  border-radius: 10px !important;
}

body:has(.wh-hero) .wh-note,
body:has(.wh-hero) .arrange-note,
body:has(.wh-hero) .wh-progress {
  background: #302719 !important;
  color: #f4d99c !important;
  border: 1px solid #8f7445 !important;
  border-radius: 10px !important;
}

body:has(.wh-hero) input,
body:has(.wh-hero) textarea,
body:has(.wh-hero) select {
  background: #10151c !important;
  color: #ffffff !important;
  border: 1px solid #665633 !important;
  border-radius: 8px !important;
}

body:has(.wh-hero) input::placeholder,
body:has(.wh-hero) textarea::placeholder {
  color: #aeb4bd !important;
}

body:has(.wh-hero) button,
body:has(.wh-hero) .wh-docs a {
  background: #252d38 !important;
  color: #f1d99f !important;
  border: 1px solid #9c8047 !important;
  border-radius: 8px !important;
}

body:has(.wh-hero) .ct-add-btn,
body:has(.wh-hero) .wh-quantity button {
  background: #c8a45d !important;
  color: #17191d !important;
  border: 1px solid #e3c98e !important;
  font-weight: 700 !important;
}

body:has(.wh-hero) .ct-share-btn {
  background: #252d38 !important;
  color: #f4f1e8 !important;
  border: 1px solid #9c8047 !important;
}

body:has(.wh-hero) .wh-category-filters button.active {
  background: #c8a45d !important;
  color: #17191d !important;
  border-color: #e3c98e !important;
}

body:has(.wh-hero) #whDialog {
  background: #171d25 !important;
  color: #f4f1e8 !important;
  border: 1px solid #c8a45d !important;
  border-radius: 14px !important;
}

body:has(.wh-hero) #whDialog #whContent,
body:has(.wh-hero) #whDialog #whContent p,
body:has(.wh-hero) #whDialog #whContent strong,
body:has(.wh-hero) #whDialog #whContent h2 {
  color: #f4f1e8 !important;
}

body:has(.wh-hero) #whDialog input {
  background: #10151c !important;
  color: #ffffff !important;
  border-color: #9c8047 !important;
}

body:has(.wh-hero) #whClose {
  background: #252d38 !important;
  color: #ffffff !important;
  border: 1px solid #c8a45d !important;
}

body:has(.wh-hero) #whToast {
  background: #252d38 !important;
  color: #ffffff !important;
  border: 1px solid #c8a45d !important;
}

/* FIX WHOLESALE PRODUCT PAGE TOP AND BOTTOM WHITE BACKGROUND */
html:has(.wh-hero),
html:has(#whProducts),
html:has(#whDialog) {
  background: #101318 !important;
  background-color: #101318 !important;
  color: #f4f1e8 !important;
  color-scheme: dark !important;
}

body:has(.wh-hero),
body:has(#whProducts),
body:has(#whDialog) {
  background: #101318 !important;
  background-color: #101318 !important;
  color: #f4f1e8 !important;
  min-height: 100vh !important;
}

/* WHOLESALE PRODUCT DETAIL — REMOVE TOP/BOTTOM WHITE BACKGROUND */
html:has(.wh-product-detail),
body:has(.wh-product-detail) {
  background: #101318 !important;
  background-color: #101318 !important;
  color: #f4f1e8 !important;
  color-scheme: dark !important;
  min-height: 100vh !important;
}

body:has(.wh-product-detail) main,
body:has(.wh-product-detail) #whProducts,
body:has(.wh-product-detail) #whProducts > section {
  background: #101318 !important;
  background-color: #101318 !important;
  color: #f4f1e8 !important;
  border-color: #343a45 !important;
}

body:has(.wh-product-detail) header,
body:has(.wh-product-detail) footer {
  background: #101318 !important;
  color: #f4f1e8 !important;
  border-color: #343a45 !important;
}

body:has(.wh-product-detail) .wh-product-detail {
  background: #1a2029 !important;
  color: #f4f1e8 !important;
  border: 1px solid #c8a45d !important;
  border-radius: 16px !important;
}

