/*
Theme Name: Vela Beauty
Theme URI: https://example.com/vela-theme/
Author: Your Name or Company
Author URI: https://example.com/
Description: A modern and elegant beauty and cosmetics WordPress theme inspired by the Vela design. This theme is fully responsive and built with a strong design system for easy customization.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, beauty, cosmetics, responsive-layout, custom-colors, one-column, two-columns, accessibility-ready
Text Domain: thoitrang
*/

/*
==========================================================================
LÃ†Â¯U ÃƒÂ QUAN TRÃ¡Â»Å’NG: FONT CHÃ¡Â»Â® TÃƒâ„¢Y CHÃ¡Â»Ë†NH (IMPORTANT NOTE: CUSTOM FONTS)
==========================================================================
CÃƒÂ¡c font chÃ¡Â»Â¯ nhÃ†Â° 'Title' vÃƒÂ  'Title-Small' cÃ¡ÂºÂ§n Ã„â€˜Ã†Â°Ã¡Â»Â£c Ã„â€˜Ã¡Â»â€¹nh nghÃ„Â©a trong file CSS
cÃ¡Â»Â§a bÃ¡ÂºÂ¡n bÃ¡ÂºÂ±ng cÃƒÂ¡ch sÃ¡Â»Â­ dÃ¡Â»Â¥ng @font-face Ã„â€˜Ã¡Â»Æ’ chÃƒÂºng cÃƒÂ³ thÃ¡Â»Æ’ hiÃ¡Â»Æ’n thÃ¡Â»â€¹ chÃƒÂ­nh xÃƒÂ¡c.

The fonts 'Title' and 'Title-Small' need to be defined in your CSS file
using @font-face for them to display correctly.

VÃƒÂ­ dÃ¡Â»Â¥ (Example):
@font-face {
    font-family: 'Title';
    src: url('path/to/your/title-font.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
==========================================================================
*/


/*
==============================================
11.0 - Component: Top Announcement Bar
ThÃƒÂ nh phÃ¡ÂºÂ§n: Thanh thÃƒÂ´ng bÃƒÂ¡o trÃƒÂªn cÃƒÂ¹ng
==============================================
*/
.top-announcement-bar {
    background-color: var(--color-accent-hover);
    color: var(--color-text-inverse);
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-xs);
    font-family: var(--font-family-primary);
}

.top-bar-content {
    text-align: center;
    text-transform: uppercase;
}

.top-bar-message {
    flex-grow: 1;
    text-align: left;
}

.top-bar-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: var(--spacing-lg);
}

.top-bar-contact a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: color var(--transition-fast);
}

.top-bar-contact a:hover {
    color: var(--color-surface-secondary);
}

.top-bar-contact .material-icons {
    font-size: 20px;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: var(--spacing-lg);
}

.top-bar-social a img {
    width: 18px;
    height: 18px;
    display: block;
    transition: opacity var(--transition-fast);
}

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

/* --- Responsive cho Thanh trÃƒÂªn cÃƒÂ¹ng (Responsive for Top Bar) --- */
@media (max-width: 992px) {
    .top-bar-content {
        flex-direction: column;
        justify-content: center;
        gap: var(--spacing-sm);
    }

    .top-bar-message {
        text-align: center;
        width: 100%;
        margin-bottom: var(--spacing-sm);
    }

    .top-bar-right {
        gap: var(--spacing-md);
    }

    .top-bar-social {
        padding-left: var(--spacing-md);
        border-left-width: 1px;
    }
}

@media (max-width: 576px) {
    .top-announcement-bar {
        font-size: calc(var(--font-size-xs) * 0.9);
    }

    .top-bar-right {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: var(--spacing-md);
    }

    .top-bar-social {
        border-left: none;
        padding-left: 0;
        margin-top: var(--spacing-sm);
    }
}


