/* style.css — Home Shop Page */
/* File: style.css */

/* ============================================================
   FONTS & VARIABLES
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #1a1a2e;
    --accent: #971515;
    --accent-light: #f34444;
    --accent-glow: rgba(151, 21, 21, 0.15);
    --surface: #ffffff;
    --surface-2: #f8f7f4;
    --surface-3: #f0ede8;
    --text-primary: #1a1a2e;
    --text-secondary: #6b6b80;
    --text-muted: #9999aa;
    --border: #e8e5df;
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 8px 32px rgba(26, 26, 46, 0.10);
    --shadow-lg: 0 20px 60px rgba(26, 26, 46, 0.14);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-primary);
    background: radial-gradient(circle at 50% -10%, #ffffff 0%, var(--surface-2) 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ============================================================
   WRAPPER
   ============================================================ */
.home-shop-wrapper {
    width: 100%;
    max-width: 100%;
}

/* Global Overrides for Home Page */
.fr-main-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container-custom {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    width: 100%;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-section .hero-card {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 25 / 8;
    min-height: clamp(380px, 32vw, 550px);
    overflow: hidden;
}

.hero-section .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-section .hero-img-obj {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
    transition: transform 8s ease-out;
    display: block;
}

.hero-section .hero-card:hover .hero-img-obj {
    transform: scale(1);
}

/* dynamic light gradient overlay using site accent color */
.hero-section .hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            rgba(var(--accent-rgb), 0.35) 0%,
            rgba(var(--accent-rgb), 0.1) 50%,
            transparent 100%);
    z-index: 1;
}

/* grain texture */
.hero-section .hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
}

.hero-section .hero-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.hero-section .hero-glass-card {
    max-width: 580px;
    animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section .hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 22px;
}

.hero-section .hero-subtitle::before {
    content: '';
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: blink 1.6s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

.hero-section .hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;

    /* Blur Background Effect */
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    padding: 20px 30px;
    border-radius: var(--radius-md);
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

.hero-section .hero-desc,
.long_description,
.long-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 36px;
    font-weight: 300;
    max-width: 460px;
    padding-left: 20px;
}

.hero-section .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 16px 36px;
    border-radius: 100px;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(232, 87, 42, 0.45);
    position: relative;
    overflow: hidden;
}

.hero-section .hero-btn::after {
    content: '→';
    transition: transform 0.3s ease;
}

.hero-section .hero-btn:hover {
    background: var(--accent-light);
    box-shadow: 0 12px 40px rgba(232, 87, 42, 0.55);
    transform: translateY(-2px);
}

.hero-btn:hover::after {
    transform: translateX(4px);
}

/* floating scroll indicator */
.hero-card .scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

/* ============================================================
   SEARCH SECTION
   ============================================================ */
.search-section {
    padding: 0;
    position: relative;
    z-index: 10;
    margin-top: -30px;
}

.search-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.search-form {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 8px 8px 8px 24px;
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-form:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow), var(--shadow-lg);
}

.search-input-group {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.search-input-group input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--text-primary);
    background: transparent;
    padding: 8px 0;
}

.search-input-group input::placeholder {
    color: var(--text-muted);
}

.search-submit-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 14px 28px;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.search-submit-btn:hover {
    background: var(--accent-light);
    transform: scale(1.04);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.home-shop-wrapper .section-header,
.category-section .section-header,
.categories-page-wrapper .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding: 14px 22px;
    background: #fff;
    border-left: 4.5px solid var(--accent);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
    gap: 12px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}

.section-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s, color 0.3s;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-link:hover {
    gap: 10px;
}

.section-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ============================================================
   CAROUSEL NAV BUTTONS
   ============================================================ */
.carousel-nav {
    display: flex;
    gap: 8px;
}

.nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(232, 87, 42, 0.3);
}

/* ============================================================
   CATEGORY CAROUSEL
   ============================================================ */
.category-carousel-container {
    overflow: hidden;
    position: relative;
}

.category-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0;
}

.category-slide {
    flex: 0 0 calc(100% / 6);
    padding: 0 7px;
}

