@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.4.0") 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;
}

/* Fix invisible WooCommerce Review Submit Button */
#review_form form.comment-form input[type="submit"],
#review_form .comment-form .submit {
    background-color: #ff5f2d !important; /* Forces the Grip Rip orange */
    color: #ffffff !important; /* Forces white text */
    opacity: 1 !important;
    visibility: visible !important;
}

/* Optional: Add a subtle hover effect so it feels interactive */
#review_form form.comment-form input[type="submit"]:hover,
#review_form .comment-form .submit:hover {
    background-color: #e34c20 !important; /* A slightly darker orange for hover */
}

/* --- GRIPRIP SINGLE POST PAGE TITLE --- */

/* 1. FLEX STACK & CENTERING */
.page-title-default .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    height: 100%;
}

/* 2. TITLE STYLING */
.page-title-default .entry-title {
    text-align: center !important;
    margin: 15px 0 10px 0 !important;
    width: 100%;
    max-width: 900px;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.page-title-default .entry-title.griprip-title-loaded {
    opacity: 1;
}

/* 3. CATEGORY PILL  */
.page-title-default .wd-post-cat {
    margin-bottom: 15px !important;
    display: inline-block;
}
.wd-post-cat.wd-style-with-bg {
   background: transparent !important;
}
.page-title-default .wd-post-cat a {
    background-color: #ff5f2d !important; /* GripRip Orange */
    color: #ffffff !important; /* White Text */
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* 4. META DATA (Remove Avatar & Style Text) */
.page-title-default .wd-post-meta {
    color: rgba(255,255,255,0.9) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px !important;
}

/* REMOVE THE AVATAR IMAGE */
.page-title-default .wd-post-meta img.avatar {
    display: none !important; 
}

.page-title-default .wd-post-meta span,
.page-title-default .wd-post-meta a,
.page-title-default .wd-post-meta time {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 5. REMOVE BREADCRUMBS (Single Posts Only) */
/* This hides them only on news articles, keeping them on Shop/Home */
.single-post .page-title-default .wd-breadcrumbs {
    display: none !important;
}

/* 6. HIDE DUPLICATES IN BODY */
.single-post .wd-single-post-header {
    display: none !important;
}

/* --- GRIPRIP BANNER CONTRAST FIX SINGLE POST--- */

/* 1. Darken the Background Image (The Overlay) */
/* We use a pseudo-element to tint ONLY the image, not the text */
.page-title-default .wd-page-title-bg:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Adjust the last number (0.6) to make it darker (0.8) or lighter (0.4) */
    background-color: rgba(0, 0, 0, 0.6) !important; 
    z-index: 1; /* Sits on top of image */
}

/* 2. Make the Title Pop (Stronger Shadow) */
.page-title-default .entry-title {
    position: relative;
    z-index: 10; /* Ensures text sits on top of the dark overlay */
    /* Stronger, wider shadow for better readability */
    text-shadow: 0 10px 30px rgba(0,0,0, 0.9) !important; 
}

/* 3. Ensure Category & Meta sit on top too */
.page-title-default .wd-post-cat,
.page-title-default .wd-post-meta {
    position: relative;
    z-index: 10;
}

/* --- GRIPRIP SIDEBAR CARDS (Scoped to Blog Posts Only) --- */

/* 1. SIDEBAR HEADING (Grey Thick Border Below) */
.single-post .sidebar-container .widget-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1px;
    padding-bottom: 15px;      /* Space between text and line */
    margin-bottom: 25px;       /* Space between line and products */
    border-bottom: 3px solid #e0e0e0; /* The Thick Grey Line */
    text-align: left;
}

/* 2. PRODUCT CARDS (Container) */
.single-post .sidebar-container .product_list_widget > li {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #eeeeee; /* Subtle border */
    border-radius: 12px;       /* Rounded corners */
    padding: 15px;             /* Space inside the card */
    margin-bottom: 15px;       /* Space between cards */
    transition: all 0.3s ease; /* Smooth animation for the lift */
}

/* 3. LIFT ANIMATION (On Hover) */
.single-post .sidebar-container .product_list_widget > li:hover {
    transform: translateY(-5px); /* Lifts the card up */
    box-shadow: 0 10px 20px rgba(0,0,0,0.08); /* Adds a soft shadow */
    border-color: #ff5f2d; /* Optional: Turns border orange on hover */
    cursor: pointer;
}

/* 4. IMAGE STYLING (Rounded) */
.single-post .sidebar-container .product_list_widget img {
    border-radius: 8px;
    margin-right: 15px;
    width: 70px;  /* Fixed size for consistency */
    height: 70px;
    object-fit: cover;
}

/* 5. TEXT STYLING */
.single-post .sidebar-container .product_list_widget .product-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

.single-post .sidebar-container .product_list_widget .amount {
    color: #ff5f2d; /* GripRip Orange Price */
    font-weight: 800;
    font-size: 15px;
}

/* 6. (Optional) FAKE "VIEW PRODUCT" LINK */
/* This adds the little arrow text if you want it to look exactly like the mockup */
.single-post .sidebar-container .product_list_widget > li:after {
    content: "View Product →";
    display: block;
    font-size: 11px;
    color: #999;
    position: absolute;
    bottom: 10px;
    right: 15px;
    opacity: 0; /* Hidden by default */
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.single-post .sidebar-container .product_list_widget > li:hover:after {
    opacity: 1; /* Show on hover */
    transform: translateX(0);
}

/* --- GRIPRIP SIDEBAR NEWSLETTER (Dark Blue) --- */

/* 1. THE BOX CONTAINER */
.griprip-newsletter-box {
    background-color: #0C1821; /* Dark Blue Brand Color */
    padding: 35px 25px;        /* Spacious padding */
    border-radius: 12px;       /* Rounded corners */
    text-align: center;
    color: #ffffff;            /* White text */
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(12, 24, 33, 0.15); /* Soft shadow */
    border: 1px solid #0C1821;
    transition: transform 0.3s ease;
}

/* Lift Effect on Hover */
.griprip-newsletter-box:hover {
    transform: translateY(-5px);
}

/* 2. TEXT STYLING */
.griprip-newsletter-box h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #ffffff !important;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.griprip-newsletter-box p {
    font-size: 14px;
    color: rgba(255,255,255,0.8); /* Slightly transparent white */
    line-height: 1.5;
    margin-bottom: 20px;
}

/* 3. FORMINATOR INPUTS (White Fields) */
.griprip-newsletter-box .forminator-input {
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    color: #333 !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
    margin-bottom: 10px !important;
}

/* Hide Forminator Labels to keep it clean (like mockup) */
.griprip-newsletter-box .forminator-label {
    display: none !important; 
}

/* 4. FORMINATOR BUTTON (Orange) */
.griprip-newsletter-box .forminator-button {
    background-color: #ff5f2d !important; /* GripRip Orange */
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    border-radius: 6px !important;
    width: 100% !important; /* Full Width */
    padding: 12px !important;
    box-shadow: none !important;
    margin-top: 10px;
}

.griprip-newsletter-box .forminator-button:hover {
    background-color: #e04e1f !important; /* Darker orange on hover */
    box-shadow: 0 5px 15px rgba(255, 95, 45, 0.4) !important;
}

/* --- GRIPRIP "DID YOU KNOW" CALLOUT BOX --- */

p.griprip-info-box {
    background-color: #f9f9f9; /* Light grey background */
    border-left: 6px solid #ff5f2d; /* The GripRip Orange Power Line */
    padding: 30px; /* Breathing room */
    border-radius: 0 8px 8px 0; /* Rounded corners on the right only */
    font-size: 18px; /* Slightly larger text for emphasis */
    line-height: 1.6;
    margin: 40px 0; /* Space above and below */
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); /* Subtle lift */
    color: #333;
}
/* --- GRIPRIP ARTICLE  --- */

