/*
Theme Name: Rapidnet
Theme URI: rapidnet.co.za
Description: Main stylesheet for this websites theme. 
Author: Slade Labuschagne
Author URI: inlineblack.com
Template: generatepress
Version: 1.0.0

*/

/**
 * =============================================================================
 *  Project:        Rapidnet
 *  Filename:       style.css
 *  Description:    Main stylesheet for this websites theme. 
 *  Website:        store.rapidnet.co.za
 *  Copyright :     (c) 2025 InlineBlack. All rights reserved.
 * 
 * =============================================================================
 * || 
 * ||               INDEX :
 * ||
 * ||   IMPORTS
 * ||   BODY 
 * ||   TEXT
 * ||   BUTTONS
 * || 
 * || 
 * || 
 * || 
 * || 
 * || 
 * ============================================================================= */
 
/*
================================================================================
    IMPORTS
================================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@font-face {
    font-family: 'magison';
    src: url('/wp-content/themes/ILB_Rapidnet/media/Web-TT/Magison.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {

  /* ========== PRIMARY ORANGE SCALE ========== */

  --color-primary: #EC1D25;             /* Main action color */
  --color-primary-dark: #61040F;        /* Hover/active state */
  --color-primary-darker: #3b080e;
  --color-primary-light: #ff393f;       /* Gradient end / highlights */
  --color-primary-dim: #ec1d2459;       /* Subtle backgrounds */
  --color-primary-dim-20: #ec1d2420;    /* Blur decal opacity */

  /* ========== NEUTRAL SURFACE SCALE ========== */

  --color-white: #ffffff;               /* Page background */
  --color-surface: #f5f6f7;             /* Page background */
  --color-surface-elevated: #ffffff;    /* Cards, modals */
  --color-surface-variant: #dadddf;     /* Subtle borders/dividers */
  --color-on-surface: #2c2f30;          /* Primary text */
  --color-on-surface-variant: #595c5d;  /* Secondary text */
  --color-on-surface-inverse: #9b9d9e;  /* Disabled/placeholder text */
  --color-bk-trans: #000000d3;          /* Primary text */

  /* ========== SUPPORTING COLORS ========== */

  --color-secondary: #001489;           /* Soft warm background */
  --color-secondary-container: #d7e4ec; /* Subtle UI elements */
  --color-on-secondary: #47545a;        /* Text on secondary backgrounds */
  
  --color-error: #b02500;
  --color-error-container: #f95630;
  
  /* ========== EFFECTS & UTILITIES ========== */

  --color-border-glow: rgba(255, 255, 255, 0.49);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-orange-glow: 0 10px 30px -10px rgba(255, 122, 44, 0.3);
  
  /* ========== TYPOGRAPHY ========== */
  
  --font-body: system-ui, -apple-system, sans-serif;
  
  /* ========== SPACING SCALE (8px base) ========== */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.1rem;   /* 24px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-40: 10rem;    /* 80px */
  
  /* ========== BORDER RADIUS ========== */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-l: 2rem;
  --radius-xl: 3rem;
  --radius-full: 9999px;
}

/*
================================================================================
    BODY 
================================================================================
*/

/*
================================================================================
    Blocks 
================================================================================
*/

.flex-sb{
    display: flex;
    justify-content: space-between;
}

.flex-left{
    display: flex;
    justify-content: start;
}

.flex-right{
    display: flex;
    justify-content: end;
}
  
.no-p-m{
    padding:0;
    margin:0;
}

.spaceing-top-large{
    margin-top: 5rem;
}

.spaceing-left-large{
    margin-left: 5rem;
}

.spaceing-right-large{
    margin-right: 5rem;
}

.spaceing-bottom-large{
    margin-bottom: 5rem;
}

.spaceing-top-small{
    margin-top: 2rem;
}

.spaceing-left-small{
    margin-left: 2rem;
}

.spaceing-right-small{
    margin-right: 2rem;
}

.spaceing-bottom-small{
    margin-bottom: 2rem;
}

.fixed-spacing{
    max-width: 70%;
    min-width: 1000px;
    margin:auto;
}

.border-upper{
    padding-top: 1.5rem;
    border-top: 1px solid white;
}

.border-upper-black{
    padding-top: 1.5rem;
    border-top: 0.5px solid rgba(0, 0, 0, 0.5);
}

.border-bottom-black{
    padding-bottom: 1.5rem;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.5);
}


.align-center{align-content: center; align-self: center;}
.align-end{align-content: end; align-self: end;}

.underline{
    text-decoration: underline;
}

.rp-container{
    background: white;
    border: white 1px solid;
    padding: 24px;
    border-radius: 32px;
    box-shadow: 5px 5px 16px 3px rgba(0, 0, 0, 0.11);
}

