/* =====================================
   JRT Fencing Supplies - Main Stylesheet
   ===================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #001f3d;  /* Navy Blue - Main brand color */
    --secondary-color: #d4af37; /* Gold - Secondary brand color */
    --accent-color: #d4af37;    /* Gold for accents */
    --dark-navy: #001428;       /* Darker navy for hover states */
    --light-navy: #003566;      /* Lighter navy variant */
    --text-dark: #212121;
    --text-light: #757575;
    --background-light: #f5f5f5;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--dark-navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white);
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: #b8941f; /* Darker gold on hover */
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-white:hover {
    background-color: var(--background-light);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* =====================================
   HEADER - 3-Tier Layout (Monton Style)
   ===================================== */

.main-header {
    background-color: var(--primary-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    transition: top 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                left 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                right 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s ease,
                background-color 0.4s ease;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

/* --- Tier 1: Utility Bar --- */
.utility-bar {
    background-color: #001428;
    padding: 7px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.utility-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.utility-phone {
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.utility-phone:hover {
    color: var(--white);
}

.utility-phone i {
    font-size: 11px;
}

.utility-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.utility-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}

.utility-links a:hover {
    color: var(--secondary-color);
}

.utility-links span {
    color: rgba(255, 255, 255, 0.25);
    font-size: 10px;
    line-height: 1;
}

/* --- Tier 2: Main Header (Logo + Search + Actions) --- */
.header-main {
    background-color: var(--primary-color);
    padding: 16px 0;
    transition: padding 0.3s ease;
}

.header-main-inner {
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

/* Search bar - full width prominent style */
.header-search {
    flex: 1;
}

.search-bar-trigger {
    display: flex;
    align-items: center;
    background: var(--white);
    border: none;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    transition: box-shadow 0.3s;
}

.search-bar-trigger:hover {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.6);
}

.search-trigger-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #aaa;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    background: transparent;
    pointer-events: none;
    font-family: 'Roboto', sans-serif;
}

.search-trigger-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 14px 22px;
    cursor: pointer;
    font-size: 17px;
    transition: background-color 0.2s;
    flex-shrink: 0;
    line-height: 1;
}

.search-trigger-btn:hover {
    background-color: #b8941f;
}

/* Header Action Buttons (Get Quote + Basket) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--white);
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
    min-width: 80px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.header-action-item i {
    font-size: 22px;
    color: var(--secondary-color);
    transition: color 0.2s;
}

.header-action-item:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.header-action-item:hover i {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: 7px;
    right: 12px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.cart-action-item:hover .cart-count {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* --- Tier 3: Navigation Bar (White) --- */
.main-nav {
    background-color: var(--white);
    border-bottom: 3px solid var(--secondary-color);
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0;
}

.nav-menu > li > a {
    color: var(--primary-color);
    font-weight: 700;
    padding: 16px 16px;
    display: block;
    text-transform: uppercase;
    font-size: 12.5px;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
    font-family: 'Roboto', sans-serif;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--secondary-color);
}

.nav-menu > li > a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 240px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    border-top: 3px solid var(--secondary-color);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 13px 20px;
    color: var(--text-dark);
    border-bottom: 1px solid #e4e4e4;
    font-weight: 500;
    transition: all 0.2s;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: #f8f4e8;
    color: var(--primary-color);
    padding-left: 26px;
}

.dropdown-menu li a i:first-child {
    margin-right: 10px;
    color: var(--secondary-color);
    width: 18px;
    text-align: center;
}

/* Get Quote button in nav */
.btn-search-nav {
    background-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    padding: 9px 18px !important;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 8px;
    transition: all 0.2s !important;
}

