/* ===================================
   GILBATECH SOLUTIONS - MAIN STYLESHEET
   =================================== */

:root {
    --primary: #10b981;
    --secondary: #004E89;
    --dark: #1A1A2E;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --gray: #6C757D;
    --success: #10B981;
    --border: #E5E7EB;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

/* ===================================
   TOP BAR
   =================================== */

.product-price{
  display:flex;
  align-items:baseline;
  gap:10px;
  flex-wrap:wrap;
}

.product-price .price-label{
  font-size:0.9rem;
  color:#6b7280;
  font-weight:500;
}

.product-price .current-price{
  font-size:1.15rem;
  font-weight:800;
  color:var(--dark);
}

.product-price .old-price{
  font-size:0.95rem;
  color:#9ca3af;
  text-decoration:line-through;
  text-decoration-thickness:2px;
}

.product-price .save-badge{
  font-size:0.75rem;
  font-weight:700;
  padding:2px 8px;
  border-radius:999px;
  background:rgba(16,185,129,.12);
  color:#059669;
}



.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--primary);
}

/* ===================================
   HEADER
   =================================== */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.logo span {
    color: var(--secondary);
}

.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 3rem;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

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

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: var(--white);
    cursor: pointer;
    font-weight: 600;
}

.header-actions {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header-btn {
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.header-btn:hover {
    background: var(--secondary);
}

/* ===================================
   NAVIGATION
   =================================== */
nav {
    background: var(--light-bg);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-links li {
    position: relative;
}

.nav-links > li > a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-links > li > a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===================================
   HERO SLIDER
   =================================== */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-1 {
    background: linear-gradient(135deg, var(--secondary) 0%, #002850 100%);
}

.slide-2 {
    background: linear-gradient(135deg, #004E89 0%, #002850 100%);
}

.slide-3 {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

/* Ensure slide backgrounds show properly */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    z-index: 0;
}

.slide-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slide-text {
    flex: 1;
    color: var(--white);
}

.slide-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.slide-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.slider-btn {
    background: var(--white);
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s;
}

.slider-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

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

.slider-dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* ===================================
   BREADCRUMB
   =================================== */
.breadcrumb {
    background: var(--light-bg);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--dark);
    font-weight: 600;
}

/* ===================================
   PRODUCTS PAGE LAYOUT
   =================================== */
.products-page {
    padding: 3rem 2rem;
    background: var(--light-bg);
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* ===================================
   SIDEBAR FILTERS
   =================================== */
.sidebar {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-sm);
}

.filter-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-option:hover {
    padding-left: 0.5rem;
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.filter-option label {
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--gray);
    flex: 1;
}

.filter-count {
    font-size: 0.85rem;
    color: var(--gray);
}

.price-inputs {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.price-inputs input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 0.9rem;
}

.filter-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: var(--secondary);
}

/* ===================================
   PRODUCTS MAIN AREA
   =================================== */
.products-main {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.products-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
}

.products-count {
    color: var(--gray);
    font-size: 0.95rem;
}

.products-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
    background: var(--light-bg);
    padding: 0.25rem;
    border-radius: 5px;
}

.view-btn {
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.view-btn.active {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 0.95rem;
    cursor: pointer;
}

/* ===================================
   PRODUCT GRID
   =================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.products-grid.list-view {
    grid-template-columns: 1fr;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

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

.products-grid.list-view .product-card {
    flex-direction: row;
    align-items: center;
}

.product-image-wrapper {
    position: relative;
    background: var(--light-bg);
    padding: 1.5rem;
    overflow: hidden;
}

.products-grid.list-view .product-image-wrapper {
    width: 250px;
    flex-shrink: 0;
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    transition: transform 0.3s;
}

.products-grid.list-view .product-image {
    height: 180px;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
    min-height: 2.5rem;
    line-height: 1.4;
}

.products-grid.list-view .product-title {
    font-size: 1.25rem;
    min-height: auto;
}

.product-specs {
    list-style: none;
    margin-bottom: 1rem;
    flex: 1;
}

.product-specs li {
    font-size: 0.85rem;
    color: var(--gray);
    padding: 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.products-grid.list-view .product-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.product-specs li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stars {
    color: #FFC107;
    font-size: 0.9rem;
}

.rating-count {
    color: var(--gray);
    font-size: 0.85rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 400;
    display: block;
    margin-bottom: 0.25rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.products-grid.list-view .product-actions {
    flex-direction: column;
}

.btn-cart, .btn-quote {
    padding: 0.75rem 1.25rem;
    border-radius: 5px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}

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

.btn-cart:hover {
    background: var(--secondary);
}

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

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

/* ===================================
   PAGINATION
   =================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--dark);
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

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

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

/* ===================================
   GENERAL SECTIONS
   =================================== */
section {
    padding: 4rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   WHATSAPP FLOAT BUTTON
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: white;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet and below */
@media (max-width: 1024px) {
    .products-container {
        grid-template-columns: 250px 1fr;
    }
    
    .slide-text h1 {
        font-size: 2.25rem;
    }
}

/* Mobile landscape and below */
@media (max-width: 968px) {
    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .top-bar-left, .top-bar-right {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .header-main {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .search-bar {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .header-actions {
        order: 2;
    }
    
    .nav-links {
        flex-direction: column;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .nav-links > li > a {
        padding: 0.75rem 1rem;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-text h1 {
        font-size: 1.75rem;
    }
    
    .slide-text p {
        font-size: 1rem;
    }
    
    .slider-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .products-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sidebar {
        position: relative;
        top: 0;
        order: 2;
    }
    
    .products-main {
        order: 1;
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile portrait */
@media (max-width: 640px) {
    body {
        font-size: 14px;
    }
    
    .top-bar {
        font-size: 0.75rem;
        padding: 0.5rem 0;
    }
    
    .top-bar-content {
        padding: 0 1rem;
    }
    
    .header-main {
        padding: 0.75rem 1rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .search-bar input {
        padding: 0.6rem 2.5rem 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .search-btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
    
    .header-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-links > li > a {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    /* Hero slider mobile */
    .hero-slider {
        height: 350px;
    }
    
    .slide-content {
        padding: 0 1rem;
    }
    
    .slide-text h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .slide-text p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .slider-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .slider-controls {
        bottom: 15px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .slider-dot.active {
        width: 20px;
    }
    
    /* Breadcrumb mobile */
    .breadcrumb {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Products page mobile */
    .products-page {
        padding: 1.5rem 1rem;
    }
    
    .products-main {
        padding: 1rem;
        border-radius: 8px;
    }
    
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .products-title {
        font-size: 1.35rem;
    }
    
    .products-count {
        font-size: 0.85rem;
    }
    
    .products-controls {
        width: 100%;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .view-toggle {
        flex: 1;
    }
    
    .view-btn {
        padding: 0.6rem 0.9rem;
        font-size: 1rem;
    }
    
    .sort-select {
        flex: 1;
        min-width: 150px;
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }
    
    /* Product grid mobile */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .products-grid.list-view {
        grid-template-columns: 1fr;
    }
    
    .products-grid.list-view .product-card {
        flex-direction: column;
    }
    
    .products-grid.list-view .product-image-wrapper {
        width: 100%;
    }
    
    .products-grid.list-view .product-image {
        height: 200px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-category {
        font-size: 0.75rem;
    }
    
    .product-title {
        font-size: 0.95rem;
        min-height: auto;
    }
    
    .products-grid.list-view .product-title {
        font-size: 1.1rem;
    }
    
    .product-rating {
        margin-bottom: 0.5rem;
    }
    
    .stars {
        font-size: 0.8rem;
    }
    
    .rating-count {
        font-size: 0.75rem;
    }
    
    .product-specs li {
        font-size: 0.8rem;
        padding: 0.2rem 0;
    }
    
    .products-grid.list-view .product-specs {
        grid-template-columns: 1fr;
    }
    
    .product-price {
        font-size: 1.25rem;
    }
    
    .price-label {
        font-size: 0.75rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-cart, .btn-quote {
        width: 100%;
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }
    
    .product-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    /* Sidebar mobile */
    .sidebar {
        padding: 1rem;
        border-radius: 8px;
    }
    
    .filter-title {
        font-size: 1rem;
    }
    
    .filter-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .filter-option {
        padding: 0.4rem 0;
    }
    
    .filter-option input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }
    
    .filter-option label {
        font-size: 0.85rem;
    }
    
    .filter-count {
        font-size: 0.75rem;
    }
    
    .filter-btn {
        padding: 0.65rem;
        font-size: 0.9rem;
    }
    
    /* Section styles mobile */
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-tag {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* Footer mobile */
    footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.75rem;
    }
    
    /* WhatsApp button mobile */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    
    /* Pagination mobile */
    .pagination {
        gap: 0.35rem;
        margin-top: 2rem;
        flex-wrap: wrap;
    }
    
    .page-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* Extra small mobile */
@media (max-width: 360px) {
    .slide-text h1 {
        font-size: 1.25rem;
    }
    
    .slide-text p {
        font-size: 0.85rem;
    }
    
    .products-title {
        font-size: 1.15rem;
    }
    
    .product-title {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.35rem;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-slider {
        height: 100vh;
    }
    
    .slide-text h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .slide-text p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .nav-links > li > a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .btn-cart, .btn-quote {
        min-height: 44px;
    }
    
    .filter-option {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .view-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .product-card:hover {
        transform: none;
    }
    
    .product-card:active {
        transform: scale(0.98);
    }
     
        /* Additional styles for product links */
        .btn-view-details {
            display: inline-block;
            width: 100%;
            padding: 0.75rem 1rem;
            background: var(--primary);
            color: white;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 600;
            text-align: center;
            transition: all 0.3s;
            margin-top: 0.5rem;
        }
        
        .btn-view-details:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
        }
        
        .product-card {
            transition: all 0.3s;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

    /* Product links */
    .btn-view-details{
      display:inline-block;
      width:100%;
      padding:0.75rem 1rem;
      background: var(--dark);              /* darker blend so it stays visible */
      color:#fff;
      text-decoration:none;
      border-radius:8px;
      font-weight:700;
      text-align:center;
      transition:all .25s ease;
      margin-top:.5rem;
      border:1px solid rgba(17,24,39,.18);
    }
    .btn-view-details:hover{
      background: #0b1220;                  /* darker on hover (never white) */
      color:#fff;
      transform:translateY(-2px);
      box-shadow:0 6px 18px rgba(0,0,0,.18);
    }

    .product-card{ transition: all .3s; }
    .product-card:hover{
      transform: translateY(-5px);
      box-shadow: 0 10px 30px rgba(0,0,0,.15);
    }

    /* Price UI (Current + Old + Save + % pill) */
    .product-price{
      display:flex;
      align-items:baseline;
      gap:10px;
      flex-wrap:wrap;
    }
    .product-price .price-label{
      font-size:.9rem;
      color:#6b7280;
      font-weight:700;
    }
    .product-price .current-price{
      font-size:1.15rem;
      font-weight:900;
      color:var(--dark);
    }
    .product-price .old-price{
      font-size:.95rem;
      color:#9ca3af;
      text-decoration:line-through;
      text-decoration-thickness:2px;
    }
    .product-price .save-badge{
      font-size:.75rem;
      font-weight:900;
      padding:2px 8px;
      border-radius:999px;
      background:rgba(16,185,129,.12);
      color:#059669;
      white-space:nowrap;
    }
    .product-price .discount-pill{
      font-size:.75rem;
      font-weight:900;
      padding:2px 8px;
      border-radius:999px;
      background:rgba(17,24,39,.08);
      color:#111827;
      white-space:nowrap;
    }

 /* =========================
   HEADER (MATCH TEMPLATE)
   ========================= */

.top-bar{
  background: var(--dark);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.top-bar-content{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar-left span{ opacity: .95; }

.top-bar-right{
  display:flex;
  align-items:center;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar a{
  color: var(--white);
  text-decoration:none;
}

.top-bar a:hover{ color: var(--primary); }

header{
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-main{
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
}

.logo{
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: .5px;
  text-decoration:none;
  color: var(--dark);
  line-height: 1;
  white-space: nowrap;
}

.logo span{
  color: var(--primary);
  margin-left: .35rem;
}

.search-bar{
  flex: 1;
  max-width: 620px;
  display:flex;
  align-items:center;
  gap: .5rem;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .4rem .5rem;
}

.search-bar input{
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: .95rem;
  padding: .55rem .75rem;
  font-family: inherit;
  color: var(--dark);
}

.search-btn{
  border: none;
  cursor: pointer;
  background: var(--primary);
  color: var(--white);
  padding: .65rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
  white-space: nowrap;
}

.search-btn:hover{
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.header-actions{
  display:flex;
  align-items:center;
  gap: .75rem;
}

.header-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  background: var(--primary);
  color: var(--white);
  padding: .75rem 1.1rem;
  border-radius: 12px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}

.header-btn:hover{
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16,185,129,.25);
}

/* Nav */
nav{
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
}

.nav-container{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-links{
  list-style:none;
  display:flex;
  gap: 0;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.nav-links a{
  display:block;
  padding: 1rem 1.2rem;
  color: var(--dark);
  text-decoration:none;
  font-weight: 600;
  transition: all .2s ease;
  border-radius: 10px;
  margin: .35rem .25rem;
}

.nav-links a:hover,
.nav-links a.active{
  background: var(--primary);
  color: var(--white);
}

/* Responsive */
@media (max-width: 980px){
  .header-main{
    flex-wrap: wrap;
  }
  .search-bar{
    order: 3;
    flex-basis: 100%;
    max-width: 100%;
  }
}

}