.entry-content{
    width: 100%;
    overflow: hidden;
}

.content-block{
    width: 95%;
    max-width: 1200px;
    margin: 10rem auto;
}

.rp-cc{
    width: 90%;
    max-width: 1000px;
    margin: 10rem auto 0rem;
}

.logo-group-item{
    position: relative; width: 200px; height: 100px; text-decoration: none; display: block;
}

.entry-title{
    display: none;
}

.relative{
    position: relative;
}

.attachment-large, .size-large, .attachment-thumbnail {
    box-shadow: 5px 6px 10px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    }

.badge{
    padding: 0.5rem 1rem;
    background-color: var(--color-primary);
    color:white;
    border-radius: 8px;
    width: fit-content;
}

.price-title{
    font-weight: 800; font-size: 2rem; 
    font-family: 'magison', Helvetica, Arial, sans-serif;
    font-style: italic;
    color: var(--color-bk-trans) !important;
}

.cards{
    background-color: var(--color-surface-variant);
    box-shadow: 5px 6px 10px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    border: var(--color-surface) 1px solid;
}

.cards-blue{
    background-color: var(--color-secondary);
    box-shadow: 5px 6px 10px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    border: var(--color-surface) 1px solid;
    color: white !important;
}

.cards-blue p, .cards-blue h3 {color: white !important;}

.material-symbols-outlined {
  font-size: 48px !important;
  color: var(--color-secondary);
}

.material-symbols-outlined-small {
    font-size: 24px !important;
}

.material-symbols-outlined-white {
  color: var(--color-white);
}

.material-symbols-outlined-red {
  color: var(--color-primary);
}

/*
================================================================================
    TEXT
================================================================================
*/

a {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    text-decoration: none;
    color: inherit;
    font-size: 1rem;
    cursor: pointer;
}

p {
    font-weight: 300;
    margin: 0;
    font-style: normal;
}

body {
   
    font-style: normal;
}

h1 {
     font-family: 'magison', Helvetica, Arial, sans-serif;
    font-style: normal;
}

h2{
    font-family: 'magison', Helvetica, Arial, sans-serif;
    font-style: italic;
    color: var(--color-bk-trans) !important;
}

.inner-sub-menu-title{
    font-style: italic;
    font-family: 'magison', Helvetica, Arial, sans-serif;
    font-size: 4rem;
    letter-spacing: 0.25rem;
}

h3{
    font-family: 'magison', Helvetica, Arial, sans-serif;
    font-style: normal;
}

h4{
    font-family: 'magison', Helvetica, Arial, sans-serif;
    font-style: normal;
}

h5{
    
    font-style: normal;
    font-size: 15px;
}

h6{
    
    font-style: normal;
    font-size: 12px;
}

@media (max-width: 1200px) {
    #main-nav-top{
        display:none;
    }
    
    .main-logo{
        width: 8rem !important;
    }
    
    .un-flex{
        display: block !important;
    }
    
    #footer-section-info{
        max-width: 100% !important;
        margin-top: 2rem;
    }
     
    .mobile-margin-top{
        margin-top: 1rem;
    }
    
    .mobile-margin-top{
        margin-bottom: 1rem;
    }
    
    #mobile-menu, #burger-toggle{
        display: block !important;
    }

    .text-8xl{
        font-size: 3rem !important;
    }

    .text-6xl{ font-size: 2.25rem !important; }

    .w-full-mobile{
        width: 100% !important;
    }

    .flex-mb-2{flex-direction: column  !important;} 

}

@media (max-width: 768px) {
    #login-block{
        flex-direction: column;
    }
    
    #login-img{
        height: 150px !important;
        width: 100% !important;
    }
    
    #login-left{width: 100% !important;}
    .login-form{width: 100% !important;}
    
    .mobile-flex{
        display: flex  !important;
        flex-direction: column  !important;
    }

    .hero-calltoaction{
        width: 90%;
        margin: 8rem auto !important;
        text-align: center;
    }

    .logo-group-item{
        position: relative; width: 100px; height: 50px; text-decoration: none; display: block;
    }

    .flex-mb{flex-direction: column  !important;} 

    .rp-banner{
        height: 15rem !important;
    }

    .sq-image-button-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .rp-banner{
        height: 18rem !important;
    }

    .footer-button{
        text-align: center;
    }
}

.light-h{
    opacity: 60%;
}


/* =============================================================================
   3. TYPOGRAPHY
   ============================================================================= */