/*
==============================================
14.0 - Component: Site Header (Logo Left Aligned)
ThÃƒÂ nh phÃ¡ÂºÂ§n: Header cÃ¡Â»Â§a trang
==============================================
*/
/* --- BÃ¡Â»â€˜ cÃ¡Â»Â¥c Header (Header Layout) --- */
.site-header {
    background-color: var(--color-black);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.site-header__logo img {
    max-height: 100px;
    width: auto;
    flex-shrink: 0;
}

/* --- Menu chÃƒÂ­nh (Main Navigation) --- */
.site-header__navigation {
    margin: 0 auto; /* TÃ¡Â»Â± Ã„â€˜Ã¡Â»â„¢ng canh giÃ¡Â»Â¯a menu */
}

.main-navigation .primary-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.main-navigation .primary-menu a {
    font-family: 'Title-Small';
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 4px; /* KhoÃ¡ÂºÂ£ng cÃƒÂ¡ch giÃ¡Â»Â¯a chÃ¡Â»Â¯ vÃƒÂ  mÃ…Â©i tÃƒÂªn dropdown */
    transition: color var(--transition-fast);
}

.main-navigation .menu-item-has-children>a::after {
    content: 'expand_more';
    font-family: 'Material Icons';
    font-size: 20px;
}

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

/* --- CÃƒÂ¡c nÃƒÂºt hÃƒÂ nh Ã„â€˜Ã¡Â»â„¢ng & GiÃ¡Â»Â hÃƒÂ ng (Header Actions & Cart Button) --- */
.site-header__actions {
    flex-shrink: 0;
}

.header-actions-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.header-cart {
    background: var(--color-accent-hover);
    border-radius: var(--border-radius-lg);
    height: 45px;
    padding: 0 var(--spacing-sm);
    display: flex;
}

.header-action-item .material-icons {
    font-size: 28px;
    transition: color var(--transition-fast);
    color: var(--color-white);
}

.header-action-item:hover .material-icons {
    color: var(--color-accent-hover);
}

.header-action-item:last-child:hover .material-icons {
    color: var(--color-white);
}

.header-cart-button .cart-text {
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
    display: block;
    white-space: nowrap;
    margin-right: var(--spacing-sm);
}

.header-cart-button .cart-icon-wrapper {
    background-color: var(--color-dark);
    color: var(--color-white);
    height: 32px;
    width: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    margin-left: -15px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-smooth);
}

.header-cart-button:hover .cart-icon-wrapper {
    transform: scale(1.1);
}

/* --- Responsive cho Header (Responsive for Header) --- */
.mobile-nav-toggle {
    display: none; /* Ã¡ÂºÂ¨n trÃƒÂªn mÃƒÂ¡y tÃƒÂ­nh */
}

@media (max-width: 992px) {
    .site-header__inner {
        justify-content: space-between;
    }

    .site-header__navigation, .site-header__actions {
        display: none; /* Ã¡ÂºÂ¨n menu vÃƒÂ  cÃƒÂ¡c nÃƒÂºt trÃƒÂªn di Ã„â€˜Ã¡Â»â„¢ng */
    }

    .mobile-nav-toggle {
        display: block; /* HiÃ¡Â»Æ’n thÃ¡Â»â€¹ icon hamburger */
    }
}

@media (max-width: 576px) {
    .header-cart-button .cart-text {
        display: none; /* Ã¡ÂºÂ¨n chÃ¡Â»Â¯ 'GiÃ¡Â»Â hÃƒÂ ng' trÃƒÂªn mÃƒÂ n hÃƒÂ¬nh nhÃ¡Â»Â */
    }

    .header-cart-button {
        background-color: var(--color-dark);
        border-radius: 50%;
        height: 45px;
        width: 45px;
    }

    .header-cart-button .cart-icon-wrapper {
        margin-left: 0;
        width: 100%;
        height: 100%;
        box-shadow: none;
    }

    .header-actions-list {
        gap: var(--spacing-md);
    }
}

/*
==============================================
Hero Slider Section
==============================================
*/
/* --- CÃ¡ÂºÂ¥u trÃƒÂºc chung cho section (General Section Wrapper) --- */
.site-hero-section {
    position: relative;
    height: 100vh;
}

/* --- Container cho Slider (Slider Container) --- */
.hero-container {
    margin: 0 auto;
    position: relative;
    height: 100%;
}

/* --- Slider chÃƒÂ­nh (Main Slider) --- */
.hero-slider {
    width: 100%;
    height: 100%;
    overflow: visible; /* Cho phÃƒÂ©p pagination hiÃ¡Â»Æ’n thÃ¡Â»â€¹ bÃƒÂªn ngoÃƒÂ i */
}

/* --- KiÃ¡Â»Æ’u dÃƒÂ¡ng cho mÃ¡Â»â€”i Slide (Individual Slide Styling) --- */
.hero-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Canh nÃ¡Â»â„¢i dung sang trÃƒÂ¡i */
    background-size: cover;
    background-position: center;
    padding-left: 5%;
    overflow: hidden;
}

