/*
Theme Name: Road28
Theme URI: https://abctechnology.net/
Author: ABC Technology
Description: A theme designed for WooCommerce.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

This is the main stylesheet for the My WooCommerce Theme.
*/


        body {
            font-family: 'Helvetica', Arial, sans-serif;
            margin: 0;
        }

    

        /* Header Layout */
        .header-container {
            position: relative;
            padding: 25px;
           
        }

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

        /* Left Navigation */
        .left-navigation {
            flex: 1;
        }

        .left-navigation ul {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .left-navigation li {
            margin-right: 25px;
            position: relative;
        }

        .left-navigation a {
            color: #333;
            text-decoration: none;
            font-size: 16px;
            font-weight: 700;
            padding: 8px 0;
            position: relative;
            transition: color 0.3s ease;
        }

        .left-navigation a:hover {
            color: #4a6cf7;
        }

        .left-navigation a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: #4a6cf7;
            transition: width 0.3s ease;
        }

        .left-navigation a:hover::after {
            width: 100%;
        }

        /* Center Logo */
        .site-branding {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
        }

        .custom-logo {
            max-height: 50px;
            width: auto;
            transition: transform 0.3s ease;
        }

        .custom-logo:hover {
            transform: scale(1.05);
        }

        .site-title {
            margin: 0;
            font-size: 18px;
        }

        .site-title a {
            color: #222;
            font-weight: 700;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .site-title a:hover {
            color: #4a6cf7;
        }

        /* Right Utilities */
        .header-utilities {
            flex: 1;
            display: flex;
            justify-content: flex-end;
            align-items: center;
        }

        .header-account,
        .header-cart {
            margin-left: 20px;
            position: relative;
        }

        .header-account a,
        .header-cart a {
            display: flex;
            align-items: center;
            color: #333;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .header-account a:hover,
        .header-cart a:hover {
            color: #4a6cf7;
        }

        .account-icon,
        .cart-icon {
            width: 22px;
            height: 22px;
            fill: currentColor;
            transition: transform 0.3s ease;
        }

        .header-account a:hover .account-icon,
        .header-cart a:hover .cart-icon {
            transform: translateY(-2px);
        }

        .cart-count {
            background: #4a6cf7;
            color: #fff;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7em;
            margin-left: 5px;
            font-weight: 600;
        }
        

        /* Mobile Menu Toggle */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            z-index: 1001;
            padding: 10px;
            position: relative;
            width: 40px;
            height: 40px;
        }

        .menu-toggle .icon-menu {
            width: 24px;
            height: 24px;
        }

        .menu-toggle .icon-menu path {
            stroke: #333;
            transition: stroke 0.3s ease;
        }

        .menu-toggle:hover .icon-menu path {
            stroke: #4a6cf7;
        }

        /* Screen reader text */
        .screen-reader-text {
            border: 0;
            clip: rect(1px, 1px, 1px, 1px);
            clip-path: inset(50%);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
            word-wrap: normal !important;
        }

        /* Mobile Menu Close Button */
        .menu-close {
            display: none;
            position: absolute;
            top: 30px;
            right: 25px;
            background: none;
            border: none;
            cursor: pointer;
            z-index: 1002;
        }

        .menu-close .icon-close {
            width: 28px;
            height: 28px;
        }

        .menu-close .icon-close path {
            stroke: #fff;
            transition: stroke 0.3s ease;
        }

        .menu-close:hover .icon-close path {
            stroke: #4a6cf7;
        }

        /* ==========================================================================
           Responsive Styles
           ========================================================================== */
        @media (max-width: 992px) {
            /* --- HIDE DESKTOP NAV, SHOW MOBILE TOGGLE --- */
            .left-navigation {
                display: none;
            }
            
            .menu-toggle {
                display: block;
            }

            /* --- REORDER HEADER ITEMS FOR MOBILE --- */
            .header-main {
                justify-content: space-between;
            }
            
            .site-branding {
                position: static;
                transform: none;
                order: 2;
                flex-grow: 1;
                text-align: center;
            }
            
            .header-utilities {
                order: 3;
                flex: 0 1 auto;
            }
            
            .menu-toggle {
                order: 1;
                flex: 0 1 auto;
            }

            /* --- ENHANCED MOBILE NAVIGATION --- */
            .main-navigation {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.95);
                z-index: 1000;
                overflow: hidden;
                opacity: 0;
                visibility: hidden;
                transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.4s;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            
            .main-navigation.is-active {
                opacity: 1;
                visibility: visible;
            }
            
            .main-navigation ul {
                flex-direction: column;
                text-align: center;
                width: 100%;
                padding: 0 20px;
                transform: translateY(20px);
                transition: transform 0.5s ease;
            }
            
            .main-navigation.is-active ul {
                transform: translateY(0);
            }
            
            .main-navigation li {
                margin: 0;
                width: 100%;
                opacity: 0;
                transform: translateY(15px);
                transition: transform 0.4s ease, opacity 0.4s ease;
            }
            
            .main-navigation.is-active li {
                opacity: 1;
                transform: translateY(0);
            }
            
            /* Staggered animation for menu items */
            .main-navigation.is-active li:nth-child(1) { transition-delay: 0.15s; }
            .main-navigation.is-active li:nth-child(2) { transition-delay: 0.25s; }
            .main-navigation.is-active li:nth-child(3) { transition-delay: 0.35s; }
            .main-navigation.is-active li:nth-child(4) { transition-delay: 0.45s; }
            .main-navigation.is-active li:nth-child(5) { transition-delay: 0.55s; }
            .main-navigation.is-active li:nth-child(6) { transition-delay: 0.65s; }
            
            .main-navigation a {
                color: #fff;
                display: block;
                padding: 15px;
                font-size: 1.4rem;
                font-weight: 500;
                letter-spacing: 0.5px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.08);
                transition: all 0.3s ease;
            }

            .main-navigation a:hover {
                color: #4a6cf7;
                background: rgba(255, 255, 255, 0.03);
            }

            .main-navigation li:last-child a {
                border-bottom: none;
            }
            
            .menu-close {
                display: block;
                opacity: 0;
                transition: opacity 0.4s ease 0.2s;
            }
            
            .main-navigation.is-active .menu-close {
                opacity: 1;
            }
        }

        /* Body scroll lock when menu is open */
        body.menu-open {
            overflow: hidden;
        }