/* Font Weights */
.font-light    { font-weight: 300; }
.font-normal   { font-weight: 400; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.font-extrabold{ font-weight: 800; }
.font-black    { font-weight: 900; }

/* Font Sizes (Responsive scale) */
.text-xs   { font-size: 0.75rem; line-height: 1rem; }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem; line-height: 2rem; }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl  { font-size: 3rem; line-height: 1; }
.text-6xl  { font-size: 3.75rem; line-height: 1; }
.text-7xl  { font-size: 4.5rem; line-height: 1; }
.text-8xl  { font-size: 6rem; line-height: 1; }

/* Line Height */
.leading-none    { line-height: 1; }
.leading-tight   { line-height: 1.25; }
.leading-normal  { line-height: 1.5; }
.leading-relaxed { line-height: 1.75; }
.leading-loose   { line-height: 2; }

/* Letter Spacing */
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-tight   { letter-spacing: -0.025em; }
.tracking-normal  { letter-spacing: 0; }
.tracking-wide    { letter-spacing: 0.025em; }
.tracking-wider   { letter-spacing: 0.05em; }
.tracking-widest  { letter-spacing: 0.1em; }

/* Text Transform */
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize{ text-transform: capitalize; }

/* Text Colors */
.text-primary        { color: var(--color-primary); }
.text-primary-dark   { color: var(--color-primary-dark); }
.text-on-surface     { color: var(--color-on-surface); }
.text-on-surface-variant { color: var(--color-on-surface-variant); }
.text-on-surface-inverse { color: var(--color-on-surface-inverse); }
.text-white          { color: var(--color-white) !important; }
.text-black          { color: #000000; }
.text-error          { color: var(--color-error); }

.text-a-center       {text-align: center;}
.text-a-left         {text-align: left;}
.text-a-right        {text-align: right;}
.text-a-just         {text-align: justify;}

h2{ color: var(--color-on-surface-variant); font-weight: 800;}
h3{ color: var(--color-on-surface-variant); font-weight: 200;}
h4{ color: var(--color-on-surface-variant); font-weight: 800;}
h5{ color: var(--color-on-surface-inverse); font-weight: 400; font-size: 0.9rem; letter-spacing: 1px; margin: 0}
p, li{ color: var(--color-on-surface-variant); font-weight: 200; font-size: var(--space-4);}

.text-white{color: var(--color-white);}
.text-white:hover a { color: var(--color-secondary-container); }
.text-orange{color: var(--color-primary);}

.o-a { color: var(--color-primary)}
.o-a:hover { color: var(--color-primary-light) !important}

.highlight{
    color: var(--color-primary-light) !important
}

/* =============================================================================
   4. LAYOUT & SPACING UTILITIES
   ============================================================================= */
/* Display */
.block          { display: block; }
.inline-block   { display: inline-block; }
.flex           { display: flex; }
.flex-sb        { display: flex; justify-content: space-between;}
.flex-sb-v      { display: flex; justify-content: space-between; flex-direction: column;}
.flex-left      { display: flex; justify-content: left;}
.flex-center    { display: flex; justify-content: center;}
.flex-right     { display: flex; justify-content: right;}
.flex-grid      { display: grid; }
.inline-flex    { display: inline-flex; }
.grid           { display: grid; }
.flex-wrap      { flex-direction: wrap; }
.hidden         { display: none; }

.gc-2 { grid-template-columns: repeat(2, 1fr); }
.gc-3 { grid-template-columns: repeat(3, 1fr); }
.gc-4 { grid-template-columns: repeat(4, 1fr); }

/* Row utilities */
.gr-2 { grid-template-rows: repeat(2, 1fr); }
.gr-3 { grid-template-rows: repeat(3, 1fr); }
.gr-4 { grid-template-rows: repeat(4, 1fr); }

/* Flexbox */
.flex-row       { flex-direction: row; }
.flex-col       { flex-direction: column; }
.flex-wrap      { flex-wrap: wrap; }
.items-start    { align-items: flex-start; }
.items-center   { align-items: center; align-content: center; align-self: center }
.items-end      { align-items: flex-end; }
.justify-start  { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end    { justify-content: flex-end; }
.justify-between{ justify-content: space-between; }
.justify-around { justify-content: space-around; }
.gap-2  { gap: var(--space-2); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }
.gap-16  { gap: var(--space-16); }
.gap-20  { gap: var(--space-20); }

/* Width */
.w-full         { width: 100%; }
.w-auto         { width: auto; }
.w-fit          { width: fit-content; }
.w-20           { width: 20%; }
.w-33           { width: 33.3333%; }
.w-40           { width: 40%; }
.w-50           { width: 50%; }
.w-60           { width: 60%; }
.w-66           { width: 66.666%; }
.w-80           { width: 80%; }
.w-60r          { width: 15rem; }
.w-80r          { width: 20rem; }
.w-160r         { width: 40rem; }
.max-w-xl       { max-width: 36rem; }
.max-w-2xl      { max-width: 42rem; }
.max-w-4xl      { max-width: 56rem; }
.max-w-container{ width: 80%;}
.w-s            { width: 1200px; }

/* Height */
.h-auto         { height: auto; }
.h-full         { height: 100%; }

/* Margin */
.m-auto         { margin: auto; }
.mx-auto        { margin-left: auto !important; margin-right: auto !important; }
.m-0   { margin: 0; }
.my-2  { margin-top: var(--space-2); margin-bottom: var(--space-2); }
.my-4  { margin-top: var(--space-4); margin-bottom: var(--space-4); }
.my-6  { margin-top: var(--space-6); margin-bottom: var(--space-6); }
.my-8  { margin-top: var(--space-8); margin-bottom: var(--space-8); }
.my-16 { margin-top: var(--space-16); margin-bottom: var(--space-16); }
.my-20 { margin-top: var(--space-20); margin-bottom: var(--space-20); }
.my-40 { margin-top: var(--space-40); margin-bottom: var(--space-40); }
.mt-2  { margin-top: var(--space-2); }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.mt-20 { margin-top: var(--space-20); }
.mt-40 { margin-top: var(--space-40); }
.mb-0  { margin-bottom: 0; }
.mb-2  { margin-bottom: var(--space-2); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }
.mb-20 { margin-bottom: var(--space-20); }
.mb-40 { margin-bottom: var(--space-40); }

/* Padding */
.p-0   { padding: 0; }
.p-2   { padding: var(--space-2); }
.p-4   { padding: var(--space-4); }
.p-6   { padding: var(--space-6); }
.p-8   { padding: var(--space-8); }
.p-16   { padding: var(--space-16); }
.px-2  { padding-left: var(--space-2); padding-right: var(--space-2); }
.px-4  { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6  { padding-left: var(--space-6); padding-right: var(--space-6); }
.px-8  { padding-left: var(--space-8); padding-right: var(--space-8); }
.px-16  { padding-left: var(--space-16); padding-right: var(--space-16); }
.py-1  { padding-top: var(--space-1); padding-bottom: var(--space-1); }
.py-2  { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-4  { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-6  { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.py-8  { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.py-20 { padding-top: var(--space-20); padding-bottom: var(--space-20); }
.py-40 { padding-top: var(--space-40); padding-bottom: var(--space-40); }
.pt-4  { padding-top: var(--space-4); }
.pt-8  { padding-top: var(--space-8); }
.pt-16 { padding-top: var(--space-16); }
.pt-20 { padding-top: var(--space-20); }
.pt-40 { padding-top: var(--space-40); }
.pb-8  { padding-bottom: var(--space-8); }
.pb-16 { padding-bottom: var(--space-16); }
.pb-20 { padding-bottom: var(--space-20); }

/* Position */
.relative  { position: relative; }
.absolute  { position: absolute; }
.fixed     { position: fixed; }
.fixed-5-5 { position: fixed; top: 5%; }
.sticky    { position: sticky; }
.top-0     { top: 0; }
.top-2     { top: var(--space-2); }
.top-4     { top: var(--space-4); }
.top-10    { top: var(--space-10); }
.top-20    { top: var(--space-20); }
.top--4    { top: -4rem; }
.right-0   { right: 0; }
.right-2   { right: var(--space-2); }
.right-3   { right: var(--space-3); }
.right-4   { right: var(--space-4); }
.right-10  { right: var(--space-10); }
.right-20  { right: var(--space-20); }
.left-30   { right: var(--space-30); }
.left-0    { left: 0; }
.bottom-0  { bottom: 0; }
.translate-y-1\/2 { transform: translateY(-50%); }

/* Overflow & Z-Index */
.overflow-hidden { overflow: hidden; }
.z-0  { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }
.z-100{ z-index: 100; }
.z-999{ z-index: 999; }

.brr-xl{border-radius: var(--radius-xl);}
.brr-2{border-radius: 2rem !important;}


/*
============================================================
    BUTTONS
============================================================
*/

.clickable{
    cursor: pointer;
}

.clickable:hover{
    opacity: 70%;
}

.product-a-search button, .block-button-white, .block-button-black, .address-box .button, .orders-table .button{
    font-family: 'magison', Helvetica, Arial, sans-serif;
    border-radius: 8px;
    padding: 0.5rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid transparent;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.25);
    font-weight: 100;
}

.product-a-search button, .block-button-black, .address-box .button, .orders-table .button{
     color: rgb(112, 112, 112);
 }

.block-button-white:hover{
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: white;
}

.product-a-search:hover button, .block-button-black:hover, .address-box .button:hover , .orders-table .button:hover{
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: rgb(112, 112, 112);
}

.hold-button{
    background: rgba(72, 72, 72, 0.1)
}

.tall-block {
    font-family: 'magison', Helvetica, Arial, sans-serif;
    border-radius: 16px; /* Slightly rounder looks more modern */
    padding: 1rem 1rem;
    
    /* 1. Semi-transparent background is crucial */
    background: rgba(255, 255, 255, 0.15); 
    
    /* 2. This is the property that blurs what is BEHIND the element */
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    
    /* 3. A subtle white border helps define the glass edge */
    border: 1px solid rgb(255, 255, 255);
    
    /* Shadow helps lift it off the page */
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.25);
    
    font-weight: 100;
    height: 17rem;
    color: #333; /* Ensure text is readable */
    z-index: 1; /* Ensure it sits above the background */

    transition: 
        box-shadow 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;
}

.tall-block:hover{
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.22);
}

.button-color-red{
    background-color: var(--color-primary);
    color: var(--color-white)
}

.button-color-red:hover{
    color: var(--color-primary);
    border: 1px var(--color-primary) solid;
}
/*
============================================================
    INPUTS
============================================================
*/

.rp-input{
    display: block;
    border-radius: 8px !important;
    padding: 0.5rem !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.15) !important;
    font-weight: 200 !important;
    color: white !important;
    width: 100% !important; 
}

.home-search::placeholder {
    color: white;
    opacity: 1; /* prevents browsers from fading it */
}

#shop-category-select , #sf_brand , #woocommerce-product-search-field-0{
    border-radius: 8px !important;
    padding: 0.5rem !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.15) !important;
    font-weight: 300 !important;
    color: rgb(61, 61, 61) !important;
    width: 10rem !important;
}

#woocommerce-product-search-field-0{
    width: 18rem !important;
}

