/*
 Theme Name:   Hello Gear Point
 Theme URI:    https://gearpointcanada.com/
 Description:  Official Brand Child Theme for Gear Point Canada - Outdoor Equipment, Generators, Marine, Golf Carts & Gaming.
 Author:       Gear Point
 Author URI:   https://gearpointcanada.com/
 Template:     hello-elementor
 Version:      2.0.0
 Text Domain:  hello-gear-point
*/

/* CSS Reset & Variables */
:root {
    --gp-red: #e52521;
    --gp-red-dark: #b71c1c;
    --gp-red-light: #ff473a;
    --gp-black: #121212;
    --gp-charcoal: #1e1e1e;
    --gp-dark-card: #252525;
    --gp-gray-bg: #f8f9fa;
    --gp-gray-border: #e0e4e8;
    --gp-text-main: #1f2429;
    --gp-text-muted: #5a626a;
    --gp-radius: 8px;
    --gp-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --gp-shadow-md: 0 6px 20px rgba(0,0,0,0.08);
    --gp-shadow-lg: 0 12px 32px rgba(0,0,0,0.14);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--gp-text-main);
    background-color: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--gp-red);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--gp-red-dark);
}

/* =========================================
   Top Announcement Bar
   ========================================= */
.gp-header-top {
    background-color: #0d0d0d;
    color: #e5e5e5;
    padding: 8px 24px;
    font-size: 13px;
    border-bottom: 3px solid var(--gp-red);
}

.gp-header-top-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.gp-top-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.gp-top-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.gp-top-phone,
.gp-top-email {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.gp-top-right a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.gp-top-right a:hover {
    color: var(--gp-red-light);
}

.gp-currency-badge {
    background: var(--gp-red);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.5px;
}

/* =========================================
   Main Navbar
   ========================================= */
.gp-navbar {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eaeaea;
}

.gp-navbar-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    position: relative;
}

.gp-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.gp-logo img {
    height: 52px;
    width: auto;
}

.gp-nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.gp-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gp-nav-links > li {
    position: relative;
}

.gp-nav-links > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.gp-nav-links > li > a:hover,
.gp-nav-links > li.current-menu-item > a,
.gp-nav-links > li.is-shop-active > a {
    color: var(--gp-red);
}

.gp-nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gp-red);
    transition: width 0.25s ease;
}

.gp-nav-links > li > a:hover::after,
.gp-nav-links > li.current-menu-item > a::after,
.gp-nav-links > li.is-shop-active > a::after {
    width: 100%;
}

/* =========================================
   Mega Menu for Shop
   ========================================= */
.gp-has-mega {
    position: static !important;
}

.gp-mega-caret {
    display: inline-block;
    transition: transform 0.25s ease;
    color: #64748b;
}

.gp-has-mega:hover .gp-mega-caret,
.gp-has-mega:focus-within .gp-mega-caret,
.gp-has-mega.is-open .gp-mega-caret {
    transform: rotate(180deg);
    color: var(--gp-red);
}

.gp-mega-menu {
    position: absolute;
    top: 100%;
    left: 24px;
    right: 24px;
    max-width: 1272px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.08);
    border-top: 3px solid var(--gp-red);
    padding: 20px 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
    pointer-events: none;
    z-index: 9999;
}

/* Hover bridge between trigger link and mega menu panel */
.gp-mega-menu::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    height: 24px;
}

.gp-has-mega:hover .gp-mega-menu,
.gp-has-mega:focus-within .gp-mega-menu,
.gp-has-mega.is-open .gp-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.gp-mega-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.gp-mega-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gp-mega-badge {
    background: #fee2e2;
    color: var(--gp-red);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gp-mega-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.2px;
}

.gp-mega-view-all {
    font-size: 13px;
    font-weight: 700;
    color: var(--gp-red);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 6px;
    background: #fff5f5;
    border: 1px solid rgba(229, 37, 33, 0.15);
    transition: all 0.2s ease;
}

.gp-mega-view-all:hover {
    background: var(--gp-red);
    color: #ffffff !important;
    border-color: var(--gp-red);
    transform: translateX(2px);
}

.gp-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 16px;
    margin-bottom: 0;
}

.gp-mega-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    background: #ffffff;
}

.gp-mega-card:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    transform: translateX(3px);
}

.gp-mega-icon-box {
    font-size: 20px;
    line-height: 1;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.gp-mega-card:hover .gp-mega-icon-box {
    background: #fee2e2;
    transform: scale(1.08);
}

.gp-mega-card-body {
    flex-grow: 1;
    min-width: 0;
}

.gp-mega-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.gp-mega-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.gp-mega-card:hover .gp-mega-card-title {
    color: var(--gp-red);
}

.gp-mega-card-badge {
    font-size: 10.5px;
    font-weight: 700;
    background: #e2e8f0;
    color: #475569;
    padding: 1px 7px;
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.gp-mega-card:hover .gp-mega-card-badge {
    background: var(--gp-red);
    color: #ffffff;
}

.gp-mega-card-desc {
    margin: 0;
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gp-mega-footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
    font-size: 12.5px;
    color: #475569;
    flex-wrap: wrap;
    gap: 14px;
}

.gp-mega-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gp-trust-badge-icon {
    font-size: 15px;
}

.gp-header-actions {
    flex-shrink: 0;
}

.gp-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gp-red);
    color: #ffffff !important;
    padding: 9px 18px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 3px 10px rgba(229, 37, 33, 0.35);
    transition: all 0.25s ease;
}

.gp-cart-btn:hover {
    background: var(--gp-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(229, 37, 33, 0.5);
}

.gp-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.gp-hamburger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #111111;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.2s ease;
}

/* =========================================
   Full-Width Hero Slider
   ========================================= */
.gp-fullwidth-slider {
    position: relative;
    width: 100%;
    min-height: 560px;
    background-color: transparent;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.gp-slider-track {
    flex: 1 1 auto !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 560px !important;
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
}

.gp-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: center;
    z-index: 1;
    margin: 0 !important;
    padding: 0 !important;
}

.gp-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Eliminate empty or stray WordPress-generated paragraphs inside slider */
.gp-fullwidth-slider p:empty,
.gp-slider-track > p,
.gp-slide > p,
.gp-slider-dots > p {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    line-height: 0 !important;
}

.gp-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 45%, rgba(0, 0, 0, 0.04) 80%, rgba(0, 0, 0, 0) 100%) !important;
}

.gp-slide-content {
    position: relative;
    z-index: 3;
    max-width: 1240px;
    margin: 0 auto;
    padding: 60px 24px;
    color: #ffffff !important;
    width: 100%;
}

.gp-slide-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background-color: var(--gp-red) !important;
    color: #ffffff !important;
    padding: 7px 18px !important;
    border-radius: 24px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
    box-shadow: 0 4px 14px rgba(229, 37, 33, 0.5) !important;
    text-shadow: none !important;
}

.gp-slide-title,
.gp-fullwidth-slider .gp-slide-title {
    font-size: 46px !important;
    font-weight: 900 !important;
    line-height: 1.18 !important;
    margin: 0 0 18px 0 !important;
    color: #ffffff !important;
    max-width: 840px !important;
    letter-spacing: -0.5px !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
}

.gp-slide-desc,
.gp-fullwidth-slider .gp-slide-desc,
.gp-fullwidth-slider .gp-slide-content p.gp-slide-desc {
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: #ffffff !important;
    max-width: 780px !important;
    margin: 0 0 32px 0 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9) !important;
    font-weight: 500 !important;
}

.gp-slide-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.gp-fullwidth-slider .gp-btn-secondary {
    background: rgba(30, 30, 30, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6) !important;
}

