/**
 * Vec WooCommerce Customizations - Styles
 * Theme-independent styling for custom functionality
 *
 * @package Vec_WooCommerce_Customizations
 */

/* ==========================================================================
   CSS Variables - Vec Brand Colors
   ========================================================================== */

:root {
    --vec-primary: #da291c;
    --vec-secondary: #da291c;
    --vec-accent: #E74C3C;
    --vec-text-dark: #2C3E50;
    --vec-text-gray: #666666;
    --vec-border: #E0E0E0;
    --vec-bg-light: #F8F9FA;
    --vec-white: #FFFFFF;
    --vec-success: #27AE60;
    --vec-error: #E74C3C;
}

/* ==========================================================================
   Quick View Modal
   ========================================================================== */

.vec-modal-overlay,
#vec-quickview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.vec-modal-overlay.active,
#vec-quickview-modal.active {
    opacity: 1;
    visibility: visible;
}

.vec-modal {
    background: var(--vec-white);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    display: flex;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.vec-modal-overlay.active .vec-modal,
#vec-quickview-modal.active .vec-modal {
    transform: scale(1);
}

.vec-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--vec-text-gray);
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.vec-modal-close:hover {
    background: var(--vec-bg-light);
    color: var(--vec-text-dark);
}

.vec-modal-image {
    flex: 0 0 50%;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vec-bg-light);
}

.vec-modal-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 4px;
}

.vec-modal-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.vec-modal-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--vec-text-dark);
    margin: 0 0 15px;
    line-height: 1.3;
}

.vec-modal-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--vec-secondary);
    margin-bottom: 15px;
}

.vec-modal-price del {
    color: var(--vec-text-gray);
    font-size: 16px;
    margin-right: 10px;
}

.vec-modal-price ins {
    text-decoration: none;
}

.vec-modal-description {
    color: var(--vec-text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.vec-modal-meta {
    font-size: 13px;
    color: var(--vec-text-gray);
    margin-bottom: 20px;
}

.vec-modal-meta span {
    display: block;
    margin-bottom: 5px;
}

.vec-modal-meta .vec-modal-brand {
    color: var(--vec-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.vec-modal-add-to-cart {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.vec-modal-qty {
    width: 70px;
    text-align: center;
    border: 1px solid var(--vec-border);
    border-radius: 4px;
    padding: 12px;
    font-size: 16px;
}

.vec-modal-btn {
    flex: 1;
    background: #da291c !important;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.vec-modal-btn:hover,
.vec-modal-btn:focus,
.vec-modal-btn:active {
    background: #b82318 !important;
    color: #fff !important;
}

.vec-modal-btn.loading {
    background: #da291c !important;
    color: #fff !important;
    opacity: 0.7;
    pointer-events: none;
}

.vec-modal-btn:disabled {
    background: var(--vec-text-gray) !important;
    cursor: not-allowed;
}

.vec-modal-view-product {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--vec-primary);
    text-decoration: none;
    font-size: 14px;
}

.vec-modal-view-product:hover {
    text-decoration: underline;
}

.vec-out-of-stock {
    color: var(--vec-error) !important;
    font-weight: 600;
}

/* Modal Loading State */
#vec-quickview-modal.loading .vec-modal-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

#vec-quickview-modal.loading .vec-modal-content::after {
    content: 'Loading...';
    font-size: 16px;
    color: var(--vec-text-gray);
}

/* ==========================================================================
   Search Overlay
   ========================================================================== */

.vec-search-overlay,
#vec-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

.vec-search-overlay.active,
#vec-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.vec-search-header {
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 100px auto 40px;
    padding: 0 20px;
    border-bottom: 2px solid var(--vec-primary);
}

.vec-search-icon {
    font-size: 24px;
    margin-right: 15px;
    color: var(--vec-text-gray);
}

.vec-search-input {
    flex: 1;
    border: none;
    font-size: 24px;
    padding: 15px 0;
    background: transparent;
    outline: none;
    color: var(--vec-text-dark);
}

.vec-search-input::placeholder {
    color: var(--vec-text-gray);
}

.vec-search-close {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--vec-text-gray);
    padding: 10px;
    transition: color 0.2s ease;
}

.vec-search-close:hover {
    color: var(--vec-text-dark);
}

.vec-search-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.vec-search-suggestions h4,
#vec-search-suggestions h4 {
    font-size: 14px;
    color: var(--vec-text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.vec-search-suggestions ul,
#vec-search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vec-search-suggestions li a,
#vec-search-suggestions li a {
    display: inline-block;
    padding: 8px 16px;
    background: var(--vec-bg-light);
    border-radius: 20px;
    color: var(--vec-text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.vec-search-suggestions li a:hover,
#vec-search-suggestions li a:hover {
    background: var(--vec-primary);
    color: var(--vec-white);
}

.vec-search-results h4,
#vec-search-results h4 {
    font-size: 14px;
    color: var(--vec-text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.vec-search-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.vec-search-result-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: var(--vec-white);
    border: 1px solid var(--vec-border);
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
}

.vec-search-result-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.vec-search-result-item img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}

.vec-result-title {
    font-size: 14px;
    color: var(--vec-text-dark);
    margin-bottom: 5px;
    line-height: 1.3;
}

.vec-result-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--vec-secondary);
}

