/* SmartPick premium WooCommerce single product layout */
:root{--sp-gold:#b87916;--sp-gold-dark:#925b08;--sp-navy:#14243a;--sp-cream:#fbf7ef;--sp-line:#eadfcd;--sp-text:#263142;--sp-muted:#667085}
body.single-product{background:#fff;color:var(--sp-text)}
body.single-product .site-main,body.single-product #main-content{max-width:1240px;margin-inline:auto}
.smartpick-single-product{max-width:1240px;margin:0 auto;padding:18px 22px 60px}
.smartpick-product-breadcrumbs{font-size:12px;color:#777;margin:4px 0 22px}.smartpick-product-breadcrumbs a{color:#6b7280;text-decoration:none}.smartpick-product-breadcrumbs .woocommerce-breadcrumb{margin:0}
.smartpick-product-main{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:38px;align-items:start}
.smartpick-product-gallery .woocommerce-product-gallery{float:none!important;width:100%!important;max-width:none!important;margin:0!important}.smartpick-product-gallery .woocommerce-product-gallery__wrapper{border:1px solid #f0ece5;border-radius:12px;overflow:hidden;background:#fbfaf7}.smartpick-product-gallery .woocommerce-product-gallery__image img{width:100%;height:auto;display:block}.smartpick-product-gallery .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:12px 0 0!important;padding:0!important}.smartpick-product-gallery .flex-control-thumbs li{width:100%!important;float:none!important;border:1px solid var(--sp-line);border-radius:8px;overflow:hidden}.smartpick-product-gallery .flex-control-thumbs img{opacity:1!important;transition:transform .2s}.smartpick-product-gallery .flex-control-thumbs img:hover{transform:scale(1.04)}
.smartpick-product-purchase{border:1px solid #eee6d9;border-radius:14px;padding:28px 28px 22px;background:#fff;box-shadow:0 12px 35px rgba(30,35,45,.045)}.smartpick-product-brand{font-size:12px;letter-spacing:1.2px;font-weight:800;color:var(--sp-gold);margin:0 0 8px}.smartpick-product-purchase .product_title{font-size:clamp(27px,2.7vw,38px);line-height:1.12;color:var(--sp-navy);font-weight:750;margin:0 0 12px}.smartpick-product-purchase .woocommerce-product-rating{margin:0 0 14px;font-size:13px}.smartpick-product-purchase .star-rating{color:#e4a51b}.smartpick-product-purchase .price{font-size:30px!important;line-height:1.2;color:var(--sp-gold)!important;font-weight:800;margin:14px 0!important}.smartpick-product-purchase .price del{font-size:18px;color:#9ca3af!important;font-weight:500;margin-right:7px}.smartpick-product-purchase .price ins{text-decoration:none}.smartpick-product-purchase .woocommerce-product-details__short-description{font-size:15px;line-height:1.75;color:#525c6b;margin:15px 0 20px}.smartpick-product-purchase .stock{font-weight:700;color:#17803d}.smartpick-product-purchase form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:22px 0 16px!important}.smartpick-product-purchase form.cart .quantity{margin:0!important}.smartpick-product-purchase .quantity .qty{height:48px;min-width:66px;border:1px solid #d9dce2;border-radius:7px;padding:8px}.smartpick-product-purchase .single_add_to_cart_button,.smartpick-product-purchase button.single_add_to_cart_button{min-height:48px;padding:13px 22px!important;background:var(--sp-gold)!important;color:#fff!important;border:1px solid var(--sp-gold)!important;border-radius:7px!important;text-transform:uppercase;font-size:13px;font-weight:800;letter-spacing:.3px;flex:1}.smartpick-product-purchase .single_add_to_cart_button:hover{background:var(--sp-gold-dark)!important}.smartpick-product-purchase .product_meta{border-top:1px solid #eee8de;padding-top:15px;margin-top:18px;font-size:12px;color:#6b7280}.smartpick-product-purchase .product_meta a{color:var(--sp-navy)}.smartpick-product-purchase .variations{width:100%}.smartpick-product-purchase .variations select{min-height:42px;border:1px solid #ddd;border-radius:6px;padding:8px}
.smartpick-purchase-assurance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border-top:1px solid #eee8de;padding-top:17px;margin-top:20px}.smartpick-purchase-assurance span{display:flex;flex-direction:column;gap:3px;text-align:center;align-items:center}.smartpick-purchase-assurance b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff4df;color:var(--sp-gold);font-size:18px}.smartpick-purchase-assurance strong{font-size:11px;color:var(--sp-navy)}.smartpick-purchase-assurance small{font-size:10px;color:var(--sp-muted)}
.smartpick-product-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:32px 0 44px;padding:24px 18px;background:var(--sp-cream);border:1px solid #f2e9dc;border-radius:12px}.smartpick-product-benefits article{display:flex;align-items:center;gap:12px;justify-content:center}.smartpick-benefit-icon{flex:0 0 42px;width:42px;height:42px;border:1px solid #e5c58b;border-radius:50%;display:grid;place-items:center;color:var(--sp-gold);font-size:22px;background:#fff}.smartpick-product-benefits strong,.smartpick-product-benefits small{display:block}.smartpick-product-benefits strong{font-size:13px;color:var(--sp-navy)}.smartpick-product-benefits small{font-size:11px;color:var(--sp-muted);margin-top:3px}
.smartpick-product-uses{padding:38px 26px 42px;background:linear-gradient(135deg,#fffdf9,#f8f0e2);border-radius:14px;margin:0 0 44px}.smartpick-product-uses header{text-align:center;max-width:720px;margin:0 auto 25px}.smartpick-section-eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:800;color:var(--sp-gold);margin:0 0 8px;text-transform:uppercase}.smartpick-product-uses h2,.smartpick-product-detail-block h2,.smartpick-product-gallery-strip h2{font-size:clamp(24px,2.4vw,32px);line-height:1.2;color:var(--sp-navy);margin:0 0 12px}.smartpick-product-uses header>p:last-child,.smartpick-product-gallery-strip>p:last-child{color:var(--sp-muted);font-size:14px}.smartpick-use-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.smartpick-use-grid article{background:#fff;border:1px solid var(--sp-line);border-radius:10px;padding:22px 18px;text-align:center}.smartpick-use-grid article>span{display:grid;place-items:center;margin:0 auto 12px;width:44px;height:44px;border-radius:50%;background:#fff2d9;color:var(--sp-gold);font-size:23px}.smartpick-use-grid h3{font-size:15px;color:var(--sp-navy);margin:0 0 8px}.smartpick-use-grid p{font-size:12px;line-height:1.6;color:var(--sp-muted);margin:0}
.smartpick-product-detail-block{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:0 0 44px;align-items:stretch}.smartpick-product-description,.smartpick-product-specifications{padding:28px;border:1px solid #eee6d9;border-radius:12px;background:#fff}.smartpick-product-description{line-height:1.8;color:#566071}.smartpick-product-description h2,.smartpick-product-specifications h2{margin-bottom:18px}.smartpick-product-description h2{font-size:27px}.smartpick-product-description ul{padding-left:22px}.smartpick-product-specifications table{width:100%;border-collapse:collapse;font-size:13px}.smartpick-product-specifications th,.smartpick-product-specifications td{padding:11px 10px;border-bottom:1px solid #eee8de;text-align:left;vertical-align:top}.smartpick-product-specifications th{width:39%;font-weight:700;color:var(--sp-navy);background:#faf7f1}.smartpick-product-specifications td{color:#535c69}.smartpick-spec-note{font-size:11px;color:#8a6b38;margin:12px 0 0;line-height:1.5}
.smartpick-product-gallery-strip{margin:0 0 26px}.smartpick-product-gallery-strip>p:last-child{margin:0}.smartpick-single-product .woocommerce-tabs{margin-top:42px}.smartpick-single-product .woocommerce-tabs ul.tabs{padding:0!important;margin:0 0 20px!important;border-bottom:1px solid var(--sp-line)}.smartpick-single-product .woocommerce-tabs ul.tabs:before{display:none!important}.smartpick-single-product .woocommerce-tabs ul.tabs li{background:transparent!important;border:0!important;margin:0 22px 0 0!important;padding:0 0 12px!important}.smartpick-single-product .woocommerce-tabs ul.tabs li:before,.smartpick-single-product .woocommerce-tabs ul.tabs li:after{display:none!important}.smartpick-single-product .woocommerce-tabs ul.tabs li a{font-weight:700;color:var(--sp-muted)!important}.smartpick-single-product .woocommerce-tabs ul.tabs li.active{border-bottom:3px solid var(--sp-gold)!important}.smartpick-single-product .woocommerce-tabs ul.tabs li.active a{color:var(--sp-navy)!important}.smartpick-single-product .related.products{margin-top:42px}.smartpick-single-product .related.products>h2{font-size:27px;color:var(--sp-navy);margin-bottom:20px}.smartpick-single-product .related ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.smartpick-single-product .related ul.products:before,.smartpick-single-product .related ul.products:after{display:none}.smartpick-single-product .related ul.products li.product{width:auto!important;margin:0!important;float:none!important}
@media(max-width:900px){.smartpick-product-main{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.smartpick-product-purchase{padding:22px}.smartpick-product-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.smartpick-use-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.smartpick-product-detail-block{grid-template-columns:1fr}.smartpick-single-product .related ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.smartpick-single-product{padding:12px 14px 40px}.smartpick-product-breadcrumbs{margin-bottom:14px}.smartpick-product-main{grid-template-columns:1fr;gap:20px}.smartpick-product-purchase{padding:20px 17px}.smartpick-product-purchase .product_title{font-size:27px}.smartpick-product-purchase .price{font-size:27px!important}.smartpick-product-gallery .flex-control-thumbs{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.smartpick-product-benefits{padding:16px 12px;gap:15px;margin:22px 0 30px}.smartpick-product-benefits article{justify-content:flex-start;gap:8px}.smartpick-benefit-icon{width:34px;height:34px;flex-basis:34px;font-size:17px}.smartpick-product-benefits strong{font-size:11px}.smartpick-product-benefits small{font-size:10px}.smartpick-product-uses{padding:28px 14px;margin-bottom:28px}.smartpick-use-grid{gap:10px}.smartpick-use-grid article{padding:17px 12px}.smartpick-product-description,.smartpick-product-specifications{padding:20px 15px}.smartpick-product-detail-block{gap:15px;margin-bottom:30px}.smartpick-purchase-assurance{gap:5px}.smartpick-purchase-assurance strong{font-size:10px}.smartpick-purchase-assurance small{font-size:9px}.smartpick-product-purchase form.cart{align-items:stretch}.smartpick-product-purchase .single_add_to_cart_button{width:100%;flex-basis:100%}.smartpick-single-product .related ul.products{gap:12px}}
/* Do not show the theme-generated duplicate dark Buy Now CTA. */
.smartpick-product-purchase form.cart .smartpick-buy-now{display:none!important}
.smartpick-product-description .smartpick-dynamic-short-description,.smartpick-product-description .smartpick-dynamic-description{font-size:14px;line-height:1.8;color:#566071}
.smartpick-product-description .smartpick-dynamic-short-description > :first-child,.smartpick-product-description .smartpick-dynamic-description > :first-child{margin-top:0}
.smartpick-product-description .smartpick-dynamic-short-description > :last-child,.smartpick-product-description .smartpick-dynamic-description > :last-child{margin-bottom:0}
.smartpick-product-specifications tr:first-child th,.smartpick-product-specifications tr:first-child td{border-top:0}

/* v1.3.2: specifications now sit directly below the purchase panel; legacy static panels are removed. */
.smartpick-product-specifications--purchase{margin-top:22px;padding:20px 0 0;border:0;border-top:1px solid var(--sp-line);border-radius:0;box-shadow:none;background:transparent}
.smartpick-product-specifications--purchase h2{font-size:22px;line-height:1.25;margin:0 0 12px;color:var(--sp-navy)}
.smartpick-product-specifications--purchase table{font-size:12px;table-layout:fixed}
.smartpick-product-specifications--purchase th,.smartpick-product-specifications--purchase td{padding:8px 9px;overflow-wrap:anywhere}
.smartpick-product-specifications--purchase th{width:38%;background:var(--sp-cream);color:var(--sp-navy);font-weight:700}
.smartpick-product-specifications--purchase .smartpick-section-eyebrow{margin-bottom:6px}
.smartpick-product-description,.smartpick-product-detail-block,.smartpick-product-gallery-strip{display:none!important}
@media(max-width:640px){.smartpick-product-specifications--purchase{margin-top:18px;padding-top:16px}.smartpick-product-specifications--purchase h2{font-size:20px}.smartpick-product-specifications--purchase th,.smartpick-product-specifications--purchase td{padding:7px 6px;font-size:11px}}


/* ================================================================
   SmartPick Modern 1.5.0 — resilient responsive product gallery
   Native WooCommerce FlexSlider remains in charge when initialized.
   A horizontal swipe-gallery fallback activates only if it is not.
   ================================================================ */
body.single-product .smartpick-product-gallery,
body.single-product .smartpick-product-gallery .woocommerce-product-gallery {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.single-product .smartpick-product-gallery .woocommerce-product-gallery {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}
body.single-product .smartpick-product-gallery .woocommerce-product-gallery .flex-viewport {
  max-width: 100%;
  box-sizing: border-box;
}
body.single-product .smartpick-product-gallery .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  object-fit: contain;
  object-position: center;
}

/* Fallback-only: single visible slide, native horizontal swipe, working thumbs. */
body.single-product .smartpick-product-gallery .woocommerce-product-gallery.smartpick-gallery-fallback {
  overflow: hidden !important;
}
body.single-product .smartpick-product-gallery .woocommerce-product-gallery.smartpick-gallery-fallback .flex-viewport {
  width: 100% !important;
  height: auto !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border: 1px solid #f0ece5;
  border-radius: 12px;
  background: #fff;
}
body.single-product .smartpick-product-gallery .woocommerce-product-gallery.smartpick-gallery-fallback .flex-viewport::-webkit-scrollbar {
  display: none;
}
body.single-product .smartpick-product-gallery .woocommerce-product-gallery.smartpick-gallery-fallback .woocommerce-product-gallery__wrapper {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  transition: none !important;
}
body.single-product .smartpick-product-gallery .woocommerce-product-gallery.smartpick-gallery-fallback .woocommerce-product-gallery__image {
  display: block !important;
  float: none !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  scroll-snap-align: start;
  box-sizing: border-box !important;
}
body.single-product .smartpick-product-gallery .woocommerce-product-gallery.smartpick-gallery-fallback .woocommerce-product-gallery__image a {
  display: block;
  width: 100%;
  line-height: 0;
}
body.single-product .smartpick-product-gallery .woocommerce-product-gallery.smartpick-gallery-fallback .woocommerce-product-gallery__image img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 72vh;
  object-fit: contain !important;
  margin: 0 auto !important;
}
body.single-product .smartpick-product-gallery .woocommerce-product-gallery.smartpick-gallery-fallback .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
body.single-product .smartpick-product-gallery .woocommerce-product-gallery.smartpick-gallery-fallback .flex-control-thumbs li {
  display: block !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
}
body.single-product .smartpick-product-gallery .woocommerce-product-gallery.smartpick-gallery-fallback .flex-control-thumbs img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain !important;
  border: 1px solid #e8dece;
  border-radius: 8px;
  background: #fff;
  opacity: .72 !important;
}
body.single-product .smartpick-product-gallery .woocommerce-product-gallery.smartpick-gallery-fallback .flex-control-thumbs img.flex-active,
body.single-product .smartpick-product-gallery .woocommerce-product-gallery.smartpick-gallery-fallback .flex-control-thumbs img:hover {
  opacity: 1 !important;
  border-color: #b77b1b;
}
@media (max-width: 767px) {
  body.single-product .smartpick-product-main {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  body.single-product .smartpick-product-gallery,
  body.single-product .smartpick-product-purchase {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  body.single-product .smartpick-product-gallery .woocommerce-product-gallery img {
    max-height: 72vh;
  }
  body.single-product .smartpick-product-purchase {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 380px) {
  body.single-product .smartpick-product-gallery .woocommerce-product-gallery.smartpick-gallery-fallback .flex-control-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
  body.single-product .smartpick-product-gallery .woocommerce-product-gallery.smartpick-gallery-fallback .woocommerce-product-gallery__image img {
    max-height: 62vh;
  }
}
