/* ===== Variables ===== */
:root {
    --primary: #78909c;
    --primary-dark: #4b636e;
    --primary-light: #a7c0cd;
    --accent: #cc2300;
    --text: #333;
    --text-light: #707070;
    --bg: #fff;
    --bg-alt: #f5f5f5;
    --border: #e0e0e0;
    --radius: 10px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --font: 'Noto Sans KR', sans-serif;
    --font-en: 'Montserrat', sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); font-size: 15px; color: var(--text); background: var(--bg); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: color .2s; }
a:hover { text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; outline: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: var(--bg); border-bottom: 1px solid var(--border);
    transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-flex {
    display: flex; align-items: center; justify-content: space-between;
    height: 65px; gap: 20px;
}
.logo { flex-shrink: 0; }
.logo img { height: 28px; }

/* Nav */
.main-nav { flex: 1; }
.nav-list {
    display: flex; align-items: center; justify-content: center; gap: 0;
}
.nav-list > li > a {
    display: block; padding: 0 8px; line-height: 65px;
    font-size: 12.5px; font-weight: 600; color: var(--text);
    white-space: nowrap; transition: color .2s;
}
.nav-list > li > a:hover { color: var(--primary-dark); }
.nav-list > li.has-sub { position: relative; }
.sub-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    background: var(--bg); min-width: 160px; padding: 8px 0;
    border-radius: var(--radius); box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    opacity: 0; visibility: hidden; transition: all .2s; z-index: 100;
}
.nav-list > li:hover .sub-menu { opacity: 1; visibility: visible; }
.sub-menu li a {
    display: block; padding: 8px 20px; font-size: 13px; color: var(--text-light);
    transition: all .2s;
}
.sub-menu li a:hover { color: var(--text); background: var(--bg-alt); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-header {
    padding: 6px 16px; font-size: 12px; font-weight: 600;
    border: 1px solid var(--border); border-radius: 20px;
    color: var(--text-light); transition: all .2s;
}
.btn-header:hover { border-color: var(--text); color: var(--text); }
.btn-icon {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: var(--text); font-size: 15px; transition: all .2s;
    position: relative;
}
.btn-icon:hover { background: var(--bg-alt); }
.btn-icon .badge {
    position: absolute; top: 2px; right: 0; width: 16px; height: 16px;
    border-radius: 50%; background: var(--accent); color: #fff;
    font-size: 10px; line-height: 16px; text-align: center;
}
.mobile-toggle { display: none; }

/* Search Overlay */
.search-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all .3s;
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-overlay-inner {
    width: 90%; max-width: 600px; position: relative;
}
.search-overlay-inner form {
    display: flex; border-bottom: 3px solid #fff;
}
.search-overlay-inner input {
    flex: 1; background: none; border: none; color: #fff;
    font-size: 24px; padding: 15px 0; font-family: var(--font);
}
.search-overlay-inner input::placeholder { color: rgba(255,255,255,0.5); }
.search-overlay-inner button[type="submit"] { color: #fff; font-size: 24px; padding: 0 10px; }
.search-close {
    position: absolute; top: -60px; right: 0; color: #fff; font-size: 28px;
}

/* Mobile Nav */
.mobile-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 1500;
    opacity: 0; visibility: hidden; transition: all .3s;
}
.mobile-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100%;
    background: var(--bg); z-index: 1501; overflow-y: auto;
    transition: right .3s; padding: 20px;
}
.mobile-nav.active { right: 0; }
.mobile-nav-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid var(--border);
}
.mobile-nav-header button { font-size: 22px; color: var(--text); }
.mobile-nav-list li a {
    display: block; padding: 12px 0; font-size: 15px; font-weight: 500;
    color: var(--text); border-bottom: 1px solid var(--bg-alt);
}
.mobile-nav-list li.divider { height: 1px; background: var(--border); margin: 10px 0; }

/* ===== Main Content ===== */
.site-content { padding-top: 65px; min-height: 60vh; }

