/*
Theme Name: Almas Storefront Child
Theme URI: https://almaswater.com
Description: Premium Almas Water Branding - Fully Responsive
Author: Almas Water
Template: storefront
Version: 4.3.0
*/

/* =========================================
   1. CORE VARIABLES & DESIGN SYSTEM
   ========================================= */
:root {
    /* Brand Palette - Water & Minerals */
    --brand-primary: #0A2647;
    /* Deep Navy */
    --brand-accent: #2C74B3;
    /* Cobalt Blue */
    --brand-soft: #E8F6F8;
    /* Soft Aqua */
    --brand-dark: #020617;
    /* Obsidian Black */
    --brand-emerald: #105c36;
    /* Deep Emerald for purity badges */

    /* Neturals */
    --bg-page: #F8FAFC;
    /* Mist Gray/Glacier White hint */
    --bg-card: #ffffff;
    --text-main: #334155;
    /* Slate 700 */
    --text-heading: #0f172a;
    /* Slate 900 */
    --text-muted: #64748b;
    /* Slate 500 */

    /* Gradients & Effects */
    --gradient-hero: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    --gradient-overlay: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --blur-md: blur(12px);

    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.06);

    /* Spacing & Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --container-width: 1320px;
}

/* Base Typography */
body {
    background-color: var(--bg-page) !important;
    font-family: 'DM Sans', sans-serif !important;
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 600;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

/* =========================================
   2. GLOBAL TOP BAR
   ========================================= */
/* =========================================
   2. GLOBAL TOP BAR
   ========================================= */
/* =========================================
   2. GLOBAL TOP BAR
   ========================================= */
.almas-top-bar-global {
    background: var(--brand-primary);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    padding: 12px 0;
    font-weight: 500;
    letter-spacing: 0.02em;
}

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

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-left .sep {
    opacity: 0.2;
}

.top-bar-right {
    display: flex;
    gap: 32px;
}

.top-bar-right a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.top-bar-right a:hover {
    opacity: 0.8;
}

/* =========================================
   3. GLOBAL PROFESSIONAL HEADER
   ========================================= */
.almas-header-global {
    background: rgba(255, 255, 255, 0.95);
    /* Increased opacity for readability */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px 0;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left .site-logo img {
    height: 60px;
    width: auto;
    display: block;
}

/* Navigation - Centered */
.header-center .main-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.header-center .main-nav li a {
    text-decoration: none;
    color: var(--text-heading);
    font-weight: 600;
    /* Bolder for readability */
    font-size: 15px;
    text-transform: capitalize;
    letter-spacing: 0;
    transition: color 0.3s;
    font-family: 'DM Sans', sans-serif;
}

.header-center .main-nav li a:hover {
    color: var(--brand-accent);
}

/* Actions */
.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.order-now-btn {
    background: var(--brand-primary);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(10, 38, 71, 0.15);
}

.order-now-btn:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 38, 71, 0.2);
}

