/*
 Theme Name:   Astra Child - ServerMonkey Style
 Theme URI:    https://developer.wordpress.org/themes/advanced-topics/child-themes/
 Description:  Custom Astra child theme for IT hardware e-commerce store
 Author:       Kabir Hafeez
 Author URI:   https://developer.wordpress.org
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  astra-child
*/

/* ============================================
   BASE VARIABLES - Horizon Hardware brand palette
   ============================================ */
:root {
    --primary-color: #e63946;
    --primary-hover: #c62e3b;
    --secondary-color: #1d3557;
    --secondary-light: #264073;
    --link-color: #046bd2;
    --link-hover: #045cb4;
    --accent-color: #f77f00;
    --text-dark: #1e293b;
    --text-medium: #555555;
    --text-light: #777777;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1d3557;
    --border-color: #e0e0e0;
    --success-color: #2a9d8f;
    --warning-color: #e9c46a;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    color: var(--secondary-color);
}

a {
    color: var(--link-color);
    transition: color 0.2s ease;
}

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

/* Hide page title on homepage */
.home .entry-title,
.home .page-title,
.home .ast-archive-description {
    display: none !important;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.ast-primary-header-bar,
.ast-primary-header,
#ast-desktop-header .ast-primary-header-bar {
    background-color: var(--secondary-color) !important;
    border-bottom: 3px solid var(--primary-color);
}

/* Site title in header */
.ast-site-title-wrap a,
.site-title a {
    color: #ffffff !important;
}