.featured-image{
    display:none;
}

/*
============================================================
    HEADER
============================================================
*/

.header{
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 5px 5px 16px 3px rgba(0, 0, 0, 0.11);
    z-index: 199;
}

.menu-section{
    width: 80%;
    margin: 1rem auto;
}

.main-logo{
    width: 10rem;
    height: auto
}

.main-nav{
    gap: 1rem;
    display: flex;
}

.menu-dropdown{
    background: var(--color-bk-trans);
    padding: var(--space-20) 0;
    position: fixed;
    top: var(--space-16);
    z-index: 198;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.header-dropwdown-mobile:hover {
    text-decoration: none;
    opacity: 69%;
}

.header-dropwdown-mobile {
    width: 100%;
    display: block;
    text-decoration: none;
    padding: 0.25rem;
    transition: opacity 0.3s ease; 
}

.dropdown-menu-option:hover{
    padding-left: 1.5rem;
    color: var(--color-white);
    text-decoration: none;
}

.dropdown-menu-option{
    width: 100%;
    padding: 0.5rem;
    border-bottom: var(--color-on-surface-inverse) 1px solid;
    display: block;
    transition: padding 0.3s ease;
}

.inner-group{
    padding: 2rem;
}
/* Base panel positioning */
.slide-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: transform 0.3s ease-in-out, opacity 0.25s ease;
    backface-visibility: hidden;
    opacity: 1;
    will-change: transform;
}