/*-----------------------------------------------------------------*/

/* Transparent Header */
.site-header {
    background-color: transparent;
    position: absolute;
    top: 10px;
    width: 100%;
    z-index: 100;
    box-shadow: none;
}

.header-main {
    background-color: transparent;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: end;
    color: #fff;
    margin-top: -100px; 
    padding-top: 100px; 
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-section .container{
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin: 50px 25px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin: 10px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5rem;
    margin: 10px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-button {
    display: inline-block;
    padding: 15px 30px;
    background-color:white;
    color: black;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Make header links visible over dark background */
.main-navigation a,
.header-account a,
.header-cart a {
    color: black;
}

.header-cart .cart-count {
    background: black;
    color: white;
}

.recent-products, .featured-products{
    padding: 0 25px;
    max-width: 100%;
}

/* Section Titles */
.section-title {
    text-align: left;
    margin: 50px 0 0;
    font-size: 2.5em;
    position: relative;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .hero-section {
        min-height: 500px;
    }

    .section-title {
    font-size: 2rem;
    }
}



/* Products Grid */
.products-grid {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    align-items: flex-start;
    justify-content: center;
    row-gap: 70px;
    margin-bottom: 65px;
    margin-top: 65px;
}



.products-grid a{
    text-decoration: none;
    color: black;
}

.products-grid li {
    list-style: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
     width: 33.3%;
}

.products-grid img{
    width: 100%;
    height: 100%;
}

.products-grid h2 {
    display: block;
    font-size: 18px;
    text-align: center;
    max-width: 75%;
    padding-bottom: 5px;
    margin: auto;
    text-transform: uppercase;
}

.products-grid div{
    display: block;
    text-align: center;
}

.products-grid .price {
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
}

@media (max-width: 768px) {
    .products-grid li {
    width: 50%;
    }
}

.view-all{
    text-align: center;
    margin-bottom: 50px;
}

.view-all a{
    display: inline-block;
    padding: 15px 30px;
    background-color:white;
    color: black;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid black;
}

/* Footer Styles */


.footer-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
}

.footer-nav li a {
  text-transform: uppercase;
  color: black;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 15px;
  }

  .view-all a {
    padding: 10px 15px;
    font-size: 0.8rem;
  }
}

/* WooCommerce Pagination Styling */
.woocommerce-pagination {
    margin-top: 50px;
}

.woocommerce-pagination .page-numbers {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 5px;
}

.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
    padding: 8px 15px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: black;
}

