/*
Theme Name: Sebenzile Salvage Yard
Theme URI: https://shop.sebenzile.co.za
Author: Sebenzile
Author URI: https://sebenzile.co.za
Description: Full WooCommerce theme for the Sebenzile Salvage Yard shop (shop.sebenzile.co.za). Includes home, a full-width shop archive with a JS-toggled filter panel, single product, cart, and contact templates, sharing the same brand system as the main sebenzile.co.za site.
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
Requires Plugins: woocommerce
Text Domain: sebenzile-shop
*/

/* =========================================================
   1. RESET & BASE
   ========================================================= */
:root{
	--dark:#201630;--dark-soft:#2c2043;--green:#4c7a3f;--green-dark:#3c6231;--green-light:#e9f1e6;
	--cream:#faf9fb;--gray:#6d6779;--light-gray:#f3f1f6;--white:#ffffff;--radius:14px;
	--shadow:0 10px 30px rgba(32,22,48,0.08);--shadow-soft:0 6px 18px rgba(32,22,48,0.06);
}
*,*::before,*::after{box-sizing:border-box;}
body{margin:0;font-family:'Work Sans',sans-serif;color:var(--dark);background:var(--white);-webkit-font-smoothing:antialiased;}
h1,h2,h3,h4{font-family:'Poppins',sans-serif;margin:0 0 .5em;line-height:1.2;}
p{line-height:1.7;color:var(--gray);}
a{text-decoration:none;color:inherit;}
img{max-width:100%;display:block;}
ul{margin:0;}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px;}
.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:12.5px;font-weight:600;color:var(--green);margin-bottom:10px;display:inline-block;}
.btn{display:inline-flex;align-items:center;gap:8px;padding:14px 30px;border-radius:50px;font-weight:600;font-size:14.5px;border:2px solid transparent;cursor:pointer;transition:all .2s ease;}
.btn-green{background:var(--green);color:#fff;}
.btn-green:hover{background:var(--green-dark);color:#fff;}
.btn-outline{background:transparent;border-color:#ffffff55;color:#fff;}
.btn-outline:hover{border-color:#fff;background:#ffffff14;}
.screen-reader-text{position:absolute;left:-9999px;}

/* =========================================================
   2. HEADER / NAV
   ========================================================= */
.site-header{position:sticky;top:0;z-index:999;padding:18px 24px 0;}
.nav-pill{max-width:1180px;margin:0 auto;background:var(--dark);border-radius:60px;display:flex;align-items:center;justify-content:space-between;padding:10px 12px 10px 22px;box-shadow:var(--shadow);}
.nav-pill .logo{display:flex;align-items:center;gap:10px;color:#fff;font-family:'Poppins',sans-serif;font-weight:700;font-size:18px;}
.nav-pill .logo img{height:48px;width:auto;}
.main-nav{display:flex;align-items:center;gap:26px;}
.main-nav a{color:#e8e5ee;font-size:14px;font-weight:500;letter-spacing:.02em;transition:color .2s;}
.main-nav a:hover,.main-nav a.is-current{color:var(--green);}
.header-actions{display:flex;align-items:center;gap:14px;}
.header-actions .btn-green{padding:12px 26px;}
.cart-link{position:relative;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#ffffff14;color:#fff;flex:0 0 44px;}
.cart-link:hover{background:var(--green);}
.cart-link svg{width:19px;height:19px;}
.cart-count{position:absolute;top:-4px;right:-4px;background:var(--green);color:#fff;font-size:10.5px;font-weight:700;min-width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:0 3px;border:2px solid var(--dark);}
.cart-count.is-zero{display:none;}
.hamburger{display:none;flex-direction:column;gap:5px;background:transparent;border:0;cursor:pointer;padding:10px;}
.hamburger span{width:22px;height:2px;background:#fff;border-radius:2px;}

.overlay-backdrop{position:fixed;inset:0;background:rgba(12,8,20,.55);z-index:1150;opacity:0;pointer-events:none;transition:opacity .35s ease;}
.overlay-backdrop.is-open{opacity:1;pointer-events:auto;}
.overlay-menu{position:fixed;top:0;right:0;bottom:0;width:340px;max-width:86vw;background:var(--dark);z-index:1200;display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:96px 32px 32px;overflow-y:auto;box-shadow:-16px 0 46px rgba(0,0,0,.4);transform:translateX(100%);transition:transform .45s cubic-bezier(.77,0,.18,1);}
.overlay-menu.is-open{transform:translateX(0);}
.overlay-menu a{font-family:'Poppins',sans-serif;font-size:21px;font-weight:600;color:#fff;padding:13px 0;width:100%;border-bottom:1px solid #ffffff17;}
.overlay-menu a:hover{color:var(--green);}
.overlay-close{position:absolute;top:26px;right:26px;background:none;border:0;color:#fff;font-size:28px;cursor:pointer;line-height:1;}
.overlay-contact{margin-top:auto;padding-top:28px;width:100%;}
.overlay-contact .item{display:flex;gap:12px;align-items:flex-start;margin-bottom:18px;}
.overlay-contact .item:last-child{margin-bottom:0;}
.overlay-contact .icon{width:36px;height:36px;border-radius:50%;background:#ffffff14;display:flex;align-items:center;justify-content:center;flex:0 0 36px;font-size:14px;color:var(--green-light);}
.overlay-contact .label{font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:#b7b0c6;margin-bottom:2px;}
.overlay-contact strong,.overlay-contact a.oc-link{font-size:14px;color:#fff;font-weight:600;}

/* =========================================================
   3. HERO SECTIONS (home + inner page title hero)
   ========================================================= */
.shop-hero{position:relative;height:500px;display:flex;align-items:center;overflow:hidden;margin-top:-92px;padding-top:92px;background-size:cover;background-position:center;background-color:var(--dark);}
.shop-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;}
.shop-hero::before{content:'';position:absolute;inset:0;background:rgba(20,14,30,.55);z-index:1;}
.shop-hero .wrap{position:relative;z-index:2;width:100%;}
.shop-hero-inner{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;}
.shop-hero .hero-content{color:#fff;max-width:480px;}
.shop-hero .hero-content .eyebrow{color:var(--green-light);}
.shop-hero .hero-content h1{font-size:36px;color:#fff;font-weight:700;}
.shop-hero .hero-content p{color:#e3dfec;font-size:15.5px;margin-bottom:24px;}
.shop-hero .hero-cta{display:flex;gap:14px;flex-wrap:wrap;}
.hero-collage{position:relative;height:360px;}
.hero-collage .collage-item{position:absolute;display:block;border-radius:14px;overflow:hidden;background:#fff;padding:7px;box-shadow:0 22px 40px rgba(0,0,0,.38);transition:transform .25s ease;}
.hero-collage .collage-item:hover{transform:translateY(-6px) scale(1.02);z-index:5 !important;}
.hero-collage .collage-item img{width:100%;height:100%;object-fit:cover;border-radius:8px;display:block;}
.hero-collage .item-1{width:54%;height:62%;top:0;left:0;transform:rotate(-4deg);z-index:3;}
.hero-collage .item-2{width:46%;height:50%;top:6%;right:0;transform:rotate(3deg);z-index:2;}
.hero-collage .item-3{width:40%;height:44%;bottom:0;left:8%;transform:rotate(2deg);z-index:4;}
.hero-collage .item-4{width:38%;height:40%;bottom:4%;right:8%;transform:rotate(-3deg);z-index:1;}

.page-hero{position:relative;height:320px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-top:-92px;padding-top:92px;background:var(--dark);background-size:cover;background-position:center;}
.page-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;}
.page-hero::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,14,30,.55) 0%,rgba(20,14,30,.8) 100%);z-index:1;}
.page-hero .wrap{position:relative;z-index:2;text-align:center;margin:0 auto;}
.page-hero .eyebrow{color:var(--green-light);}
.page-hero h1{color:#fff;font-size:36px;font-weight:700;margin-bottom:0;}

/* =========================================================
   4. SECTIONS / HOME GRID BLOCKS
   ========================================================= */
.section{padding:90px 0;}
.section-alt{background:var(--light-gray);}
.section-head{max-width:640px;margin:0 auto 50px;text-align:center;}
.section-head h2{font-size:32px;}

.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.category-card{position:relative;border-radius:var(--radius);overflow:hidden;aspect-ratio:4/3;box-shadow:var(--shadow-soft);transition:transform .25s ease,box-shadow .25s ease;background:var(--light-gray);}
.category-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);}
.category-card img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease;}
.category-card:hover img{transform:scale(1.06);}
.category-card::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(32,22,48,.82) 100%);}
.category-card span{position:absolute;left:20px;bottom:16px;z-index:2;color:#fff;font-family:'Poppins',sans-serif;font-weight:600;font-size:16px;}
.category-card small{position:absolute;right:18px;bottom:18px;z-index:2;color:var(--green-light);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;}

.feature-strip{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;align-items:stretch;}
.feature-photo{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-soft);height:100%;min-height:320px;}
.feature-photo img{width:100%;height:100%;object-fit:cover;}
.feature-copy{background:var(--dark);border-radius:var(--radius);padding:44px 38px;color:#fff;display:flex;flex-direction:column;justify-content:center;}
.feature-copy .eyebrow{color:var(--green-light);}
.feature-copy h2{color:#fff;font-size:28px;}
.feature-copy p{color:#d9d6e2;margin-bottom:24px;}
.feature-copy .price{display:block;color:var(--green-light);font-size:22px;font-weight:700;margin-bottom:22px;}
.feature-copy .price del{color:#b7b0c6;opacity:.7;font-weight:400;margin-right:8px;}
.feature-copy .feature-cta{display:flex;gap:14px;flex-wrap:wrap;}

.apart-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.apart-card{background:#fff;border-radius:var(--radius);padding:30px 24px;box-shadow:var(--shadow-soft);transition:transform .25s ease,box-shadow .25s ease;}
.apart-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);}
.apart-card .ic{width:44px;height:44px;border-radius:50%;background:var(--green-light);color:var(--green-dark);display:flex;align-items:center;justify-content:center;font-size:18px;margin-bottom:16px;}
.apart-card h3{font-size:16px;}
.apart-card p{font-size:14px;margin:0;}

.legal-content{max-width:820px;margin:0 auto;}
.legal-content h2{font-size:22px;margin-top:44px;}
.legal-content h2:first-child{margin-top:0;}
.legal-content ul,.legal-content ol{color:var(--gray);line-height:1.8;padding-left:22px;}
.legal-content li{margin-bottom:6px;}

.contact-section{position:relative;background-size:cover;background-position:center;background-attachment:fixed;}
.contact-section::before{content:'';position:absolute;inset:0;background:rgba(0,0,0,.3);z-index:0;}
.contact-section .wrap{position:relative;z-index:1;}
.contact-section .section-head .eyebrow{color:var(--green-light);}
.contact-section .section-head h2{color:#fff;}
.contact-wrap{display:grid;grid-template-columns:.85fr 1.4fr;gap:26px;align-items:stretch;}
.contact-info{background:rgba(32,22,48,.72);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:var(--radius);padding:38px 30px;color:#fff;box-shadow:0 16px 40px rgba(0,0,0,.25);border:1px solid #ffffff1a;}
.contact-info .item{display:flex;gap:14px;align-items:flex-start;margin-bottom:28px;}
.contact-info .item:last-child{margin-bottom:0;}
.contact-info .icon{width:42px;height:42px;border-radius:50%;background:#ffffff14;display:flex;align-items:center;justify-content:center;flex:0 0 42px;}
.contact-info .label{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#b7b0c6;margin-bottom:2px;}
.contact-info strong{font-size:15.5px;}
.contact-form{background:rgba(255,255,255,.9);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:var(--radius);padding:40px;box-shadow:0 16px 40px rgba(0,0,0,.25);}
.contact-form h2{font-size:26px;}
.contact-form--cf7 .wpcf7-form{margin-top:0;}
.contact-form--cf7 .wpcf7-form p{margin:0 0 18px;}
.contact-form--cf7 .wpcf7-form label{display:block;font-size:13.5px;font-weight:600;margin-bottom:8px;}
.contact-form--cf7 .wpcf7-form input[type=text],
.contact-form--cf7 .wpcf7-form input[type=email],
.contact-form--cf7 .wpcf7-form input[type=tel],
.contact-form--cf7 .wpcf7-form textarea,
.contact-form--cf7 .wpcf7-form select{width:100%;padding:13px 16px;border:1px solid #e3e0ea;border-radius:10px;font-family:inherit;font-size:14.5px;background:var(--cream);}
.contact-form--cf7 .wpcf7-form input:focus,
.contact-form--cf7 .wpcf7-form textarea:focus,
.contact-form--cf7 .wpcf7-form select:focus{outline:2px solid var(--green);outline-offset:1px;}
.contact-form--cf7 .wpcf7-form textarea{min-height:110px;resize:vertical;}
.contact-form--cf7 .wpcf7-form input[type=submit]{display:inline-flex;align-items:center;gap:8px;padding:14px 30px;border-radius:50px;font-weight:600;font-size:14.5px;border:2px solid transparent;cursor:pointer;background:var(--green);color:#fff;width:100%;justify-content:center;margin-top:6px;transition:background .2s ease;}
.contact-form--cf7 .wpcf7-form input[type=submit]:hover{background:var(--green-dark);}
.contact-form--cf7 .wpcf7-response-output{border-radius:10px;margin-top:16px;font-size:13.5px;padding:12px 16px !important;}

/* Native fallback contact form (used when Contact Form 7 isn't active) */
.contact-form--native form p{margin:0 0 18px;}
.contact-form--native form label{display:block;font-size:13.5px;font-weight:600;margin-bottom:8px;}
.contact-form--native form input[type=text],
.contact-form--native form input[type=email],
.contact-form--native form input[type=tel],
.contact-form--native form textarea{width:100%;padding:13px 16px;border:1px solid #e3e0ea;border-radius:10px;font-family:inherit;font-size:14.5px;background:var(--cream);}
.contact-form--native form input:focus,
.contact-form--native form textarea:focus{outline:2px solid var(--green);outline-offset:1px;}
.contact-form--native form textarea{min-height:110px;resize:vertical;}

.empty-shop{text-align:center;background:#fff;border-radius:var(--radius);padding:50px 30px;box-shadow:var(--shadow-soft);}

/* =========================================================
   5. FOOTER
   ========================================================= */
.site-footer{background:var(--dark);color:#d9d6e2;padding:70px 0 0;margin-top:90px;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:40px;padding-bottom:50px;border-bottom:1px solid #ffffff1a;}
.footer-grid .logo{display:flex;align-items:center;gap:10px;color:#fff;font-family:'Poppins',sans-serif;font-weight:700;font-size:19px;margin-bottom:16px;}
.footer-grid .logo img{height:42px;}
.footer-grid p{color:#b7b0c6;font-size:14px;}
.footer-grid h4{color:#fff;font-size:15px;margin-bottom:18px;}
.footer-links{list-style:none;padding:0;margin:0;display:grid;gap:12px;}
.footer-links a{color:#c9c4d6;font-size:14px;}
.footer-links a:hover{color:var(--green-light);}
.social-row{display:flex;gap:12px;margin-top:18px;}
.social-row a{width:36px;height:36px;border-radius:50%;background:#ffffff14;display:flex;align-items:center;justify-content:center;font-size:14px;color:#fff;}
.social-row a:hover{background:var(--green);}
.footer-bottom{text-align:center;padding:22px 0;font-size:13px;color:#948d9f;}

/* =========================================================
   6. WOOCOMMERCE — GLOBAL
   ========================================================= */
.shop-main{padding:70px 0 100px;}
.woocommerce-notices-wrapper{max-width:1180px;margin:0 auto 24px;padding:0 24px;}
.woocommerce-message,.woocommerce-info,.woocommerce-error{background:var(--green-light);border:none;border-radius:12px;padding:16px 22px !important;color:var(--dark);list-style:none;margin:0 0 20px;box-shadow:var(--shadow-soft);}
.woocommerce-error{background:#fbe9e7;}
.woocommerce-message a.button,.woocommerce-error a.button{background:var(--green);color:#fff;border-radius:50px;padding:8px 18px;margin-left:12px;}
.woocommerce-breadcrumb{color:#d9d6e2;font-size:13.5px;margin:0;}
.woocommerce-breadcrumb a{color:var(--green-light);}

/* Star ratings */
.star-rating{color:var(--green);}
.star-rating::before{color:#ddd8e4;}
.star-rating span::before{color:var(--green);}

/* =========================================================
   7. SHOP ARCHIVE (full width — no sorting/filters, categories carousel)
   ========================================================= */
.shop-full-width{width:100%;}

/* Horizontally-scrolling category strip above the product grid. */
.shop-categories-carousel{margin-bottom:44px;}
.shop-categories-carousel .carousel-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:18px;}
.shop-categories-carousel .carousel-head h2{font-size:20px;margin:0;}
.category-carousel-track{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:6px;scrollbar-width:thin;}
.category-carousel-track::-webkit-scrollbar{height:6px;}
.category-carousel-track::-webkit-scrollbar-thumb{background:#ddd8e4;border-radius:6px;}
.category-carousel-track .category-pill{scroll-snap-align:start;flex:0 0 auto;width:170px;position:relative;border-radius:var(--radius);overflow:hidden;aspect-ratio:4/3;box-shadow:var(--shadow-soft);transition:transform .25s ease,box-shadow .25s ease;background:var(--light-gray);}
.category-carousel-track .category-pill:hover{transform:translateY(-6px);box-shadow:var(--shadow);}
.category-carousel-track .category-pill img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease;}
.category-carousel-track .category-pill:hover img{transform:scale(1.06);}
.category-carousel-track .category-pill::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(32,22,48,.82) 100%);}
.category-carousel-track .category-pill span{position:absolute;left:16px;bottom:14px;z-index:2;color:#fff;font-family:'Poppins',sans-serif;font-weight:600;font-size:14.5px;}
.category-carousel-track .category-pill.is-current{outline:2px solid var(--green);outline-offset:-2px;}

/* Product grid — reskin of default WooCommerce markup. Always 4 columns
   (home teaser, shop archive, related products) so nothing has to
   override the column count. grid-auto-rows + min-width:0 keep every
   card the same height and stop long titles/prices from forcing a
   column wider than its 1fr track (the classic cause of a grid
   appearing to "lose" its first item off the edge of the row). */
.woocommerce ul.products{display:grid !important;grid-template-columns:repeat(4,1fr) !important;grid-auto-rows:1fr;gap:24px;list-style:none;margin:0 !important;padding:0;overflow:visible;}
/* WooCommerce's own default stylesheet adds a clearfix via
   `ul.products:before, ul.products:after { content:' '; display:table; }`
   for its old float-based grid. Inside a CSS Grid container those generated
   boxes still count as real (invisible) grid items — the `:before` one
   was taking grid cell #1, pushing every actual product over by one and
   making the row look like it was missing its first item. Removing the
   generated content stops the browser creating those phantom items. */
.woocommerce ul.products::before,
.woocommerce ul.products::after{content:none !important;display:none !important;}
.woocommerce ul.products li.product{min-width:0;background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-soft);transition:transform .25s ease,box-shadow .25s ease;position:relative;text-align:left;width:100% !important;margin:0 !important;float:none;display:flex;flex-direction:column;}
.woocommerce ul.products li.product:hover{transform:translateY(-6px);box-shadow:var(--shadow);}
.woocommerce ul.products li.product a img{aspect-ratio:1/1;object-fit:cover;width:100%;margin:0 0 0;border-radius:0;}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:block;color:inherit;}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15.5px;font-weight:600;font-family:'Poppins',sans-serif;padding:18px 20px 4px;margin:0;}
.woocommerce ul.products li.product .price{padding:0 20px 6px;font-weight:700;color:var(--green-dark);font-size:15px;display:block;}
.woocommerce ul.products li.product .price ins{text-decoration:none;}
.woocommerce ul.products li.product .price del{color:var(--gray);opacity:.6;margin-right:6px;font-weight:400;}
.woocommerce ul.products li.product .star-rating{margin:0 20px 8px;}
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.added_to_cart{display:block;margin:6px 20px 20px;text-align:center;background:var(--green);color:#fff;border-radius:50px;padding:11px 16px;font-size:13.5px;font-weight:600;transition:background .2s ease;}
.woocommerce ul.products li.product a.button:hover{background:var(--green-dark);}
.woocommerce ul.products li.product a.added_to_cart{background:var(--dark);margin-top:0;}
.woocommerce ul.products li.product .onsale{position:absolute;top:14px;left:14px;background:var(--dark);color:#fff;font-size:11px;font-weight:700;letter-spacing:.04em;padding:5px 12px;border-radius:50px;z-index:2;}
.woocommerce ul.products li.product .button.loading::after{content:'';display:inline-block;width:12px;height:12px;border:2px solid #ffffff88;border-top-color:#fff;border-radius:50%;margin-left:8px;animation:sebenzile-spin .6s linear infinite;vertical-align:middle;}
@keyframes sebenzile-spin{to{transform:rotate(360deg);}}

.woocommerce nav.woocommerce-pagination{margin-top:50px;text-align:center;}
.woocommerce nav.woocommerce-pagination ul{display:inline-flex;list-style:none;padding:0;gap:8px;border:0;background:none;}
.woocommerce nav.woocommerce-pagination ul li{border:0;}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#fff;box-shadow:var(--shadow-soft);color:var(--dark);font-size:13.5px;font-weight:600;}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover{background:var(--green);color:#fff;}

/* =========================================================
   8. SINGLE PRODUCT
   ========================================================= */
.single-product-wrap{padding-bottom:20px;}
.woocommerce div.product{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:flex-start;margin-bottom:70px;}
.woocommerce div.product div.images{margin:0;}
.woocommerce div.product div.images img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:var(--radius);box-shadow:var(--shadow-soft);}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images .flex-viewport{width:100%;}
.woocommerce div.product .flex-control-thumbs{display:flex;gap:10px;margin-top:14px;padding:0;list-style:none;}
.woocommerce div.product .flex-control-thumbs li{width:80px;}
.woocommerce div.product .flex-control-thumbs img{border-radius:8px;opacity:.7;cursor:pointer;transition:opacity .2s;}
.woocommerce div.product .flex-control-thumbs img.flex-active,
.woocommerce div.product .flex-control-thumbs img:hover{opacity:1;}
.woocommerce div.product div.summary{margin:0;}
.woocommerce div.product .product_title{font-size:30px;margin-bottom:12px;}
.woocommerce div.product p.price,
.woocommerce div.product span.price{color:var(--green-dark);font-size:24px;font-weight:700;margin-bottom:18px;display:block;}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del{color:var(--gray);opacity:.55;font-size:17px;font-weight:400;margin-right:10px;}
.woocommerce div.product .woocommerce-product-details__short-description{color:var(--gray);margin-bottom:24px;}
.woocommerce div.product .stock{display:inline-block;background:var(--green-light);color:var(--green-dark);font-size:13px;font-weight:600;padding:6px 16px;border-radius:50px;margin-bottom:20px;}
.woocommerce div.product .stock.out-of-stock{background:#fbe9e7;color:#a63a2e;}
.woocommerce div.product form.cart{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:10px;}
.woocommerce div.product form.cart .quantity{margin:0;}
.woocommerce div.product form.cart .qty{width:70px;padding:14px 12px;border:1px solid #e3e0ea;border-radius:10px;font-family:inherit;font-size:15px;text-align:center;background:var(--cream);}
.woocommerce div.product form.cart .single_add_to_cart_button{background:var(--green);color:#fff;border:0;border-radius:50px;padding:15px 34px;font-weight:600;font-size:14.5px;cursor:pointer;transition:background .2s ease;}
.woocommerce div.product form.cart .single_add_to_cart_button:hover{background:var(--green-dark);}
.woocommerce div.product form.cart .button.disabled{opacity:.5;cursor:not-allowed;}
.woocommerce div.product .variations{margin-bottom:20px;width:100%;}
.woocommerce div.product .variations td{padding:8px 0;}
.woocommerce div.product .variations select{padding:12px 16px;border:1px solid #e3e0ea;border-radius:10px;font-family:inherit;background:var(--cream);min-width:220px;}
.woocommerce div.product .woocommerce-variation-price .price{font-size:20px;margin:0;}
.woocommerce div.product .reset_variations{font-size:12.5px;color:var(--green-dark);margin-left:10px;}

.woocommerce-tabs{margin-top:40px;}
.woocommerce-tabs ul.tabs{display:flex;gap:8px;list-style:none;padding:0;margin:0 0 -1px;border-bottom:1px solid var(--light-gray);}
.woocommerce-tabs ul.tabs li{border:0;background:none;padding:0;margin:0;}
.woocommerce-tabs ul.tabs li a{display:block;padding:14px 24px;font-weight:600;font-size:14px;color:var(--gray);border-bottom:2px solid transparent;}
.woocommerce-tabs ul.tabs li.active a{color:var(--dark);border-bottom-color:var(--green);}
.woocommerce-tabs .panel{padding:34px 0;max-width:820px;}
.woocommerce-Reviews #comments{margin-top:0;}
.woocommerce #reviews .comment-form input,
.woocommerce #reviews .comment-form textarea{padding:12px 16px;border:1px solid #e3e0ea;border-radius:10px;font-family:inherit;background:var(--cream);width:100%;}
.woocommerce #reviews .comment-form #submit{background:var(--green);color:#fff;border:0;border-radius:50px;padding:14px 30px;font-weight:600;cursor:pointer;}

/* Related products sit inside the same grid as the gallery/summary columns
   above (.woocommerce div.product is a 2-column grid) — without an explicit
   full-width span here it lands in a single 1fr track and squeezes the
   4-column product grid down to roughly half-width, which is what made the
   first related product look cut off/missing. Spanning both columns puts
   it cleanly on its own full-width row underneath. */
.related.products{grid-column:1/-1;width:100%;margin-top:80px;}
.related.products > h2{font-size:26px;margin-bottom:34px;}

@media(max-width:860px){
	.woocommerce div.product{grid-template-columns:1fr;gap:30px;}
}

/* =========================================================
   9. CART / CHECKOUT / MY ACCOUNT (generic page shortcode styling)
   ========================================================= */
.woocommerce-cart-form table.shop_table,
table.shop_table{width:100%;border-collapse:collapse;background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-soft);}
table.shop_table thead th{background:var(--dark);color:#fff;text-align:left;padding:16px 18px;font-size:12.5px;text-transform:uppercase;letter-spacing:.05em;font-weight:600;}
table.shop_table td{padding:18px;border-bottom:1px solid var(--light-gray);vertical-align:middle;font-size:14.5px;}
table.shop_table tr:last-child td{border-bottom:0;}
table.shop_table td.product-thumbnail img{width:72px;border-radius:10px;}
table.shop_table td.product-name a{font-weight:600;color:var(--dark);}
.woocommerce-cart-form .quantity .qty{width:64px;padding:10px;border:1px solid #e3e0ea;border-radius:8px;text-align:center;font-family:inherit;}
.woocommerce a.remove{color:#a63a2e !important;font-size:18px;font-weight:700;border-radius:50%;}
.woocommerce-cart-form button[name="update_cart"],
.checkout-button,
.woocommerce a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce button.button{background:var(--green);color:#fff !important;border:0;border-radius:50px;padding:14px 30px;font-weight:600;font-size:14px;cursor:pointer;transition:background .2s ease;}
.woocommerce-cart-form button[name="update_cart"]:hover,
.woocommerce button.button:hover{background:var(--green-dark);}
.cart-collaterals{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:34px;}
.cart_totals{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-soft);padding:30px;}
.cart_totals h2{font-size:20px;}
.cart_totals table{width:100%;}
.cart_totals table th,.cart_totals table td{padding:12px 0;border-bottom:1px solid var(--light-gray);font-size:14px;}
.cart_totals .order-total .amount{font-weight:700;color:var(--green-dark);font-size:18px;}
.woocommerce-shipping-calculator .shipping-calculator-button{color:var(--green-dark);font-weight:600;}
.woocommerce-coupon-form{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.woocommerce-coupon-form input[name="coupon_code"]{padding:12px 16px;border:1px solid #e3e0ea;border-radius:10px;font-family:inherit;background:var(--cream);}
.woocommerce-coupon-form button[name="apply_coupon"]{background:var(--dark);color:#fff;border:0;border-radius:50px;padding:12px 26px;font-weight:600;cursor:pointer;}
.woocommerce-cart .cart-empty{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-soft);padding:50px 30px;text-align:center;font-size:16px;}
.woocommerce-cart .wc-proceed-to-checkout{text-align:right;margin-top:20px;}

.woocommerce-checkout #customer_details,
.woocommerce-checkout table.shop_table{margin-bottom:30px;}
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea{width:100%;padding:13px 16px;border:1px solid #e3e0ea;border-radius:10px;font-family:inherit;background:var(--cream);}
.woocommerce-checkout #payment{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-soft);padding:26px;margin-top:20px;}
.woocommerce-checkout #payment ul.payment_methods{list-style:none;padding:0;}
.woocommerce-checkout #place_order{width:100%;background:var(--green);color:#fff;border:0;border-radius:50px;padding:16px;font-weight:700;font-size:15px;cursor:pointer;}

.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;display:grid;gap:6px;}
.woocommerce-MyAccount-navigation a{display:block;padding:12px 18px;border-radius:10px;background:#fff;box-shadow:var(--shadow-soft);font-weight:600;font-size:14px;}
.woocommerce-MyAccount-navigation .is-active a{background:var(--green);color:#fff;}
.woocommerce-MyAccount-content{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-soft);padding:30px;}
.woocommerce-account .woocommerce{display:grid;grid-template-columns:220px 1fr;gap:30px;align-items:start;}

/* =========================================================
   10. RESPONSIVE
   ========================================================= */
@media(max-width:960px){
	.main-nav,.header-actions .btn-green{display:none;}
	.hamburger{display:flex;}
	.shop-hero{height:auto;padding:190px 0 50px;}
	.shop-hero-inner{grid-template-columns:1fr;gap:30px;}
	.shop-hero .hero-content h1{font-size:28px;}
	.hero-collage{height:300px;max-width:400px;margin:0 auto;}
	.page-hero{height:260px;}
	.page-hero h1{font-size:28px;}
	.category-grid{grid-template-columns:1fr;}
	.feature-strip{grid-template-columns:1fr;}
	.apart-grid{grid-template-columns:repeat(2,1fr);}
	.contact-wrap{grid-template-columns:1fr;}
	.footer-grid{grid-template-columns:1fr 1fr;}
	.woocommerce ul.products{grid-template-columns:repeat(2,1fr);}
	.category-carousel-track .category-pill{width:140px;}
	.cart-collaterals{grid-template-columns:1fr;}
	.woocommerce-account .woocommerce{grid-template-columns:1fr;}
}
@media(max-width:600px){
	.woocommerce ul.products{grid-template-columns:1fr;}
	table.shop_table thead{display:none;}
	table.shop_table tr{display:block;padding:14px 0;border-bottom:1px solid var(--light-gray);}
	table.shop_table td{display:flex;justify-content:space-between;align-items:center;border:0;padding:8px 18px;}
	table.shop_table td::before{content:attr(data-title);font-weight:600;color:var(--gray);font-size:12px;text-transform:uppercase;margin-right:12px;}
}
@media(max-width:480px){
	.hero-collage{height:260px;}
}