.slide-block.active {
    transform: translateX(0);
    z-index: 10;
    opacity: 1;
    pointer-events: auto;
}

.slide-block.hidden {
    display: none;
    pointer-events: none;
}

/* FORWARD animations (→ deeper into menu) */
.slide-out-left {
    transform: translateX(-100%) !important;
    z-index: 5;
    opacity: 0.5;
}

.slide-in-from-right {
    transform: translateX(100%) !important;
    z-index: 15;
    opacity: 1;
}
/* After animation completes, .active sets transform: translateX(0) */

/* BACKWARD animations (← back to previous menu) */
.slide-out-right {
    transform: translateX(100%) !important;
    z-index: 5;
    opacity: 0.5;
}

.slide-in-from-left {
    transform: translateX(-100%) !important;
    z-index: 15;
    opacity: 1;
}

/* Ensure parent container allows overflow for sliding */
#mobile-menu section {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

#mobile-menu-back{

}

/*
============================================================
    FOOTER
============================================================
*/

.rp-banner {
    background-image: url('/wp-content/themes/ILB_Rapidnet/media/rp_banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 10rem; 
    color: white;
}

.grid-container{
    max-width: 100%;
}

.site-content .content-area{
    width: 100%;
    overflow: hidden;
}

.block-button{
    font-family: 'magison', Helvetica, Arial, sans-serif;
    border-radius: 8px;
    padding: 0.5rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid transparent;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.25);
    font-weight: 100;
}

