/*
Theme Name: Koi Sneaker
Theme URI: https://koisneaker.com
Author: Koi Sneaker Team
Author URI: https://koisneaker.com
Description: Theme WordPress chuyên bán giày sneaker replica, thiết kế dựa trên Xám Sneaker
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koisneaker
Tags: e-commerce, woocommerce, sneaker, shop
*/

/* ===========================
   RESET & GENERAL STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #ff0000;
    --text-color: #333333;
    --border-color: #e5e5e5;
    --hover-color: #f5f5f5;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

.variations select {
    display: none !important;
}

/* --------------------------------------------------------------*/
/* .hero-banner {
    width: 100vw;
    height: 90vh;
    margin-left: calc(-50vw + 50%);
    background: #111;
    display: flex;
    align-items: center;
}

.hero-inner {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 80px;     
    color: #fff;
} */
.header-bottom,
.nav-dark .header-bottom,
.header-wrapper,
.header-main {
    border-bottom: none !important;
    box-shadow: none !important;
}

.header-bottom::after,
.header-wrapper::after,
.header-main::after {
    display: none !important;
}


/* ---------------------------- SỬA TRANG SIZE----------------------------------------- */
.variations_form {
    display: flex !important;
    flex-direction: column !important;
}

.single-product .summary .price {
    order: 1;
}

.variations {
    order: 2;
    margin-top: 10px;
}

.variations .label {
    display: none !important;
}

.variations::before {
    content: "SIZE";
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.variable-items-wrapper,
.radio-buttons-wrapper {
    display: flex !important;
    gap: 10px;
    flex-wrap: wrap;
}

.single_variation_wrap {
    order: 3;
    margin-top: 15px;
}

.reset_variations {
    display: none !important;
}

.single-product .summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
}


.variations_form,
.variations {
    width: 100%;
    text-align: left !important;
}


.variations,
.variable-items-wrapper,
.radio-buttons-wrapper {
    justify-content: flex-start !important;
}


.variations::before {
    content: "SIZE";
    font-weight: 700;
    font-size: 14px;
    margin: 12px 0 8px 0;
    display: block;
}

/* --------------------------------------------------------------*/
.single-product div.product .summary {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.single-product div.product form.cart {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.single-product div.product form.cart .quantity,
.single-product div.product form.cart .single_add_to_cart_button {
    margin-left: 0 !important;
    align-self: flex-start !important;
}

.single-product div.product .summary .flex-col {
    flex: unset !important;
}


/* --------------------------------------------------------------*/
.brands-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: red;
    display: block;
    margin: 10px auto 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    margin-top: 40px;
}


.brand-item {
    background: #fff;
    border-radius: 12px;
    padding: 35px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 120px;
}

.brand-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.brand-item img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.brand-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}


@media (max-width:1024px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:600px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --------------------------------------------------------------*/
#shipping-postcode,
#billing-postcode,
[data-id="shipping-postcode"],
[data-id="billing-postcode"] {
    display: none !important;
}


input[id*="postcode"],
label[for*="postcode"],
[data-id*="postcode"] {
    display: none !important;
}

.wc-block-components-address-form {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}


.wc-block-components-address-form [id*="city"] {
    grid-column: 1 / 2;
}


.wc-block-components-address-form [id*="phone"] {
    grid-column: 2 / 3;
}

.wc-block-components-address-form .wc-block-components-text-input,
.wc-block-components-address-form .wc-block-components-combobox,
.wc-block-components-address-form .wc-block-components-country-input {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .wc-block-components-address-form {
        grid-template-columns: 1fr;
    }
}


.product-image a.img-link {
    position: relative;
    display: block;
}

.product-image img {
    display: block;
    width: 100%;
    height: auto;
}

.freeship-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #ffcc00;
    color: #000;
    font-weight: 700;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    z-index: 3;
    pointer-events: none;
}



/* SOCIAL FLOAT BUTTONS */
.social-fixed {
    position: fixed;
    right: 15px;
    bottom: 90px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99999;
}

.social-fixed a {
    display: block;
    width: 50px;
    height: 50px;
}