.category-card-full,
.brand-card-full {
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.card-inner {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.category-card-full:hover .card-inner,
.brand-card-full:hover .card-inner {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

/* Image Area */
.image-area {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--surface-2);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-obj {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-img-obj {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card-full:hover .card-img-obj,
.brand-card-full:hover .brand-img-obj {
    transform: scale(1.08);
}

/* Placeholder */
.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: var(--surface-3);
}

.img-placeholder i {
    font-size: 26px;
    opacity: 0.3;
}

.placeholder-text {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 800;
    opacity: 0.2;
}

/* Content Area */
.content-area {
    padding: 12px 10px;
    text-align: center;
    background: #fff;
    border-top: 1px solid var(--border);
}

.card-label,
.brand-label {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8em;
    /* Exactly 2 lines worth of height */
    margin: 0;
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    border-color: rgba(232, 87, 42, 0.25);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    background: var(--surface-3);
    aspect-ratio: 1 / 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img {
    transform: scale(1.06);
}

.badge-container {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.sale-badge,
.featured-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 100px;
    backdrop-filter: blur(8px);
}

.sale-badge {
    background: rgba(232, 87, 42, 0.9);
    color: #fff;
    box-shadow: 0 2px 10px rgba(232, 87, 42, 0.4);
}

.featured-badge {
    background: rgba(26, 26, 46, 0.85);
    color: #fff;
}

/* quick-add overlay */
.product-image-container::after {
    content: 'Quick View';
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    opacity: 0;
    transition: opacity 0.35s;
    backdrop-filter: blur(2px);
}

.product-card:hover .product-image-container::after {
    opacity: 1;
}

.product-info {
    padding: 16px 18px 10px;
    flex: 1;
}

.brand-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.discount-tag {
    background: #fef3ee;
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 100px;
    border: 1px solid rgba(151, 21, 21, 0.2);
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-footer {
    padding: 12px 18px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.quick-add-btn {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.quick-add-btn:hover {
    transform: scale(1.25);
    opacity: 0.8;
}

.price-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.current-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.sale-price {
    color: var(--accent);
}

.old-price {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ============================================================
   BRAND SECTION
   ============================================================ */
.brand-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}


.brand-section .section-title {
    color: var(--text-primary);
}

.brand-section .section-header {
    border-left-color: var(--accent);
}

.brand-carousel-container {
    overflow: hidden;
}

.brand-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-slide {
    flex: 0 0 calc(100% / 6);
    padding: 0 7px;
}

.brand-card:hover .brand-title {
    color: var(--accent);
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section {
    padding: 60px 0;
}

.blog-carousel-container {
    overflow: hidden;
}

.blog-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-slide {
    flex: 0 0 calc(100% / 3);
    padding: 0 14px;
}

.blog-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 1.5px solid var(--border);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: rgba(232, 87, 42, 0.25);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.blog-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--surface-3);
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--text-muted);
}

.blog-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 100px;
}

.blog-info {
    padding: 22px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
}

.blog-title {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.45;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 18px;
}

.blog-footer {
    margin-top: auto;
}

.read-more {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
}

.blog-card:hover .read-more {
    gap: 10px;
}

/* ============================================================
   ADS SECTION
   ============================================================ */
.ads-section {
    padding: 40px 0 80px;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ad-card-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.ad-card {
    display: block;
    text-decoration: none;
}

.ad-img-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 6;
    border-radius: var(--radius-md);
}

.ad-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.ad-card:hover .ad-img {
    transform: scale(1.04);
}

.ad-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 28px;
    transition: all 0.4s ease;
    pointer-events: none;
}

.ad-card:hover .ad-overlay {
    background: transparent;
}

.ad-tag {
    display: inline-flex;
    align-self: flex-start;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ad-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ad-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.ad-cta {
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
    background: rgba(0, 0, 0, 0.65);
    padding: 6px 14px;
    border-radius: 12px;
    width: fit-content;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ad-card:hover .ad-cta {
    gap: 12px;
    color: #fff;
}

/* ============================================================
   SECTION PADDING
   ============================================================ */
.py-5 {
    padding: 70px 0;
}

/* ============================================================
   WISHLIST BUTTON (override)
   ============================================================ */
.hs-wishlist-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(4px);
}

.hs-wishlist-btn:hover,
.hs-wishlist-btn.active {
    background: var(--accent);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(232, 87, 42, 0.35);
}

/* ============================================================
   TOAST
   ============================================================ */
#hs-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.hs-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: var(--text-primary);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    font-weight: 600;
    min-width: 260px;
    border-left: 4px solid var(--accent);
    opacity: 0;
    transform: translateX(120%);
    transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.hs-toast.hs-toast-error {
    border-left-color: #ef4444;
}

.hs-toast.show {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================
   SALE SECTION ACCENT
   ============================================================ */
.sale-section {
    padding: 60px 0;
}

.section-header--sale {
    border-left-color: var(--accent);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 1600px) {
    .product-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1900px) {
    .product-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

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

    .container-custom {
        padding: 0 28px;
    }
}

@media (max-width: 991px) {
    .hero-section .hero-card {
        height: auto;
        aspect-ratio: 25 / 8;
        min-height: 220px;
    }

    .hero-content {
        padding: 0 24px;
    }

    .hero-section .hero-title {
        font-size: clamp(1.4rem, 3.5vw, 2.2rem);
        padding: 12px 20px;
        margin-bottom: 14px;
    }

    .hero-section .hero-desc {
        font-size: 13px;
        margin-bottom: 18px;
        max-width: 380px;
    }

    .category-slide {
        flex: 0 0 calc(100% / 4);
    }

    .brand-slide {
        flex: 0 0 calc(100% / 4);
    }

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

    .blog-slide {
        flex: 0 0 calc(100% / 2);
    }

    .ads-grid {
        grid-template-columns: 1fr;
    }
}

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

    .hero-section .hero-card {
        height: auto;
        aspect-ratio: 25 / 8;
        min-height: 160px;
    }

    .hero-section .hero-content {
        padding: 12px 18px;
    }

    .hero-section .hero-glass-card {
        max-width: 100%;
        width: 100%;
    }

    .hero-section .hero-subtitle {
        font-size: 9px;
        padding: 3px 10px;
        margin-bottom: 8px;
    }

    .hero-section .hero-title {
        font-size: clamp(0.95rem, 3.8vw, 1.4rem);
        padding: 8px 14px;
        margin-bottom: 8px;
        width: fit-content;
        max-width: 100%;
        border-radius: 8px;
        box-sizing: border-box;
        line-height: 1.2;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }

    .hero-section .hero-desc {
        display: none;
    }

    .hero-section .hero-btn {
        padding: 8px 18px;
        font-size: 11px;
        gap: 6px;
        border-radius: 50px;
    }

    .hero-card .scroll-hint {
        display: none;
    }

    .hero-section .hero-card::before {
        background: linear-gradient(180deg,
                rgba(0, 0, 0, 0.2) 0%,
                rgba(var(--accent-rgb), 0.3) 40%,
                rgba(0, 0, 0, 0.7) 100%);
    }

    .search-wrap {
        padding: 0 12px;
    }

    .search-form {
        padding: 6px 6px 6px 16px;
    }

    .category-slide {
        flex: 0 0 calc(100% / 3);
    }

    .brand-slide {
        flex: 0 0 calc(100% / 3);
    }

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

    .blog-slide {
        flex: 0 0 100%;
    }

    .ads-grid {
        gap: 14px;
    }

    .py-5 {
        padding: 44px 0;
    }

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

@media (max-width: 480px) {
    .hero-section .hero-card {
        height: auto;
        aspect-ratio: 25 / 8;
        min-height: 130px;
    }

    .hero-section .hero-content {
        padding: 8px 12px;
    }

    .hero-section .hero-title {
        font-size: clamp(0.78rem, 3.4vw, 1.1rem);
        padding: 6px 10px;
        margin-bottom: 6px;
        border-radius: 6px;
    }

    .hero-section .hero-subtitle {
        font-size: 8px;
        padding: 2px 8px;
        margin-bottom: 6px;
    }

    .hero-section .hero-btn {
        padding: 6px 14px;
        font-size: 10px;
    }

    .category-slide {
        flex: 0 0 33.333%;
        width: 33.333%;
        max-width: 33.333%;
        padding: 0 3px;
    }

    .brand-slide {
        flex: 0 0 33.333%;
        width: 33.333%;
        max-width: 33.333%;
        padding: 0 3px;
    }

    .cat-icon-wrap {
        width: 60px;
        height: 60px;
    }

    .brand-img-wrap {
        width: 60px;
        height: 60px;
    }

    .hero-btn {
        padding: 14px 26px;
        font-size: 14px;
    }

    .ad-img-container {
        aspect-ratio: 16 / 8;
    }

    .ad-title {
        font-size: 15px;
    }
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
    background: transparent;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: rgba(151, 21, 21, 0.02);
}

.faq-q-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.faq-icon {
    font-size: 14px;
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    /* Large enough to fit content */
}

.faq-a-content {
    padding: 0 30px 24px 30px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-a-content p {
    margin-bottom: 15px;
}

.faq-a-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 20px;
    }

    .faq-q-text {
        font-size: 1rem;
    }

    .faq-a-content {
        padding: 0 20px 20px 20px;
    }
}