.woocommerce-pagination .page-numbers li .current {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Shopify-style Product Layout */
.product-info {
    margin: 40px 25px;
    display: flex;
    flex: 1;
}

.product-info__pc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30%;
}

.product-info__main {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.product-info__title {
    font-size: 1.6rem;
    display: block;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.product-block-content h2 {
    font-size: 1rem;
    text-transform: uppercase;
    margin: 10px 0 30px;
}

.c-product__shortdesc {
    margin: 20px 0;
    font-size: 0.9rem;
}

.c-product__id {
    font-size: 0.8rem;
    color: #666;
}

.variations_form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 0px auto !important;
}

.product-info__description-mobile{
    display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .product-info{
        display: block;
        margin-top: 120px;
    }
    
    .product-info__description-pc {
        display: none;
    }
    
    .product-info__description-mobile {
        display: block;
        margin-top: 30px;
        width: 100%;
    }

    .product-info__pc {
    width: 100%;
}

.product-gallery-wrapper{
    width: 100% !important;
}

.product-info__main{
    width: 100%;
}

.cart__form{
    padding: 150px 0 !important;
}

}

/* Hide the original select dropdown that we're replacing for the targeted attribute */
select.variation-select-hidden {
    display: none !important; /* Important to override WooCommerce styles if necessary */
}

/* Styling for the button group */
.variation-buttons-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Basic styling for variation buttons */
.variation-button {
    cursor: pointer;
    opacity: 1;
    font-weight: bold;
    font-size: 18px;
    appearance: none;
    text-transform: uppercase;
    padding: 5px 10px;
    background: none;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    border-image: initial;
    text-decoration: none;
    margin-bottom: 10px;
}

/* Styling for the active (selected) variation button */
.variation-button.active {
    border-width: 1px;
    border-style: solid;
    border-color: initial;
    border-image: initial;
}

.single_add_to_cart_button {
    display: block;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    min-width: fit-content;
    width: 80%;
    letter-spacing: 0px !important;
    box-shadow: none !important;
    margin: 5px auto auto;
    border-style: hidden;
    padding: 13px !important;
    border-radius: 0px !important;
    background-color: #000 !important;
    color: #fff !important;
}

.related{
    padding: 0 25px;
}

.related > h2 {
    text-transform: uppercase;
}

.items h2{
    display: block;
    font-size: 18px;
    line-height: 1.2;
    text-decoration: none;
    color: #000;
    text-align: center;
    max-width: 75%;
    margin: auto;
    padding-bottom: 5px;
    text-transform: uppercase;
}

.items .price {
    line-height: 1.2;
    text-align: center;
    color: #000 !important;
}

@media (max-width: 768px) {
    .items h2{
        font-size: 15px;
    }

    .items .price {
        font-size: 14px;
    }

}
.site-main{
    margin-top: 30px;
}

#place_order{
    background-color: #000;
}

.woocommerce-order{
    padding: 50px;
}

.wc-empty-cart-message{
    margin-top: 100px;
    min-height: 300px;
}