.btn-search-nav:hover {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.btn-quote {
    background-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    padding: 9px 18px !important;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 8px;
    transition: all 0.2s !important;
}

.btn-quote:hover {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    transform: none;
}

.btn-quote.active {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
}

/* Utility bar — smooth hide on scroll */
.utility-bar {
    overflow: hidden;
    max-height: 60px;
    transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.3s ease;
}
.main-header.scrolled .utility-bar {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

/* Glassmorphic floating pill on scroll */
.main-header.scrolled {
    top: 10px;
    left: 20px;
    right: 20px;
    border-radius: 20px;
    background: rgba(0, 12, 28, 0.55);
    backdrop-filter: blur(32px) saturate(160%);
    -webkit-backdrop-filter: blur(32px) saturate(160%);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55),
                inset 0 0 0 1px rgba(212, 175, 55, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Slim header-main when scrolled */
.main-header.scrolled .header-main {
    padding: 4px 0;
}
.main-header.scrolled .header-main-inner {
    min-height: 62px;
}

/* Nav: transparent bg + white text so it's readable on glass */
.main-header.scrolled .main-nav {
    background-color: transparent;
    box-shadow: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.main-header.scrolled .nav-menu > li > a {
    color: rgba(255, 255, 255, 0.88);
    padding: 10px 16px;
}
.main-header.scrolled .nav-menu > li > a:hover,
.main-header.scrolled .nav-menu > li > a.active {
    color: var(--secondary-color);
}
.main-header.scrolled .btn-search-nav {
    background-color: rgba(212, 175, 55, 0.85) !important;
    color: var(--primary-color) !important;
}
.main-header.scrolled .dropdown-menu li a {
    color: var(--text-dark);
}
.main-header.scrolled .dropdown-menu li a:hover {
    color: var(--primary-color);
    background-color: #f8f4e8;
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    animation: fadeIn 0.3s;
}

.search-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.search-modal-content {
    background: var(--white);
    width: 90%;
    max-width: 700px;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.3);
    animation: slideDown 0.3s;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid var(--border-color);
}

.search-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.3rem;
}

.search-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.search-close:hover {
    color: var(--primary-color);
}

.search-input-container {
    position: relative;
    padding: 20px 25px;
}

.search-input-icon {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 18px;
}

.search-input-container input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    font-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.3s;
}

.search-input-container input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
    padding: 0 25px 25px;
}

.search-prompt {
    text-align: center;
    color: var(--text-light);
    padding: 40px 20px;
    font-size: 14px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover {
    background-color: var(--background-light);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid var(--border-color);
}

.search-result-info {
    flex: 1;
}

.search-result-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 15px;
}

.search-result-description {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 5px;
}

.search-result-price {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
}

.search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.search-no-results i {
    font-size: 48px;
    color: var(--border-color);
    margin-bottom: 15px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 2.5px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    position: relative;
}

.mobile-menu-toggle span:nth-child(1) {
    margin-bottom: 5px;
}

.mobile-menu-toggle span:nth-child(2) {
    margin-bottom: 5px;
}

/* Animated hamburger to X transformation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-advert {
    position: relative;
    overflow: hidden;
    height: auto;
}

.hero-fade-base {
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-fade-overlay,
.hero-fade-overlay-2 {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.hero-fade-overlay {
    animation: heroSlide2 18s ease-in-out infinite;
}

.hero-fade-overlay-2 {
    animation: heroSlide3 18s ease-in-out infinite;
}

@keyframes heroSlide2 {
    0%, 33%  { opacity: 0; }
    38%, 61% { opacity: 1; }
    66%, 100% { opacity: 0; }
}

@keyframes heroSlide3 {
    0%, 66%  { opacity: 0; }
    71%, 94% { opacity: 1; }
    100%     { opacity: 0; }
}

.hero-advert-img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-advert-img-overlay {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    will-change: opacity;
}

/* Hero background zoom animation */
@keyframes heroZoomOut {
    0% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: -4%;
    left: -4%;
    width: 108%;
    height: 108%;
    background: inherit;
    z-index: -1;
    will-change: transform;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Default state for non-animating slides */
.hero-slide::before {
    transform: scale(1.08);
}

/* Slides that are animating or have animated stay at final position */
.hero-slide.animating::before,
.hero-slide.animated::before {
    transform: scale(1);
}

/* Start zoom animation when slide is active and animating */
.hero-slide.animating::before {
    animation: heroZoomOut 15s ease-out forwards;
}

.hero-content {
    color: var(--white);
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--primary-color);
    padding: 12px 0;
    border-bottom: 3px solid var(--secondary-color);
}