/* --- NÃ¡Â»â„¢i dung trong Slide (Slide Content) --- */
.slide-content-wrapper {
    color: #ffffff;
    max-width: 550px;
    padding: 2rem;
}

.slide-subtitle {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    color: #00aaff;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.slide-title {
    font-family: 'Title';
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 2rem;
}

.slide-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.slide-btn-wrapper {
    display: flex;
    gap: 15px;
}

.slide-btn-wrapper:hover a{
    background: var(--color-accent-hover);
    color: var(--color-white);
}

.slide-btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: var(--font-size-base);
}

.slide-btn.primary {
    background-color: #ffffff;
    color: #0d2a4b;
}

.slide-btn.secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

/* --- PhÃƒÂ¢n trang (Pagination) --- */
.hero-pagination {
    position: absolute;
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
    background-color: transparent;
    border: 2px solid #ffffff;
    transform: scale(1.3);
}

/* --- SÃ¡Â»Â­a lÃ¡Â»â€”i khoÃ¡ÂºÂ£ng cÃƒÂ¡ch cÃ¡Â»Â§a pagination mÃ¡ÂºÂ·c Ã„â€˜Ã¡Â»â€¹nh (Fix pagination default spacing) --- */
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px); /* SÃ¡Â»Â­a tÃ¡Â»Â« 90px thÃƒÂ nh 4px */
}

/* --- Responsive cho Hero Slider (Responsive for Hero Slider) --- */
@media (max-width: 1300px) {
    .hero-pagination {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-hero-section {
        padding: 0;
        height: 80vh; /* GiÃ¡ÂºÂ£m chiÃ¡Â»Âu cao trÃƒÂªn di Ã„â€˜Ã¡Â»â„¢ng */
    }

    .hero-container {
        margin: 0;
    }

    .hero-slider .swiper-slide {
        justify-content: center;
        text-align: center;
        padding: 1rem;
    }

    .slide-btn-wrapper {
        justify-content: center;
    }
}

/*
==============================================
Features Section
==============================================
*/
.features-section {
    background-color: #ffffff !important;
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--grid-gap);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex: 1;
    min-width: 240px;
}

.feature-icon img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.feature-item .feature-title {
    font-family: 'Title-Small';
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
    line-height: 1.4;
    margin: 0;
}

.feature-item .feature-description {
    font-size: var(--font-size-sm);
    color: var(--color-accent-hover); /* SÃ¡Â»Â­ dÃ¡Â»Â¥ng mÃƒÂ u nhÃ¡ÂºÂ¥n */
    line-height: 1.4;
    margin: 0;
}

/* --- Responsive cho Features (Responsive for Features) --- */
@media (max-width: 1024px) {
    .features-grid {
        justify-content: center; /* Canh giÃ¡Â»Â¯a cÃƒÂ¡c item khi xuÃ¡Â»â€˜ng dÃƒÂ²ng */
    }
}


/*
==============================================
10.0 - Custom Category Slider Section
==============================================
*/
/* --- KhÃ¡Â»â€˜i vÃ„Æ’n bÃ¡ÂºÂ£n giÃ¡Â»â€ºi thiÃ¡Â»â€¡u (Introductory Text Block) --- */
.category-text-column {
    margin: 0 auto var(--spacing-xl) auto; /* Canh giÃ¡Â»Â¯a vÃƒÂ  tÃ¡ÂºÂ¡o khoÃ¡ÂºÂ£ng cÃƒÂ¡ch dÃ†Â°Ã¡Â»â€ºi */
}

.category-text-column .title {
    font-family: 'Title';
    font-size: var(--font-size-h1);
    color: var(--color-accent-hover);
    margin-bottom: var(--spacing-md);
}

.category-text-column .description {
    font-family: var(--font-family-primary);
    color: var(--color-text-secondary);
    line-height: var(--line-height-base);
    margin-bottom: var(--spacing-lg);
}

.category-text-column .divider {
    height: 2px;
    width: 80px;
    background-color: var(--color-dark);
    margin: 0 auto; /* Canh giÃ¡Â»Â¯a Ã„â€˜Ã†Â°Ã¡Â»Âng kÃ¡ÂºÂ» */
}

/* --- Wrapper cho Slider (Slider Wrapper) --- */
.category-slider-fullwidth-wrapper {
    width: 100%;
    position: relative;
}