.header-cart-icon .site-header-cart {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

.header-cart-icon .site-header-cart .cart-contents {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    padding: 0 !important;
    background: transparent !important;
    text-decoration: none;
    white-space: nowrap !important;
    /* Prevent text wrapping */
}

.header-cart-icon .cart-contents::after {
    display: none !important;
}

.header-cart-icon .amount {
    color: var(--text-heading) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    font-family: 'DM Sans', sans-serif !important;
    margin-right: 4px;
}

.header-cart-icon .count {
    background: var(--brand-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    position: relative;
    top: -1px;
}

/* Fix Order Now Vertical Align */
.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 100%;
    /* Ensure full height for centering */
}


/* Reset default storefront header */
.site-header {
    display: block !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    /* Ensure no extra margin */
    border: none !important;
    background: transparent !important;
}

/* Hide default elements safely */
.site-header .site-branding,
.site-header .main-navigation,
.site-header .site-header-cart:not(.header-cart-icon .site-header-cart) {
    display: none !important;
}

/* CRITICAL: Fix Layout & Colors Globally */
.col-full {
    max-width: var(--container-width, 1200px) !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

/* Ensure Text Readability Everywhere */
p,
li,
dl,
address,
span,
div {
    color: var(--text-main);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-heading);
}

/* Input Clarity */
input,
textarea,
select {
    background-color: #ffffff !important;
    color: var(--text-heading) !important;
    border: 1px solid #cbd5e1 !important;
}

/* WooCommerce Page Wrapper Padding */
.site-content {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    background: var(--bg-page);
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.almas-hero {
    background: var(--gradient-hero);
    position: relative;
    padding: 180px 0 120px;
    color: var(--text-heading);
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 85vh;
    /* Full viewport feeling */
}

.almas-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.almas-hero-content {
    flex: 1;
    max-width: 650px;
    text-align: left;
    /* Asymmetric Left-Align */
}

/* Subtle texture & shape overlay */
.almas-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(232, 246, 248, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(60px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    color: var(--brand-primary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: var(--shadow-soft);
}

.almas-hero h1 {
    color: var(--brand-primary) !important;
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    font-weight: 500 !important;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.almas-hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--brand-primary) !important;
    color: #fff !important;
    padding: 16px 36px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(10, 38, 71, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(10, 38, 71, 0.2);
    background: var(--brand-dark) !important;
}

.hero-link {
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 20px;
    transition: color 0.3s;
}

.hero-link:hover {
    color: var(--brand-accent);
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    fill: #ffffff;
}

/* =========================================
   4b. FEATURE STRIP (Editorial Style)
   ========================================= */
.almas-feature-strip {
    padding: 100px 0;
    background: #fff;
}

.feature-layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-image svg,
.feature-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    transition: transform 0.5s ease;
}

.feature-image:hover svg,
.feature-image:hover img {
    transform: scale(1.02);
}

.feature-content {
    text-align: left;
}

.feature-content .section-label {
    display: inline-block;
    color: var(--brand-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.feature-content h2 {
    font-size: 3rem;
    color: var(--brand-primary);
    margin-bottom: 24px;
    line-height: 1.1;
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-heading);
    font-weight: 500;
    font-size: 1.05rem;
}

.feature-list li i {
    color: var(--brand-emerald);
    background: #DCFCE7;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

/* =========================================
   5. TRUST BADGES
   ========================================= */
.almas-trust-bar {
    margin-top: -40px;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.trust-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.trust-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: #fff;
}

.trust-icon {
    font-size: 28px;
    color: var(--brand-accent);
    background: var(--brand-soft);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 8px;
}

.trust-text strong {
    display: block;
    color: var(--text-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -0.01em;
}

.trust-text span {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================
   6. SECTIONS
   ========================================= */
.almas-products-section,
.almas-why-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 16px;
    color: var(--brand-primary);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 60px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--brand-primary) !important;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--brand-primary);
    transition: all 0.3s;
}

.view-all-btn:hover {
    background: var(--brand-primary);
    color: #fff !important;
    transform: translateY(-2px);
}

/* =========================================
   7. WHY CHOOSE US
   ========================================= */
.almas-why-section {
    background: linear-gradient(to bottom, #fff, var(--brand-soft));
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-card {
    text-align: left;
    padding: 40px;
    border-radius: var(--radius-lg);
    background: #fff;
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.why-icon {
    font-size: 40px;
    margin-bottom: 24px;
    color: var(--brand-accent);
}

.why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--brand-primary);
}

.why-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* =========================================
   8. PRODUCT GRID
   ========================================= */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
}

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

ul.products li.product {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    /* Softer shadow */
    border: 1px solid rgba(0, 0, 0, 0.02) !important;
    padding: 24px !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
}

ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

ul.products li.product img {
    border-radius: var(--radius-md);
    margin-bottom: 24px !important;
    width: 100% !important;
    aspect-ratio: 1/1;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Helps water bottles blend better if white bg */
    transition: transform 0.5s ease;
}

ul.products li.product:hover img {
    transform: scale(1.05);
}

ul.products li.product h2 {
    font-size: 1.1rem !important;
    margin-bottom: 8px;
    color: var(--text-heading);
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 600 !important;
}

ul.products li.product .price {
    color: var(--brand-accent) !important;
    font-weight: 500 !important;
    font-size: 1.1rem !important;
    display: block;
    margin-bottom: 20px;
    font-family: 'DM Sans', sans-serif;
}

ul.products li.product .button {
    background: var(--brand-primary) !important;
    color: #fff !important;
    border-radius: var(--radius-full) !important;
    width: 100%;
    padding: 12px !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
    transition: all 0.3s;
    opacity: 0.9;
}

ul.products li.product:hover .button {
    background: var(--brand-dark) !important;
    opacity: 1;
    transform: translateY(-2px);
}

/* =========================================
   9. FOOTER
   ========================================= */
.site-footer {
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding-top: 40px;
}

.almas-payment-methods {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-top: 1px solid #eee;
}

.almas-payment-methods img {
    height: 30px !important;
    margin: 0 10px;
    opacity: 0.7;
    transition: all 0.3s;
}

.almas-payment-methods img:hover {
    opacity: 1;
}

/* Hide Blog Meta */
.entry-meta,
.byline,
.posted-on,
.cat-links,
.tags-links {
    display: none !important;
}

/* =========================================
   10. FLOATING WHATSAPP BUTTON
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* =========================================
   11. MOBILE BOTTOM NAV
   ========================================= */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 10px 0;
}

.mobile-bottom-nav .nav-item {
    flex: 1;
    text-align: center;
    color: #64748b;
    text-decoration: none;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mobile-bottom-nav .nav-item i {
    font-size: 20px;
}

.mobile-bottom-nav .nav-badge {
    position: absolute;
    top: -5px;
    right: calc(50% - 20px);
    background: var(--brand-primary);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
}

/* =========================================
   12. RESPONSIVE - TABLET
   ========================================= */
@media (max-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* =========================================
   13. RESPONSIVE - MOBILE
   ========================================= */
@media (max-width: 768px) {
    .col-full {
        padding: 0 16px;
    }

    /* Hero */
    .almas-hero {
        padding: 60px 20px 100px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    .hero-btn {
        padding: 14px 28px !important;
        font-size: 0.9rem !important;
    }

    /* Trust Badges */
    .almas-trust-bar {
        margin-top: -40px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .trust-item {
        padding: 16px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .trust-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .trust-text strong {
        font-size: 13px;
    }

    .trust-text span {
        font-size: 11px;
    }

    /* Products */
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    ul.products li.product {
        padding: 12px !important;
    }

    ul.products li.product h2 {
        font-size: 0.85rem !important;
    }

    ul.products li.product .price {
        font-size: 1rem !important;
    }

    ul.products li.product .button {
        padding: 10px !important;
        font-size: 0.8rem !important;
    }

    /* Why Section */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-card {
        padding: 30px 20px;
    }

    .why-icon {
        font-size: 36px;
    }

    /* Bottom Nav */
    .mobile-bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }

    /* WhatsApp Button */
    .whatsapp-float {
        bottom: 80px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    /* Header */
    .site-header {
        padding: 10px 0 !important;
    }

    .custom-logo-link img {
        max-height: 35px !important;
    }
}

/* =========================================
   14. RESPONSIVE - SMALL MOBILE
   ========================================= */
@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .trust-item {
        padding: 12px;
    }

    .trust-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    ul.products li.product {
        padding: 10px !important;
    }

    ul.products li.product h2 {
        font-size: 0.8rem !important;
    }

    .almas-hero h1 {
        font-size: 1.8rem !important;
    }
}

/* =========================================
   15. SECTION LABELS
   ========================================= */
.section-label {
    display: inline-block;
    color: var(--brand-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* =========================================
   16. CTA SECTION
   ========================================= */
.almas-cta-section {
    padding: 60px 0;
}

.cta-box {
    background: linear-gradient(135deg, #005C9F 0%, #0077B6 100%);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    text-align: center;
    color: #fff;
}

.cta-box h2 {
    color: #fff !important;
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 10px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

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

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-btn-primary {
    background: #fff;
    color: var(--brand-primary) !important;
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn-whatsapp {
    background: #25D366;
    color: #fff !important;
}

.cta-btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-3px);
}

/* =========================================
   17. CUSTOM FOOTER
   ========================================= */
.almas-footer {
    background: var(--brand-dark);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff !important;
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brand-accent);
    display: inline-block;
}

.footer-col p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--brand-accent);
}

.footer-col ul.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul.contact-list li i {
    color: var(--brand-accent);
    width: 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--brand-accent);
    transform: translateY(-3px);
}

.footer-payment {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-payment span {
    color: #64748b;
    margin-right: 15px;
}

.footer-payment img {
    height: 25px;
    margin: 0 10px;
    opacity: 0.7;
    filter: brightness(0) invert(1);
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    color: #64748b;
    font-size: 14px;
}

/* =========================================
   18. FOOTER RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-col h4 {
        display: block;
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-col ul.contact-list li {
        justify-content: center;
    }

    .cta-box {
        padding: 40px 20px;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   19. SHOP PAGE
   ========================================= */
.woocommerce-page .page-title,
.woocommerce-products-header__title {
    font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
    text-align: center;
    margin-bottom: 10px !important;
}

.woocommerce-result-count,
.woocommerce-ordering {
    margin-bottom: 30px !important;
}

.woocommerce-ordering select {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 14px;
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
    background: #fff;
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 30px;
    font-size: 14px;
    color: #64748b;
}

.woocommerce-breadcrumb a {
    color: var(--brand-primary);
    text-decoration: none;
}

/* =========================================
   20. SINGLE PRODUCT PAGE
   ========================================= */
.single-product div.product {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.single-product div.product .images {
    background: var(--bg-page);
    padding: 20px;
    border-radius: var(--radius-md);
}

.single-product div.product .images img {
    border-radius: var(--radius-sm);
}

.single-product div.product .summary {
    padding-left: 40px;
}

.single-product div.product .product_title {
    font-size: clamp(1.5rem, 4vw, 2rem) !important;
    margin-bottom: 16px;
}

.single-product div.product .price {
    font-size: 1.75rem !important;
    color: var(--brand-primary) !important;
    font-weight: 700 !important;
    margin-bottom: 20px;
}

.single-product div.product .woocommerce-product-details__short-description {
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Quantity */
.single-product .quantity {
    display: inline-flex;
    align-items: center;
    background: var(--bg-page);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-right: 10px;
}

.single-product .quantity .qty {
    border: none;
    background: transparent;
    width: 60px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

/* Add to Cart Button */
.single-product .single_add_to_cart_button {
    background: var(--brand-primary) !important;
    color: #fff !important;
    padding: 16px 40px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    transition: all 0.3s;
}

.single-product .single_add_to_cart_button:hover {
    background: var(--brand-dark) !important;
    transform: translateY(-2px);
}

/* Tabs */
.woocommerce-tabs {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

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

.woocommerce-tabs ul.tabs li {
    margin: 0;
    background: transparent;
    border: none;
}

.woocommerce-tabs ul.tabs li a {
    padding: 12px 24px;
    display: block;
    color: #64748b;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--brand-primary);
    border-bottom-color: var(--brand-primary);
}

/* =========================================
   21. CART PAGE
   ========================================= */
.woocommerce-cart .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
}

.woocommerce table.shop_table {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: none;
    box-shadow: var(--shadow-sm);
}

.woocommerce table.shop_table th {
    background: var(--brand-dark);
    color: #fff;
    padding: 16px 20px;
    font-weight: 600;
    border: none;
}

.woocommerce table.shop_table td {
    padding: 20px;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.woocommerce table.shop_table .product-thumbnail img {
    width: 80px;
    border-radius: var(--radius-sm);
}

.woocommerce table.shop_table .product-name a {
    color: var(--text-heading);
    font-weight: 600;
    text-decoration: none;
}

.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table .product-subtotal {
    font-weight: 700;
    color: var(--brand-primary);
}

.woocommerce table.shop_table .quantity .qty {
    width: 60px;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    text-align: center;
}

.woocommerce table.shop_table .product-remove a {
    color: #ef4444;
    font-size: 20px;
}

/* Cart Totals */
.cart_totals {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.cart_totals h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.cart_totals table {
    border: none;
}

.cart_totals table td,
.cart_totals table th {
    padding: 12px 0;
    border: none;
}

.wc-proceed-to-checkout .checkout-button {
    background: var(--brand-primary) !important;
    color: #fff !important;
    padding: 18px 40px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    width: 100%;
    text-align: center;
}

.wc-proceed-to-checkout .checkout-button:hover {
    background: var(--brand-dark) !important;
}

/* =========================================
   22. CHECKOUT PAGE
   ========================================= */
.woocommerce-checkout .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
}

.woocommerce form.checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.woocommerce-billing-fields,
.woocommerce-shipping-fields {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.woocommerce form .form-row label {
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 8px;
    display: block;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: border-color 0.2s;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--brand-primary);
    outline: none;
}

/* Order Review */
#order_review_heading {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.woocommerce-checkout-review-order {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.woocommerce-checkout-review-order-table {
    margin-bottom: 20px;
}

/* Payment Methods */
.woocommerce-checkout-payment {
    background: var(--bg-page);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 20px;
}

.wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wc_payment_method {
    padding: 15px;
    background: #fff;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    border: 1px solid #e2e8f0;
}

.wc_payment_method label {
    font-weight: 600 !important;
    cursor: pointer;
}

/* Place Order Button */
#place_order {
    background: var(--brand-primary) !important;
    color: #fff !important;
    padding: 18px 40px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

#place_order:hover {
    background: var(--brand-dark) !important;
    transform: translateY(-2px);
}

/* =========================================
   23. MY ACCOUNT PAGE
   ========================================= */
.woocommerce-account .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.woocommerce-MyAccount-navigation {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 5px;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 16px;
    color: var(--text-main);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--bg-page);
    color: var(--brand-primary);
}

.woocommerce-MyAccount-content {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

/* Login Form */
.woocommerce form.login,
.woocommerce form.register {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.woocommerce form.login h2,
.woocommerce form.register h2 {
    margin-bottom: 30px;
}

.woocommerce form .button {
    background: var(--brand-primary) !important;
    color: #fff !important;
    padding: 14px 30px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
}

.woocommerce form .button:hover {
    background: var(--brand-dark) !important;
}

/* =========================================
   24. WOOCOMMERCE MESSAGES
   ========================================= */
.woocommerce-message,
.woocommerce-info {
    background: #f0f9ff !important;
    border-left: 4px solid var(--brand-primary) !important;
    padding: 16px 20px !important;
    border-radius: var(--radius-sm) !important;
    margin-bottom: 20px;
}

.woocommerce-error {
    background: #fef2f2 !important;
    border-left: 4px solid #ef4444 !important;
    padding: 16px 20px !important;
    border-radius: var(--radius-sm) !important;
}

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

/* =========================================
   25. PAGE RESPONSIVE - ALL PAGES
   ========================================= */
@media (max-width: 768px) {

    /* Single Product */
    .single-product div.product {
        padding: 20px;
    }

    .single-product div.product .summary {
        padding-left: 0;
        margin-top: 30px;
    }

    /* Cart */
    .woocommerce table.shop_table td {
        padding: 12px;
    }

    .woocommerce table.shop_table .product-thumbnail img {
        width: 60px;
    }

    /* Checkout */
    .woocommerce form.checkout {
        grid-template-columns: 1fr;
    }

    .woocommerce-billing-fields,
    .woocommerce-checkout-review-order {
        padding: 20px;
    }

    /* My Account */
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
    }

    .woocommerce-MyAccount-navigation {
        margin-bottom: 20px;
    }

    .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    .woocommerce-MyAccount-navigation ul li {
        margin-bottom: 0;
    }

    .woocommerce-MyAccount-navigation ul li a {
        padding: 10px 14px;
        font-size: 14px;
    }
}

/* =================================================================
   SHOPIFY-STYLE CHECKOUT - CLEAN CONSISTENT LAYOUT
   ================================================================= */

/* Hide default header/footer on checkout */
.woocommerce-checkout .site-header,
.woocommerce-checkout .site-footer,
.woocommerce-checkout .storefront-breadcrumb,
.woocommerce-checkout .site-header-cart {
    display: none !important;
}

/* Base checkout styles */
.woocommerce-checkout {
    background: var(--bg-page) !important;
    font-family: 'DM Sans', sans-serif !important;
}

.woocommerce-checkout .woocommerce {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    /* Forces vertical stacking */
}

.woocommerce-checkout .woocommerce-notices-wrapper,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info {
    width: 100% !important;
    display: block !important;
    clear: both !important;
    margin-bottom: 24px !important;
}


/* Checkout Header */
.shopify-checkout-header {
    background: #fff;
    border-top: 5px solid var(--brand-primary);
    border-bottom: 1px solid #e5e5e5;
    padding: 30px 10% 20px !important;
    margin-bottom: 0 !important;
}

.shopify-checkout-header .header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.shopify-checkout-header .checkout-logo-img {
    height: 70px;
    width: auto;
}

/* Breadcrumb */
.checkout-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.checkout-breadcrumb li {
    font-size: 13px;
    color: #707070;
}

/* Hide redundant notices */
.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle {
    display: none !important;
}

.checkout-breadcrumb li a {
    color: #1773b0;
    text-decoration: none;
}

.checkout-breadcrumb li a:hover {
    text-decoration: underline;
}

.checkout-breadcrumb .separator {
    font-size: 10px;
    color: #ccc;
}

.checkout-breadcrumb .current {
    color: #333;
    font-weight: 600;
}

/* Split Layout */
.woocommerce-checkout form.checkout {
    display: flex !important;
    align-items: flex-start !important;
}

/* Left Column - Forms (55%) */
.woocommerce-checkout #customer_details {
    flex: 0 0 55% !important;
    max-width: 55% !important;
    padding: 0 48px 60px 10% !important;
    background: #fff !important;
    float: none !important;
}

/* Right Column - Order Summary (45%) */
.woocommerce-checkout #order_review {
    flex: 0 0 45% !important;
    max-width: 45% !important;
    padding: 40px 10% 60px 48px !important;
    background: #fafafa !important;
    border-left: 1px solid #e5e5e5 !important;
    float: none !important;
    position: sticky !important;
    top: 0 !important;
    min-height: 100vh !important;
}

.woocommerce-checkout #order_review_heading {
    display: none !important;
}

/* Section Headers */
.woocommerce-checkout h3 {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Form Fields */
.woocommerce-checkout .form-row {
    margin-bottom: 14px !important;
}

.woocommerce-checkout .form-row label {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1px solid #d9d9d9 !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    background: #fff !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus {
    outline: none !important;
    border-color: #1773b0 !important;
    box-shadow: 0 0 0 1px #1773b0 !important;
}

/* Order Summary Table */
.woocommerce-checkout .shop_table {
    border: none !important;
    background: transparent !important;
}

.woocommerce-checkout .shop_table th,
.woocommerce-checkout .shop_table td {
    border: none !important;
    padding: 12px 0 !important;
    background: transparent !important;
    font-size: 14px !important;
}

.woocommerce-checkout .cart_item {
    border-bottom: 1px solid #e5e5e5 !important;
}

.woocommerce-checkout .order-total th,
.woocommerce-checkout .order-total td {
    font-size: 16px !important;
    font-weight: 600 !important;
    padding-top: 16px !important;
    border-top: 1px solid #e5e5e5 !important;
}

/* Payment Methods */
#payment ul.payment_methods {
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    border: 1px solid #d9d9d9 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}

#payment li.wc_payment_method {
    margin: 0 !important;
    background: #fff !important;
    border-bottom: 1px solid #d9d9d9 !important;
}

#payment li.wc_payment_method:last-child {
    border-bottom: none !important;
}

#payment li.wc_payment_method>label {
    padding: 16px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

#payment li.wc_payment_method:has(input:checked) {
    background: #f0f7ff !important;
}

#payment .payment_box {
    background: #f5f5f5 !important;
    padding: 16px !important;
    border-top: 1px solid #e5e5e5 !important;
    font-size: 14px !important;
    color: #707070 !important;
}

/* Place Order Button */
#place_order {
    background: #1773b0 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 18px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

#place_order:hover {
    background: #125d8c !important;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .shopify-checkout-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }

    .woocommerce-checkout form.checkout {
        flex-direction: column !important;
    }

    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 24px 20px !important;
    }

    .woocommerce-checkout #order_review {
        order: -1 !important;
        position: static !important;
        min-height: auto !important;
        border-left: none !important;
        border-bottom: 1px solid #e5e5e5 !important;
    }
}

/* Hide remaining unwanted checkout elements */
.woocommerce-checkout .storefront-sticky-add-to-cart,
.woocommerce-checkout .storefront-handheld-footer-bar,
.woocommerce-checkout .secondary-navigation,
.woocommerce-checkout .sd-top-bar,
.woocommerce-checkout .topbar,
.woocommerce-checkout .top-bar,
.woocommerce-checkout .storefront-primary-navigation,
.woocommerce-checkout .site-branding,
.woocommerce-checkout .entry-title,
.woocommerce-checkout .page-title,
.woocommerce-checkout .post-navigation,
.woocommerce-checkout .nav-links,
.woocommerce-checkout .woocommerce-breadcrumb {
    display: none !important;
}

/* Hide page header area */
.woocommerce-checkout .entry-header,
.woocommerce-checkout .page-header {
    display: none !important;
}

/* Ensure checkout fills the page properly */
.woocommerce-checkout .site-content,
.woocommerce-checkout #primary,
.woocommerce-checkout #main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}