.trust-bar-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-bar-inner span {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.trust-bar-inner span i {
    color: var(--secondary-color);
    font-size: 14px;
}

/* Features Section (legacy) */
.features-section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-item i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-light);
}

/* Product Categories */
.product-categories {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.category-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-card h3 {
    padding: 15px 20px 5px;
    color: var(--text-dark);
}

.category-card p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* Featured Products Section */
.product-categories {
    background-color: #f9fafb;
    padding: 80px 0;
}

.product-categories .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: -10px;
    margin-bottom: 50px;
    font-weight: 400;
}

/* Featured Products Grid - 4 columns on desktop */
.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-bottom: 50px;
}

/* Featured Product Card Styling */
.featured-product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 31, 61, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
}

.featured-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 31, 61, 0.18);
    border-color: var(--secondary-color);
}

/* Product Image Container */
.featured-product-card .category-image {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.featured-product-card .category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.featured-product-card:hover .category-image img {
    transform: scale(1.08);
}

/* Product Badge */
.product-badge {
    display: none;
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b8941f 100%);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* Product Content */
.featured-product-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 24px 24px 12px;
    margin-bottom: 0;
    line-height: 1.4;
    min-height: 70px;
}

.featured-product-card p {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    min-height: 70px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product Price */
.product-price-home {
    padding: 0 24px 24px;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
    margin-top: auto;
}

.product-price-home strong {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
    display: inline-block;
    margin-left: 8px;
}

.product-price-home .vat-info {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-left: 8px;
    font-weight: 400;
}

/* View Details Button */
.featured-product-card .btn {
    margin: 0 24px 24px;
    width: calc(100% - 48px);
    padding: 14px 30px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.featured-product-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 31, 61, 0.25);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-text ul {
    list-style: none;
    margin: 30px 0;
}

.about-text ul li {
    padding: 10px 0;
    color: var(--text-dark);
}

.about-text ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--light-navy));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Footer */
.main-footer {
    background-color: #212121;
    color: #9e9e9e;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3,
.footer-column h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    padding: 8px 0;
}

.footer-column ul li a {
    color: #9e9e9e;
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    margin: 10px 0;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.hours-list li {
    padding: 5px 0;
    color: #9e9e9e;
}

.payment-methods {
    margin-top: 30px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 24px;
    margin-top: 10px;
}

.payment-icons i {
    color: #9e9e9e;
}

.footer-bottom {
    border-top: 1px solid #424242;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #9e9e9e;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-designer {
    border-top: 1px solid #2a2a2a;
    margin-top: 16px;
    padding-top: 12px;
    text-align: center;
}

.footer-designer p {
    font-size: 12px;
    color: #606060;
    letter-spacing: 0.4px;
}

.footer-designer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.footer-designer a:hover {
    opacity: 0.75;
}

/* Mobile action bar — hidden on desktop */
.mobile-action-bar {
    display: none;
}

/* =====================================
   Floating WhatsApp Button
   ===================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    padding: 12px 16px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    z-index: 999;
    transition: all 0.3s ease;
    overflow: hidden;
    max-width: 54px;
}

.whatsapp-float i {
    font-size: 26px;
    flex-shrink: 0;
    line-height: 1;
}

.whatsapp-label {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    transition: opacity 0.3s ease, max-width 0.3s ease;
}

.whatsapp-float:hover {
    max-width: 200px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    transform: translateY(-3px);
}

.whatsapp-float:hover .whatsapp-label {
    opacity: 1;
    max-width: 120px;
}

/* Loading Spinner */
.spinner {
    border: 3px solid var(--border-color);
    border-radius: 50%;
    border-top: 3px solid var(--primary-color);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Product Grid (for product pages) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-price .vat-info {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: normal;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart {
    background-color: var(--primary-color);
    color: var(--white);
}

.add-to-cart:hover {
    background-color: #1b5e20;
}

.quick-view {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.quick-view:hover {
    background-color: var(--border-color);
}