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

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

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

:root {
	--wd-text-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", 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: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(255,103,31);
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: rgb(255,103,31);
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(255,103,31);
	--btn-accented-bgcolor-hover: rgb(255,103,31);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(255,103,31);
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(0,0,0);
	--notices-warning-color: rgb(255,103,31);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgba(12,24,33,0.33);
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 600px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(9,33,67);
	background-image: none;
}
.wd-nav-pagin-wrap:not(.wd-custom-style) {
	--wd-pagin-size: 20px;
	--wd-pagin-bg: rgb(122,122,122);
	--wd-pagin-bg-hover: rgb(255,103,31);
	--wd-pagin-bg-act: rgb(255,103,31);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 5px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--btn-accented-box-shadow-active: none;
--btn-accented-bottom: 0px;
--wd-brd-radius: 0px;
}

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


.wd-page-title {
background-color: #0a0a0a;
}

/* --- GRIPRIP MANUAL POPUP STYLES --- */

/* The Background Overlay (Hidden by default) */
.griprip-modal { 
    display: none; /* Hidden */
    position: fixed; 
    z-index: 999999; /* On top of everything */
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(12, 24, 33, 0.6); /* Dark Blue transparent */
    backdrop-filter: blur(8px); /* The Blur Effect */
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease; /* Smooth fade in */
    justify-content: center;
    align-items: center;
}

/* The State when Open */
.griprip-modal.open { 
    opacity: 1; 
}

/* The Inner Content Box */
.griprip-modal-content { 
    position: relative; 
    width: 100%; 
    max-width: 500px; /* Prevents it being too wide */
    margin: 0 20px; /* Some side spacing on mobile */
    background: transparent; /* Lets your Elementor design show */
}

/* The Close 'X' Button */
.griprip-close { 
    position: absolute; 
    top: -40px; 
    right: 0; 
    color: #ffffff; 
    font-size: 36px; 
    font-weight: bold; 
    cursor: pointer; 
    line-height: 1;
    transition: color 0.2s;
}

.griprip-close:hover {
    color: #FF4E00; /* Orange on hover */
}

/* Styling for the [griprip_post_grid] shortcode */
.griprip-dynamic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.grid-post-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.grid-post-card .card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.grid-post-card .card-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.grid-post-card .card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-post-card .card-content {
    padding: 20px;
}

.grid-post-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #333;
}

.grid-post-card .card-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.grid-post-card .card-read-more {
    font-weight: 700;
    color: #ff5f2d; /* Your brand orange */
}




/* 1. Flex Layout for the 5-Column Grid */
.griprip-category-grid {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px;       
    justify-content: center; 
    margin: 30px 0;
}

/* 2. Responsive Sizing for Individual Card Containers (Crucial) */
/* This targets the Elementor containers nested inside the grid */
.griprip-category-grid > .elementor-element {
    flex: 1 1 180px; /* Base width of 180px, allows up to 5 per row */
    max-width: 18.5%; 
    min-width: 150px;
    padding: 0 !important; /* Removes default padding on the Elementor container */
}

/* Card Styling (Pasted from previous step) */

/* --- 1. The Full Card Link Wrapper --- */
.card-link-wrapper {
    text-decoration: none; 
    color: inherit;
    display: block; 
    height: 100%;
}

/* --- 2. The Card Content Container (Applies hover lift and overall shape) --- */
.card-image-content {
    position: relative;
    overflow: hidden; 
    border-radius: 15px; 
    background-color: #ff5f2d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease; 
    width: 100%;
    height: 100%; 
    padding: 15px; /* <--- NEW: Padding inside the orange container for left/right space */
    box-sizing: border-box; /* <--- NEW: Ensures padding is included in total width/height */
}

/* Hover Effect */
.card-link-wrapper:hover .card-image-content {
    transform: translateY(-5px); 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* --- 3. Image Styling --- */
.card-image-element {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: 15px; /* <--- NEW: Spacing between button and image */
    border-radius: 0 0 10px 10px; /* <--- Adjusted for a slightly smaller bottom radius */
}

/* --- 4. The Professional Label (The 'Button' Overlay) --- */
.card-label-overlay {
    position: relative; /* <--- CHANGED: from absolute to relative to sit within the flow */
    /* top: 0; left: 0; right: 0; <--- REMOVED: no longer needed with relative positioning */
    
    /* Button Aesthetics derived from your original CSS */
    background-color: #F8F8F8; 
    color: #333333; 
    text-align: center;
    text-transform: uppercase;

    /* Typography from your style */
    font-family: "Poppins", Sans-serif;
    font-size: 15px;
    font-weight: 800;
    line-height: 26px;
    letter-spacing: 5.8px;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);

    /* Spacing and Shadow from your style */
    padding: 10px 10px; 
    box-shadow: 7px 4px 0px 1px rgba(0, 0, 0, 0.99); 
    
    /* Shape */
    border-radius: 13px 13px 13px 13px; /* <--- NEW: Apply full button radius now */
    z-index: 10;
    width: calc(100% - 2px); /* <--- NEW: Adjust width slightly to account for shadow if needed, or remove if not */
    margin:10px 0 auto; /* <--- NEW: Center the button if width is less than 100% */
}


.form button, form input[type=submit]
{ background:none !important;}
.wd-nav[class*="wd-style-"] {--nav-color: #ffffff;}
span .wd-tools-icon::before {color: #ffffff;}

.wd-header-wishlist .wd-tools-icon:before {color: #ffffff;}
body  .woocommerce-variation-availability {
display:none;
}
div.wpcf7 input[type=submit] {

	color: #000000 !important;
background-color: #ff671f !important;}
.payflex-full-widget {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 15px;
    background-color: #fcfcfc;
}

.payflex-widget-logo {
    flex-shrink: 0;
    margin-right: 20px;
    width: 138px; /* Updated logo width to match your inspection */
    background: none !important;
    padding: 2px 0 0 0 !important;
}

.payflex-widget-logo img {
    display: block;
    width: 100%;
    object-fit: contain;
    border: none;
}

.payflex-widget-content {
    flex-grow: 1;
}

.payflex-title {
    color: #C7A5F9 !important;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.payflex-description {
    color: #002751;
    font-size: 14px;
    margin: 0;
}

.payflex-description b {
    font-weight: 700;
}
}

.payflex-title {
    color: #C7A5F9 !important;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.payflex-description {
    color: #002751;
    font-size: 14px;
    margin: 0;
}

.payflex-description b {
    font-weight: 700;
}
    color: #002751;
    font-size: 14px;
    margin: 0;
}

.payflex-description b {
    font-weight: 700;
}

.payflex-learn-more {
    color: #C7A5F9;
    text-decoration: none;
    font-weight: 600;
}

.payflex-learn-more:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
	/* 1. Force Cards to Stack */
    /* Target the individual card containers within the grid */
    .griprip-category-grid > .elementor-element {
        /* Override the desktop flex settings */
        flex: 1 1 100% !important; 
        max-width: 100% !important;
        min-width: 90% !important; /* Ensure they don't look too wide if using a container */
        
        /* Add a clear vertical space between stacked cards */
        margin-bottom: 20px; 
    }
    
    /* 2. Center the Grid Container */
    .griprip-category-grid {
        justify-content: center !important;
        /* Re-adjust main padding/margin if necessary on mobile */
        padding: 0 10px; 
    }
}
}

