/*
Theme Name: Shivam Panchal Labels Wholesale
Description: B2B-only wholesale WooCommerce theme for Shivam Panchal Labels.
Version: 6.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: spl-wholesale


*

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root{
  --ink:#111111;
  --muted:#6f6d69;
  --line:#e8e1d8;
  --cream:#f7f3eb;
  --gold:#c5a05a;
  --gold-dark:#a9833d;
  --white:#fff;
  --soft:#fbfaf7;
  --shadow:0 18px 55px rgba(17,17,17,.09);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:#fff;
  font-family:'DM Sans',Arial,sans-serif;
  line-height:1.6;
  overflow-x:hidden;
}
body.menu-open{overflow:hidden}
img{max-width:100%;height:auto}
a{color:inherit}
button,input,select,textarea{font-family:inherit}

.container{
  width:min(1180px,calc(100% - 48px));
  margin:0 auto;
}

/* HEADER */
.topbar{
  height:34px;
  background:#141414;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:9px;
  font-weight:700;
  letter-spacing:1.8px;
  text-transform:uppercase;
}

.header{
  background:#fff;
  border-bottom:1px solid var(--line);
  position:relative;
  z-index:100;
}

.nav{
  min-height:82px;
  display:flex;
  align-items:center;
  gap:30px;
}

.logo{
  font-family:'Manrope',sans-serif;
  font-weight:800;
  letter-spacing:1.8px;
  text-decoration:none;
  line-height:1;
  font-size:17px;
  white-space:nowrap;
}

/* Custom logo (Customizer upload): scales any image to fit the header
   while keeping its own aspect ratio, instead of a fixed box size. */
.header .logo{
  display:flex;
  align-items:center;
  max-width:220px;
}

.header .logo .spl-header-logo{
  display:block;
  width:auto;
  height:auto;
  max-height:56px;
  max-width:220px;
  object-fit:contain;
  object-position:left center;
}

.logo span{
  display:block;
  font-size:16px;
  letter-spacing:3px;
  margin-top:5px;
}

.menu{
  display:flex;
  align-items:center;
  gap:24px;
  margin-left:auto;
  list-style:none !important;
  padding:0 !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
}

.menu ul,
.menu ol{
  list-style:none !important;
  padding:0 !important;
  margin:0 !important;
}

.menu li{
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
}

.menu li::before,
.menu li::after,
.menu a::before,
.menu a::after{
  content:none !important;
  display:none !important;
}

.menu a{
  font-size:11px;
  text-decoration:none;
  font-weight:500;
  white-space:nowrap;
}

.actions{
  display:flex;
  align-items:center;
  gap:15px;
}

.actions a{
  font-size:11px;
  text-decoration:none;
  font-weight:500;
  white-space:nowrap;
}

.actions .become{margin-left:2px}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:45px;
  padding:0 22px;
  background:var(--ink);
  color:#fff;
  text-decoration:none;
  border:1px solid var(--ink);
  font-weight:700;
  font-size:12px;
  letter-spacing:.2px;
  transition:.2s ease;
}

.btn:hover{
  transform:translateY(-1px);
  background:#2a2a2a;
  color:#fff;
}

.btn.gold{
  background:var(--gold);
  border-color:var(--gold);
  color:#fff;
}

.btn.gold:hover{
  background:var(--gold-dark);
  border-color:var(--gold-dark);
}

.btn.light{
  background:#fff;
  color:var(--ink);
  border-color:var(--line);
}

.mobile-menu{
  display:none;
  width:42px;
  height:42px;
  border:1px solid var(--line);
  background:#fff;
  padding:9px;
  cursor:pointer;
  flex:0 0 42px;
}

.mobile-menu span{
  display:block;
  height:2px;
  background:#111;
  margin:5px 0;
  transition:.2s;
}

.mobile-menu.is-open span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}
.mobile-menu.is-open span:nth-child(2){opacity:0}
.mobile-menu.is-open span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

/* HEADER SEARCH (icon-triggered dropdown, all breakpoints) */
.header-search{
  position:relative;
  display:inline-flex;
  align-items:center;
}

.search-toggle{
  background:none;
  border:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px;
  color:inherit;
}

.header-search-form{
  display:none;
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  background:#fff;
  border:1px solid #e0e0e0;
  border-radius:6px;
  box-shadow:0 4px 12px rgba(0,0,0,.1);
  z-index:50;
  width:260px;
  max-width:90vw;
}

.header-search.is-open .header-search-form{
  display:block;
}

.header-search-input{
  width:100%;
  border:none;
  padding:10px 12px;
  outline:none;
  font-size:14px;
  box-sizing:border-box;
}

@media (max-width:768px){
  .header-search-form{
    position:fixed;
    top:60px;
    left:12px;
    right:12px;
    width:auto;
    max-width:none;
  }
}

.actions .search-icon-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.actions .search-icon-link svg{
  display:block;
}

/* HERO */
.hero{
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:560px;
  background:var(--soft);
}

.hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:80px max(24px,calc((100vw - 1180px)/2)) 80px max(24px,calc((100vw - 1180px)/2));
}

.hero-copy>*{max-width:570px}

.eyebrow{
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:1.8px;
  font-weight:700;
  color:#777;
  margin-bottom:8px;
}

.hero h1,.page-title,h1,h2,h3{
  font-family:'Manrope',sans-serif;
}