.block-button:hover{
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    background: rgba(0, 0, 0, 0);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: white;
}

.sq-image-button img{
    min-width: 70px;
    max-width: 70px;
    height: 70px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
    will-change: box-shadow;
}

.sq-image-button img:hover{
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.rp-footer-c{
    background: #eaeaea;
    width: 100%;
}

.rp-footer-inner-c{
    width: 80%;
    margin: auto;
    padding: 5rem 0rem;
}

.footer-block{
    width: 100%
}

.footer-button{
    display:block;
    font-weight: 700;
    color: #5b5b5b !important;
    margin-bottom: 0.25rem;
}

.footer-button:hover{
    opacity:80%;
}

/* ===============================
   Mobile Menu Slide-Over
   =============================== */

/* Body lock when menu open */
body.menu-open {
    overflow: hidden;
}

/* -------------------------------
   Overlay behind menu
--------------------------------- */
#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);          /* semi-transparent black */
    backdrop-filter: blur(0px);            /* no blur initially */
    opacity: 0;
    transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
    z-index: 199;                          /* below mobile menu */
    pointer-events: none;                  /* clicks ignored when hidden */
}

body.menu-open #menu-overlay {
    opacity: 1;
    backdrop-filter: blur(4px);            /* blur the background */
    pointer-events: auto;
}

/* -------------------------------
   Mobile menu
--------------------------------- */
#mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;                           /* hidden off-screen */
    width: 80%;
    max-width: 400px;
    height: 100%;
    background: rgba(0,0,0,0.75);           /* dark, slightly transparent */
    color: white;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    box-shadow: -5px 7px 14px rgba(0,0,0,0.25);
    transition: right 0.3s ease;
    z-index: 2000;                           /* above overlay */
    backdrop-filter: blur(8px);             /* optional menu blur for style */
}

/* Menu links */
#mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}


/* -------------------------------
   Close button inside menu
--------------------------------- */
#mobile-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    margin-bottom: 2rem;
}

/* -------------------------------
   Burger toggle button
--------------------------------- */
#burger-toggle {
    background: none;
    border: none;
    cursor: pointer;
    z-index: 150; /* above everything else */
    font-size: 1.5rem;
    color: white;
}

/* Optional: pointer cursor for links/icons inside menu */
#mobile-menu a, #mobile-menu-close, #burger-toggle {
    cursor: pointer;
}


/*
============================================================
    LOGIN
============================================================
*/

#user_login, #user_pass, #restore-email{
    display: block;
    width: 100%;
    border-radius: 8px;
}

.login-error{
    color: rgb(205, 0, 0);
    margin-bottom: 2rem;
}

#wp-submit{
    font-family: 'magison', Helvetica, Arial, sans-serif;
    border-radius: 8px;
    padding: 0.5rem 5rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid transparent;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.25);
    font-weight: 100;
}

#wp-submit:hover{
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    background: rgba(0, 0, 0, 0);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: rgba(0, 0, 0, 0.25);
}

.login-password{
    margin-top:1rem;
}

.login-remember{
    margin: 1rem;
}

.login-submit{
    text-align: right;
}

/*
============================================================
    STORE
============================================================
*/

.product-page{
    width: 95%;
    max-width: 1200px;
    margin: 5rem auto;
}

.page-product-title{
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
    color: #222222;
    height: 5em;
}

.woocommerce-Price-amount{
    font-size: 1.3rem;
    font-weight: 600;
    opacity: 70%;
    color: #090080;
}

.single_add_to_cart_button, .wp-element-button{
    display: block;
    font-family: 'magison', Helvetica, Arial, sans-serif;
    border-radius: 8px;
    padding: 0.5rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid transparent;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.25);
    font-weight: 100;
    color: #333;
}

.single_add_to_cart_button:hover , .wp-element-button:hover{
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    background: rgba(0, 0, 0, 0);
    color: #333;
}

.cart{
    display: flex;
    align-content: center;
    align-items: center;
    margin: 0.25rem;
    gap: 1rem;
    justify-content: end;
}

.product-description h3{
    margin-top:1rem;
}

.product-description li{
    list-style: circle;
}

 .features-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}

/* First card spans 1 column, second spans remaining */
.features-grid .w-66-desktop {
    grid-column: span 2;
}

/* Tablet */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .features-grid .w-66-desktop {
        grid-column: span 2;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .features-grid .w-66-desktop {
        grid-column: span 1;
    }
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], textarea, select{
    border-radius: 8px
}

.attachment-large, .size-large, .attachment-thumbnail{
    box-shadow: 5px 6px 10px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
}