.social-fixed img {
    width: 100%;
    height: 100%;
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    padding: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.social-fixed img:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* Nút Back To Top */
/* .scroll-top,
.back-to-top,
.go-top {
    position: fixed !important;
    right: 12px !important;   
    left: auto !important;
    z-index: 9999;
}

@media (max-width: 768px){
    .scroll-top,
    .back-to-top,
    .go-top{
        bottom: 20px !important; 
    }

    .social-fixed{
        bottom: 90px !important;
    }
} */

.scroll-top,
.back-to-top,
.go-top {
    right: 15px !important;
}

@media (max-width:768px) {
    .social-fixed {
        right: 15px !important;
        bottom: 90px !important;
    }

    .back-to-top {
        right: 15px !important;
        bottom: 20px !important;
    }
}


.img-wrap {
    position: relative;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 52px;
    height: 52px;
    background: #e10600;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------------------*/
.hero-banner {
    width: 100vw;
    height: 90vh;
    margin-left: calc(-50vw + 50%);
    background: #111;
    display: flex;
    align-items: center;
}

/* CONTAINER */
.hero-inner {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 80px;
    color: #fff;
}

/* ================= LEFT TEXT ================= */
.hero-text {
    flex: 1;
}

/* FLASH SALE */
.hero-text h1 {
    font-size: clamp(56px, 9vw, 110px);
    font-weight: 900;
    line-height: 1;
    margin: 0;
    position: relative;
    top: -10px;
    letter-spacing: 2px;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* SUB TITLE */
.hero-text h2 {
    font-size: clamp(28px, 5vw, 64px);
    font-weight: 800;
    color: #ff3b3b;
    margin: 10px 0;
    line-height: 1.1;
    letter-spacing: 1px;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    margin: 20px 0;
    font-size: clamp(14px, 2.5vw, 18px);
}

/* BUTTON */
.hero-btn {
    display: inline-block;
    background: red;
    color: #fff;
    margin-top: 32px;
    padding: clamp(12px, 4vw, 16px) clamp(24px, 6vw, 40px);
    font-size: clamp(14px, 3vw, 18px);
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: #ff3b3b;
    transform: translateY(-2px);
}

/* ================= RIGHT IMAGE ================= */
.hero-image {
    flex: 1.4;
    text-align: right;
}

.hero-image img {
    width: 100%;
    max-width: clamp(320px, 50vw, 1500px);
    height: auto;
    object-fit: contain;
}

.header-bottom,
.nav-dark .header-bottom,
.header-wrapper,

.header-main {
    border-bottom: none !important;
    box-shadow: none !important;
}

.header-bottom::after,
.header-wrapper::after,

.header-main::after {
    display: none !important;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .hero-banner {
        height: auto;
        padding: 60px 0;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
        gap: 32px;
    }

    .hero-image {
        text-align: center;
    }

    .hero-btn {
        margin: 24px auto 0;
    }
}


a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

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

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

/* ===========================
   HEADER STYLES - Xám Sneaker Clone
   =========================== */
.site-header {
    background: #ffffff;
    border-bottom: 2px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.header-main {
    padding: 8px 0;
    background: #ffffff;
}

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

/* Logo */
.site-logo {
    flex-shrink: 0;
    min-width: 140px;
}

.site-logo a {
    display: block;
    line-height: 1;
}

.site-logo img {
    max-height: 50px;
    width: auto;
    display: block;
}

.site-logo h1 {
    font-size: 22px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* Search Bar */
.header-search {
    flex-grow: 1;
    max-width: 450px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-label {
    font-size: 13px;
    font-weight: 400;
    color: #333333;
    white-space: nowrap;
}

.search-form {
    position: relative;
    display: flex;
    flex: 1;
}

.search-form input[type="search"] {
    width: 100%;
    padding: 8px 35px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 13px;
    outline: none;
    background: #f9f9f9;
    font-family: inherit;
    transition: all 0.3s ease;
}

.search-form input[type="search"]:focus {
    border-color: #999;
    background: #ffffff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

.search-form input[type="search"]::placeholder {
    color: #aaa;
}

.search-form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 12px;
    color: #888;
    transition: color 0.3s ease;
}

.search-form button:hover {
    color: #000;
}

.search-form button i {
    font-size: 14px;
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

/* Hotline */
.header-hotline {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
    padding: 0 10px;
    border-right: 1px solid #e5e5e5;
    padding-right: 20px;
}

.header-hotline strong {
    font-size: 11px;
    font-weight: 700;
    color: #000000;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-hotline span {
    font-size: 14px;
    font-weight: 700;
    color: #d70018;
    display: block;
    white-space: nowrap;
}

/* Cart */
.header-cart {
    position: relative;
    padding: 0 5px;
}

.header-cart a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-cart a:hover {
    color: #d70018;
}

.header-cart i {
    font-size: 22px;
}

.cart-label {
    font-size: 11px;
    font-weight: 400;
    text-transform: capitalize;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -2px;
    background: #d70018;
    color: white;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    padding: 0 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Account */
.header-account {
    display: flex;
    align-items: center;
    padding: 0 5px;
}

.header-account a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-account a:hover {
    color: #d70018;
}

.header-account i {
    font-size: 22px;
}

.account-label {
    font-size: 11px;
    font-weight: 400;
    text-transform: capitalize;
}

/* ===========================
   NAVIGATION MENU
   =========================== */
.main-navigation {
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.main-navigation .container {
    display: flex;
    justify-content: center;
}

.primary-menu {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
}

.primary-menu>li {
    position: relative;
}

.primary-menu>li>a {
    display: block;
    padding: 12px 18px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    color: #333;
    border-right: 1px solid #e0e0e0;
}

.primary-menu>li:first-child>a {
    border-left: 1px solid #e0e0e0;
}

.primary-menu>li>a:hover,
.primary-menu>li:hover>a,
.primary-menu>li.current-menu-item>a {
    background: #000000;
    color: #ffffff;
}

/* Dropdown Menu */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: -1px;
    background: #ffffff;
    list-style: none;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s ease;
    z-index: 999;
    border: 1px solid #e0e0e0;
    border-top: 2px solid #000000;
    margin: 0;
    padding: 0;
}

.primary-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.primary-menu .sub-menu li:last-child {
    border-bottom: none;
}

.primary-menu .sub-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    color: #333;
    text-transform: none;
    font-weight: 400;
    transition: all 0.2s ease;
    border-right: none;
}

.primary-menu .sub-menu li a:hover {
    background: #f8f8f8;
    color: #d70018;
    padding-left: 22px;
}

/* ===========================
   HOMEPAGE SECTIONS
   =========================== */
.page-title {
    text-align: center;
    padding: 40px 0 20px;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 30px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.section-title .heart {
    color: var(--accent-color);
}

/* ===========================
   PRODUCT GRID
   =========================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.product-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

/* .product-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
} */

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.product-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.product-item:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-actions button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.product-actions button:hover {
    background: var(--primary-color);
    color: white;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-original {
    text-decoration: line-through;
    color: #000;
    font-size: 14px;
}

.price-sale {
    color: #ff0000;
    font-size: 18px;
    font-weight: 700;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: var(--accent-color);
}

/* ===========================
   BRAND SECTION
   =========================== */
.brands-section {
    padding: 50px 0;
    background: #f8f8f8;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.brand-item {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.brand-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 15px;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 50px 0 20px;
}

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

.footer-widget h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-widget ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-contact strong {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }

    .header-search {
        order: 3;
        max-width: 100%;
        flex-basis: 100%;
        margin-top: 10px;
    }

    .search-label {
        font-size: 12px;
    }

    .header-right {
        gap: 15px;
    }

    .header-hotline {
        padding-right: 15px;
    }

    .header-hotline strong {
        font-size: 10px;
    }

    .header-hotline span {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header-main {
        padding: 12px 0;
    }

    .header-content {
        gap: 10px;
    }

    .site-logo {
        min-width: 100px;
    }

    .site-logo h1 {
        font-size: 16px;
    }

    .site-logo img {
        max-height: 40px;
    }

    .search-label {
        display: none;
    }

    .search-form input[type="search"] {
        padding: 7px 30px 7px 10px;
        font-size: 12px;
    }

    .header-hotline {
        display: none;
    }

    .header-right {
        gap: 12px;
    }

    .cart-label,
    .account-label {
        display: none;
    }

    .header-cart i,
    .header-account i {
        font-size: 20px;
    }

    .cart-count {
        top: -5px;
        right: -5px;
        min-width: 16px;
        height: 16px;
        font-size: 9px;
    }

    /* Mobile Menu */
    .main-navigation {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .primary-menu {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .primary-menu>li>a {
        padding: 10px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    .primary-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: 1px solid #e0e0e0;
        display: none;
        background: #f9f9f9;
    }

    .primary-menu li:hover>.sub-menu {
        display: block;
    }

    .primary-menu .sub-menu li a {
        padding: 8px 15px;
        font-size: 12px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Footer map: luon hien thi tren mobile, khong bi mat */
.footer-map {
    width: 100%;
    min-height: 200px;
}

.footer-map iframe {
    width: 100% !important;
    min-height: 220px;
    max-width: 100%;
    display: block;
}

@media (max-width: 768px) {
    .footer-content {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .footer-map {
        order: 0;
        width: 100%;
        min-height: 220px;
        flex: none;
    }

    .footer-map iframe {
        min-height: 220px;
        height: 220px;
    }
}

@media (max-width: 480px) {
    .header-main {
        padding: 10px 0;
    }

    .site-logo h1 {
        font-size: 14px;
    }

    .site-logo img {
        max-height: 35px;
    }

    .header-right {
        gap: 8px;
    }

    .header-cart,
    .header-account {
        padding: 0;
    }

    .header-cart i,
    .header-account i {
        font-size: 18px;
    }

    .search-form input[type="search"] {
        padding: 6px 28px 6px 8px;
        font-size: 11px;
    }

    .primary-menu>li>a {
        padding: 8px 10px;
        font-size: 11px;
    }

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

    .product-info {
        padding: 12px;
    }

    .product-title {
        font-size: 12px;
        min-height: auto;
    }

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

/* ===========================
   WOOCOMMERCE OVERRIDES
   =========================== */
.woocommerce-notices-wrapper {
    margin: 20px 0;
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.woocommerce-message {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

.woocommerce-error {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #f44336;
}

/* ===========================
   WOOCOMMERCE SHOP TOOLBAR
   Form ordering và result count
   =========================== */
.woocommerce-before-shop-loop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

/* Result Count */
.woocommerce-result-count {
    font-size: 14px;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    font-weight: 400;
    line-height: 1.5;
}

/* Ordering Form */
.woocommerce-ordering {
    margin: 0;
    padding: 0;
    position: relative;
}

.woocommerce-ordering label {
    display: none;
}

.woocommerce-ordering .orderby {
    padding: 10px 40px 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: white;
    font-size: 14px;
    color: var(--text-color);
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: inherit;
    transition: all 0.3s ease;
    min-width: 220px;
    font-weight: 400;
    line-height: 1.5;
}

/* Custom dropdown arrow */
.woocommerce-ordering .orderby {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.woocommerce-ordering .orderby:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.woocommerce-ordering .orderby:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.woocommerce-ordering .orderby option {
    padding: 10px;
    background: white;
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-before-shop-loop {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 15px 0;
    }

    .woocommerce-result-count {
        text-align: center;
        font-size: 13px;
        order: 1;
    }

    .woocommerce-ordering {
        width: 100%;
        order: 2;
    }

    .woocommerce-ordering .orderby {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .woocommerce-before-shop-loop {
        margin: 20px 0;
        padding: 15px 0;
    }

    .woocommerce-result-count {
        font-size: 12px;
    }

    .woocommerce-ordering .orderby {
        font-size: 13px;
        padding: 8px 35px 8px 12px;
    }
}

/* ===========================
   WOOCOMMERCE PRODUCT CARDS
   Style giống section sản phẩm bán chạy
   =========================== */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
    list-style: none;
    padding: 0;
}

.woocommerce ul.products li.product {
    margin: 0;
    padding: 0;
    width: 100%;
    float: none;
    list-style: none;
}

/* Product Item Container - Sử dụng class từ homepage */
.woocommerce ul.products li.product .product-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

/* .woocommerce ul.products li.product:hover .product-item {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
} */

/* Product Image - Sử dụng class từ homepage */
.woocommerce ul.products li.product .product-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
}

.woocommerce ul.products li.product .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Sale Badge - Sử dụng class từ homepage */
.woocommerce ul.products li.product .product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

/* Product Info - Sử dụng class từ homepage */
.woocommerce ul.products li.product .product-info {
    padding: 20px;
}

.woocommerce ul.products li.product .product-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.woocommerce ul.products li.product .product-title a {
    color: var(--text-color);
    text-decoration: none;
}

.woocommerce ul.products li.product .product-title a:hover {
    color: var(--accent-color);
}

/* Price - Sử dụng class từ homepage */
.woocommerce ul.products li.product .product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.woocommerce ul.products li.product .product-price .price-original {
    text-decoration: line-through;
    color: #000;
    font-size: 14px;
}

.woocommerce ul.products li.product .product-price .price-sale {
    color: #ff0000;
    font-size: 18px;
    font-weight: 700;
}

/* Add to Cart Button - Sử dụng class từ homepage */
.woocommerce ul.products li.product .add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product .add-to-cart-btn:hover {
    background: var(--accent-color);
}

/* Product Actions - Sử dụng class từ homepage */
.woocommerce ul.products li.product .product-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.woocommerce ul.products li.product .product-actions button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product .product-actions button:hover {
    background: var(--primary-color);
    color: white;
}

/* Fallback cho WooCommerce default classes (nếu có) */
.woocommerce ul.products li.product .woocommerce-loop-product__link {
    position: relative;
    display: block;
    overflow: hidden;
    padding-top: 100%;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.woocommerce ul.products li.product .onsale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    min-height: auto;
    line-height: 1.5;
    margin: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.woocommerce ul.products li.product .price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

/* Mặc định: Giá màu đỏ, to (khi KHÔNG có sale) */
.woocommerce ul.products li.product .price .amount {
    color: #ff0000;
    font-size: 18px;
    font-weight: 700;
}

/* Giá gốc (khi CÓ sale) - màu đen, gạch ngang, nhỏ */
.woocommerce ul.products li.product .price del,
.woocommerce ul.products li.product .price del .amount {
    text-decoration: line-through;
    color: #000 !important;
    font-size: 14px !important;
    font-weight: normal !important;
}

/* Giá sale (khi CÓ sale) - màu đỏ, to */
.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price ins .amount {
    text-decoration: none;
    color: #ff0000 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
    background: var(--accent-color);
    color: white;
}

/* Star Rating */
.woocommerce ul.products li.product .star-rating {
    margin: 0 0 10px 0;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .woocommerce ul.products li.product .product-info {
        padding: 12px;
    }

    .woocommerce ul.products li.product .product-title {
        font-size: 12px;
        min-height: auto;
    }

    .woocommerce ul.products li.product .product-price .price-sale {
        font-size: 14px;
    }

    .woocommerce ul.products li.product .add-to-cart-btn {
        font-size: 11px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .woocommerce ul.products li.product .product-info {
        padding: 10px;
    }

    .woocommerce ul.products li.product .product-title {
        font-size: 11px;
    }

    .woocommerce ul.products li.product .add-to-cart-btn {
        font-size: 10px;
        padding: 8px;
    }
}

/* ===========================
   NOTIFICATIONS
   =========================== */
.notification {
    position: fixed;
    top: 20px;
    right: -400px;
    background: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    transition: all 0.3s ease;
    min-width: 300px;
}

.notification.show {
    right: 20px;
}

.notification-success {
    border-left: 4px solid #4caf50;
}

.notification-success i {
    color: #4caf50;
    font-size: 20px;
}

.notification-error {
    border-left: 4px solid #f44336;
}

.notification-error i {
    color: #f44336;
    font-size: 20px;
}

/* ===========================
   BACK TO TOP BUTTON
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* ===========================
   MOBILE MENU TOGGLE
   =========================== */
.mobile-menu-toggle {
    display: none;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        margin-bottom: 10px;
    }

    .mobile-menu-toggle.active i:before {
        content: "\f00d";
    }

    .primary-menu {
        display: none;
    }
}

/* ===========================
   CART ANIMATION
   =========================== */
.cart-count.bounce {
    animation: bounce 0.5s ease;
}

@keyframes bounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

/* ===========================
   QUANTITY INPUT
   =========================== */
.quantity-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.qty-btn {
    background: var(--hover-color);
    border: none;
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.quantity-wrapper input {
    border: none;
    text-align: center;
    width: 50px;
    padding: 8px;
    font-weight: 600;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

/* ===========================
   BREADCRUMB
   =========================== */
.breadcrumb-wrapper {
    padding: 20px 0;
}

.woocommerce-breadcrumb {
    font-size: 13px;
    color: #666;
}

.woocommerce-breadcrumb a {
    color: var(--text-color);
}

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

.breadcrumb-separator {
    margin: 0 8px;
    color: #999;
}

/* ===========================
   LOADING SPINNER
   =========================== */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===========================
   STICKY HEADER
   =========================== */
.site-header.sticky {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-30 {
    margin-top: 30px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.hero-btn {
    margin-top: 32px;
    padding: 16px 40px;
    font-size: 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: #ff3b3b;
    transform: translateY(-2px);
}