.vec-view-all-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--vec-primary);
    color: var(--vec-white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.vec-view-all-btn:hover {
    background: #b82318;
    color: var(--vec-white);
}

.vec-search-loading,
.vec-no-results {
    text-align: center;
    padding: 40px;
    color: var(--vec-text-gray);
}

/* ==========================================================================
   Product Actions (Quick View & Wishlist Buttons)
   ========================================================================== */

.vec-product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.woocommerce ul.products li.product:hover .vec-product-actions {
    opacity: 1;
}

.vec-quickview-btn,
.vec-wishlist-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--vec-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease, transform 0.2s ease;
}

.vec-quickview-btn svg,
.vec-wishlist-btn svg {
    width: 50px;
    height: 50px;
    color: var(--vec-text-gray);
    transition: color 0.2s ease;
}

.vec-quickview-btn:hover,
.vec-wishlist-btn:hover {
    background: var(--vec-primary);
    transform: scale(1.1);
}

.vec-quickview-btn:hover svg,
.vec-wishlist-btn:hover svg {
    color: var(--vec-white);
    fill: var(--vec-white);
}

.vec-wishlist-btn.active {
    background: var(--vec-accent);
}

.vec-wishlist-btn.active svg {
    fill: var(--vec-white);
}

/* Gallery Wishlist Button */
.vec-gallery-wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--vec-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: background 0.2s ease, transform 0.2s ease;
}

.vec-gallery-wishlist:hover {
    transform: scale(1.1);
}

.vec-gallery-wishlist svg {
    fill: var(--vec-text-gray);
    transition: fill 0.2s ease;
}

.vec-gallery-wishlist:hover svg {
    fill: var(--vec-accent);
}

.vec-gallery-wishlist.active {
    background: var(--vec-accent);
}

.vec-gallery-wishlist.active svg {
    fill: var(--vec-white);
}

/* ==========================================================================
   Product Brand Display
   ========================================================================== */

.vec-product-brand {
    color: var(--vec-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.vec-product-brand-single {
    color: var(--vec-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

/* ==========================================================================
   Prescription Badge
   ========================================================================== */

.vec-prescription-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #FFF3CD;
    color: #856404;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
}

.vec-prescription-badge .badge-icon {
    font-size: 14px;
}

/* ==========================================================================
   Quantity Buttons
   ========================================================================== */

.vec-qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--vec-border);
    background: var(--vec-white);
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.vec-qty-btn:hover {
    background: var(--vec-bg-light);
    border-color: var(--vec-primary);
}

.vec-qty-minus {
    border-radius: 4px 0 0 4px;
    border-right: none;
}

.vec-qty-plus {
    border-radius: 0 4px 4px 0;
    border-left: none;
}

/* ==========================================================================
   Free Shipping Notice
   ========================================================================== */

.vec-free-shipping-notice {
    background: var(--vec-bg-light);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--vec-text-dark);
}

.vec-free-shipping-notice.vec-qualified {
    background: #D4EDDA;
    color: var(--vec-success);
    font-weight: 600;
}

.vec-progress-bar {
    height: 6px;
    background: var(--vec-border);
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
}

.vec-progress {
    height: 100%;
    background: var(--vec-secondary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* ==========================================================================
   Filter Tags
   ========================================================================== */

.vec-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--vec-bg-light);
    border-radius: 8px;
}

.vec-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--vec-white);
    border: 1px solid var(--vec-border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--vec-text-dark);
}

