@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//gravomaxfitness.co.nz/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.1.1") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//gravomaxfitness.co.nz/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//gravomaxfitness.co.nz/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//gravomaxfitness.co.nz/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//gravomaxfitness.co.nz/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//gravomaxfitness.co.nz/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//gravomaxfitness.co.nz/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//gravomaxfitness.co.nz/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//gravomaxfitness.co.nz/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Josefin Sans", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 500;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 16px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(17,17,17);
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: rgb(17,17,17);
	--wd-entities-title-color-hover: rgb(17, 17, 17);
	--wd-alternative-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(17,17,17);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Josefin Sans", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgb(221,51,51);
	--wd-alternative-color: rgb(255,224,53);
	--wd-link-color: rgb(17,17,17);
	--wd-link-color-hover: rgb(17,17,17);
	--btn-default-font-family: "Josefin Sans", Arial, Helvetica, sans-serif;
	--btn-default-font-weight: 700;
	--btn-default-transform: uppercase;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-font-family: "Josefin Sans", Arial, Helvetica, sans-serif;
	--btn-accented-font-weight: 700;
	--btn-accented-transform: uppercase;
	--btn-accented-bgcolor: rgb(156,30,22);
	--btn-accented-bgcolor-hover: rgb(227,30,36);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(221,51,51);
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 600px;
	--wd-popup-padding: 0px;
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: rgb(255,255,255);
	background-image: url(https://gravomaxfitness.co.nz/wp-content/uploads/2021/09/sport-row-bg.png);
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(12,14,18);
	background-image: none;
}
.product-labels .product-label.onsale {
	background-color: rgb(227,30,36);
}
.product-labels .product-label.out-of-stock {
	background-color: rgb(227,30,36);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-bottom-active: -1px;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-default-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


/* =========================================
   GravoMax Weight Stack - Complete Premium CSS
   Targeting data-id="pa_weight-stack" based on actual HTML
========================================= */

/* 1. Ensure the swatch container supports wrapping so the title sits on its own line */
.product-grid-item .wd-swatches-grid[data-id="pa_weight-stack"] {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

/* 2. Inject the "WEIGHT STACK:" label text above the buttons in product grid */
.product-grid-item .wd-swatches-grid[data-id="pa_weight-stack"]::before {
    content: "WEIGHT STACK:" !important;  
    display: block !important;
    width: 100% !important;                
    font-size: 13px !important;            
    font-weight: 600 !important;          
    color: #444 !important;                
    margin-bottom: 10px !important;        
    font-family: "Josefin Sans", sans-serif !important;
    text-transform: uppercase !important; 
    letter-spacing: 0.5px !important;
    text-align: left !important;
}

/* 3. Premium UI Styling for the Swatch Buttons */
.wd-swatches-grid[data-id="pa_weight-stack"] .wd-swatch.wd-text {
    padding: 10px 18px !important; 
    min-width: 80px !important;    
    height: auto !important;
    font-size: 14px !important;    
    font-weight: 600 !important;   
    border: 2px solid #777777 !important; 
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12) !important; 
    border-radius: 6px !important; 
    color: #222 !important;        
    background-color: #fff !important; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important; 
    font-family: "Josefin Sans", sans-serif !important; 
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 4px !important;
    user-select: none !important;
    box-sizing: border-box !important;
}

/* 4. Hover Interaction Effects (Desktop Only) */
@media (min-width: 1025px) {
    .wd-swatches-grid[data-id="pa_weight-stack"] .wd-swatch.wd-text:hover {
        border-color: #e31e24 !important; 
        color: #e31e24 !important;        
        transform: translateY(-3px) !important;      
        box-shadow: 0 8px 16px rgba(227, 30, 36, 0.2) !important; 
    }
}

/* 5. Active (Selected) State */
.wd-swatches-grid[data-id="pa_weight-stack"] .wd-swatch.wd-text.wd-active {
    border-color: #111 !important;    
    background-color: #111 !important;
    color: #fff !important;            
    transform: translateY(0) !important;          
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3) !important; 
}

/* 6. Center text inside button */
.wd-swatches-grid[data-id="pa_weight-stack"] .wd-swatch.wd-text .wd-swatch-text {
    display: inline-block !important;
    line-height: 1.2 !important;
}