/* 1. ARTICLE IMAGES (Shadow & Rounding) */
body.single-post figure.wp-block-image img {
    border-radius: 12px !important;
    /* Soft, high-end shadow */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important; 
    height: auto !important;
    max-width: 100% !important;
    display: block !important;
    transition: all 0.3s ease !important;
}

/* Hover Lift */
body.single-post figure.wp-block-image img:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12) !important;
}

/* 2. "DID YOU KNOW" BOX  */
p.griprip-info-box {
    background-color: #f4f4f4 !important; /* Slightly darker grey */
    border-left: 6px solid #ff5f2d; /* Orange Power Line */
    padding: 30px;
    
    /* Radius on the RIGHT side only */
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    
    font-size: 18px;
    line-height: 1.6;
    margin: 40px 0;
    color: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Subtle lift */
}

/* The "DID YOU KNOW?" Headline */
p.griprip-info-box strong, 
p.griprip-info-box b {
    display: block;
    color: #ff5f2d;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* --- GRIPRIP "READ NEXT" GLOSSY CARDS --- */

/* 1. SECTION TITLE */
.related-posts .slider-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    text-transform: capitalize; /* "Read Next" instead of UPPERCASE */
    font-size: 24px;
    margin-bottom: 20px;
    text-align: left; /* Aligns title to left */
}

/* 2. CARD IMAGE (Rounding) */
.related-posts .post-img-wrapp {
    border-radius: 12px;
    overflow: hidden; /* Keeps the shine inside the box */
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

/* 3. THE "GLOSSY" SHINE EFFECT */
/* Creates a transparent white beam that slides across */
.related-posts .post-img-wrapp::before {
    position: absolute;
    top: 0;
    left: -100%; /* Start off-screen left */
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    /* The shine gradient */
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
    transform: skewX(-25deg); /* Angles the beam */
}

/* Trigger Animation on Hover */
.related-posts .post-slide:hover .post-img-wrapp::before {
    animation: gripripShine 0.75s;
}

/* The Animation Movement */
@keyframes gripripShine {
    100% { left: 150%; } /* End off-screen right */
}

/* 4. POST TITLE & META */
.related-posts .post-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 5px;
}
.related-posts .post-title a {
    color: #333;
    transition: color 0.3s;
}
.related-posts .post-slide:hover .post-title a {
    color: #ff5f2d; /* Turn orange on hover */
}