.vec-remove-filter {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: var(--vec-text-gray);
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.vec-remove-filter:hover {
    color: var(--vec-accent);
}

.vec-clear-all-filters {
    padding: 6px 16px;
    background: var(--vec-primary);
    color: var(--vec-white);
    border: none;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.vec-clear-all-filters:hover {
    background: #da291c;
    color: #ffffff;
}

/* ==========================================================================
   Notifications
   ========================================================================== */

.vec-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: var(--vec-white);
    font-weight: 500;
    z-index: 99999;
    animation: vec-slideIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vec-notification-success {
    background: var(--vec-success);
}

.vec-notification-error {
    background: var(--vec-error);
}

@keyframes vec-slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ==========================================================================
   Loading State
   ========================================================================== */

.vec-loading {
    position: relative;
    pointer-events: none;
}

.vec-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid var(--vec-border);
    border-top-color: var(--vec-primary);
    border-radius: 50%;
    animation: vec-spin 0.8s linear infinite;
}

@keyframes vec-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 768px) {
    .vec-modal {
        flex-direction: column;
        max-height: 95vh;
    }

    .vec-modal-image {
        flex: 0 0 auto;
        padding: 20px;
    }

    .vec-modal-image img {
        max-height: 250px;
    }

    .vec-modal-content {
        padding: 20px;
    }

    .vec-modal-title {
        font-size: 20px;
    }

    .vec-modal-add-to-cart {
        flex-direction: column;
    }

    .vec-modal-qty {
        width: 100%;
    }

    .vec-search-header {
        margin-top: 60px;
    }

    .vec-search-input {
        font-size: 18px;
    }

    .vec-search-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .vec-product-actions {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .vec-search-products-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Hero Banner Slider
   ========================================================================== */

.vec-hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--vec-bg-light);
}

.vec-hero-slider {
    position: relative;
}

.vec-hero-slide {
    display: none;
    position: relative;
    width: 100%;
    min-height: 400px;
}

.vec-hero-slide.active {
    display: block;
}

.vec-hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.vec-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--vec-white);
    padding: 20px;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.vec-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.2;
}

.vec-hero-subtitle {
    font-size: 20px;
    margin: 0 0 25px;
    opacity: 0.9;
}

.vec-hero-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--vec-secondary);
    color: var(--vec-white);
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.vec-hero-btn:hover {
    background: #da291c;
    transform: translateY(-2px);
    color: var(--vec-white);
}

.vec-hero-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
}

.vec-hero-prev,
.vec-hero-next {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.vec-hero-prev:hover,
.vec-hero-next:hover {
    background: var(--vec-white);
}

.vec-hero-dots {
    display: flex;
    gap: 8px;
}

.vec-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s ease;
}

.vec-hero-dot.active,
.vec-hero-dot:hover {
    background: var(--vec-white);
}

/* ==========================================================================
   Category Icons Grid
   ========================================================================== */

.vec-category-icons {
    padding: 40px 20px;
    background: var(--vec-white);
}

.vec-category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.vec-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vec-category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.vec-category-icon {
    width: 60px;
    height: 60px;
    background: var(--vec-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: background 0.2s ease;
}

.vec-category-item:hover .vec-category-icon {
    background: var(--vec-primary);
}

.vec-category-icon svg {
    width: 30px;
    height: 30px;
    color: var(--vec-primary);
    transition: color 0.2s ease;
}

.vec-category-item:hover .vec-category-icon svg {
    color: var(--vec-white);
}

.vec-category-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.vec-category-label {
    text-align: center;
}

.vec-category-zh {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--vec-text-dark);
    margin-bottom: 4px;
}

.vec-category-en {
    display: block;
    font-size: 12px;
    color: var(--vec-text-gray);
}

/* ==========================================================================
   Value Props Section (Why Vec?)
   ========================================================================== */