.product-cart{
    display: flex;
    justify-content: end;
    align-items: center;
}

.in-stock{
    color: green;
}

.sku{
    opacity: 40%;
}

.product-description, .product-attributes{
    margin: 5rem 0rem;
}

.wc-block-cart, .wc-block-checkout, .account-section, .hero-text{
    width: 95%;
    max-width: 1200px;
    margin: 5rem auto;
}

.wc-block-checkout{
    margin: 0rem auto;
}

.account-section{
    margin: 9rem auto;
}

.account-nav{
    padding-bottom: 1rem;
    border-bottom: 1px solid #888;
}

.wc-block-cart__sidebar , .wp-block-woocommerce-checkout-order-summary-block{
    background: white;
    border: white 1px solid;
    padding: 24px;
    border-radius: 32px;
    box-shadow: 5px 5px 16px 3px rgba(0, 0, 0, 0.11);
}

/* Modern Carousel Styles */
.bestseller-section {
    padding: 40px 0;
    background: #f9f9f9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Swiper Container */
.swiper-bestsellers {
    width: 100%;
    padding-bottom: 50px; /* Space for pagination */
}

.swiper-slide {
    height: auto; /* Allow cards to vary slightly in height */
    display: flex;
    justify-content: center;
    padding: 2rem 0rem;
}

/* Product Card Styles */
.product-card {
    overflow: hidden;
    width: 100%;
    height: max-content;
    max-width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    height: 15rem;
    align-content: center;
}

.product-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
    color: #222;
    min-height: 6.2rem;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.item-product-price {
    font-size: 1.1rem;
    color: red; /* Accent Color */
    font-weight: 700;
    margin: 0 0 1rem;
}

.add-to-cart-btn {
    margin-top: auto;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
    display: block;
}

.add-to-cart-btn:hover {
    background-color: rgb(222, 3, 3) !important;
    color: white !important;
}

.single_add_to_cart_button:hover{
    box-shadow: inherit;
    background: inherit;
    background-color: inherit;
    color: inherit;
}

.swiper-bestsellers .swiper-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

/* Any slide that Swiper considers visible */
.swiper-bestsellers .swiper-slide-visible {
    opacity: 1;
    visibility: visible;
}

.woocommerce-order{
    width: 80%;
    margin: 5rem auto;
    max-width: 1200px;
}

.wp-block-woocommerce-empty-cart-block{
    margin: 5rem;
}

.woocommerce-breadcrumb{
    display: none;
}

.custom-product-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.address-box address{
    margin-top: 1rem;
    opacity: 50%;
}

.cud-address-form{
    width: 80%
}

.orders-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.orders-table {
    min-width: 600px;
}

.address-table {
    width: 100%;
}

.wc-block-product{
    background: white;
    border: white 1px solid;
    padding: 24px;
    border-radius: 32px;
    box-shadow: 5px 5px 16px 3px rgba(0, 0, 0, 0.11);
}

.wp-block-woocommerce-cart .wc-block-components-sidebar{
    padding: 2rem;
}

.homepage-cat-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.page-numbers li{
    text-decoration: none;
    list-style: none;
}

.rp-current{
    color: red;
}

.fa-magnifying-glass{
    cursor: pointer;
}

.attachment-thumbnail{
    cursor: pointer;
}

.attachment-large{
    cursor: pointer;
}

.wp-block-woocommerce-empty-cart-block{display: none;}

@media (max-width: 1300px) {
    .custom-product-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;

        /* center the grid in parent */
        justify-content: center;   /* horizontal */
        align-content: center;     /* vertical, if parent has fixed height */
    }

    .max-w-container{
        max-width: 90%; width: 1200px;
    }
}

@media (max-width: 1000px) {
    .homepage-cat-list{display: flex; flex-direction: column;}

    .custom-product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;

        /* center the grid in parent */
        justify-content: center;   /* horizontal */
        align-content: center;     /* vertical, if parent has fixed height */
    }

    #woocommerce-product-search-field-0{
        width: 16rem !important;
    }

    .check-out-these{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-content: center;   
        align-content: center;
    }

    .check-out-these .product-card {
        margin: auto;
    }

    .wc-block-checkout{
        display: flex;
        flex-direction: column;
    }

    .wc-block-checkout .wc-block-components-main{
        margin: auto;
    }

    .wc-block-components-sidebar{
        margin: auto;
        width:80%;
    }

    .hero-text h1{
        font-size: 55px;
    }

    .wp-block-woocommerce-cart .wc-block-components-sidebar{
        margin-top: 4rem;
    }

    .wc-block-components-sidebar-layout .wc-block-components-main {
        width: 100%;
    }
}