/* 7. Style the Native "Weight Stack" Label on Single Product Page */
.variations form.cart .label label[for="pa_weight-stack"],
th.label label[for="pa_weight-stack"] {
    font-size: 13px !important;            
    font-weight: 600 !important;          
    color: #444 !important;                
    font-family: "Josefin Sans", sans-serif !important;
    text-transform: uppercase !important; 
    letter-spacing: 0.5px !important;
}

/* =========================================
   Responsive Adjustments (Tablet & Mobile)
========================================= */

/* Tablet Responsiveness */
@media (max-width: 1024px) {
    .wd-swatches-grid[data-id="pa_weight-stack"] .wd-swatch.wd-text {
        padding: 9px 16px !important; 
        min-width: 75px !important;   
        font-size: 13px !important;   
    }
}

/* Mobile Responsiveness (Fixed for Side-by-Side) */
@media (max-width: 767px) {
    .wd-swatches-grid[data-id="pa_weight-stack"] .wd-swatch.wd-text {
        /* Force each button to take up about half the space, offsetting the margin width */
        flex: 1 1 calc(50% - 6px) !important; 
        min-width: 0 !important; /* Crucial: Remove min-width restriction */
        padding: 6px 2px !important; /* Minimize left and right padding to make room for text */
        font-size: 11px !important; /* Reduce font size to ensure 100KGx2 displays completely */
        margin: 3px !important; 
        border-width: 1.5px !important; 
        border-radius: 4px !important;  
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important; 
    }
}
/* =========================================
   GravoMax Size Attribute - Two-Row Compact Grid
   Targeting data-id="pa_size"
========================================= */

/* 1. Container setup: allow wrapping so items naturally fall into 2 rows */
.product-grid-item .wd-swatches-grid[data-id="pa_size"] {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin-bottom: 10px !important;
}

/* 2. "SIZE:" label takes the full first line */
.product-grid-item .wd-swatches-grid[data-id="pa_size"]::before {
    content: "SIZE:" !important;  
    display: block !important;
    width: 100% !important;                
    font-size: 12px !important;            
    font-weight: 600 !important;          
    color: #444 !important;                
    margin-bottom: 6px !important;        
    font-family: "Josefin Sans", sans-serif !important;
    text-transform: uppercase !important; 
    letter-spacing: 0.5px !important;
    text-align: left !important;
}

/* 3. Two-Row Grid Buttons (Desktop, Tablet & Mobile)
   Using a 4-column layout per row (width: calc(25% - 4px)) so 7-8 items fit perfectly in 2 rows */
.wd-swatches-grid[data-id="pa_size"] .wd-swatch.wd-text {
    flex: 0 0 calc(25% - 4px) !important; /* Force 4 items per row */
    max-width: calc(25% - 4px) !important;
    min-width: 0 !important; 
    padding: 6px 2px !important; 
    font-size: 11px !important; 
    font-weight: 600 !important;   
    border: 1.5px solid #777777 !important; 
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important; 
    border-radius: 4px !important; 
    color: #222 !important;        
    background-color: #fff !important; 
    transition: all 0.2s ease !important; 
    font-family: "Josefin Sans", sans-serif !important; 
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 2px !important; /* Tight spacing to keep rows close */
    box-sizing: border-box !important;
    text-align: center !important;
}

/* 4. Hover Interaction */
@media (min-width: 1025px) {
    .wd-swatches-grid[data-id="pa_size"] .wd-swatch.wd-text:hover {
        border-color: #e31e24 !important; 
        color: #e31e24 !important;        
        transform: translateY(-2px) !important;      
    }
}

/* 5. Active (Selected) State */
.wd-swatches-grid[data-id="pa_size"] .wd-swatch.wd-text.wd-active {
    border-color: #111 !important;    
    background-color: #111 !important;
    color: #fff !important;            
}

/* 6. Center text inside */
.wd-swatches-grid[data-id="pa_size"] .wd-swatch.wd-text .wd-swatch-text {
    display: inline-block !important;
    line-height: 1.2 !important;
}

/* 7. Mobile Optimization: Slightly smaller font to ensure text fits neatly in 4-column grid */
@media (max-width: 767px) {
    .wd-swatches-grid[data-id="pa_size"] .wd-swatch.wd-text {
        font-size: 10px !important;
        padding: 5px 1px !important;
        margin: 1.5px !important;
    }
}