.hero h1{
  font-size:58px;
  line-height:1.02;
  margin:0 0 22px;
  letter-spacing:-2px;
  font-weight:800;
}

.hero-copy p{
  font-size:16px;
  color:#68645e;
  max-width:510px;
}

.hero-actions{
  display:flex;
  gap:12px;
  margin-top:18px;
}

.hero-art{
  min-height:560px;
  background:#e9e1d5 center/cover no-repeat;
  background-image:var(--hero-image);
  position:relative;
}

.benefits{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border:1px solid var(--line);
  border-top:0;
}

.benefit{
  padding:24px 28px;
  border-right:1px solid var(--line);
  position:relative;
}

.benefit:last-child{border-right:0}
.benefit b,.benefit span{display:block}
.benefit b{
  font-family:'Manrope';
  font-size:15px;
}
.benefit span{
  font-size:11px;
  color:var(--muted);
  margin-top:3px;
}
.benefit strong{
  display:block;
  font-size:10px;
  color:var(--gold-dark);
  letter-spacing:1px;
  margin-bottom:8px;
}

/* SECTIONS */
.page{
  padding:58px 0;
  min-height:58vh;
}

.home-section{padding:64px 0}
.category-section{padding-bottom:58px}

.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  margin-bottom:25px;
}

.section-head h2{
  font-size:31px;
  letter-spacing:-.8px;
  margin:0;
}

.section-head>a{
  font-size:11px;
  text-decoration:none;
  font-weight:700;
}

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

.cat{
  display:block;
  border:1px solid var(--line);
  background:#fff;
  text-decoration:none;
  overflow:hidden;
  transition:.2s;
}

.cat:hover,.product:hover{
  box-shadow:var(--shadow);
  transform:translateY(-2px);
}

.cat-img{
  aspect-ratio:1.1/1;
  background:var(--cream);
  overflow:hidden;
}

.cat-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
	object-position:top;
}

.cat-img-empty{
  width:100%;
  height:100%;
  min-height:240px;
  display:flex;
  align-items:flex-end;
  padding:18px;
  background:linear-gradient(145deg,#f7f3eb,#e9e0d1);
  font-family:'Manrope';
  font-size:15px;
  font-weight:800;
}

.cat-copy{
  position:relative;
  min-height:76px;
  padding:17px;
}

.cat-copy b{
  font-family:'Manrope';
  font-size:16px;
}

.cat-arrow{
  position:absolute;
  right:17px;
  top:15px;
  font-size:17px;
  font-weight:700;
}

.meta{
  font-size:11px;
  color:var(--muted);
}

.product-grid-home,
.shop-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:17px;
}

.product{
  position:relative;
  display:block;
  border:1px solid var(--line);
  text-decoration:none;
  background:#fff;
  overflow:hidden;
  transition:.2s;
}

.product-img{
  background:var(--cream);
  aspect-ratio:1/1.14;
  overflow:hidden;
}

.product-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
	object-position:top;
}

.no-product-image,
.empty-state{
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#8b857b;
  font-size:12px;
  background:var(--cream);
}

.tag{
  position:absolute;
  z-index:2;
  top:0;
  left:0;
  background:#111;
  color:#fff;
  padding:7px 10px;
  font-size:9px;
  letter-spacing:1px;
}

.product-info{
  padding:15px;
}

.product-info h3{
  font-size:16px;
  line-height:1.2;
  margin:0 0 7px;
}

.price{
  font-weight:700;
  margin-top:10px;
}

.cta{
  background:#111;
  color:#fff;
  text-align:center;
  padding:82px 20px;
}

.cta .container{max-width:760px}
.cta .eyebrow{
  color:#c5a05a;
  margin-bottom:10px;
}

.cta h2{
  font-size:42px;
  margin:0 0 10px;
}