/* ===== Hero Slider ===== */
.hero-slider {
    position: relative; width: 100%; max-width: 1920px;
    margin: 0 auto; overflow: hidden;
}
.hero-slides { display: flex; transition: transform .8s cubic-bezier(.25,.46,.45,.94); }
.hero-slide {
    min-width: 100%; height: 550px; position: relative;
    background-size: cover; background-position: center;
}
.hero-slide-overlay {
    position: absolute; inset: 0; display: flex; align-items: center; padding-left: 8%;
    background: linear-gradient(90deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.3) 60%, transparent 100%);
}
.hero-slide-content { max-width: 450px; }
.hero-slide-content .tag {
    display: inline-block; padding: 4px 14px; background: var(--primary);
    color: #fff; border-radius: 20px; font-size: 12px; font-weight: 600;
    margin-bottom: 12px; font-family: var(--font-en);
}
.hero-slide-content h2 {
    font-family: var(--font-en); font-size: 48px; font-weight: 700;
    line-height: 1.1; margin-bottom: 15px; color: var(--text);
}
.hero-slide-content p { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 25px; }
.hero-slide-content .btn-hero {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; background: var(--text); color: #fff;
    border-radius: 6px; font-size: 14px; font-weight: 600;
    font-family: var(--font-en); transition: all .3s;
}
.hero-slide-content .btn-hero:hover { background: var(--primary-dark); }
.hero-arrows { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; padding: 0 20px; transform: translateY(-50%); pointer-events: none; }
.hero-arrow {
    width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.8);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: var(--text); cursor: pointer; pointer-events: auto;
    transition: all .3s; opacity: 0;
}
.hero-slider:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: #fff; box-shadow: var(--shadow); }
.hero-dots {
    position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px;
}
.hero-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(0,0,0,0.2); cursor: pointer; transition: all .3s;
}
.hero-dot.active { background: var(--primary); width: 28px; border-radius: 5px; }

/* ===== Sections ===== */
.section { padding: 50px 0; }
.section-header {
    text-align: center; margin-bottom: 35px;
}
.section-header h2 {
    font-family: var(--font-en); font-size: 28px; font-weight: 700;
    color: var(--text); letter-spacing: 1px;
}
.section-header p { font-size: 14px; color: var(--text-light); margin-top: 8px; }