.gp-fullwidth-slider .gp-btn-secondary:hover {
    background: #000000 !important;
    border-color: #ffffff !important;
}

/* Slider Controls */
.gp-slider-prev,
.gp-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.25s ease;
    user-select: none;
}

.gp-slider-prev:hover,
.gp-slider-next:hover {
    background: var(--gp-red);
    border-color: var(--gp-red);
    transform: translateY(-50%) scale(1.1);
}

.gp-slider-prev { left: 20px; }
.gp-slider-next { right: 20px; }

.gp-slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.gp-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gp-slider-dot.active {
    background: var(--gp-red);
    width: 32px;
    border-radius: 10px;
}

/* =========================================
   Storefront Category Feature Ribbon
   ========================================= */
.gp-category-ribbon {
    background: #0d0d0d;
    border-top: 1px solid #222222;
    border-bottom: 3px solid var(--gp-red);
    padding: 16px 24px;
    width: 100%;
}

.gp-ribbon-grid {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
}

.gp-ribbon-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px;
    background: #181818;
    border: 1px solid #282828;
    border-radius: 8px;
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.gp-ribbon-item:hover {
    background: #242424;
    border-color: var(--gp-red);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(229, 37, 33, 0.35);
}

.gp-ribbon-icon {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.gp-ribbon-text {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
}

@media (max-width: 1100px) {
    .gp-ribbon-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .gp-ribbon-item {
        flex: auto;
    }
}

@media (max-width: 767px) {
    .gp-ribbon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .gp-ribbon-item:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .gp-ribbon-grid {
        grid-template-columns: 1fr;
    }
    .gp-ribbon-item:last-child {
        grid-column: span 1;
    }
}

/* =========================================
   Buttons
   ========================================= */
.gp-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gp-red) 0%, var(--gp-red-dark) 100%);
    color: #ffffff !important;
    padding: 13px 28px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(229, 37, 33, 0.35);
    text-align: center;
}

.gp-btn-primary:hover {
    background: linear-gradient(135deg, var(--gp-red-light) 0%, var(--gp-red) 100%);
    box-shadow: 0 6px 16px rgba(229, 37, 33, 0.5);
    transform: translateY(-2px);
}

.gp-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1e1e1e;
    color: #ffffff !important;
    padding: 13px 28px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid #333333;
    cursor: pointer;
    text-align: center;
}

.gp-btn-secondary:hover {
    background: #000000;
    border-color: #555555;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.gp-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--gp-red) !important;
    border: 2px solid var(--gp-red);
    padding: 11px 26px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    text-align: center;
}

.gp-btn-outline:hover {
    background: var(--gp-red);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(229, 37, 33, 0.35);
    transform: translateY(-2px);
}

/* =========================================
   Layout Containers & 50/50 Rows
   ========================================= */
.gp-main-wrapper {
    min-height: calc(100vh - 450px);
}

.gp-content-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 24px 60px 24px;
}

.gp-split-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 45px;
    margin: 60px 0;
}

.gp-split-col {
    flex: 1 1 45%;
    min-width: 320px;
}

.gp-split-img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid #e0e0e0;
}

.gp-split-img-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gp-split-img-wrap:hover img {
    transform: scale(1.03);
}

/* =========================================
   Product Grid & Cards
   ========================================= */
.gp-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: 25px 0 15px 0;
}

.gp-product-card {
    background: #ffffff;
    border: 1px solid var(--gp-gray-border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    position: relative;
}

.gp-product-card:hover {
    border-color: var(--gp-red);
    box-shadow: 0 10px 28px rgba(229, 37, 33, 0.15);
    transform: translateY(-4px);
}

.gp-product-img-wrap {
    width: 100%;
    height: 220px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1f5f9;
}

.gp-product-img-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.gp-product-img-wrap img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
    display: block;
}

.gp-product-card:hover .gp-product-img-wrap img {
    transform: scale(1.06);
}

/* =========================================
   Featured Categories Grid (4 Columns Per Row)
   ========================================= */
.gp-category-section {
    margin: 15px 0 55px 0;
}

.gp-category-section-header {
    text-align: center;
    margin-bottom: 28px;
}

.gp-category-section-badge {
    color: var(--gp-red);
    font-weight: 800;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: inline-block;
    margin-bottom: 6px;
}

.gp-category-section-title {
    font-size: 32px;
    font-weight: 900;
    color: #111111;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.gp-category-section-desc {
    font-size: 16px;
    color: #64748b;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

.gp-category-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
}

.gp-category-grid-4col > p {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gp-cat-card-img-wrap br,
.gp-cat-card-body br {
    display: none !important;
}

.gp-cat-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.gp-cat-card:hover {
    border-color: var(--gp-red);
    box-shadow: 0 12px 28px rgba(229, 37, 33, 0.14);
    transform: translateY(-5px);
}

.gp-cat-card-img-wrap {
    height: 180px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 14px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    position: relative;
}

.gp-cat-card-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
    display: block;
}

.gp-cat-card:hover .gp-cat-card-img-wrap img {
    transform: scale(1.08);
}

.gp-cat-card-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.gp-cat-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.gp-cat-card-icon {
    font-size: 20px;
    line-height: 1;
}