.vec-value-props {
    padding: 60px 20px;
    background: var(--vec-bg-light);
    text-align: center;
}

.vec-value-props-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--vec-text-dark);
    margin: 0 0 40px;
}

.vec-value-props-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.vec-value-prop-card {
    background: var(--vec-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.vec-value-prop-icon {
    width: 60px;
    height: 60px;
    background: var(--vec-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.vec-value-prop-icon svg {
    width: 30px;
    height: 30px;
    color: var(--vec-white);
}

.vec-value-prop-title {
    font-size: 18px;
    margin: 0 0 10px;
}

.vec-value-prop-title .vec-zh {
    display: block;
    font-weight: 700;
    color: var(--vec-text-dark);
    margin-bottom: 5px;
}

.vec-value-prop-title .vec-en {
    display: block;
    font-size: 14px;
    color: var(--vec-text-gray);
    font-weight: 400;
}

.vec-value-prop-desc {
    font-size: 14px;
    color: var(--vec-text-gray);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Product Sections
   ========================================================================== */

.vec-product-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.vec-product-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.vec-product-section-title {
    margin: 0;
    font-size: 24px;
}

.vec-product-section-title .vec-zh {
    display: block;
    font-weight: 700;
    color: var(--vec-text-dark);
}

.vec-product-section-title .vec-en {
    display: block;
    font-size: 14px;
    color: var(--vec-text-gray);
    font-weight: 400;
    margin-top: 5px;
}

.vec-view-all {
    color: var(--vec-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease;
}

.vec-view-all:hover {
    color: #b82318;
}

.vec-product-carousel {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.vec-product-card {
    background: var(--vec-white);
    border: 1px solid var(--vec-border);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.vec-product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.vec-product-link {
    text-decoration: none;
    display: block;
}

.vec-product-image {
    position: relative;
    padding: 20px;
    background: var(--vec-bg-light);
}

.vec-product-image img {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

.vec-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--vec-accent);
    color: var(--vec-white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.vec-product-info {
    padding: 15px;
}

.vec-product-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--vec-text-dark);
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vec-product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--vec-secondary);
}

.vec-product-price del {
    color: var(--vec-text-gray);
    font-size: 14px;
    font-weight: 400;
    margin-right: 5px;
}

.vec-product-price ins {
    text-decoration: none;
}

.vec-quick-add {
    width: 100%;
    padding: 12px;
    background: var(--vec-primary);
    color: var(--vec-white);
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.vec-quick-add:hover {
    background: #b82318;
}

/* ==========================================================================
   Brand Logos
   ========================================================================== */

.vec-brand-logos {
    padding: 50px 20px;
    background: var(--vec-white);
    text-align: center;
}

.vec-brand-logos-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--vec-text-dark);
    margin: 0 0 30px;
}

.vec-brand-logos-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.vec-brand-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.vec-brand-logo-item:hover {
    opacity: 1;
}

.vec-brand-logo-item img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.2s ease;
}

.vec-brand-logo-item:hover img {
    filter: grayscale(0%);
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */

.vec-whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vec-whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.vec-whatsapp-btn svg {
    width: 32px;
    height: 32px;
    color: var(--vec-white);
}

/* ==========================================================================
   Homepage Responsive Styles
   ========================================================================== */

@media (max-width: 1024px) {
    .vec-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .vec-product-carousel {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .vec-hero-image {
        height: 350px;
    }

    .vec-hero-title {
        font-size: 32px;
    }

    .vec-hero-subtitle {
        font-size: 16px;
    }

    .vec-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .vec-value-props-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vec-product-section-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .vec-product-carousel {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .vec-hero-image {
        height: 280px;
    }

    .vec-hero-title {
        font-size: 24px;
    }

    .vec-hero-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .vec-category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .vec-category-item {
        padding: 10px;
    }

    .vec-category-icon {
        width: 45px;
        height: 45px;
    }

    .vec-category-icon svg {
        width: 22px;
        height: 22px;
    }

    .vec-category-zh {
        font-size: 12px;
    }

    .vec-category-en {
        font-size: 10px;
    }

    .vec-product-carousel {
        grid-template-columns: 1fr 1fr;
    }
}