.cta p{color:#aaa}

/* FOOTER */
.footer{
  background:#111;
  color:#fff;
  padding:58px 0;
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:40px;
}

.footer-logo{color:#fff}

.footer p{
  font-size:12px;
  color:#aaa;
  max-width:270px;
}

.footer h4{
  font-family:'Manrope';
  font-size:13px;
  margin:0 0 14px;
}

.footer a{
  display:block;
  color:#aaa;
  text-decoration:none;
  font-size:12px;
  margin:8px 0;
}

.footer a:hover{color:#fff}

.social-links{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:18px;
}

.social-links a{
  border:1px solid #343434;
  padding:7px 10px;
  margin:0;
  color:#ddd;
}

/* FORMS */
.toolbar{
  display:flex;
  gap:12px;
  margin:28px 0;
}

.searchbox,input,select,textarea{
  border:1px solid #ddd;
  padding:13px 14px;
  font:inherit;
  width:100%;
  background:#fff;
  border-radius:0;
  outline:none;
}

.searchbox:focus,input:focus,select:focus,textarea:focus{
  border-color:#111;
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.field label{
  display:block;
  font-size:11px;
  font-weight:700;
  margin-bottom:7px;
}

.field.full{grid-column:1/-1}

.field small{
  display:block;
  color:#888;
  font-size:10px;
  margin-top:5px;
}

.panel{
  border:1px solid var(--line);
  padding:34px;
  background:#fff;
}

/* PRODUCT PAGE */
.product-page{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
  gap:52px;
  padding-top:46px;
  padding-bottom:70px;
  align-items:start;
}

.spl-product-gallery-column{
  min-width:0;
  position:sticky;
  top:24px;
}

.spl-product-gallery-card{
  background:#f7f3eb;
  border:1px solid #e8e1d8;
  padding:0;
  overflow:hidden;
}

.spl-gallery-main{
  position:relative;
  background:#f7f3eb;
}

.spl-gallery-main .spl-main-product-image{
  display:block;
  width:100%;
  height:auto;
  max-height:690px;
  aspect-ratio:1/1.08;
  object-fit:fill;
}

.spl-image-badge{
  position:absolute;
  left:16px;
  top:16px;
  background:#111;
  color:#fff;
  font-size:9px;
  font-weight:800;
  letter-spacing:1.5px;
  padding:8px 11px;
}

.spl-gallery-thumbs{
  display:flex;
  gap:9px;
  padding:12px;
  background:#fff;
  border-top:1px solid #e8e1d8;
  overflow:auto;
}

.spl-thumb{
  padding:0;
  border:1px solid #ddd;
  background:#fff;
  flex:0 0 auto;
  cursor:pointer;
  transition:.2s;
}

.spl-thumb.is-active{
  border-color:#111;
  box-shadow:0 0 0 1px #111;
}

.spl-thumb img{
  display:block;
  width:70px;
  height:78px;
  object-fit:cover;
}

.spl-gallery-trust{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top:13px;
  color:#777;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.5px;
}

.spl-gallery-trust b{
  color:#a9833d;
  margin-right:4px;
}

.spl-product-detail-column{min-width:0}

.spl-product-head{
  position:relative;
  padding-right:130px;
}

.spl-product-head .eyebrow{
  margin-bottom:7px;
  color:#817a70;
  font-size:9px;
}

.spl-status-pill{
  position:absolute;
  right:0;
  top:0;
  font-size:8px;
  font-weight:800;
  letter-spacing:1px;
  border:1px solid #e5d9c4;
  background:#faf7f0;
  padding:8px 10px;
  color:#78633c;
}

.spl-status-pill span{
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#a9833d;
  margin-right:4px;
}

.spl-product-head h1{
  font-size:28px;
  line-height:1.02;
  letter-spacing:-2px;
  margin:0 0 10px;
  font-weight:800;
}

.spl-product-meta{
  font-size:10px;
  color:#8a867f;
  letter-spacing:.7px;
  text-transform:uppercase;
}

.spl-product-intro{
  font-size:14px;
  line-height:1.8;
  color:#66615b;
  padding:18px 0 20px;
  border-bottom:1px solid #e8e1d8;
}

.spl-b2b-lock-card{
  display:grid;
  grid-template-columns:40px 1fr auto;
  gap:13px;
  align-items:center;
  padding:17px;
  margin:18px 0;
  border:1px solid #e5d9c4;
  background:#faf7f0;
}

.spl-lock-icon{
  width:34px;
  height:34px;
  border:1px solid #c5a05a;
  display:grid;
  place-items:center;
  color:#a9833d;
  font-weight:800;
}

.spl-b2b-lock-card strong,
.spl-b2b-lock-card span{
  display:block;
}

.spl-b2b-lock-card strong{font-size:12px}
.spl-b2b-lock-card span{
  font-size:10px;
  color:#777;
  margin-top:3px;
}

.spl-b2b-lock-card .btn{
  min-height:38px;
  font-size:10px;
  padding:0 14px;
}

.spl-order-card{
  margin-top:20px;
  border:1px solid #e8e1d8;
  background:#fff;
}

.spl-order-card.is-approved{
  box-shadow:0 10px 35px rgba(17,17,17,.05);
}

.spl-order-card-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:17px 18px;
  border-bottom:1px solid #e8e1d8;
  background:#fcfbf8;
}

.spl-order-card-head>div{
  display:grid;
  grid-template-columns:32px 1fr;
  column-gap:10px;
}

.spl-order-card-head strong,
.spl-order-card-head small{
  display:block;
}

.spl-order-card-head strong{
  font-family:'Manrope';
  font-size:13px;
  line-height:1.2;
}

.spl-order-card-head small{
  font-size:10px;
  color:#777;
  margin-top:3px;
}

.spl-step{
  grid-row:span 2;
  font-size:9px;
  color:#a9833d;
  font-weight:800;
  letter-spacing:1px;
  padding-top:2px;
}

.spl-live-badge{
  font-size:8px;
  font-weight:800;
  letter-spacing:1px;
  color:#8a6b32;
  white-space:nowrap;
}

.spl-native-variation-wrap{
  padding:19px 18px 7px;
}

.spl-native-variation-wrap .variations_form{
  margin:0 !important;
}

.spl-native-variation-wrap .variations{
  margin:0 0 12px !important;
  border:0 !important;
  width:100% !important;
}

.spl-native-variation-wrap .variations tr{
  display:grid;
  grid-template-columns:110px 1fr;
  align-items:center;
  border-bottom:1px solid #eee;
}

.spl-native-variation-wrap .variations td,
.spl-native-variation-wrap .variations th{
  display:block !important;
  padding:10px 0 !important;
  text-align:left !important;
}

.spl-native-variation-wrap .variations label{
  font-size:10px !important;
  font-weight:800 !important;
  text-transform:uppercase;
  letter-spacing:.5px;
}

.spl-native-variation-wrap .variations select{
  max-width:100% !important;
  width:100% !important;
  height:44px !important;
  font-size:12px !important;
}

.spl-native-variation-wrap .reset_variations{
  font-size:10px !important;
  display:inline-block;
  margin:8px 0 2px;
}

.spl-native-variation-wrap .single_variation_wrap{
  margin-top:10px;
}

.spl-native-variation-wrap .woocommerce-variation-description{
  font-size:11px;
  color:#777;
}

.spl-native-variation-wrap .woocommerce-variation-price{
  display:none !important;
}

.spl-native-variation-wrap .quantity{
  margin:0 0 10px !important;
  float:none !important;
}

.spl-native-variation-wrap .quantity .qty{
  width:105px !important;
  height:48px !important;
}

.spl-native-variation-wrap .single_add_to_cart_button{
  height:48px !important;
  padding:0 24px !important;
  font-size:11px !important;
  background:#111 !important;
  color:#fff !important;
  border-radius:0 !important;
  border:1px solid #111 !important;
}

.spl-native-variation-wrap .single_add_to_cart_button:hover{
  background:#333 !important;
}

.spl-native-variation-wrap .single_add_to_cart_button.disabled{
  opacity:.45;
}

.spl-wholesale-card{
  margin-top:18px;
  border:1px solid #d9c8a8;
  background:#faf7f0;
  padding:20px;
}

.spl-wholesale-top{
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:flex-start;
  border-bottom:1px solid #e4dac8;
  padding-bottom:15px;
}

.spl-card-kicker{
  font-size:8px;
  letter-spacing:1.5px;
  color:#8b7958;
  font-weight:800;
}

.spl-wholesale-top h3{
  margin:4px 0 0;
  font-size:20px;
}

.spl-active-mark{
  font-size:8px;
  letter-spacing:1px;
  font-weight:800;
  color:#7f673b;
  padding-top:3px;
}

.spl-price-summary{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  padding:17px 0;
  border-bottom:1px solid #e4dac8;
}

.spl-price-summary span{
  display:block;
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:8px;
  color:#8b867d;
}

.spl-price-summary strong{
  display:block;
  font-family:'Manrope';
  font-size:19px;
  margin-top:4px;
}

.spl-tier-title{
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.8px;
  margin:16px 0 7px;
}

.spl-wholesale-card .tier{
  padding:10px 0;
  border-bottom:1px solid #e4dac8;
}

.spl-wholesale-card .tier b{
  font-family:'Manrope';
}

.spl-details-section{
  border-top:1px solid #e8e1d8;
  padding:21px 0 0;
  margin-top:22px;
}

.spl-section-label{
  font-size:9px;
  letter-spacing:1.5px;
  font-weight:800;
  color:#80796f;
  margin-bottom:13px;
}

.spl-details-section .product-description{
  font-size:13px;
  line-height:1.85;
  color:#66615b;
}

.spl-details-section .table th,
.spl-details-section .table td{
  padding:13px 10px;
  font-size:11px;
}

.spl-order-note{
  display:grid;
  grid-template-columns:1fr auto;
  gap:3px 20px;
  background:#f7f3eb;
  border:1px solid #e8e1d8;
  padding:15px;
  margin-top:22px;
}

.spl-order-note b{font-size:11px}
.spl-order-note span{
  font-size:10px;
  color:#777;
}

.spl-order-note a{
  grid-column:2;
  grid-row:1/3;
  align-self:center;
  font-size:10px;
  font-weight:800;
  text-decoration:underline;
}

/* B2B GATE */
.b2b-card-lock,
.spl-b2b-lock{
  display:block;
  color:#6f675d;
  font-size:12px;
  line-height:1.6;
}

.b2b-card-lock{
  margin-top:10px;
  padding:9px 10px;
  background:var(--cream);
  border:1px solid var(--line);
  font-size:10px;
}

/* B2B REGISTER */
.b2b-register-shell{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:50px;
  border:1px solid var(--line);
  padding:48px;
  background:#fff;
}

.b2b-register-intro .page-title{
  font-size:42px;
  line-height:1.05;
  margin:8px 0 15px;
}

.b2b-register-intro .lead{
  font-size:14px;
  color:var(--muted);
  max-width:430px;
}

.b2b-register-points{
  margin-top:35px;
  border-top:1px solid var(--line);
}

.b2b-register-points div{
  display:flex;
  gap:18px;
  padding:15px 0;
  border-bottom:1px solid var(--line);
  font-size:12px;
}

.b2b-register-points strong{
  font-size:10px;
  color:var(--gold-dark);
}

.form-section-title{
  grid-column:1/-1;
  font-family:'Manrope';
  font-weight:800;
  font-size:14px;
  border-bottom:1px solid var(--line);
  padding-bottom:10px;
  margin-top:6px;
}

.b2b-submit{margin-top:5px}
.b2b-submit p{
  font-size:11px;
  color:#777;
}
.b2b-submit p a{
  text-decoration:underline;
  font-weight:700;
}

.notice.success{border-left:4px solid #6a9b64}

/* WOOCOMMERCE */
.woo-page{
  padding-top:36px;
  padding-bottom:44px;
  min-height:0;
}

.woo-page .page-title{
  font-size:36px;
  margin:0 0 22px;
}

.cart-page .woocommerce,
.checkout-page .woocommerce,
.account-page .woocommerce{
  margin-top:0;
}

.woocommerce .woocommerce-breadcrumb{
  font-size:10px;
}

.woocommerce table.shop_table{
  border:0;
  border-top:1px solid var(--line);
  border-radius:0;
}

.woocommerce-cart .cart-collaterals{margin-top:0}

.woocommerce-cart .cart_totals h2{
  font-family:'Manrope';
  font-size:19px;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review{
  border:1px solid var(--line);
  padding:22px;
}

.woocommerce-checkout h3{font-size:18px}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error{
  border-top-color:var(--gold) !important;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button{
  border-radius:0;
  background:#111;
  color:#fff;
  padding:12px 18px;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover{
  background:#333;
  color:#fff;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary{
  width:auto;
  float:none;
}

.woocommerce div.product form.cart{margin:0}

.woocommerce div.product form.cart .quantity{
  float:none;
  margin:0 0 14px;
}

.woocommerce div.product form.cart .button{float:none}

.woocommerce div.product form.cart .variations{
  border:0;
  margin:0 0 15px;
}

.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th{
  padding:0 0 12px;
  display:block;
  text-align:left;
}

.woocommerce div.product form.cart .variations label{
  font-size:11px;
  font-weight:700;
}

.woocommerce div.product form.cart .variations select{
  max-width:330px;
}

.woocommerce div.product .woocommerce-variation-price{
  display:none;
}

.woocommerce div.product .reset_variations{
  font-size:10px;
}

.woocommerce .quantity .qty{height:46px}
.woocommerce span.onsale{
  background:var(--gold);
  border-radius:0;
}

.woocommerce form .form-row{margin-bottom:13px}

.woocommerce-checkout .col2-set{
  width:100%;
  float:none;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2{
  width:100%;
  float:none;
}

/* CART + CHECKOUT: remove unwanted giant white gaps */
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main,
body.woocommerce-account .site-main,
body.woocommerce-cart main,
body.woocommerce-checkout main,
body.woocommerce-account main{
  min-height:0 !important;
  height:auto !important;
}

body.woocommerce-cart .woo-page,
body.woocommerce-checkout .woo-page,
body.woocommerce-account .woo-page{
  min-height:0 !important;
  padding-top:28px !important;
  padding-bottom:34px !important;
}

body.woocommerce-cart .container,
body.woocommerce-checkout .container,
body.woocommerce-account .container{
  min-height:0 !important;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.woocommerce-account .woocommerce{
  min-height:0 !important;
}

body.woocommerce-cart .footer,
body.woocommerce-checkout .footer,
body.woocommerce-account .footer{
  margin-top:0 !important;
}

/* Remove empty template wrappers if theme outputs them */
.woo-page>br:only-child,
.site-main>br:only-child{
  display:none !important;
}

/* ADMIN / DASHBOARD */
.spl-admin-table{
  width:100%;
  border-collapse:collapse;
}

.spl-admin-table th,
.spl-admin-table td{
  padding:8px;
  border:1px solid #ddd;
}

.spl-b2b-variation-panel{
  margin-top:10px;
  padding:12px;
  background:#faf7f0;
  border:1px solid #e5d9c4;
}

.spl-b2b-variation-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
  font-size:12px;
}

.spl-b2b-variation-title span{color:#777}

.spl-b2b-variation-grid{
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:16px;
}

.spl-b2b-tier-wrap label{display:block;margin-bottom:6px;font-weight:700}

.spl-b2b-tier-head{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  font-size:11px;
  color:#777;
  margin-bottom:4px;
}

.spl-b2b-tier-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-bottom:6px;
}

.spl-b2b-tier-row input{min-width:0}

.dashboard{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:35px;
}

.side{
  border:1px solid var(--line);
  height:max-content;
}

.side a{
  display:block;
  padding:13px 15px;
  border-top:1px solid var(--line);
  text-decoration:none;
}

.notice{
  background:var(--cream);
  border:1px solid var(--line);
  padding:15px;
}

.status{
  font-size:11px;
  padding:5px 8px;
}

.status.approved{background:#e7f3e7}
.status.pending{background:#fff1d7}
.status.rejected{background:#f9e4e1}

.table{
  width:100%;
  border-collapse:collapse;
}

.table th,.table td{
  padding:12px 10px;
  border-bottom:1px solid var(--line);
  text-align:left;
  font-size:11px;
}

.table th{
  font-weight:700;
  width:48%;
}

/* MOBILE */
@media(max-width:1050px){
  .menu{gap:15px}
  .actions{gap:10px}
  .actions>a:first-child{display:none}
  .product-page{gap:38px}
  .hero h1{font-size:48px}
  .grid,
  .shop-grid,
  .category-grid,
  .product-grid-home{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:900px){
  .container{
    width:min(720px,calc(100% - 32px));
  }

  .nav{
    min-height:72px;
    gap:12px;
  }

  .menu{
    display:none;
  }

  /* Full-width mobile menu */
  .menu.is-open{
    display:flex !important;
    position:fixed;
    left:0;
    right:0;
    top:106px;
    width:100vw;
    height:calc(100vh - 106px);
    background:#fff;
    padding:20px 24px 40px !important;
    margin:0 !important;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    overflow:auto;
    border-top:1px solid var(--line);
    box-shadow:0 20px 50px rgba(0,0,0,.08);
    list-style:none !important;
  }

  .menu.is-open li{
    display:block;
    width:100%;
    list-style:none !important;
    border-bottom:1px solid var(--line);
  }

  .menu.is-open a{
    display:block;
    width:100%;
    font-size:15px;
    padding:16px 0;
    border:0;
    text-decoration:none;
  }

  .mobile-menu{display:block}
  .actions .become{display:none}

  .hero{
    grid-template-columns:1fr;
  }

  .hero-art{
    min-height:430px;
    order:-1;
  }

  .hero-copy{padding:55px 24px}
  .hero h1{font-size:46px}

  .benefits{grid-template-columns:1fr}

  .benefit{
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  .grid,
  .shop-grid,
  .category-grid,
  .product-grid-home{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .process-grid{grid-template-columns:repeat(2,1fr)}

  .product-page{
    grid-template-columns:1fr;
    gap:32px;
    padding-top:28px;
  }

  .spl-product-gallery-column{
    position:relative;
    top:auto;
  }

  .spl-product-head h1{font-size:24px}

  .spl-gallery-trust{margin-bottom:0}

  .spl-b2b-lock-card{
    grid-template-columns:36px 1fr;
  }

  .spl-b2b-lock-card .btn{
    grid-column:2;
    justify-self:start;
  }

  .spl-order-card{margin-top:16px}

  .how-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .b2b-register-shell{
    grid-template-columns:1fr;
    padding:30px;
    gap:30px;
  }

  .footer-grid{
    grid-template-columns:1.5fr 1fr 1fr;
  }

  .footer-grid>div:last-child{
    grid-column:2;
  }

  .woo-page{
    padding-top:24px;
  }
}

@media(max-width:560px){
  .container{width:calc(100% - 24px)}

  .topbar{
    height:30px;
    font-size:8px;
    letter-spacing:1.2px;
  }

  .nav{
    min-height:64px;
    gap:8px;
  }

  .logo{
    font-size:16px;
    letter-spacing:1.4px;
  }

  .logo span{font-size:16px}

  .header .logo{max-width:150px}

  .header .logo .spl-header-logo{
    max-height:44px;
    max-width:150px;
  }

  .actions{
    margin-left:auto;
    gap:8px;
  }

  .actions a{font-size:10px}

  .mobile-menu{
    width:40px;
    height:40px;
    flex-basis:40px;
  }
}


/* FINAL STOREFRONT CLEANUP */
.header .logo{min-width:0;flex:0 1 auto}
.header .logo .spl-header-logo{width:auto;height:auto;max-width:100%;max-height:56px}

/* Keep the home hero close to the header without changing the design. */
body.home .hero{margin-top:0}

/* Product page: remove accidental inherited top spacing. */
.single-product .product-page{margin-top:0;}

@media(max-width:900px){
  .header .logo .spl-header-logo{max-width:180px;max-height:50px}
  .single-product .product-page{padding-top:28px}
}
@media(max-width:560px){
  .header .logo .spl-header-logo{max-width:150px;max-height:44px}
  .single-product .product-page{padding-top:24px}
}

/* =========================================================
   FINAL RESPONSIVE FIX
   ========================================================= */

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.container,
.nav,
.hero,
.product-page,
.footer-grid,
.b2b-register-shell,
.dashboard {
  min-width: 0;
}

/* Medium screens: switch to mobile navigation before it can overflow */
@media (max-width: 1050px) {
  .nav {
    gap: 12px;
  }

  .menu {
    gap: 14px;
  }

  .menu a,
  .actions a {
    font-size: 10px;
  }

  .header .logo {
    max-width: 190px;
  }

  .header .logo .spl-header-logo {
    max-width: 190px;
    max-height: 52px;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .container {
    width: min(720px, calc(100% - 32px));
  }

  .nav {
    min-height: 70px;
  }

  .menu {
    display: none !important;
  }

  .mobile-menu {
    display: block !important;
  }

  .actions {
    margin-left: auto;
    min-width: 0;
  }

  .actions > a:first-child,
  .actions .become {
    display: none !important;
  }

  .menu.is-open {
    display: flex !important;
    top: 104px;
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    height: calc(100dvh - 104px);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 9999;
  }

  body.admin-bar .menu.is-open {
    top: 136px;
    height: calc(100dvh - 136px);
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 430px;
    order: -1;
  }

  .hero-copy {
    padding: 52px 24px;
  }

  .hero h1 {
    font-size: clamp(38px, 7vw, 46px);
    letter-spacing: -1.5px;
  }

  .benefits,
  .form-grid,
  .spl-price-summary,
  .spl-b2b-variation-grid,
  .dashboard {
    grid-template-columns: 1fr;
  }

  .field.full,
  .form-section-title {
    grid-column: auto;
  }

  .grid,
  .shop-grid,
  .category-grid,
  .product-grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-page {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 28px;
    padding-bottom: 45px;
  }

  .spl-product-gallery-column {
    position: relative;
    top: auto;
  }

  .spl-product-detail-column,
  .spl-product-head {
    min-width: 0;
  }

  .spl-product-head {
    padding-right: 0;
  }

  .spl-product-head h1 {
    font-size: clamp(22px, 3vw, 28px);
  }

  .spl-b2b-lock-card {
    grid-template-columns: 36px 1fr;
  }

  .spl-b2b-lock-card .btn {
    grid-column: 2;
    justify-self: start;
  }

  .b2b-register-shell {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .toolbar {
    flex-wrap: wrap;
  }
}

/* Phone */
@media (max-width: 560px) {
  .container {
    width: calc(100% - 24px);
  }

  .topbar {
    height: 30px;
    padding: 0 10px;
    font-size: 7px;
    letter-spacing: 1px;
    text-align: center;
    white-space: nowrap;
  }

  .nav {
    min-height: 62px;
    gap: 7px;
  }

  .header .logo {
    max-width: calc(100% - 50px);
    flex: 1 1 auto;
  }

  .header .logo .spl-header-logo {
    width: auto;
    height: auto;
    max-width: 145px;
    max-height: 42px;
  }

  .logo-text,
  .logo-text strong {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .actions {
    gap: 6px;
    flex: 0 0 auto;
  }

  .actions .cart-link {
    display: none !important;
  }

  .mobile-menu {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 7px;
  }

  .menu.is-open {
    top: 92px;
    height: calc(100dvh - 92px);
    padding: 14px 18px 30px !important;
  }

  body.admin-bar .menu.is-open {
    top: 124px;
    height: calc(100dvh - 124px);
  }

  .menu.is-open a {
    font-size: 14px;
    padding: 14px 0;
  }

  .hero-art {
    min-height: 320px;
  }

  .hero-copy {
    padding: 38px 12px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.02;
  }

  .hero-copy p {
    font-size: 14px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .grid,
  .shop-grid,
  .category-grid,
  .product-grid-home,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .home-section {
    padding: 42px 0;
  }

  .process .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .process .step {
    min-height: auto !important;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .section-head h2 {
    font-size: 27px;
  }

  .toolbar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
  }

  .toolbar form {
    width: 100%;
  }

  .product-page {
    width: calc(100% - 24px);
    gap: 24px;
    padding-top: 22px;
    padding-bottom: 35px;
  }

  .spl-gallery-main .spl-main-product-image {
    aspect-ratio: 1 / 1.08;
    max-height: none;
  }

  .spl-image-badge {
    left: 10px;
    top: 10px;
    padding: 7px 9px;
  }

  .spl-gallery-thumbs {
    gap: 7px;
    padding: 8px;
  }

  .spl-thumb img {
    width: 58px;
    height: 64px;
  }

  .spl-product-head {
    padding-right: 0;
  }

  .spl-status-pill {
    position: static;
    display: inline-block;
    margin-bottom: 10px;
  }

  .spl-product-head h1 {
    font-size: 25px;
    line-height: 1.05;
    letter-spacing: -1.2px;
  }

  .spl-b2b-lock-card {
    grid-template-columns: 34px 1fr;
    gap: 10px;
    padding: 13px;
  }

  .spl-b2b-lock-card .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .spl-order-card-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .spl-native-variation-wrap .variations tr {
    grid-template-columns: 1fr;
  }

  .spl-native-variation-wrap .variations td,
  .spl-native-variation-wrap .variations th {
    padding: 7px 0 !important;
  }

  .spl-native-variation-wrap .variations select {
    width: 100% !important;
    max-width: none !important;
  }

  .spl-native-variation-wrap .quantity .qty {
    width: 100% !important;
  }

  .spl-native-variation-wrap .single_add_to_cart_button {
    width: 100%;
  }

  .spl-wholesale-card,
  .panel {
    padding: 16px;
  }

  .spl-wholesale-top {
    flex-direction: column;
    gap: 8px;
  }

  .spl-order-note {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .spl-order-note a {
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
  }

  .b2b-register-shell {
    padding: 20px;
    gap: 24px;
  }

  .b2b-register-intro .page-title {
    font-size: 34px;
  }

  .footer {
    padding: 42px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-logo {
    font-size: 15px;
  }

  .woocommerce {
    min-width: 0;
    max-width: 100%;
  }

  .woocommerce table.shop_table,
  .woocommerce form.checkout_coupon,
  .woocommerce form.login,
  .woocommerce form.register {
    width: 100%;
  }

  .woocommerce-cart .cart_item .product-thumbnail {
    display: none;
  }

  .woocommerce-cart table.shop_table {
    font-size: 11px;
  }

  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review {
    padding: 14px;
  }

  .dashboard {
    gap: 20px;
  }

  .side {
    width: 100%;
  }

  .table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .woo-page,
  body.woocommerce-cart .woo-page,
  body.woocommerce-checkout .woo-page,
  body.woocommerce-account .woo-page {
    padding-top: 22px !important;
    padding-bottom: 28px !important;
    min-height: 0 !important;
  }
}
.process{
  background:var(--cream);
  padding:60px 0;
}

.process .section-head{
  margin-bottom:30px;
}

.process-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:0;
  position:relative;
}

/* connecting line running through all steps */
.process-grid::before{
  content:'';
  position:absolute;
  top:34px;
  left:5%;
  right:5%;
  height:1px;
  background:var(--line);
  z-index:0;
}

.step{
  background:transparent;
  padding:0 24px;
  position:relative;
  z-index:1;
  transition:transform .35s ease;
}

.step:first-child{ padding-left:0; }
.step:last-child{ padding-right:0; }

.step-num{
  width:68px;
  height:68px;
  border-radius:50%;
  background:var(--cream);
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:'Manrope';
  font-size:13px;
  font-weight:600;
  letter-spacing:.05em;
  color:var(--gold-dark);
  margin-bottom:28px;
  transition:background .35s ease, border-color .35s ease, color .35s ease, transform .35s ease;
}

.step:hover .step-num{
  background:var(--gold-dark);
  border-color:var(--gold-dark);
  color:var(--cream);
  transform:scale(1.08);
}

.step:hover{
  transform:translateY(-6px);
}

.step-body b{
  font-family:'Manrope';
  font-size:15px;
  font-weight:600;
  display:block;
  margin-bottom:8px;
  letter-spacing:-.01em;
}

.step-body span.meta{
  font-size:12.5px;
  line-height:1.5;
  color:var(--muted);
  display:block;
  max-width:180px;
}

/* mobile */
@media (max-width:900px){
  .process-grid{
    grid-template-columns:1fr;
    gap:36px;
  }
  .process-grid::before{ display:none; }
  .step{ padding:0; }
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}
body.admin-bar {
    margin-top: 0 !important;
}

.site-header:first-child,
header:first-child {
    padding-top: 0 !important;
}
.site-footer,
footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.site-footer + *,
footer + * {
    margin-top: 0 !important;
}
body {
    overflow-x: hidden;
}
.site,
.site-wrapper,
.site-content,
.content-area {
    margin-top: 0 !important;
}

.site {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
/* Desktop */
@media (min-width: 783px) {

    html {
        margin-top: 0 !important;
    }

    body.admin-bar {
        padding-top: 0 !important;
    }

    body.admin-bar #wpadminbar {
        position: relative !important;
    }
}


/* Mobile */
@media (max-width: 782px) {

    html {
        margin-top: 0 !important;
    }

    body.admin-bar {
        padding-top: 0 !important;
    }

    body.admin-bar #wpadminbar {
        position: relative !important;
    }
}
html,
body {
    min-height: 100% !important;
    margin: 0;
}

body {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column;
}

body main.page {
    flex: 1 0 auto !important;
}

.footer {
    flex-shrink: 0;
}

/* Header top & bottom spacing */
header,
.site-header {
    padding-top: 5px;
    padding-bottom: 5px;
    box-sizing: border-box;
}

/* Main header content */
header .header-inner,
.site-header .header-inner,

.menu a {
    font-size: 13px;

}

}

/* CHECKOUT SHIPPING NOTICE */
.woocommerce-checkout .spl-shipping-notice {
    margin: 18px 0 16px !important;
    padding: 18px 20px !important;
    background: #faf7f0 !important;
    border: 1px solid #e5d9c4 !important;
    border-left: 3px solid #b89b5e !important;
    border-radius: 0 !important;
    color: #222 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    box-sizing: border-box;
}

/* SHIPPING NOTICE - CHECKOUT */
body.woocommerce-checkout div.spl-shipping-notice {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 18px 0 16px !important;
    padding: 16px 18px !important;

    background: #faf7f0 !important;
    border: 1px solid #e5d9c4 !important;
    border-left: 4px solid #b89b5e !important;

    color: #222 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;

    border-radius: 2px !important;
}

body.woocommerce-checkout div.spl-shipping-notice strong {
    font-weight: 700 !important;
    color: #111 !important;
}

@media (max-width: 560px) {
    .actions {
        gap: 24px !important;
    }
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}
body.admin-bar {
    margin-top: 0 !important;
}
body.admin-bar .site-header,
body.admin-bar header {
    margin-top: 0 !important;
}
.site-header:first-child,
header:first-child {
    padding-top: 0 !important;
}
.site-footer,
footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.site-footer + *,
footer + * {
    margin-top: 0 !important;
}
body {
    overflow-x: hidden;
}
.site,
.site-wrapper,
.site-content,
.content-area {
    margin-top: 0 !important;
}

.site {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
/* Desktop */
@media (min-width: 783px) {

    html {
        margin-top: 0 !important;
    }

    body.admin-bar {
        padding-top: 0 !important;
    }

    body.admin-bar #wpadminbar {
        position: relative !important;
    }
}


/* Mobile */
@media (max-width: 782px) {

    html {
        margin-top: 0 !important;
    }

    body.admin-bar {
        padding-top: 0 !important;
    }

    body.admin-bar #wpadminbar {
        position: relative !important;
    }
}
html,
body {
    min-height: 100% !important;
    margin: 0;
}

body {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column;
}

body main.page {
    flex: 1 0 auto !important;
}

.footer {
    flex-shrink: 0;
}

/* Header top & bottom spacing */
header,
.site-header {
    padding-top: 5px;
    padding-bottom: 5px;
    box-sizing: border-box;
}

/* Main header content */
header .header-inner,
.site-header .header-inner,
header .container,
.site-header .container {
    padding-top: 5px;
    padding-bottom: 5px;
    box-sizing: border-box;
}

.menu a {
    font-size: 13px;
	
}

.actions a {
	   font-size: 13px;
			gap: 25px !important;
	
}

@media (max-width: 560px) {
    .actions {
        gap: 24px !important;
    }
	
	.spl-shipping-notice{
    margin:0 0 12px;
    padding:14px 16px;
    border:1px solid #ddd;
    background:#fff;
    font-size:14px;
    line-height:1.6;
}

.spl-shipping-notice strong{
    font-weight:700;
}