/* ===== Product Grid ===== */
.product-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.product-card {
    background: var(--bg); border-radius: var(--radius);
    overflow: hidden; transition: transform .3s, box-shadow .3s;
    border: 1px solid var(--border);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card .thumb {
    display: block; position: relative; overflow: hidden; aspect-ratio: 1/1;
    background: var(--bg-alt);
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .info { padding: 14px; }
.product-card .info .brand {
    font-size: 11px; color: var(--primary); text-transform: uppercase;
    letter-spacing: 1px; font-weight: 600; margin-bottom: 4px;
}
.product-card .info .name {
    font-size: 13px; font-weight: 500; color: var(--text); line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; margin-bottom: 8px; min-height: 40px;
}
.product-card .info .name a { color: inherit; }
.product-card .info .name a:hover { color: var(--primary-dark); }
.product-card .info .short-desc {
    font-size: 11px; color: var(--text-light); line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; margin-bottom: 6px;
}
.product-card .info .price-row { line-height: 1.4; }
.product-card .info .original-price {
    font-size: 12px; color: var(--text-light); text-decoration: line-through;
}
.product-card .info .sale-price {
    font-family: var(--font-en); font-size: 16px; font-weight: 700; color: var(--accent);
}
.product-card .info .discount-badge {
    display: inline-block; padding: 1px 5px; background: var(--accent); color: #fff;
    border-radius: 3px; font-size: 11px; font-weight: 700; vertical-align: middle;
}
.product-card .info .price {
    font-family: var(--font-en); font-size: 16px; font-weight: 700; color: var(--accent);
}
.product-card .info .price-inquiry {
    font-size: 13px; color: var(--text-light); font-weight: 500;
}

/* ===== Brand Tabs ===== */
.brand-tabs {
    display: flex; justify-content: center; gap: 8px; margin-bottom: 30px; flex-wrap: wrap;
}
.brand-tab {
    padding: 8px 20px; border: 1px solid var(--border); border-radius: 25px;
    font-size: 13px; font-weight: 500; color: var(--text-light);
    transition: all .2s; cursor: pointer; background: var(--bg);
}
.brand-tab.active, .brand-tab:hover {
    background: var(--text); color: #fff; border-color: var(--text);
}

/* ===== Review Slider (Original Style) ===== */
.review-slider-wrap { position: relative; overflow: hidden; }
.review-slider {
    display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 10px 0;
}
.review-slider::-webkit-scrollbar { display: none; }
.review-item { min-width: 380px; max-width: 420px; flex-shrink: 0; }
.review-item-inner {
    display: flex; background: var(--bg); border-radius: var(--radius);
    border: 1px solid var(--border); overflow: hidden; height: 100%;
    transition: box-shadow .3s;
}
.review-item-inner:hover { box-shadow: var(--shadow); }
.review-item-image { width: 180px; min-width: 180px; overflow: hidden; }
.review-item-image img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.review-item-content { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.review-item-num {
    width: 28px; height: 28px; border-radius: 50%; background: var(--primary);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; margin-bottom: 10px; flex-shrink: 0;
}
.review-item-product {
    font-size: 11px; color: var(--primary); margin-bottom: 8px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.review-item-content h5 { font-size: 14px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.review-item-content h5 a { color: var(--text); }
.review-item-content h5 a:hover { color: var(--primary-dark); }
.review-item-content p {
    font-size: 12px; color: var(--text-light); line-height: 1.6; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.review-slider-arrows { display: flex; justify-content: center; gap: 10px; margin-top: 15px; }
.review-arrow {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
    background: var(--bg); display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: var(--text); cursor: pointer; transition: all .2s;
}
.review-arrow:hover { background: var(--text); color: #fff; border-color: var(--text); }

/* Review Grid (for review page) */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: all .3s; display: flex;
}
.review-card:hover { box-shadow: var(--shadow); }
.review-card .review-img { width: 200px; min-width: 200px; overflow: hidden; }
.review-card .review-img img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.review-card .review-body { padding: 18px; flex: 1; position: relative; }
.review-card .review-body .review-num {
    width: 28px; height: 28px; border-radius: 50%; background: var(--primary);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-en); font-size: 12px; font-weight: 700; margin-bottom: 8px;
}
.review-card .review-body .product-name {
    font-size: 11px; color: var(--primary); margin-bottom: 6px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.review-card .review-body h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.review-card .review-body p {
    font-size: 12px; color: var(--text-light); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

/* ===== CTA Banner ===== */
.cta-banner {
    background: var(--bg-alt); border-radius: var(--radius); padding: 40px;
    text-align: center; margin: 40px 0;
}
.cta-banner h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.cta-banner p { color: var(--text-light); margin-bottom: 20px; }
.cta-banner .btn-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; background: #FAE100; color: #3C1E1E;
    border-radius: 8px; font-size: 15px; font-weight: 700; transition: all .3s;
}
.cta-banner .btn-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ===== More Button ===== */
.btn-more {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 28px; border: 1px solid var(--border);
    border-radius: 25px; font-size: 13px; font-weight: 600;
    color: var(--text-light); transition: all .2s;
    font-family: var(--font-en);
}
.btn-more:hover { border-color: var(--text); color: var(--text); }

/* ===== Footer ===== */
.site-footer {
    background: var(--bg-alt); padding: 40px 0 25px; margin-top: 60px;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px;
    margin-bottom: 30px;
}
.footer-col h4 {
    font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 15px;
    font-family: var(--font-en);
}
.footer-col p { font-size: 13px; color: var(--text-light); line-height: 1.8; }
.footer-col .btn-kakao {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
    padding: 8px 20px; background: var(--text); color: #fff;
    border-radius: 6px; font-size: 13px; font-weight: 600; transition: all .2s;
}
.footer-col .btn-kakao:hover { background: var(--primary-dark); }
.footer-bottom {
    text-align: center; padding-top: 20px; border-top: 1px solid var(--border);
    font-size: 12px; color: var(--text-light);
}
.footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; }
.footer-links a { font-size: 13px; color: var(--text-light); font-weight: 600; }
.footer-links a:hover { color: var(--text); }

/* ===== Product Detail ===== */
.product-detail { padding: 30px 0; }
.product-detail .breadcrumb {
    display: flex; gap: 8px; align-items: center;
    font-size: 13px; color: var(--text-light); margin-bottom: 25px;
}
.product-detail .breadcrumb a:hover { color: var(--text); }
.product-detail .breadcrumb .sep { color: var(--border); }
.product-detail .detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.product-detail .gallery { position: relative; }
.product-detail .gallery-main {
    border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1;
    background: var(--bg-alt); margin-bottom: 10px;
}
.product-detail .gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-detail .gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.product-detail .gallery-thumb {
    width: 70px; height: 70px; border-radius: 6px; overflow: hidden;
    cursor: pointer; border: 2px solid transparent; flex-shrink: 0; transition: border .2s;
}
.product-detail .gallery-thumb.active,
.product-detail .gallery-thumb:hover { border-color: var(--primary); }
.product-detail .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail .detail-info {}
.product-detail .detail-info .product-title {
    font-size: 22px; font-weight: 700; line-height: 1.4; margin-bottom: 10px;
}
.product-detail .detail-info .short-desc {
    font-size: 14px; color: var(--text-light); margin-bottom: 20px;
}
.product-detail .detail-info .price-box {
    padding: 20px; background: var(--bg-alt); border-radius: var(--radius); margin-bottom: 20px;
}
.product-detail .detail-info .price-box .sale-price {
    font-family: var(--font-en); font-size: 28px; font-weight: 700; color: var(--accent);
}
.product-detail .detail-info .price-box .original-price {
    font-size: 14px; color: var(--text-light); text-decoration: line-through; margin-left: 10px;
}
.product-detail .detail-info .price-box .discount-tag {
    display: inline-block; padding: 2px 8px; background: var(--accent); color: #fff;
    border-radius: 4px; font-size: 12px; font-weight: 700; margin-left: 8px;
}
.product-detail .detail-info .info-table {
    width: 100%; border-collapse: collapse; margin-bottom: 20px;
}
.product-detail .detail-info .info-table th,
.product-detail .detail-info .info-table td {
    padding: 12px 15px; font-size: 14px; border-bottom: 1px solid var(--border);
}
.product-detail .detail-info .info-table th {
    width: 100px; color: var(--text-light); font-weight: 500; text-align: left;
}

.product-detail .qty-box {
    display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.product-detail .qty-box label { font-size: 14px; font-weight: 600; }
.product-detail .qty-btn {
    width: 32px; height: 32px; border: 1px solid var(--border);
    border-radius: 6px; display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: var(--text); transition: all .2s;
}
.product-detail .qty-btn:hover { background: var(--bg-alt); }
.product-detail .qty-input {
    width: 50px; height: 32px; text-align: center; border: 1px solid var(--border);
    border-radius: 6px; font-size: 14px;
}

.product-detail .action-buttons { display: flex; gap: 10px; margin-bottom: 15px; }
.product-detail .btn-buy {
    flex: 1; padding: 14px; background: var(--text); color: #fff;
    border-radius: 8px; font-size: 15px; font-weight: 700; text-align: center;
    transition: all .2s; border: none; cursor: pointer;
}
.product-detail .btn-buy:hover { background: var(--primary-dark); }
.product-detail .btn-cart {
    flex: 1; padding: 14px; background: var(--bg); color: var(--text);
    border: 2px solid var(--text); border-radius: 8px; font-size: 15px;
    font-weight: 700; text-align: center; transition: all .2s; cursor: pointer;
}
.product-detail .btn-cart:hover { background: var(--bg-alt); }
.product-detail .btn-kakao-order {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 14px; background: #FAE100; color: #3C1E1E;
    border-radius: 8px; font-size: 15px; font-weight: 700; transition: all .2s;
}
.product-detail .btn-kakao-order:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

/* ===== Product Tabs ===== */
.product-tabs { margin-top: 50px; }
.tab-nav {
    display: flex; border-bottom: 2px solid var(--border);
    position: sticky; top: 65px; background: var(--bg); z-index: 100;
}
.tab-btn {
    padding: 14px 24px; font-size: 15px; font-weight: 600;
    color: var(--text-light); border: none; background: none;
    cursor: pointer; position: relative; transition: color .2s;
    white-space: nowrap;
}
.tab-btn.active { color: var(--text); }
.tab-btn.active::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 100%;
    height: 2px; background: var(--text);
}
.tab-btn .count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 6px;
    background: var(--accent); color: #fff; border-radius: 10px;
    font-size: 11px; margin-left: 4px;
}
.tab-panel { display: none; padding: 30px 0; }
.tab-panel.active { display: block; }
/* Force responsive content inside tabs (override inline styles from scraped HTML) */
.tab-panel img { max-width: 100% !important; height: auto !important; display: block; margin: 10px auto; }
.tab-panel div, .tab-panel p, .tab-panel span, .tab-panel table, .tab-panel td, .tab-panel th {
    max-width: 100% !important; word-break: break-word; overflow-wrap: break-word;
}
.tab-panel table { width: 100% !important; border-collapse: collapse; }
.tab-panel td, .tab-panel th { padding: 8px; font-size: 14px; }
.tab-panel font { font-size: inherit !important; }
.tab-panel iframe, .tab-panel video, .tab-panel embed, .tab-panel object {
    max-width: 100% !important; height: auto !important;
}
.tab-panel br + br { display: none; }
.tab-panel * { box-sizing: border-box; }

/* ===== Product List Page ===== */
.list-header { padding: 25px 0; border-bottom: 1px solid var(--border); margin-bottom: 25px; }
.list-header h1 { font-size: 24px; font-weight: 700; }
.list-header .subcats { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.list-header .subcat {
    padding: 5px 14px; border: 1px solid var(--border); border-radius: 20px;
    font-size: 13px; color: var(--text-light); transition: all .2s;
}
.list-header .subcat:hover, .list-header .subcat.active {
    border-color: var(--text); color: var(--text);
}
.list-sort { display: flex; gap: 15px; margin-bottom: 20px; }
.list-sort a { font-size: 13px; color: var(--text-light); }
.list-sort a.active, .list-sort a:hover { color: var(--text); font-weight: 600; }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 40px; }
.pagination a, .pagination span {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 6px; font-size: 14px;
    color: var(--text-light); transition: all .2s;
}
.pagination a:hover { background: var(--bg-alt); color: var(--text); }
.pagination .current { background: var(--text); color: #fff; }

/* ===== Related Products ===== */
.related-section { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border); }
.related-section h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed; bottom: 20px; right: 20px; width: 44px; height: 44px;
    border-radius: 50%; background: var(--text); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; z-index: 999; opacity: 0; visibility: hidden;
    transition: all .3s; cursor: pointer; box-shadow: var(--shadow);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-slide { height: 420px; }
    .hero-slide-content h2 { font-size: 36px; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-toggle { display: flex; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .review-grid { grid-template-columns: 1fr; }
    .review-card { flex-direction: column; }
    .review-card .review-img { width: 100%; min-width: auto; max-height: 250px; }
    .review-item { min-width: 300px; }
    .review-item-image { width: 140px; min-width: 140px; }
    .review-item-content h5 { font-size: 13px; }
    .review-item-content p { -webkit-line-clamp: 3; }
    .hero-slide { height: 320px; }
    .hero-slide-overlay { padding-left: 5%; }
    .hero-slide-content h2 { font-size: 28px; }
    .hero-slide-content p { font-size: 13px; }
    .product-detail .detail-grid { grid-template-columns: 1fr; gap: 25px; }
    .product-detail .detail-info .product-title { font-size: 18px; }
    .product-detail .detail-info .price-box { padding: 15px; }
    .product-detail .detail-info .price-box .sale-price { font-size: 22px; }
    .product-detail .action-buttons { flex-direction: column; }
    .section { padding: 35px 0; }
    .tab-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 0; }
    .tab-btn { padding: 12px 14px; font-size: 13px; flex-shrink: 0; }
    .tab-panel { padding: 20px 0; font-size: 14px; line-height: 1.8; }
    .tab-panel img { margin: 8px auto !important; }
    .cta-banner { padding: 25px 20px; }
    .btn-header { display: none; }
    .container { padding: 0 15px; }
    .list-header h1 { font-size: 20px; }
    .breadcrumb { font-size: 12px; flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .hero-slide { height: 250px; }
    .hero-slide-content h2 { font-size: 22px; }
    .hero-slide-content .btn-hero { padding: 10px 20px; font-size: 13px; }
    .product-card .info { padding: 10px; }
    .product-card .info .name { font-size: 12px; min-height: auto; }
    .product-card .info .price { font-size: 14px; }
    .product-card .info .sale-price { font-size: 13px; }
    .product-card .info .original-price { font-size: 10px; }
    .product-card .info .discount-badge { font-size: 9px; padding: 1px 3px; }
    .product-card .info .short-desc { font-size: 10px; -webkit-line-clamp: 1; margin-bottom: 4px; }
    .product-detail .detail-info .product-title { font-size: 16px; }
    .product-detail .detail-info .price-box .sale-price { font-size: 20px; }
    .product-detail .gallery-thumbs { gap: 5px; }
    .product-detail .gallery-thumb { width: 55px; height: 55px; }
    .tab-btn { padding: 10px 10px; font-size: 12px; }
    .tab-panel { padding: 15px 0; font-size: 13px; }
    .product-detail .qty-box { flex-wrap: wrap; }
    .related-section .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.en-font { font-family: var(--font-en); }