.gp-cat-card-count {
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    padding: 2px 9px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.gp-cat-card:hover .gp-cat-card-count {
    background: #fee2e2;
    color: var(--gp-red);
}

.gp-cat-card-title {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 6px 0;
    line-height: 1.35;
    min-height: 42px;
    display: flex;
    align-items: center;
}

.gp-cat-card-title a {
    color: #111111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.gp-cat-card-title a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.gp-cat-card:hover .gp-cat-card-title a {
    color: var(--gp-red);
}

.gp-cat-card-cta {
    font-size: 13px;
    font-weight: 700;
    color: var(--gp-red);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    transition: gap 0.2s ease;
}

.gp-cat-card:hover .gp-cat-card-cta {
    gap: 8px;
}

/* Card #12: All Inventory Card */
.gp-cat-card-all {
    background: linear-gradient(135deg, #181818 0%, #2b2b2b 100%);
    border-color: #333333;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    min-height: 280px;
}

.gp-cat-card-all:hover {
    border-color: var(--gp-red);
    box-shadow: 0 12px 28px rgba(229, 37, 33, 0.25);
    transform: translateY(-5px);
}

.gp-cat-card-all-icon {
    font-size: 38px;
    line-height: 1;
    margin-bottom: 12px;
}

.gp-cat-card-all-title {
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.gp-cat-card-all-title a {
    color: #ffffff !important;
    text-decoration: none;
}

.gp-cat-card-all-title a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.gp-cat-card-all-desc {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.45;
    margin: 0 0 16px 0;
}

.gp-cat-card-all-btn {
    background: var(--gp-red);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 13px;
    padding: 9px 18px;
    border-radius: 6px;
    display: inline-block;
    transition: background 0.2s ease;
}

.gp-cat-card-all:hover .gp-cat-card-all-btn {
    background: var(--gp-red-dark);
}

@media (max-width: 768px) {
    .gp-category-grid-4col {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px;
    }
    .gp-category-section-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .gp-category-grid-4col {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
}

/* =========================================
   Hero Banners & Headings for Policy Pages
   ========================================= */
.gp-hero-banner {
    background: linear-gradient(135deg, #181818 0%, #282828 100%);
    color: #ffffff;
    padding: 50px 36px;
    border-radius: 12px;
    margin-bottom: 45px;
    border-left: 6px solid var(--gp-red);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.gp-hero-banner h1 {
    color: #ffffff !important;
    margin: 8px 0 12px 0;
}

.gp-page-body h2 {
    font-size: 26px;
    font-weight: 800;
    color: #111111;
    margin-top: 35px;
    margin-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

.gp-page-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: #222222;
    margin-top: 24px;
    margin-bottom: 8px;
}

.gp-page-body p {
    font-size: 16px;
    color: #444444;
    line-height: 1.8;
    margin-bottom: 18px;
}

.gp-page-body ul, .gp-page-body ol {
    margin-bottom: 22px;
    padding-left: 24px;
}

.gp-page-body li {
    font-size: 15px;
    color: #444444;
    line-height: 1.8;
    margin-bottom: 8px;
}

/* =========================================
   Payment Methods 3-Column Grid
   ========================================= */
.gp-payment-methods-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    margin: 32px 0 45px 0 !important;
    align-items: stretch !important;
}

.gp-payment-method-card {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px 22px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
    box-sizing: border-box !important;
}

.gp-payment-method-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    border-color: #cbd5e1 !important;
}

.gp-pm-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.gp-pm-icon {
    font-size: 28px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    flex-shrink: 0 !important;
}

.gp-pm-title {
    margin: 0 !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    border: none !important;
    padding: 0 !important;
}

.gp-pm-desc {
    color: #475569 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
    flex-grow: 1 !important;
}

.gp-pm-desc strong {
    color: #0f172a !important;
}

.gp-pm-instruction {
    background: #f8fafc !important;
    padding: 12px 14px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    color: #334155 !important;
    line-height: 1.55 !important;
    margin-top: auto !important;
}

.gp-pm-instruction strong {
    color: #0f172a !important;
}

.gp-pm-card-cc .gp-pm-instruction {
    border-left: 3px solid var(--gp-red) !important;
}

.gp-pm-card-paypal .gp-pm-instruction {
    border-left: 3px solid #0079c1 !important;
}

.gp-pm-card-interac .gp-pm-instruction {
    border-left: 3px solid #f5a623 !important;
}

@media (max-width: 991px) {
    .gp-payment-methods-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }
    .gp-payment-method-card {
        padding: 20px 16px !important;
    }
}

@media (max-width: 768px) {
    .gp-payment-methods-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* =========================================
   Footer
   ========================================= */
.gp-footer {
    background-color: #0d0d0d;
    color: #a6adb4;
    padding: 60px 24px 24px 24px;
    margin-top: 70px;
    border-top: 4px solid var(--gp-red);
}

.gp-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    box-sizing: border-box;
}

.gp-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    padding-bottom: 45px;
    border-bottom: 1px solid #252525;
}

.gp-footer-logo-wrap {
    display: inline-block;
    margin-bottom: 16px;
}

.gp-footer-about {
    font-size: 14px;
    line-height: 1.75;
    color: #9ea5ac;
    margin-bottom: 18px;
}

.gp-footer-contact-list {
    font-size: 13px;
    line-height: 1.9;
    color: #cccccc;
}

.gp-footer-contact-list a {
    color: #ffffff;
    font-weight: bold;
}

.gp-footer-heading {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 18px 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-left: 3px solid var(--gp-red);
    padding-left: 12px;
}

.gp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    line-height: 2.1;
}

.gp-footer-links a {
    color: #c5cbd1;
    transition: color 0.2s ease;
}

.gp-footer-links a:hover {
    color: var(--gp-red-light);
}

.gp-footer-subtext {
    font-size: 13px;
    color: #9ea5ac;
    line-height: 1.6;
    margin-bottom: 14px;
}

.gp-payment-box {
    background: #181818;
    border: 1px solid #2a2a2a;
    padding: 14px;
    border-radius: 8px;
    font-size: 13px;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 15px;
}

.gp-compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1b5e20;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 7px 14px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.gp-footer-bottom {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #727b83;
}

.gp-footer-bottom-links {
    display: flex;
    gap: 18px;
}

.gp-footer-bottom-links a {
    color: #8c959d;
}

.gp-footer-bottom-links a:hover {
    color: var(--gp-red);
}

/* =========================================
   WooCommerce Global & Product Page Styling
   ========================================= */

/* Main Container Wrappers */
.woocommerce .content-area,
.woocommerce-page .content-area,
.single-product .content-area,
.woocommerce-page #primary,
.woocommerce #primary {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 30px 24px 60px 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb,
.woocommerce-page .woocommerce-breadcrumb {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

/* Hide breadcrumbs on all catalog / category / shop / archive pages */
.woocommerce-shop .woocommerce-breadcrumb,
.tax-product_cat .woocommerce-breadcrumb,
.tax-product_tag .woocommerce-breadcrumb,
.post-type-archive-product .woocommerce-breadcrumb,
.archive.woocommerce .woocommerce-breadcrumb,
.archive .woocommerce-breadcrumb {
    display: none !important;
}

.woocommerce .woocommerce-breadcrumb a,
.woocommerce-page .woocommerce-breadcrumb a {
    color: #1e293b;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.woocommerce .woocommerce-breadcrumb a:hover,
.woocommerce-page .woocommerce-breadcrumb a:hover {
    color: var(--gp-red);
}

.gp-crumb-sep {
    color: #94a3b8;
    margin: 0 4px;
}

/* Sale Badges */
.woocommerce span.onsale,
.woocommerce-page span.onsale,
.single-product span.onsale,
ul.products li.product .onsale {
    background: linear-gradient(135deg, var(--gp-red) 0%, var(--gp-red-dark) 100%) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    font-size: 12px !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    padding: 6px 14px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.2 !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(229, 37, 33, 0.4) !important;
    top: 14px !important;
    left: 14px !important;
    right: auto !important;
    z-index: 10;
}

/* Single Product 2-Column Layout */
.single-product div.product {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    margin-bottom: 50px;
}

.single-product div.product .woocommerce-product-gallery,
.single-product div.product .images {
    width: 100% !important;
    float: none !important;
    margin-bottom: 0 !important;
}

.single-product div.product .summary.entry-summary {
    width: 100% !important;
    float: none !important;
}

.single-product div.product .woocommerce-tabs,
.single-product div.product .related.products,
.single-product div.product .upsells.products {
    grid-column: 1 / -1;
    width: 100% !important;
    clear: both;
}

/* Product Gallery & Video Slider */
.single-product .images .nickx-slider,
.single-product .images .woocommerce-product-gallery__wrapper,
.single-product .images .flex-viewport {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.single-product .images img {
    border-radius: 10px;
    margin: 0 auto;
}

.nickx-thumbnail {
    border: 2px solid transparent !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.nickx-thumbnail:hover,
.nickx-thumbnail.nswiper-slide-thumb-active {
    border-color: var(--gp-red) !important;
    box-shadow: 0 2px 8px rgba(229, 37, 33, 0.25) !important;
}

/* Product Summary Typography */
.single-product h1.product_title {
    font-size: 32px !important;
    font-weight: 900 !important;
    color: #111827 !important;
    line-height: 1.25 !important;
    margin: 0 0 16px 0 !important;
    letter-spacing: -0.4px !important;
}

/* Price Display */
.single-product p.price,
.single-product .summary .price {
    font-size: 28px !important;
    font-weight: 900 !important;
    color: var(--gp-red) !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 12px !important;
    margin: 16px 0 20px 0 !important;
}

.single-product .price del,
.single-product p.price del {
    color: #94a3b8 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    text-decoration: line-through !important;
    opacity: 0.85;
}

.single-product .price ins,
.single-product p.price ins {
    color: var(--gp-red) !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.woocommerce-Price-currencySymbol {
    font-weight: 800;
}

/* Stock / Inventory Display (Hidden) */
.single-product .stock,
.single-product p.stock,
.woocommerce .stock,
.woocommerce p.stock,
.stock.in-stock,
.stock.out-of-stock {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Short Description */
.single-product .woocommerce-product-details__short-description {
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e2e8f0;
}

.single-product .woocommerce-product-details__short-description p {
    margin: 0 0 10px 0;
}

/* Form Add to Cart & Quantity */
.single-product form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 24px 0 28px 0 !important;
    flex-wrap: wrap !important;
}

.woocommerce .quantity {
    display: inline-block;
}

.woocommerce .quantity .qty {
    width: 76px !important;
    height: 50px !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    text-align: center !important;
    color: #0f172a !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
}

.woocommerce .quantity .qty:focus {
    border-color: var(--gp-red) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(229, 37, 33, 0.18) !important;
}

/* Add to Cart & Universal WooCommerce Buttons */
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce button.single_add_to_cart_button,
.woocommerce #respond input#submit.alt,
.woocommerce .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #place_order,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: linear-gradient(135deg, var(--gp-red) 0%, var(--gp-red-dark) 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    padding: 0 34px !important;
    height: 50px !important;
    line-height: 50px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(229, 37, 33, 0.35) !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.single_add_to_cart_button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #place_order:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: linear-gradient(135deg, var(--gp-red-light) 0%, var(--gp-red) 100%) !important;
    box-shadow: 0 6px 20px rgba(229, 37, 33, 0.5) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}

/* Secondary WooCommerce Buttons (e.g., Update Cart, Apply Coupon) */
.woocommerce .actions button.button,
.woocommerce .actions input.button,
.woocommerce a.button.alt.nc-checkout {
    background: #1e293b !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15) !important;
}

.woocommerce .actions button.button:hover,
.woocommerce .actions input.button:hover {
    background: #0f172a !important;
    border-color: #0f172a !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.25) !important;
}

/* Product Trust Box */
.gp-product-trust-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 20px;
    margin: 24px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.gp-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}

.gp-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.gp-trust-icon {
    font-size: 22px;
    line-height: 1.2;
    flex-shrink: 0;
}

.gp-trust-info strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 2px;
}

.gp-trust-info p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

/* Product Meta */
.single-product .product_meta {
    font-size: 14px;
    color: #64748b;
    line-height: 2.2;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    margin-top: 20px;
}

.single-product .product_meta span {
    display: block;
}

.single-product .product_meta strong,
.single-product .product_meta span.sku_wrapper,
.single-product .product_meta span.posted_in,
.single-product .product_meta span.tagged_as {
    font-weight: 600;
    color: #334155;
}

.single-product .product_meta .sku {
    font-weight: 700;
    color: #0f172a;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
}

.single-product .product_meta a {
    color: var(--gp-red) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.single-product .product_meta a:hover {
    color: var(--gp-red-dark) !important;
    text-decoration: underline !important;
}

/* WooCommerce Tabs */
.woocommerce div.product .woocommerce-tabs {
    margin-top: 45px;
    border-top: 2px solid #e2e8f0;
    padding-top: 35px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 -1px 0;
    border-bottom: 2px solid #e2e8f0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 0;
    margin: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 14px 26px;
    font-weight: 700;
    font-size: 15px;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:hover a {
    color: var(--gp-red);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: #ffffff;
    border-top: 3px solid var(--gp-red);
    border-bottom: 2px solid #ffffff;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #0f172a;
    font-weight: 800;
}

.woocommerce div.product .woocommerce-tabs .panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 12px 12px;
    padding: 36px 40px;
    margin: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.woocommerce div.product .woocommerce-tabs .panel h2:first-of-type {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
}

.woocommerce div.product .woocommerce-tabs .panel p {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 16px;
}

.woocommerce div.product .woocommerce-tabs .panel ul {
    padding-left: 22px;
    margin-bottom: 20px;
}

.woocommerce div.product .woocommerce-tabs .panel li {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 8px;
}

/* Related Products & Upsells */
.woocommerce .related.products,
.woocommerce .upsells.products {
    margin-top: 55px;
    padding-top: 35px;
    border-top: 2px solid #e2e8f0;
}

.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 28px 0;
    border-left: 5px solid var(--gp-red);
    padding-left: 14px;
    letter-spacing: -0.3px;
}

/* Product Archive & Shop Catalog Grids */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 28px !important;
    padding: 0 !important;
    margin: 30px 0 !important;
    list-style: none !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    position: relative !important;
}

.woocommerce ul.products li.product:hover {
    border-color: var(--gp-red) !important;
    box-shadow: 0 10px 24px rgba(229, 37, 33, 0.14) !important;
    transform: translateY(-4px) !important;
}

.woocommerce ul.products li.product img {
    border-radius: 8px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
    height: 220px !important;
    object-fit: contain !important;
    background: #ffffff !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.4 !important;
    margin: 0 0 12px 0 !important;
    transition: color 0.2s ease !important;
    min-height: 44px;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
    color: var(--gp-red) !important;
}

.woocommerce ul.products li.product .price {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: var(--gp-red) !important;
    margin: 0 0 16px 0 !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
}

.woocommerce ul.products li.product .price del {
    font-size: 15px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
    font-weight: 900 !important;
}

.woocommerce ul.products li.product .button {
    margin-top: auto !important;
    width: 100% !important;
    height: 44px !important;
    line-height: 44px !important;
    font-size: 13px !important;
}

/* =========================================================
   STANDOUT "VIEW CART" BUTTON WHEN PRODUCT IS ADDED
   ========================================================= */
.woocommerce a.added_to_cart,
.woocommerce-page a.added_to_cart,
.woocommerce ul.products li.product a.added_to_cart,
.single-product form.cart a.added_to_cart,
a.added_to_cart.wc-forward,
a.added_to_cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    flex-basis: 100% !important;
    height: 44px !important;
    line-height: 44px !important;
    margin-top: 10px !important;
    padding: 0 18px !important;
    border-radius: 8px !important;
    background: #0f172a !important; /* Deep Premium Obsidian Slate */
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border: 2px solid #0f172a !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.28) !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 5 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    animation: gpViewCartEntrance 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.woocommerce a.added_to_cart::before,
.woocommerce-page a.added_to_cart::before,
a.added_to_cart::before {
    content: '🛒';
    font-size: 15px;
    line-height: 1;
    display: inline-block;
}

.woocommerce a.added_to_cart::after,
.woocommerce-page a.added_to_cart::after,
a.added_to_cart::after {
    content: '→';
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    margin-left: 2px;
    display: inline-block;
    transition: transform 0.25s ease;
}

.woocommerce a.added_to_cart:hover,
.woocommerce-page a.added_to_cart:hover,
a.added_to_cart:hover {
    background: var(--gp-red) !important;
    border-color: var(--gp-red) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(229, 37, 33, 0.45) !important;
    transform: translateY(-2px) !important;
}

.woocommerce a.added_to_cart:hover::after,
.woocommerce-page a.added_to_cart:hover::after,
a.added_to_cart:hover::after {
    transform: translateX(5px);
}

@keyframes gpViewCartEntrance {
    0% {
        opacity: 0;
        transform: translateY(-6px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Pagination */
.woocommerce nav.woocommerce-pagination {
    margin: 40px 0 20px 0;
    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    gap: 6px;
    border: none;
    padding: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
    margin: 0;
    padding: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: #f1f5f9;
    border-color: var(--gp-red);
    color: var(--gp-red);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--gp-red);
    color: #ffffff;
    border-color: var(--gp-red);
    box-shadow: 0 3px 10px rgba(229, 37, 33, 0.35);
}

/* Notices & Alerts */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 16px 22px !important;
    border-radius: 8px !important;
    margin-bottom: 26px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.woocommerce-message {
    background-color: #ecfdf5 !important;
    border-left: 5px solid #10b981 !important;
    color: #065f46 !important;
}

.woocommerce-message .button,
.woocommerce-message a.button.wc-forward {
    margin-left: auto !important;
    background: #0f172a !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    padding: 0 20px !important;
    height: 38px !important;
    line-height: 38px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.25) !important;
    transition: all 0.2s ease !important;
}

.woocommerce-message .button::before,
.woocommerce-message a.button.wc-forward::before {
    content: '🛒';
    font-size: 14px;
    line-height: 1;
}

.woocommerce-message .button::after,
.woocommerce-message a.button.wc-forward::after {
    content: '→';
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    margin-left: 2px;
}

.woocommerce-message .button:hover,
.woocommerce-message a.button.wc-forward:hover {
    background: var(--gp-red) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 14px rgba(229, 37, 33, 0.4) !important;
}

.woocommerce-info {
    background-color: #eff6ff !important;
    border-left: 5px solid #3b82f6 !important;
    color: #1e40af !important;
}

.woocommerce-error {
    background-color: #fef2f2 !important;
    border-left: 5px solid var(--gp-red) !important;
    color: #991b1b !important;
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 991px) {
    /* Mobile Top Bar: Display ONLY Email and Phone Number */
    .gp-header-top {
        padding: 7px 14px !important;
    }
    .gp-header-top-inner {
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }
    .gp-top-left {
        display: none !important;
    }
    .gp-currency-badge {
        display: none !important;
    }
    .gp-top-right {
        width: 100% !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 14px 24px !important;
        font-size: 13px !important;
        flex-wrap: wrap !important;
    }
    .gp-top-phone,
    .gp-top-email {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        white-space: nowrap !important;
    }
    .gp-top-phone a,
    .gp-top-email a {
        color: #ffffff !important;
        font-weight: 600 !important;
        text-decoration: none !important;
    }
    .gp-top-phone a:hover,
    .gp-top-email a:hover {
        color: var(--gp-red-light) !important;
    }

    .gp-navbar-inner {
        flex-wrap: wrap;
        align-items: center;
        padding: 12px 18px;
        gap: 12px;
    }
    .gp-logo {
        order: 1 !important;
        margin-right: auto !important;
    }
    .gp-header-actions {
        order: 2 !important;
        margin-left: 0 !important;
    }
    .gp-cart-btn {
        height: 38px !important;
        padding: 8px 14px !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
        font-size: 13px !important;
    }
    .gp-mobile-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        order: 3 !important;
        margin-left: 0 !important;
        width: 40px !important;
        height: 38px !important;
        padding: 6px !important;
        background: #ffffff !important;
        border: 1.5px solid #cbd5e1 !important;
        border-radius: 6px !important;
        cursor: pointer !important;
        box-sizing: border-box !important;
        transition: all 0.2s ease !important;
    }
    .gp-mobile-toggle:hover,
    .gp-mobile-toggle:focus {
        border-color: var(--gp-red) !important;
        background: #f8fafc !important;
        outline: none !important;
    }
    .gp-hamburger-bar {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        background: #0f172a !important;
        margin: 2.5px 0 !important;
        border-radius: 2px !important;
    }
    .gp-nav-container {
        display: none;
        width: 100%;
        order: 4;
        padding: 12px 0 6px 0;
        border-top: 1px solid #f1f5f9;
    }
    .gp-nav-container.is-active {
        display: block;
    }
    .gp-nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        width: 100%;
    }
    .gp-nav-links > li > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 14px;
        border-radius: 8px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
    }
    .gp-nav-links > li > a::after {
        display: none;
    }
    .gp-has-mega.is-open .gp-mega-menu {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        margin-top: 8px;
        margin-bottom: 8px;
        padding: 16px 14px;
    }
    .gp-mega-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .gp-mega-footer-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .gp-slide-title,
    .gp-fullwidth-slider .gp-slide-title {
        font-size: 30px !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
    }
    .gp-slide-desc,
    .gp-fullwidth-slider .gp-slide-desc,
    .gp-fullwidth-slider .gp-slide-content p.gp-slide-desc {
        font-size: 15px !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }
    .gp-slide-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.15) 100%) !important;
    }
    .gp-fullwidth-slider, .gp-slider-track {
        min-height: 460px !important;
        height: 100% !important;
    }
    .single-product div.product {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* =========================================
   Mobile Slider Minimal Styling (<= 768px)
   ========================================= */
@media (max-width: 768px) {
    .gp-fullwidth-slider,
    .gp-fullwidth-slider .gp-slider-track {
        min-height: 390px !important;
        height: 100% !important;
    }
    .gp-fullwidth-slider .gp-slide-content {
        padding: 24px 44px 34px 44px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .gp-slide-badge,
    .gp-fullwidth-slider .gp-slide-badge {
        font-size: 11px !important;
        padding: 4px 12px !important;
        margin-bottom: 8px !important;
        letter-spacing: 0.3px !important;
    }
    .gp-slide-title,
    .gp-fullwidth-slider .gp-slide-title {
        font-size: 21px !important;
        line-height: 1.25 !important;
        margin: 0 0 8px 0 !important;
        letter-spacing: -0.3px !important;
        font-weight: 800 !important;
        max-width: 100% !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
    }
    .gp-slide-desc,
    .gp-fullwidth-slider .gp-slide-desc,
    .gp-fullwidth-slider .gp-slide-content p.gp-slide-desc {
        font-size: 12.5px !important;
        line-height: 1.45 !important;
        margin: 0 0 14px 0 !important;
        max-width: 92% !important;
        color: #f8fafc !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85) !important;
    }
    .gp-slide-buttons {
        gap: 8px !important;
        margin-top: 4px !important;
    }
    .gp-slide-buttons br {
        display: none !important;
    }
    .gp-fullwidth-slider .gp-btn-primary {
        padding: 8px 18px !important;
        font-size: 13px !important;
        height: 38px !important;
        line-height: 38px !important;
        border-radius: 6px !important;
    }
    .gp-fullwidth-slider .gp-btn-secondary {
        display: none !important;
    }
    .gp-slider-prev,
    .gp-slider-next {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
    .gp-slider-prev { left: 8px !important; }
    .gp-slider-next { right: 8px !important; }
    .gp-slider-dots {
        bottom: 12px !important;
        gap: 6px !important;
    }
    .gp-slider-dot {
        width: 8px !important;
        height: 8px !important;
    }
    .gp-content-container {
        padding: 16px 16px 40px 16px !important;
    }
    .gp-category-section {
        margin: 10px 0 35px 0 !important;
    }
    .gp-category-section-header {
        margin-bottom: 20px !important;
    }
    .gp-quality-banner {
        margin-bottom: 22px !important;
        padding: 22px 18px !important;
    }
    .gp-why-order-banner {
        margin: 22px 0 !important;
        padding: 24px 18px !important;
    }
    .gp-featured-inventory-section {
        margin: 18px 0 10px 0 !important;
    }
    .gp-featured-inventory-section > div:first-child {
        margin-bottom: 18px !important;
    }
    .gp-product-grid {
        margin: 14px 0 10px 0 !important;
        gap: 16px !important;
    }
    .gp-transparency-box {
        margin: 18px 0 28px 0 !important;
        padding: 24px 18px !important;
    }
    .gp-transparency-box h2 {
        font-size: 22px !important;
        margin-bottom: 10px !important;
        line-height: 1.3 !important;
    }
    .gp-transparency-box p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 16px !important;
    }
}

@media (max-width: 600px) {
    .gp-header-top-inner {
        justify-content: center;
        text-align: center;
    }
    .gp-top-right {
        justify-content: center;
        gap: 10px 18px !important;
    }
    .gp-trust-grid {
        grid-template-columns: 1fr;
    }
    .woocommerce div.product .woocommerce-tabs .panel {
        padding: 24px 20px;
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs {
        flex-direction: column;
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs li {
        border-radius: 8px;
        border: 1px solid #e2e8f0;
    }
}

@media (max-width: 480px) {
    .gp-navbar-inner {
        padding: 10px 14px !important;
        gap: 8px !important;
    }
    .gp-logo img {
        height: 42px !important;
        max-width: 155px !important;
    }
    .gp-cart-btn {
        height: 36px !important;
        padding: 7px 11px !important;
        font-size: 12px !important;
    }
    .gp-mobile-toggle {
        width: 36px !important;
        height: 36px !important;
    }
    .gp-header-top {
        padding: 6px 10px !important;
    }
    .gp-top-right {
        gap: 8px 14px !important;
        font-size: 12px !important;
    }

    /* Ultra-compact phone slider adjustments */
    .gp-fullwidth-slider,
    .gp-fullwidth-slider .gp-slider-track {
        min-height: 370px !important;
        height: 100% !important;
    }
    .gp-fullwidth-slider .gp-slide-content {
        padding: 20px 38px 30px 38px !important;
    }
    .gp-slide-badge,
    .gp-fullwidth-slider .gp-slide-badge {
        font-size: 10px !important;
        padding: 3px 9px !important;
        margin-bottom: 6px !important;
    }
    .gp-slide-title,
    .gp-fullwidth-slider .gp-slide-title {
        font-size: 19px !important;
        line-height: 1.22 !important;
        margin: 0 0 6px 0 !important;
    }
    .gp-slide-desc,
    .gp-fullwidth-slider .gp-slide-desc,
    .gp-fullwidth-slider .gp-slide-content p.gp-slide-desc {
        font-size: 11.5px !important;
        line-height: 1.38 !important;
        margin: 0 0 12px 0 !important;
        -webkit-line-clamp: 2 !important;
    }
    .gp-fullwidth-slider .gp-btn-primary {
        padding: 7px 15px !important;
        font-size: 12px !important;
        height: 35px !important;
        line-height: 35px !important;
    }
    .gp-content-container {
        padding: 12px 14px 28px 14px !important;
    }
    .gp-category-section {
        margin: 6px 0 25px 0 !important;
    }
    .gp-category-section-header {
        margin-bottom: 14px !important;
    }
    .gp-quality-banner {
        margin-bottom: 18px !important;
        padding: 18px 14px !important;
    }
    .gp-why-order-banner {
        margin: 18px 0 !important;
        padding: 20px 14px !important;
    }
    .gp-featured-inventory-section {
        margin: 14px 0 8px 0 !important;
    }
    .gp-featured-inventory-section > div:first-child {
        margin-bottom: 14px !important;
    }
    .gp-product-grid {
        margin: 10px 0 8px 0 !important;
        gap: 14px !important;
    }
    .gp-transparency-box {
        margin: 14px 0 24px 0 !important;
        padding: 20px 14px !important;
    }
    .gp-transparency-box h2 {
        font-size: 20px !important;
        margin-bottom: 8px !important;
    }
    .gp-transparency-box p {
        font-size: 13px !important;
        margin-bottom: 14px !important;
    }
}

/* =========================================================
   PAGE CONTENT WIDTH - CART, CHECKOUT, ACCOUNT & SITE-WIDE
   ========================================================= */

/* 1. Page Content Width - Strictly aligns with Header/Footer/Site Container */
.woocommerce-cart #content.gp-main-wrapper,
.woocommerce-checkout #content.gp-main-wrapper,
.woocommerce-account #content.gp-main-wrapper {
    max-width: 100% !important;
    overflow-x: hidden;
}

.woocommerce-cart .gp-page-body,
.woocommerce-checkout .gp-page-body,
.woocommerce-account .gp-page-body,
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce,
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-account .entry-content {
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 40px 24px 80px 24px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Cancel Gutenberg alignwide / alignfull edge-to-edge breakout */
.woocommerce-cart .wp-block-woocommerce-cart.alignwide,
.woocommerce-cart .wp-block-woocommerce-cart.alignfull,
.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide,
.woocommerce-checkout .wp-block-woocommerce-checkout.alignfull,
.woocommerce-cart .alignwide,
.woocommerce-cart .alignfull,
.woocommerce-checkout .alignwide,
.woocommerce-checkout .alignfull,
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Fallback for any standard page without .gp-content-container, search, 404 & archives */
.search #primary,
.search .content-area,
.error404 #primary,
.error404 .content-area,
.archive:not(.woocommerce) #primary,
.archive:not(.woocommerce) .content-area,
body:not(.home) .site-main,
body:not(.home) .gp-page-body:not(:has(.gp-content-container)) {
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .woocommerce-cart .gp-page-body,
    .woocommerce-checkout .gp-page-body,
    .woocommerce-account .gp-page-body,
    .woocommerce-cart .woocommerce,
    .woocommerce-checkout .woocommerce,
    .woocommerce-account .woocommerce,
    body:not(.home) .gp-page-body:not(:has(.gp-content-container)) {
        padding: 24px 16px 60px 16px !important;
    }
}

/* 2. Theme Colors & CSS Variables for WooCommerce Blocks */
:root {
    --wc-block-theme-color: #e52521 !important;
    --wc-block-accent-color: #e52521 !important;
    --wc-block-primary-color: #e52521 !important;
}

.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout,
.wc-block-cart,
.wc-block-checkout {
    --wc-block-theme-color: var(--gp-red) !important;
    --wc-block-accent-color: var(--gp-red) !important;
    --wc-block-primary-color: var(--gp-red) !important;
}

/* 3. Primary Action Buttons: Proceed to Checkout & Place Order */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-container button,
.wc-block-checkout__actions .wc-block-components-checkout-place-order-button,
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order,
.woocommerce-checkout button#place_order,
.wc-block-components-button--color-primary {
    background: linear-gradient(135deg, var(--gp-red) 0%, var(--gp-red-dark) 100%) !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    padding: 0 32px !important;
    height: 52px !important;
    line-height: 52px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(229, 37, 33, 0.35) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-cart__submit-container button:hover,
.wc-block-checkout__actions .wc-block-components-checkout-place-order-button:hover,
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #place_order:hover,
.woocommerce-checkout button#place_order:hover,
.wc-block-components-button--color-primary:hover {
    background: linear-gradient(135deg, var(--gp-red-light) 0%, var(--gp-red) 100%) !important;
    box-shadow: 0 6px 22px rgba(229, 37, 33, 0.5) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}

.wc-block-cart__submit-button:active,
.wc-block-components-checkout-place-order-button:active {
    transform: translateY(0) !important;
}

/* 4. Secondary Action Buttons (Apply Coupon, Continue, Return) */
.wc-block-components-totals-coupon__button,
.wc-block-components-button:not(.wc-block-cart__submit-button):not(.wc-block-components-checkout-place-order-button),
.woocommerce-cart .actions .button,
.woocommerce-cart .actions input.button {
    background: #0f172a !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2) !important;
    transition: all 0.2s ease !important;
}

.wc-block-components-totals-coupon__button:hover,
.wc-block-components-button:not(.wc-block-cart__submit-button):not(.wc-block-components-checkout-place-order-button):hover,
.woocommerce-cart .actions .button:hover,
.woocommerce-cart .actions input.button:hover {
    background: var(--gp-red) !important;
    box-shadow: 0 4px 14px rgba(229, 37, 33, 0.35) !important;
    color: #ffffff !important;
}

/* 5. Theme Links Styling */
.wc-block-components-product-name,
.wc-block-cart-item__wrap a,
.woocommerce-cart td.product-name a,
.wc-block-components-order-summary-item__title,
.wc-block-components-order-summary-item a {
    color: #111111 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.wc-block-components-product-name:hover,
.wc-block-cart-item__wrap a:hover,
.woocommerce-cart td.product-name a:hover,
.wc-block-components-order-summary-item__title:hover,
.wc-block-components-order-summary-item a:hover {
    color: var(--gp-red) !important;
}

/* Coupon Links & Accordions */
.wc-block-components-totals-coupon .wc-block-components-panel__button,
.wc-block-components-totals-coupon-link,
.woocommerce-form-coupon-toggle .showcoupon,
.wc-block-checkout__actions_row a,
.wc-block-components-checkout-step__edit,
.wc-block-components-checkout-step__description a {
    color: var(--gp-red) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.wc-block-components-totals-coupon .wc-block-components-panel__button:hover,
.wc-block-components-totals-coupon-link:hover,
.woocommerce-form-coupon-toggle .showcoupon:hover,
.wc-block-checkout__actions_row a:hover,
.wc-block-components-checkout-step__edit:hover,
.wc-block-components-checkout-step__description a:hover {
    color: var(--gp-red-dark) !important;
    text-decoration: underline !important;
}

/* Remove item link */
.wc-block-cart-item__remove-link,
.woocommerce-cart a.remove {
    color: #94a3b8 !important;
    transition: color 0.2s ease !important;
}

.wc-block-cart-item__remove-link:hover,
.woocommerce-cart a.remove:hover {
    color: var(--gp-red) !important;
}

/* Quantity controls in cart */
.wc-block-components-quantity-selector button:hover {
    color: var(--gp-red) !important;
    border-color: var(--gp-red) !important;
}

/* 6. Order Summary Badge in Checkout */
.wc-block-components-order-summary-item__quantity {
    background-color: var(--gp-red) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    border-radius: 10px !important;
}

/* Step Numbers / Icons */
.wc-block-components-checkout-step__title::before,
.wc-block-components-checkout-step__icon {
    background-color: var(--gp-red) !important;
    color: #ffffff !important;
}

/* 7. Prices & Totals */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-item__value.wc-block-components-totals-item__value--highlight,
.woocommerce-cart .order-total .amount,
.woocommerce-checkout .order-total .amount {
    color: var(--gp-red) !important;
    font-weight: 900 !important;
    font-size: 22px !important;
}

.wc-block-components-totals-shipping .wc-block-components-totals-item__value,
.wc-block-components-shipping-rates-control .wc-block-components-radio-control__secondary-label {
    color: #15803d !important;
    font-weight: 800 !important;
}

/* 8. Form Inputs Focus & Active States */
.wc-block-components-text-input input:focus,
.wc-block-components-combobox-control input:focus,
.wc-block-components-textarea-control textarea:focus,
.woocommerce-cart input.input-text:focus,
.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus {
    border-color: var(--gp-red) !important;
    box-shadow: 0 0 0 3px rgba(229, 37, 33, 0.15) !important;
    outline: none !important;
}

.wc-block-components-text-input.is-active label,
.wc-block-components-combobox-control.is-active label {
    color: var(--gp-red) !important;
}

/* Checkboxes & Radio Controls */
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked,
.wc-block-components-radio-control .wc-block-components-radio-control__input[type="radio"]:checked,
.woocommerce-checkout input[type="checkbox"]:checked,
.woocommerce-checkout input[type="radio"]:checked {
    background-color: var(--gp-red) !important;
    border-color: var(--gp-red) !important;
    accent-color: var(--gp-red) !important;
}

.wc-block-components-radio-control__input:checked::before {
    background-color: var(--gp-red) !important;
}

/* 9. Card / Totals Wrapper Styling */
.wc-block-cart__totals,
.wc-block-checkout__totals,
.wp-block-woocommerce-cart-totals-block,
.wp-block-woocommerce-checkout-totals-block,
.cart_totals,
.wc-block-components-order-summary {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px 28px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

.wc-block-components-order-summary .wc-block-components-panel__button {
    font-weight: 800 !important;
    font-size: 17px !important;
    color: #111111 !important;
}

/* Headings in Cart & Checkout */
.woocommerce-cart h1, .woocommerce-cart h2, .woocommerce-cart h3,
.woocommerce-checkout h1, .woocommerce-checkout h2, .woocommerce-checkout h3,
.woocommerce-account h1, .woocommerce-account h2, .woocommerce-account h3,
.wc-block-components-title {
    color: #111111 !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px !important;
}

/* Empty Cart & Return to Shop Buttons */
.wc-block-cart__empty-cart__button,
.woocommerce-cart .return-to-shop a.button,
.woocommerce a.button.wc-backward {
    background: linear-gradient(135deg, var(--gp-red) 0%, var(--gp-red-dark) 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 14px 28px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.wc-block-cart__empty-cart__button:hover,
.woocommerce-cart .return-to-shop a.button:hover,
.woocommerce a.button.wc-backward:hover {
    background: linear-gradient(135deg, var(--gp-red-light) 0%, var(--gp-red) 100%) !important;
    box-shadow: 0 6px 20px rgba(229, 37, 33, 0.4) !important;
    color: #ffffff !important;
}

/* Return to Cart link on Checkout */
.wc-block-components-checkout-return-to-cart-button,
.wc-block-checkout__actions .wc-block-components-checkout-return-to-cart-button {
    color: #64748b !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.wc-block-components-checkout-return-to-cart-button:hover,
.wc-block-checkout__actions .wc-block-components-checkout-return-to-cart-button:hover {
    color: var(--gp-red) !important;
    text-decoration: underline !important;
}

/* 10. My Account Theme Styling */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 32px 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding-bottom: 16px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: inline-block !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    background: #f1f5f9 !important;
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background: var(--gp-red) !important;
    color: #ffffff !important;
}

.woocommerce-account .woocommerce-MyAccount-content a {
    color: var(--gp-red) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.woocommerce-account .woocommerce-MyAccount-content a:hover {
    color: var(--gp-red-dark) !important;
    text-decoration: underline !important;
}

.woocommerce-account .woocommerce-button,
.woocommerce-account .button,
.woocommerce-account input.button,
.woocommerce-account .woocommerce-form-login__submit,
.woocommerce-account .woocommerce-form-register__submit {
    background: linear-gradient(135deg, var(--gp-red) 0%, var(--gp-red-dark) 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 6px !important;
    border: none !important;
    padding: 12px 28px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(229, 37, 33, 0.35) !important;
    transition: all 0.2s ease !important;
}

.woocommerce-account .woocommerce-button:hover,
.woocommerce-account .button:hover,
.woocommerce-account input.button:hover,
.woocommerce-account .woocommerce-form-login__submit:hover,
.woocommerce-account .woocommerce-form-register__submit:hover {
    background: linear-gradient(135deg, var(--gp-red-light) 0%, var(--gp-red) 100%) !important;
    box-shadow: 0 6px 20px rgba(229, 37, 33, 0.5) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}

/* 11. WooCommerce Global Notices & Alerts */
.woocommerce-message,
.woocommerce-info {
    border-top-color: var(--gp-red) !important;
    background-color: #f8fafc !important;
    border-radius: 6px !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--gp-red) !important;
}

.woocommerce-message a.button,
.woocommerce-info a.button {
    background: #0f172a !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
}

.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover {
    background: var(--gp-red) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   Complete Mobile Responsiveness Overhaul for Single Product Pages
   ========================================================================== */

/* 1. Global Viewport & Container Containment */
body.single-product {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative !important;
}

body.single-product #page,
body.single-product .site-main,
body.single-product .content-area,
body.single-product div.product {
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

/* 2. Responsive Tables & Specification Blocks */
.gp-table-responsive {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 20px 0 !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
}

.gp-table-responsive::-webkit-scrollbar {
    height: 6px;
}

.gp-table-responsive::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.gp-table-responsive::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.gp-table-responsive table,
.single-product .gp-table-responsive table {
    min-width: 520px !important;
    width: 100% !important;
    max-width: none !important;
}

.single-product table,
.single-product .woocommerce-product-details__short-description table,
.single-product .woocommerce-Tabs-panel table,
.single-product .entry-content table,
table.gp-specs-table {
    display: table !important;
    width: 100% !important;
    border-collapse: collapse !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    background: #ffffff !important;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
}

.single-product table col,
.single-product table colgroup {
    width: auto !important;
}

.single-product table tr {
    width: 100% !important;
}

.single-product table td,
.single-product table th {
    height: auto !important;
    padding: 10px 14px !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #334155 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    box-sizing: border-box !important;
    vertical-align: top !important;
}

.single-product table tr:nth-child(even) td {
    background-color: #f8fafc !important;
}

.single-product table tr.firstRow td,
.single-product table td[colspan="4"] {
    background-color: #0f172a !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    letter-spacing: 0.3px !important;
}

/* 3. Images inside product content / description */
.single-product .entry-content img,
.single-product .woocommerce-Tabs-panel img,
.single-product .woocommerce-product-details__short-description img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 14px auto !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
}

/* 4. Disable buggy ElevateZoom container on mobile/tablets */
@media (max-width: 991px) {
    .zoomContainer,
    .zoomWindow,
    .zoomLens {
        display: none !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }

    .single-product div.product {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        gap: 28px !important;
        margin-bottom: 35px !important;
    }

    .single-product div.product .woocommerce-product-gallery,
    .single-product div.product .images,
    .single-product .nickx_product_images_with_video {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        float: none !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .single-product div.product .summary.entry-summary {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        float: none !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .single-product .nswiper,
    .single-product .nickx-slider-for,
    .single-product .nswiper-wrapper,
    .single-product .nswiper-slide {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .single-product .nswiper-slide img,
    .single-product .images img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 420px !important;
        object-fit: contain !important;
        box-sizing: border-box !important;
    }
}

/* 5. Mobile Adjustments (<= 768px) */
@media (max-width: 768px) {
    .single-product .content-area {
        padding: 16px 14px 40px 14px !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .single-product .woocommerce-breadcrumb {
        font-size: 12px !important;
        padding: 8px 12px !important;
        margin-bottom: 18px !important;
        gap: 3px !important;
    }

    .single-product h1.product_title {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
        word-break: break-word !important;
    }

    .single-product p.price,
    .single-product .summary .price {
        font-size: 24px !important;
        margin-bottom: 16px !important;
    }

    .single-product .nickx-slider-nav {
        margin-top: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .single-product .nickx-slider-nav .nswiper-slide {
        width: 60px !important;
        height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        flex-shrink: 0 !important;
    }

    .single-product .woocommerce-tabs {
        margin-top: 30px !important;
        padding-top: 20px !important;
    }

    .single-product .woocommerce-tabs ul.tabs {
        flex-direction: column !important;
        gap: 6px !important;
        border-bottom: none !important;
    }

    .single-product .woocommerce-tabs ul.tabs li {
        width: 100% !important;
        border-radius: 8px !important;
        border: 1px solid #e2e8f0 !important;
        text-align: center !important;
    }

    .single-product .woocommerce-tabs ul.tabs li a {
        padding: 11px 14px !important;
        font-size: 14px !important;
    }

    .single-product .woocommerce-tabs ul.tabs li.active {
        border-top: 1px solid #e2e8f0 !important;
        border-left: 4px solid var(--gp-red) !important;
        background: #ffffff !important;
    }

    .single-product .woocommerce-tabs .panel {
        padding: 20px 16px !important;
        border-radius: 8px !important;
        margin-top: 8px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .single-product .woocommerce-tabs .panel h2:first-of-type {
        font-size: 20px !important;
        margin-bottom: 14px !important;
    }

    .single-product form.cart {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }

    .single-product form.cart .quantity,
    .single-product form.cart .quantity input.qty {
        width: 100% !important;
        max-width: 100% !important;
        height: 44px !important;
    }

    .single-product form.cart .single_add_to_cart_button,
    .single-product .button,
    .single-product a.button {
        width: 100% !important;
        height: 46px !important;
        line-height: 46px !important;
        padding: 0 16px !important;
        font-size: 15px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .single-product .product_meta {
        font-size: 13px !important;
        line-height: 1.6 !important;
        padding-top: 14px !important;
    }

    .woocommerce .related.products ul.products,
    .woocommerce .upsells.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

/* 6. Phone Ultra-Compact Adjustments (<= 480px) */
@media (max-width: 480px) {
    .single-product .content-area {
        padding: 10px 10px 30px 10px !important;
    }

    .single-product div.product {
        gap: 20px !important;
    }

    .single-product h1.product_title {
        font-size: 20px !important;
        line-height: 1.25 !important;
    }

    .single-product .nswiper-slide img,
    .single-product .images img {
        max-height: 320px !important;
    }

    .single-product .nickx-slider-nav .nswiper-slide {
        width: 52px !important;
        height: 52px !important;
        max-width: 52px !important;
        max-height: 52px !important;
    }

    .single-product table td,
    .single-product table th {
        padding: 7px 9px !important;
        font-size: 12px !important;
    }

    .single-product .woocommerce-tabs .panel {
        padding: 16px 12px !important;
    }

    .woocommerce .related.products ul.products,
    .woocommerce .upsells.products ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   WPForms Contact Form Theme Styling
   ========================================================================== */
.wpforms-container .wpforms-form .wpforms-submit,
.wpforms-container .wpforms-form button[type="submit"],
.wpforms-container .wpforms-form input[type="submit"],
#wpforms-submit-13,
button#wpforms-submit-13 {
    background: linear-gradient(135deg, var(--gp-red) 0%, var(--gp-red-dark) 100%) !important;
    background-color: var(--gp-red) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    padding: 0 34px !important;
    height: 50px !important;
    line-height: 50px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(229, 37, 33, 0.35) !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.wpforms-container .wpforms-form .wpforms-submit:hover,
.wpforms-container .wpforms-form .wpforms-submit:focus,
.wpforms-container .wpforms-form button[type="submit"]:hover,
.wpforms-container .wpforms-form button[type="submit"]:focus,
#wpforms-submit-13:hover,
#wpforms-submit-13:focus {
    background: linear-gradient(135deg, var(--gp-red-light) 0%, var(--gp-red) 100%) !important;
    background-color: var(--gp-red-light) !important;
    box-shadow: 0 6px 20px rgba(229, 37, 33, 0.5) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
    outline: none !important;
}

.wpforms-container .wpforms-form .wpforms-submit:active,
#wpforms-submit-13:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(229, 37, 33, 0.4) !important;
}

.wpforms-container .wpforms-form input[type="text"]:focus,
.wpforms-container .wpforms-form input[type="email"]:focus,
.wpforms-container .wpforms-form select:focus,
.wpforms-container .wpforms-form textarea:focus {
    border-color: var(--gp-red) !important;
    box-shadow: 0 0 0 3px rgba(229, 37, 33, 0.15) !important;
    outline: none !important;
}