.ast-builder-menu .menu-item > a,
.main-navigation .menu-item > a {
    color: #ffffff !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.ast-builder-menu .menu-item > a:hover,
.ast-builder-menu .menu-item.current-menu-item > a,
.main-navigation .menu-item > a:hover,
.main-navigation .current-menu-item > a {
    color: var(--primary-color) !important;
}

/* Dropdown menus */
.ast-builder-menu .sub-menu,
.main-navigation .sub-menu {
    background-color: var(--secondary-color) !important;
    border-top: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ast-builder-menu .sub-menu .menu-item > a,
.main-navigation .sub-menu .menu-item > a {
    color: #ffffff !important;
    font-size: 13px;
    padding: 8px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ast-builder-menu .sub-menu .menu-item > a:hover,
.main-navigation .sub-menu .menu-item > a:hover {
    background-color: var(--secondary-light) !important;
    color: var(--primary-color) !important;
}

/* Top bar for contact info / utility links */
.ast-above-header-bar {
    background-color: #0f1f33 !important;
    font-size: 13px;
    color: #cccccc;
}

/* ============================================
   BUTTONS
   ============================================ */
.ast-custom-button,
.wp-block-button__link,
.button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.elementor-button {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    padding: 12px 28px !important;
    transition: all 0.3s ease !important;
}

.ast-custom-button:hover,
.wp-block-button__link:hover,
.button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.elementor-button:hover {
    background-color: var(--primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

/* Secondary/outline buttons */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce .single_add_to_cart_button {
    background-color: var(--primary-color) !important;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover {
    background-color: var(--primary-hover) !important;
}

/* ============================================
   WOOCOMMERCE - PRODUCT CARDS
   ============================================ */
.woocommerce ul.products li.product {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.woocommerce ul.products li.product:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px !important;
    font-weight: 600;
    color: var(--secondary-color);
    padding: 10px 0 5px;
}

.woocommerce ul.products li.product .price {
    color: var(--primary-color) !important;
    font-size: 18px !important;
    font-weight: 700;
}

.woocommerce ul.products li.product .price del {
    color: var(--text-light) !important;
    font-size: 14px !important;
}

/* Sale badge */
.woocommerce span.onsale {
    background-color: var(--accent-color) !important;
    color: #ffffff;
    font-weight: 700;
    border-radius: 4px;
    padding: 5px 10px;
    min-height: auto;
    min-width: auto;
    line-height: 1.4;
}

/* Add to cart button on product cards */
.woocommerce ul.products li.product .button {
    font-size: 12px !important;
    padding: 8px 16px !important;
}

/* ============================================
   WOOCOMMERCE - SINGLE PRODUCT
   ============================================ */
.woocommerce div.product .product_title {
    font-size: 28px;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.woocommerce div.product p.price {
    color: var(--primary-color) !important;
    font-size: 26px !important;
    font-weight: 700;
}

.woocommerce div.product .stock {
    font-weight: 600;
}

.woocommerce div.product .in-stock {
    color: var(--success-color);
}

.woocommerce div.product .out-of-stock {
    color: var(--primary-color);
}

/* Single product enhancements */
.woocommerce div.product .woocommerce-product-gallery {
    margin-bottom: 30px;
}

.woocommerce div.product .product_meta {
    font-size: 14px;
    color: var(--text-medium);
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: 20px;
}

.woocommerce div.product .product_meta a {
    color: var(--link-color);
}

.woocommerce div.product .product_meta a:hover {
    color: var(--link-hover);
}

/* Related products */
.woocommerce .related.products h2,
.woocommerce .upsells.products h2 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* Quantity input */
.woocommerce .quantity .qty {
    border: 2px solid var(--border-color);
    border-radius: 4px;
    padding: 8px;
    width: 70px;
    text-align: center;
}

.woocommerce .quantity .qty:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Product category label on single page */
.woocommerce div.product .posted_in a {
    color: var(--primary-color);
    font-weight: 500;
}

/* Product tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Product meta/SKU */
.woocommerce div.product .product_meta {
    font-size: 13px;
    color: var(--text-medium);
}

.woocommerce div.product .product_meta a {
    color: var(--link-color);
}

/* ============================================
   WOOCOMMERCE - CART & CHECKOUT
   ============================================ */
.woocommerce-cart .cart-collaterals .cart_totals {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
}

.woocommerce-checkout #payment {
    background: var(--bg-light) !important;
    border-radius: 8px;
}

/* ============================================
   CATEGORY GRID / HOMEPAGE SECTIONS
   ============================================ */
.product-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

.product-category-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.product-category-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.product-category-card img {
    max-width: 80px;
    margin-bottom: 15px;
}

.product-category-card h3 {
    font-size: 16px;
    color: var(--secondary-color);
    margin: 0;
}

/* Featured deals section */
.featured-deals {
    background: var(--bg-light);
    padding: 50px 0;
}

.featured-deals .section-title {
    text-align: center;
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

/* Trust badges bar */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 30px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-medium);
    font-weight: 500;
}

.trust-badge i,
.trust-badge svg {
    color: var(--success-color);
    font-size: 24px;
}

/* ============================================
   FOOTER
   ============================================ */
.ast-footer-overlay,
.site-footer,
.ast-footer,
footer.site-footer,
.ast-small-footer,
.site-below-footer-wrap,
.ast-footer-copyright {
    background-color: var(--bg-dark) !important;
    color: #cccccc !important;
}

.site-footer a,
.ast-footer a,
.ast-small-footer a {
    color: #ffffff !important;
    transition: color 0.2s ease;
}

.site-footer a:hover,
.ast-footer a:hover,
.ast-small-footer a:hover {
    color: var(--primary-color) !important;
}

.site-footer .widget-title {
    color: #ffffff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* Hide Astra default copyright bar (replaced by custom footer) */
.site-below-footer-wrap,
.site-below-footer-wrap[data-section="section-below-footer-builder"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Footer copyright text */
.ast-footer-copyright p,
.ast-small-footer p {
    color: #aaaaaa !important;
}

/* ============================================
   SEARCH BAR
   ============================================ */
.ast-search-box input.search-field {
    border: 2px solid var(--border-color);
    border-radius: 4px;
    padding: 10px 15px;
    transition: border-color 0.3s ease;
}

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

/* ============================================
   BREADCRUMBS
   ============================================ */
.ast-breadcrumbs .trail-items a {
    color: var(--link-color);
}

.ast-breadcrumbs .trail-items a:hover {
    color: var(--primary-color);
}

.ast-breadcrumbs {
    font-size: 13px;
    padding: 10px 0;
    color: var(--text-light);
}

/* ============================================
   SIDEBAR WIDGETS
   ============================================ */
.widget_product_categories .product-categories li a {
    color: var(--text-dark);
    padding: 6px 0;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.widget_product_categories .product-categories li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .product-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .trust-badges {
        gap: 20px;
    }

    .woocommerce div.product .product_title {
        font-size: 22px;
    }

    .woocommerce div.product p.price {
        font-size: 22px !important;
    }
}

@media (max-width: 480px) {
    .product-category-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   NAVIGATION - Fit all items in one row
   ============================================ */
.ast-builder-menu .menu-item > a,
.main-navigation .menu-item > a {
    font-size: 12px !important;
    padding: 0 12px !important;
    letter-spacing: 0.3px;
}

/* Dropdown submenu styling - dark navy */
.ast-desktop-popup-content,
.ast-builder-menu .sub-menu,
.main-navigation .sub-menu,
.ast-builder-menu .astra-full-megamenu-wrapper {
    background-color: var(--secondary-color) !important;
    border-top: 2px solid var(--primary-color) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    min-width: 200px;
}

.ast-builder-menu .sub-menu .menu-item > a,
.main-navigation .sub-menu .menu-item > a {
    color: #ffffff !important;
    font-size: 12px !important;
    padding: 8px 18px !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    text-transform: none !important;
}

.ast-builder-menu .sub-menu .menu-item > a:hover,
.main-navigation .sub-menu .menu-item > a:hover {
    background-color: var(--secondary-light) !important;
    color: var(--primary-color) !important;
}

/* Dropdown arrow color */
.ast-builder-menu .menu-item .sub-arrow,
.ast-header-break-point .ast-builder-menu .menu-item .sub-arrow {
    color: #ffffff !important;
}

/* ============================================
   HOMEPAGE SECTIONS
   ============================================ */
.hh-hero {
    position: relative;
    background: linear-gradient(135deg, #1d3557 0%, #264073 100%);
    padding: 70px 20px;
    text-align: center;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    max-width: 100vw;
}
.hh-hero h1 {
    color: #ffffff !important;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.hh-hero p {
    color: #a8c4e0 !important;
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.hh-btn-primary {
    display: inline-block;
    background: #e63946 !important;
    color: #fff !important;
    padding: 16px 40px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}
.hh-btn-primary:hover {
    background: #c62e3b !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230,57,70,0.4);
    color: #fff !important;
}
.hh-hero-btn {
    display: inline-block;
    background: var(--primary-color) !important;
    color: #fff !important;
    padding: 16px 40px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}
.hh-hero-btn:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230,57,70,0.4);
    color: #fff !important;
}
.hh-cta-btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin: 0 8px;
}
.hh-cta-btn.primary {
    background: var(--primary-color) !important;
    color: #fff !important;
    border: 2px solid var(--primary-color);
}
.hh-cta-btn.primary:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230,57,70,0.4);
    color: #fff !important;
}
.hh-cta-btn.secondary {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.5);
}
.hh-cta-btn.secondary:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: #fff;
    transform: translateY(-2px);
    color: #fff !important;
}
.hh-categories {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}
.hh-categories > h2 {
    text-align: center;
    font-size: 30px;
    color: #1d3557 !important;
    margin-bottom: 10px;
    font-weight: 700;
}
.hh-categories > p {
    text-align: center;
    color: #555;
    margin-bottom: 40px;
    font-size: 16px;
}
.hh-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.hh-cat-card {
    display: block;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
}
.hh-cat-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}
.hh-cat-img {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}
.hh-cat-card:hover .hh-cat-img {
    transform: scale(1.08);
}
.hh-cat-card h3 {
    font-size: 18px;
    color: var(--secondary-color) !important;
    margin: 15px 0 5px;
    font-weight: 700;
    padding: 0 15px;
}
.hh-cat-card span {
    color: var(--text-medium);
    font-size: 13px;
    display: block;
    padding: 0 15px 20px;
    line-height: 1.4;
}
.hh-featured {
    background: #f8f9fa;
    padding: 50px 20px 10px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    max-width: 100vw;
}
.hh-featured-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.hh-featured h2 {
    text-align: center;
    font-size: 30px;
    color: #1d3557 !important;
    margin-bottom: 10px;
    font-weight: 700;
}
.hh-featured-inner > p {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
    font-size: 16px;
}
.hh-why-us {
    background: linear-gradient(135deg, #1d3557 0%, #264073 100%);
    padding: 60px 20px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    max-width: 100vw;
}
.hh-why-us-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.hh-why-us h2 {
    text-align: center;
    font-size: 30px;
    color: #ffffff !important;
    margin-bottom: 40px;
    font-weight: 700;
}
.hh-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.hh-why-item { padding: 20px; }
.hh-why-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: #2a9d8f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.hh-why-item h3 {
    font-size: 16px;
    color: #ffffff !important;
    margin-bottom: 8px;
    font-weight: 700;
}
.hh-why-item p {
    color: #a8c4e0 !important;
    font-size: 14px;
    margin: 0;
}
.hh-brands {
    background: #f8f9fa;
    padding: 40px 20px;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    max-width: 100vw;
}
.hh-brands-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.hh-brands h2 {
    font-size: 22px;
    color: #1d3557 !important;
    margin-bottom: 25px;
    font-weight: 700;
}
.hh-brands-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}
.hh-brands-list span {
    font-size: 22px;
    font-weight: 700;
    color: #555;
    letter-spacing: 1px;
}
.hh-cta {
    background: linear-gradient(135deg, #1d3557 0%, #264073 100%);
    padding: 60px 20px;
    text-align: center;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    max-width: 100vw;
}
.hh-cta-inner {
    max-width: 700px;
    margin: 0 auto;
}
.hh-cta h2 {
    color: #ffffff !important;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}
.hh-cta p {
    color: #a8c4e0 !important;
    font-size: 16px;
    margin-bottom: 30px;
}
.hh-btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff !important;
    padding: 14px 40px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #fff;
    transition: all 0.3s;
}
.hh-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    color: #fff !important;
}
.home .entry-title { display: none; }

@media (max-width: 768px) {
    .hh-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hh-why-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .hh-hero h1 { font-size: 28px; }
    .hh-cta h2 { font-size: 24px; }
    .hh-cta .hh-btn-primary, .hh-cta .hh-btn-outline { display: block; margin: 10px auto; }
    .hh-brands-list { gap: 25px; }
    .hh-brands-list span { font-size: 18px; }
}
@media (max-width: 480px) {
    .hh-cat-grid { grid-template-columns: 1fr; }
    .hh-why-grid { grid-template-columns: 1fr; }
}


/* ============================================
   CUSTOM FOOTER
   ============================================ */
.hh-footer {
    background: linear-gradient(135deg, #1d3557 0%, #264073 100%);
    color: #cccccc;
    margin-left: calc(-50vw + 50%);
    width: 100vw;
    position: relative;
}

.hh-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 30px;
}

.hh-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.hh-footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.hh-footer-col p {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
}

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

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

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

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

/* Astra footer bar - dark background for copyright */
.site-below-footer-wrap,
.ast-builder-grid-row,
.site-footer {
    background-color: #152a45 !important;
}

.site-below-footer-wrap .ast-builder-grid-row {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.site-below-footer-wrap .ast-footer-copyright {
    color: #888888 !important;
    font-size: 13px;
}

.site-below-footer-wrap .ast-footer-copyright a {
    color: #aaaaaa !important;
}

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

@media (max-width: 480px) {
    .hh-footer-grid {
        grid-template-columns: 1fr;
    }
}


/* Add copyright bar at bottom of custom footer */
.hh-footer-copyright {
    text-align: center;
    padding: 20px 0 0;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888888;
    font-size: 13px;
}


/* ==========================================
    CART & CHECKOUT PAGE STYLES
   ========================================== */

/* Cart page */
.woocommerce-cart .wc-block-cart__submit-button,
.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block a {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    transition: background-color 0.3s ease !important;
}

.woocommerce-cart .wc-block-cart__submit-button:hover,
.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block a:hover {
    background-color: var(--primary-hover) !important;
}

/* Cart savings badge */
.wc-block-components-sale-badge {
    background-color: var(--success-color) !important;
    color: #fff !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
}

/* Cart product link */
.wc-block-cart-item__product a {
    color: var(--secondary-color) !important;
    font-weight: 600 !important;
}

.wc-block-cart-item__product a:hover {
    color: var(--primary-color) !important;
}

/* Checkout page */
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    transition: background-color 0.3s ease !important;
}

.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover {
    background-color: var(--primary-hover) !important;
}

/* Checkout order summary */
.wc-block-components-order-summary .wc-block-components-order-summary-item__description a {
    color: var(--secondary-color) !important;
    font-weight: 600 !important;
}

/* Checkout form styling */
.wc-block-components-text-input input:focus,
.wc-block-components-textarea:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 1px var(--primary-color) !important;
}