/* --- Card danh mÃ¡Â»Â¥c (Category Card) --- */
.category-slide-item {
    display: block;
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.category-slide-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-medium);
}

.category-slide-item .category-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1.1; /* TÃ¡Â»Â· lÃ¡Â»â€¡ hÃƒÂ¬nh chÃ¡Â»Â¯ nhÃ¡ÂºÂ­t Ã„â€˜Ã¡Â»Â©ng */
    background-color: #f7f7f7;
    position: relative;
}

.category-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ã„ÂÃ¡ÂºÂ£m bÃ¡ÂºÂ£o hÃƒÂ¬nh Ã¡ÂºÂ£nh lÃ¡ÂºÂ¥p Ã„â€˜Ã¡ÂºÂ§y mÃƒÂ  khÃƒÂ´ng bÃ¡Â»â€¹ mÃƒÂ©o */
}

.category-slide-item .category-info {
    padding: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
}

.category-slide-item .category-title {
    font-family: var(--font-family-header);
    font-size: var(--font-size-h2);
    color: var(--color-white);
    position: absolute;
    z-index: 10;
    bottom: 5%;
    left: 5%;
}

.category-slide-item .category-arrow {
    font-size: 24px;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.category-slide-item:hover .category-arrow {
    color: var(--color-accent-hover);
    transform: translateX(4px);
}

.category-slide-item:hover h3 {
    color: var(--color-accent-hover);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .category-text-column {
        margin-bottom: var(--spacing-lg);
    }
}


/*
==============================================
9.0 - Products of the Day Section
==============================================
*/
/* --- BÃ¡Â»â€˜ cÃ¡Â»Â¥c chung cÃ¡Â»Â§a Section (General Section Layout) --- */
.products-of-the-day-section {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-header .section-title, .product-section .section-title {
    font-family: 'Title-Small';
    font-size: var(--font-size-h1);
    margin-bottom: var(--spacing-sm);
    color: var(--color-accent-hover);
}

.product-section .section-title {
    margin-bottom: var(--spacing-xl);
}

.prodcut-tabs-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.section-header .section-subtitle {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    max-width: 450px;
    margin: 0 auto;
}

/* --- Giao diÃ¡Â»â€¡n Tab Ã„â€˜iÃ¡Â»Âu hÃ†Â°Ã¡Â»â€ºng (Tabs Navigation UI) --- */
.product-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.product-tabs__nav {
    display: inline-flex;
}

.product-tabs__nav li a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: 'Title-Small';
    color: var(--color-text-secondary);
    transition: all var(--transition-smooth);
    border-radius: var(--border-radius-md);
}

.product-tabs__nav li.active a {
    background-color: var(--color-accent-hover);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

.product-tab__pane {
    display: none; /* Ã¡ÂºÂ¨n tÃ¡ÂºÂ¥t cÃ¡ÂºÂ£ cÃƒÂ¡c tab */
}

.product-tab__pane.active {
    display: block; /* ChÃ¡Â»â€° hiÃ¡Â»â€¡n tab active */
}

/* --- LÃ†Â°Ã¡Â»â€ºi sÃ¡ÂºÂ£n phÃ¡ÂºÂ©m (Product Grid - ul.products from WooCommerce) --- */
.product-grid, .woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cÃ¡Â»â„¢t trÃƒÂªn desktop */
    gap: var(--grid-gap);
}

/* --- Giao diÃ¡Â»â€¡n thÃ¡ÂºÂ» sÃ¡ÂºÂ£n phÃ¡ÂºÂ©m (Product Card Styling) --- */
/* Reset style mÃ¡ÂºÂ·c Ã„â€˜Ã¡Â»â€¹nh cÃ¡Â»Â§a WooCommerce */
.woocommerce ul.products li.product {
    margin: 0;
    padding: 0;
    text-align: left;
}

.woocommerce ul.products li.product .button {
    display: none; /* Ã¡ÂºÂ¨n nÃƒÂºt "Add to cart" mÃ¡ÂºÂ·c Ã„â€˜Ã¡Â»â€¹nh */
}

/* ÃƒÂp dÃ¡Â»Â¥ng style mÃ¡Â»â€ºi */
.woocommerce ul.products li.product {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--box-shadow-subtle);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

/* Header cÃ¡Â»Â§a thÃ¡ÂºÂ» sÃ¡ÂºÂ£n phÃ¡ÂºÂ©m (ThÃ†Â°Ã†Â¡ng hiÃ¡Â»â€¡u & GiÃƒÂ¡) */
.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    padding: 0 var(--spacing-xs);
}