.related-posts .meta-post-categories {
    display: none; /* Hides category to match mockup */
}

.related-posts .entry-meta-list {
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
    font-weight: 600;
}
.wd-carousel .wd-post-date.wd-style-with-bg {
    display: none;
}

/* --- SCHOOL HUB LEAD MAGNET FORM (SCOPED) --- */

/* 1. Style the Input Field */
.school-hub-form .forminator-ui .forminator-input {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    padding: 15px 20px !important;
    color: #333 !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

/* 2. Style the "Submit" Button */
.school-hub-form .forminator-ui .forminator-button-submit {
    background-color: #000000 !important; /* Pure Black */
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    letter-spacing: 1px !important;
    border-radius: 4px !important;
    width: 100% !important;
    padding: 15px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    transition: all 0.3s ease !important;
    margin-top: 10px !important;
}

/* 3. Button Hover Effect */
.school-hub-form .forminator-ui .forminator-button-submit:hover {
    background-color: #ff5f2d !important; /* GripRip Orange */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 95, 45, 0.3) !important;
}

/* 4. Hide Margins */
.school-hub-form .forminator-ui .forminator-row {
    margin-bottom: 0 !important;
}

html {
    scroll-behavior: smooth !important;
    /* This pushes the anchor down so it doesn't hide behind your header */
    scroll-padding-top: 150px; 
}

/* Kill gap on School Hub Page */
body.page-id-3468 .wd-content-layout {
    padding-top: 0 !important;
    padding-block: 0 !important;
}

/* fix it for ALL Elementor pages automatically: */
.elementor-page .wd-content-layout {
    padding-top: 0 !important;
}

/* --- GRIPRIP SCHOOLS HUB: GLOSSY CARDS (Matches "Read Next") --- */

/* 1. CARD CONTAINER (The White Box) */
.blog-design-masonry .wd-post-inner {
    background-color: #ffffff !important;
    border: 1px solid #f0f0f0 !important; /* Very subtle border */
    border-radius: 12px !important;       /* Soft corners */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    overflow: hidden !important;          /* Keeps everything inside rounded corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    padding: 0 !important;                /* Remove default padding for flush image */
    padding-bottom: 20px !important;      /* Add space at bottom for text */
}

/* Lift Effect on Hover */
.blog-design-masonry .post:hover .wd-post-inner {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
    border-color: #ff5f2d !important; /* Optional: Orange border glow */
}

/* 2. IMAGE WRAPPER (The Shine Target) */
.blog-design-masonry .post-img-wrapp {
    border-radius: 12px 12px 0 0 !important; /* Round top only */
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    transform: translateZ(0); /* Fixes Safari flicker */
}

/* 3. THE "GLOSSY" SHINE ANIMATION */
.blog-design-masonry .post-img-wrapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    /* The white shine beam */
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
    transform: skewX(-25deg);
    z-index: 2;
    pointer-events: none;
}

/* Trigger Animation on Hover */
.blog-design-masonry .post:hover .post-img-wrapp::before {
    animation: gripripShine 0.75s;
}

/* 4. CONTENT PADDING (Title & Text) */
/* Since we removed padding from the main card for the image, add it back here */
.blog-design-masonry .wd-post-content {
    padding: 15px 20px !important;
}

/* 5. TYPOGRAPHY (Matches Read Next) */
.blog-design-masonry .post-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 20px !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

.blog-design-masonry .post-title a {
    color: #333 !important;
    transition: color 0.2s ease !important;
}

/* Title turns Orange on Hover */
.blog-design-masonry .post:hover .post-title a {
    color: #ff5f2d !important;
}

/* 6. "READ MORE" LINK */
.blog-design-masonry .btn-read-more {
    color: #ff5f2d !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-top: 10px !important;
    display: inline-block !important;
}

.blog-design-masonry .btn-read-more:hover {
    color: #333 !important; /* Turns dark on hover */
    box-shadow: none !important;
}

/* 7. CLEANUP (Hide Elements to match Read Next clean look) */
/* If you want the category pill back, remove the '.wd-post-cat' line below */
.blog-design-masonry .wd-post-cat,
.blog-design-masonry .wd-post-meta,
.blog-design-masonry .wd-post-date, 
.blog-design-masonry .wd-post-author {
    display: none !important; 
}

/* --- GRIPRIP SINGLE POST: STICKY SIDEBAR ONLY --- */
/*  targets ONLY the sidebar on single article pages */
.single-post .sidebar-container {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 120px !important; /* Adjusts for your sticky header */
    z-index: 20;
    align-self: flex-start; /* Required for sticky to work in flex containers */
}


/* --- 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 (min-width: 1025px) {
	/* --- GRIPRIP MANUAL STICKY SIDEBAR --- */
@media (min-width: 1024px) {
    .griprip-sticky-column {
        position: -webkit-sticky; /* Safari support */
        position: sticky;
        top: 120px; /* Distance from top of screen */
        z-index: 5;
    }
}
}

@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; 
    }
}
}