/* Shipping options radio styling */
.wc-block-components-radio-control__input:checked {
    border-color: var(--primary-color) !important;
    background-color: var(--primary-color) !important;
}

/* Coupon/discount link */
.wc-block-components-totals-coupon-link {
    color: var(--link-color) !important;
}

/* Cart & Checkout headings */
.woocommerce-cart .wp-block-woocommerce-cart h2,
.woocommerce-checkout .wp-block-woocommerce-checkout h2 {
    color: var(--secondary-color) !important;
    font-weight: 700 !important;
}

/* Remove item link */
.wc-block-cart-item__remove-link {
    color: var(--primary-color) !important;
}

.wc-block-cart-item__remove-link:hover {
    color: var(--primary-hover) !important;
}

/* ==========================================
    SHOP PAGE ENHANCEMENTS
   ========================================== */

/* Sale badge on shop */
.woocommerce .onsale {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    padding: 5px 10px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.5 !important;
}

/* Shop product card hover effect */
.woocommerce ul.products li.product {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    background: #fff;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Product title on shop page */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--secondary-color) !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

/* Product price on shop page */
.woocommerce ul.products li.product .price {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

.woocommerce ul.products li.product .price del {
    color: var(--text-light) !important;
    font-weight: 400 !important;
    font-size: 14px !important;
}

/* Category label above product title */
.woocommerce ul.products li.product .ast-woo-product-category {
    color: var(--text-medium) !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Shop page sorting dropdown */
.woocommerce .woocommerce-ordering select {
    border: 2px solid var(--border-color) !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb,
.ast-breadcrumbs-wrapper {
    color: var(--text-medium) !important;
    font-size: 14px !important;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--link-color) !important;
}

/* ==========================================
    MY ACCOUNT PAGE STYLES
   ========================================== */

.woocommerce-MyAccount-navigation ul li a {
    color: var(--secondary-color) !important;
    padding: 12px 20px !important;
    display: block !important;
    border-bottom: 1px solid var(--border-color) !important;
    transition: all 0.2s ease !important;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
    background-color: var(--secondary-color) !important;
    color: #fff !important;
}

/* Login / Register form */
.woocommerce-form-login .woocommerce-button,
.woocommerce-form-register .woocommerce-button {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    padding: 12px 30px !important;
}

.woocommerce-form-login .woocommerce-button:hover,
.woocommerce-form-register .woocommerce-button:hover {
    background-color: var(--primary-hover) !important;
}

/* ==========================================
   HOMEPAGE POLISH & FULL-WIDTH SECTIONS
   ========================================== */

/* Remove top gap between header and hero on homepage */
.page-id-21 .content-area.primary {
    margin-top: 0 !important;
}

/* Make hero section full-width */
.hh-hero {
    max-width: none !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    border-radius: 0 !important;
}

/* Make CTA section full-width */
.hh-cta {
    max-width: none !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    border-radius: 0 !important;
}

/* Make Why Choose section full-width */
.hh-why-us {
    max-width: none !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    border-radius: 0 !important;
}

/* Section spacing improvements */
.hh-section-header {
    margin-top: 50px;
}

.hh-cat-grid {
    margin-bottom: 50px;
}

/* Product grid spacing on homepage */
.page-id-21 .woocommerce ul.products {
    margin-bottom: 50px !important;
}

/* Brands section spacing */
.hh-brands {
    margin-bottom: 0;
    padding-bottom: 40px;
}