.product-brand {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce ul.products li.product .price {
    font-family: 'Title-Small';
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
}

/* VÃƒÂ¹ng Ã¡ÂºÂ£nh sÃ¡ÂºÂ£n phÃ¡ÂºÂ©m */
.woocommerce ul.products li.product a:first-of-type {
    display: block;
    position: relative;
    background-color: #F0F4F7; /* MÃƒÂ u nÃ¡Â»Ân cho Ã¡ÂºÂ£nh */
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: auto;
}

/* CÃƒÂ¡c loÃ¡ÂºÂ¡i huy hiÃ¡Â»â€¡u (Badges) */
.woocommerce span.onsale, .product-badge {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    z-index: 2;
    margin: 0;
    min-height: 0;
    min-width: 0;
    padding: 4px 8px;
    background-color: #28a745; /* MÃƒÂ u xanh lÃƒÂ¡ cho "New" */
    color: var(--color-white);
    border-radius: var(--border-radius-sm);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    line-height: 1;
}

.product-badge.subscription {
    background-color: #ffc107; /* MÃƒÂ u vÃƒÂ ng cho "Subscription" */
    color: var(--color-dark);
}

.product-badge.new-with-sub {
    top: calc(var(--spacing-sm) + 26px); /* Ã„ÂÃ¡ÂºÂ©y badge "New" xuÃ¡Â»â€˜ng dÃ†Â°Ã¡Â»â€ºi */
}

/* NÃƒÂºt Wishlist */
.yith-wcwl-add-to-wishlist {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    font-size: 20px;
    color: var(--color-text-secondary);
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* TiÃƒÂªu Ã„â€˜Ã¡Â»Â, rating vÃƒÂ  swatches */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
h3.product-card__title a {
    font-family: 'Title-Small';
    font-size: var(--font-size-sm);
    padding: 0 var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-primary);
}

.woocommerce ul.products li.product .star-rating {
    margin: 0 var(--spacing-xs) var(--spacing-md) var(--spacing-xs);
    font-size: 14px;
}

.woocommerce-Price-amount {
    font-family: 'Title-Small';
    font-size: var(--font-size-sm);
    margin-bottom: 1rem;
}

.product-swatches {
    display: flex;
    justify-content: flex-start;
    gap: var(--spacing-sm);
    padding: 0 var(--spacing-xs);
}

.product-swatch.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
}

.product-swatch.image-swatch img {
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--color-border);
}

/* --- TÃƒÂ¹y chÃ¡Â»â€°nh Swiper (Swiper Custom Styling) --- */
.swiper-button-prev, .swiper-button-next {
    color: #000;
    background: rgba(51, 51, 51, 0.2);
    height: 60px;
    width: 60px;
    border-radius: var(--border-radius-full);
}

.swiper-button-prev:after, .swiper-button-next:after {
    font-size: 28px;
}

.swiper-pagination-bullet-active {
    background: #000;
}

/* --- Responsive cho LÃ†Â°Ã¡Â»â€ºi sÃ¡ÂºÂ£n phÃ¡ÂºÂ©m (Responsive for Product Grid) --- */
@media (max-width: 991px) {
    .product-grid, .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr); /* 2 cÃ¡Â»â„¢t trÃƒÂªn tablet */
    }
}

@media (max-width: 576px) {
    .product-grid, .woocommerce ul.products {
        grid-template-columns: 1fr; /* 1 cÃ¡Â»â„¢t trÃƒÂªn mobile */
    }
}


/*
==============================================
12.0 - Footer Styles
==============================================
*/
.site-footer {
    padding: var(--section-padding-y) 0 0 0;
}

/* --- Main Footer Wrapper --- */
.main-footer {
    padding: var(--spacing-xxl) 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    border-top: 1px solid var(--color-border);
    padding-bottom: 1rem;
    margin-top: var(--spacing-xl);
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding-x);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr; /* BÃ¡Â»â€˜ cÃ¡Â»Â¥c 4 cÃ¡Â»â„¢t */
    gap: var(--spacing-xl);
}

/* --- KiÃ¡Â»Æ’u chung cho cÃƒÂ¡c cÃ¡Â»â„¢t (General Column Styles) --- */
.footer-column h4 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--color-accent);
    margin-bottom: var(--spacing-lg);
}