@media (max-width: 768px) {
    
    .swiper-bestsellers {
        padding-bottom: 30px;
    }

    .woocommerce-order{
        width: 95%;
    }

    .cud-address-form{
        width: 95%
    }

    .rp-input{
        width: 100% !important;
    }

    .address-table,
    .address-table tbody,
    .address-table tr {
        display: block;
        width: 100%;
    }

    .address-table td {
        display: block;
        width: 100% !important;
        margin-bottom: 2rem;
    }

    .shop-sidebar{
        position: fixed;
        width: 100% !important;
        z-index: 100;
        padding: 0.5rem !important;
        background-color: rgba(22, 22, 22, 0.717) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(0, 0, 0, 0.2) !important;
        box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.15) !important;
        font-weight: 200 !important;
        color: white !important;
        top:0;
        right: 100%;
        height: 100vh;
        padding: 2rem !important;
        transition: right 0.3s ease;
        margin-right: 0rem !important;
    }

    #mobile-filter-open{
        display: block !important;
    }
    #mobile-filter-close{
        display: block !important;
        color:white
    }

    .mobile-flex-sb{
        justify-content: space-between !important;
    }

    #woocommerce-product-search-field-0{
        width: 60% !important;
    }

    .filter-apply-button{
        color: white !important;
    }

    .custom-product-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;

        /* center the grid in parent */
        justify-content: center;   /* horizontal */
        align-content: center;     /* vertical, if parent has fixed height */
    }

    .shop-page-wrapper{
        justify-content: center;
    }

    .product-card{
        margin: auto;
    }

    .check-out-these{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        justify-content: center;   
        align-content: center;
    }

    .hero-text{
        text-align: center;
    }

    .hero-text h1{
        font-size: 55px;
    }

    .image-hero{
        display:none;
    }
}

/*
============================================================
    Checkbox
============================================================
*/

.rp-checkbox input[type="checkbox"] {position: absolute  !important; opacity: 0  !important;cursor: pointer  !important;}
.rp-checkbox {display: flex  !important;align-items: center  !important;cursor: pointer  !important;user-select: none  !important;position: relative  !important; }
.rp-checkbox .rp-check-mark {width: 25px  !important;  height: 25px  !important; min-width: 25px  !important; border: solid rgb(255, 233, 233) 1px !important; min-height: 25px  !important;background-color: #fff !important;border-radius: 5px  !important;  display: block  !important;position: relative  !important;transition: background-color 0.3s  !important;margin-right: 0.5rem  !important;}
.rp-checkbox input:checked + .rp-check-mark {background-color: #fff !important; border: solid rgb(255, 233, 233) 1px !important;}
.rp-checkbox .rp-check-mark:after {content: ""  !important;position: absolute  !important;display: none  !important;}
.rp-checkbox input:checked + .rp-check-mark:after {display: block  !important;}
.rp-checkbox .rp-check-mark:after {left: 8px  !important;top: 1px !important; width: 8px  !important;height: 16px  !important;border: solid red 1px !important;border-width: 0 3px 3px 0  !important;transform: rotate(45deg)  !important;}

/*
============================================================
    TITLE GLOW
============================================================
*/

.blue-red-glow {
  font-weight: 800;
  position: relative;
  display: inline-block;
  color: #000;
  z-index: 1;
  isolation: isolate; /* IMPORTANT: prevents blending leaking */
}

.blue-red-glow::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;

  pointer-events: none;

  background: radial-gradient(
    circle 64rem at var(--x, 50%) var(--y, 50%),
    rgba(255, 70, 70, 0.9) 0%,
    rgba(255, 70, 70, 0.45) 25%,
    rgba(255, 70, 70, 0.15) 45%,
    rgba(255, 70, 70, 0) 70%
  );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;

  opacity: var(--glow-opacity, 0);
  transition: opacity 120ms ease;

  mix-blend-mode: screen;

  overflow: hidden; /* CRITICAL FIX */
}

/*
============================================================
    ACCORDIAN
============================================================
*/

.accordion-item {
    border: 1px var(--color-surface-elevated) solid;
    margin-bottom: 8px;
    overflow: hidden;
    box-shadow: 5px 6px 10px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    background: #f9f9f9;
    transition: background 0.2s;
    font-weight: 600;
}

.accordion-header:hover,
.accordion-item.active .accordion-header {
    background: var(--color-surface-variant);
}

.accordion-icon {
    font-size: 20px;
    line-height: 1;
    color: var(--color-on-surface);
    transition: transform 0.2s;
}

.accordion-body {
    display: none;
    padding: 16px 20px;
    background: var(--color-surface-elevated);
    color: var(--color-bk-trans);
    line-height: 1.6;
}