/* --- CÃ¡Â»â„¢t 1: ThÃƒÂ´ng tin cÃƒÂ´ng ty (Column 1: Company Info) --- */
.company-info img {
    max-width: 250px;
    margin-bottom: var(--spacing-lg);
    max-height: 100px;
}

.company-info .contact-block, .company-info .address-block {
    margin-bottom: var(--spacing-md);
}

.company-info h4 {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-accent);
    margin: 0;
    white-space: nowrap;
    font-family: 'Title';
}

.company-info span, .company-info span a {
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-normal);
    font-family: var(--font-family-primary);
}

.company-info span a:hover {
    color: var(--color-accent);
}

/* --- CÃ¡Â»â„¢t 2 & 3: Menu (Column 2 & 3: Menu Links) --- */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: var(--spacing-xs);
    font-family: 'Title';
}

.footer-column ul li a {
    color: var(--color-black);
    transition: color var(--transition-fast);
    font-size: var(--font-size-sm);
    font-family: var(--font-family-primary);
}

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

/* --- CÃ¡Â»â„¢t 4: Ã„ÂÃ„Æ’ng kÃƒÂ½ nhÃ¡ÂºÂ­n tin & MÃ¡ÂºÂ¡ng xÃƒÂ£ hÃ¡Â»â„¢i (Column 4: Newsletter & Social) --- */
.newsletter-description {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-base);
    margin: var(--spacing-md) 0;
    color: var(--color-text-secondary);
    font-family: var(--font-family-primary);
}

.newsletter-form .input-group {
    display: flex;
    align-items: center;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: var(--spacing-xs) var(--spacing-md);
}

.newsletter-form .input-group .material-icons {
    font-size: 22px;
    color: var(--color-text-secondary);
    margin-right: var(--spacing-sm);
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-primary);
    outline: none;
    width: 175px;
    font-family: var(--font-family-primary);
    padding-left: 5px;
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--color-text-secondary);
}

.newsletter-form button[type="submit"] {
    background: transparent;
    border: none;
    color: var(--color-accent);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    padding: var(--spacing-sm);
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.newsletter-form button[type="submit"]:hover {
    color: var(--color-accent-hover);
}

.social-follow {
    margin-top: var(--spacing-xl);
}

.social-icons {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.social-icons a img {
    width: 30px;
    height: 30px;
    opacity: .8;
    transition: opacity var(--transition-fast);
}

.social-icons a:hover img {
    opacity: 1;
}

/* --- PhÃ¡ÂºÂ§n Ã„â€˜ÃƒÂ¡y Footer (Footer Bottom) --- */
.footer-wrraper {
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--color-accent-hover);
}

.footer-bottom {
    border-top: 1px solid var(--color-white);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-md);
    text-align: center;
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: var(--spacing-md);
}

.copyright-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin: 0 0 var(--spacing-md) 0;
}

.payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
}

.payment-methods img {
    height: 24px;
    width: auto;
}

/* --- Responsive cho Footer (Responsive for Footer) --- */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr; /* 2 cÃ¡Â»â„¢t trÃƒÂªn tablet */
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* 1 cÃ¡Â»â„¢t trÃƒÂªn mobile */
    }

    .company-info h4 {
        white-space: normal;
    }
}

/*
==============================================
MISC - CÃƒÂ¡c style linh tinh
==============================================
*/
/* --- GiÃ¡Â»â€ºi hÃ¡ÂºÂ¡n sÃ¡Â»â€˜ dÃƒÂ²ng cho phÃ¡ÂºÂ§n trÃƒÂ­ch dÃ¡ÂºÂ«n bÃƒÂ i viÃ¡ÂºÂ¿t (Limit excerpt lines for blog cards) --- */
.blog-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* SÃ¡Â»â€˜ dÃƒÂ²ng tÃ¡Â»â€˜i Ã„â€˜a muÃ¡Â»â€˜n hiÃ¡Â»Æ’n thÃ¡Â»â€¹ */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: var(--spacing-lg);
}

/* Ã„ÂÃ¡ÂºÂ£m bÃ¡ÂºÂ£o thÃ¡ÂºÂ» <p> bÃƒÂªn trong the_excerpt khÃƒÂ´ng bÃ¡Â»â€¹ margin thÃ¡Â»Â«a */
.blog-card__excerpt p {
    margin: 0;
}


.post-featured-image img {
  width: 100%;
  object-fit: cover;
  max-height: 650px;
}

.post-entry-content p {
    color: #333;
}