/* ============================================
   VIPToyz - Frontend Stylesheet
   ============================================ */

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e8336e;
    --primary-dark: #c41e5a;
    --primary-light: #ff6b9d;
    --secondary: #1a1a2e;
    --accent: #ffd700;
    --dark: #16213e;
    --gray: #f4f4f8;
    --gray-dark: #6c757d;
    --gray-border: #e0e0e6;
    --white: #ffffff;
    --green: #28a745;
    --red: #dc3545;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 10px;
    --radius-sm: 6px;
    --transition: all 0.3s ease;
    --container: 1200px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    background: #f8f8fc;
    line-height: 1.6;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--secondary);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-item { opacity: 0.9; }

.top-bar-right {
    display: flex;
    gap: 15px;
}

.top-bar-link {
    opacity: 0.8;
    transition: var(--transition);
}
.top-bar-link:hover { opacity: 1; }

/* ===== Header ===== */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.logo-img {
    height: 45px;
    width: auto;
}

/* Search */
.header-search {
    flex: 1;
    max-width: 500px;
    display: flex;
    align-items: center;
    background: var(--gray);
    border-radius: 30px;
    padding: 4px 4px 4px 20px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.header-search:focus-within {
    border-color: var(--primary);
    background: var(--white);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    padding: 8px 0;
    font-family: inherit;
}

.search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-btn:hover { background: var(--primary-dark); }

/* Cart */
.cart-link {
    position: relative;
    font-size: 26px;
    color: var(--dark);
    transition: var(--transition);
}

.cart-link:hover { color: var(--primary); }

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Navigation ===== */
.main-nav {
    background: var(--white);
    border-top: 1px solid var(--gray-border);
}

.nav-list {
    display: flex;
    gap: 5px;
    align-items: center;
}

.nav-list a {
    display: block;
    padding: 14px 20px;
    font-weight: 500;
    font-size: 15px;
    color: var(--dark);
    transition: var(--transition);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 60%;
}

/* ===== Flash Messages ===== */
.flash-message {
    max-width: var(--container);
    margin: 15px auto;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
}

.flash-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.flash-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.flash-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* ===== Banner / Hero Carousel (Full Width) ===== */
.hero-carousel {
    position: relative;
    width: 100%;
}

.hero-carousel-inner {
    position: relative;
    overflow: hidden;
    height: 550px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    background: var(--secondary);
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.4) 55%, rgba(26,26,46,0.05) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
    max-width: 550px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 28px;
    max-width: 480px;
    line-height: 1.6;
}

.hero-btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 13px 34px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(232,51,110,0.35);
}

.hero-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(232,51,110,0.5);
}

.hero-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.hero-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

/* ===== Inner Page Hero ===== */
.inner-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #16213e 50%, #0f3460 100%);
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.inner-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(232,51,110,0.08);
}

.inner-hero::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(232,51,110,0.06);
}

.inner-hero .inner-hero-content {
    position: relative;
    z-index: 1;
}

.inner-hero h1 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.inner-hero .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 6px;
}

.inner-hero .breadcrumb a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

.inner-hero .breadcrumb a:hover {
    color: #fff;
}

.inner-hero .breadcrumb span {
    color: rgba(255,255,255,0.4);
}

.inner-hero .category-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
}

/* ===== Page Layout with Sidebar ===== */
.page-layout {
    max-width: var(--container);
    margin: 30px auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.page-sidebar {
    width: 250px;
    flex-shrink: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0;
    position: sticky;
    top: 140px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    padding: 18px 20px 12px;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 0;
}

.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories li {
    border-bottom: 1px solid var(--gray-border);
}

.sidebar-categories li:last-child {
    border-bottom: none;
}

.sidebar-categories a {
    display: block;
    padding: 13px 20px;
    font-size: 14px;
    color: var(--dark);
    transition: all 0.2s;
    position: relative;
}

.sidebar-categories a:hover {
    color: var(--primary);
    background: rgba(232,51,110,0.04);
    padding-left: 24px;
}

.sidebar-categories a.active {
    color: var(--primary);
    font-weight: 600;
    background: rgba(232,51,110,0.06);
    border-left: 3px solid var(--primary);
    padding-left: 17px;
}

.sidebar-categories a .count {
    float: right;
    font-size: 12px;
    color: var(--gray-dark);
    background: var(--gray);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 400;
}

.page-content {
    flex: 1;
    min-width: 0;
}

/* ===== Feature Strip ===== */
.feature-strip {
    display: flex;
    gap: 20px;
    padding: 30px 0;
    background: #fff;
    margin-bottom: 30px;
}

.feature-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--gray);
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.feature-text p {
    font-size: 13px;
    color: var(--gray-dark);
}

/* ===== Section Title ===== */
.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.section-title p {
    color: var(--gray-dark);
    font-size: 15px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 12px auto 0;
}

/* ===== Product Grid ===== */
.products-section {
    padding: 40px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.product-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
}

.badge-sale { background: var(--primary); }
.badge-new { background: var(--green); }
.badge-featured { background: var(--accent); color: var(--dark); }

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--red);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.product-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-category {
    font-size: 12px;
    color: var(--gray-dark);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 39px;
}

.product-card-name a {
    color: var(--dark);
    transition: var(--transition);
}

.product-card-name a:hover { color: var(--primary); }

.product-card-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    margin-top: auto;
}

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

.price-original {
    font-size: 14px;
    color: var(--gray-dark);
    text-decoration: line-through;
}

.btn-add-cart {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 11px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
}

.btn-add-cart.added {
    background: var(--green);
}

/* ===== Category Filter Bar ===== */
.category-header {
    background: #fff;
    padding: 25px 0;
    margin-bottom: 25px;
    border-radius: var(--radius);
}

.category-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark);
}

.category-header p {
    color: var(--gray-dark);
    font-size: 14px;
    margin-top: 5px;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-bar .result-count {
    font-size: 14px;
    color: var(--gray-dark);
}

.sort-select {
    padding: 8px 15px;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    cursor: pointer;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
}

.pagination a {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--dark);
    transition: var(--transition);
    padding: 0 12px;
}

.pagination a:hover,
.pagination a.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ===== Product Detail Page ===== */
.product-detail {
    padding: 30px 0;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-dark);
    margin-bottom: 25px;
}

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

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.product-detail-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--gray);
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-detail-sku {
    font-size: 13px;
    color: var(--gray-dark);
    margin-bottom: 15px;
}

.product-detail-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-border);
}

.product-detail-price .price-current {
    font-size: 32px;
}

.product-detail-price .price-original {
    font-size: 18px;
}

.product-detail-description {
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 14px;
}

.product-detail-meta {
    margin-bottom: 25px;
    font-size: 14px;
}

.product-detail-meta div {
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-border);
}

.product-detail-meta strong {
    display: inline-block;
    width: 100px;
    color: var(--dark);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.quantity-selector label {
    font-weight: 500;
    font-size: 14px;
}

.qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 42px;
    border: none;
    background: var(--gray);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover { background: var(--gray-border); }

.qty-input {
    width: 60px;
    height: 42px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    outline: none;
}

.product-detail-actions {
    display: flex;
    gap: 12px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--gray-border);
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== Cart Page ===== */
.cart-page {
    padding: 30px 0;
}

.cart-page h1 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--dark);
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.cart-items {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 15px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-border);
}

.cart-item:last-child { border-bottom: none; }

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--gray);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.cart-item-name a:hover { color: var(--primary); }

.cart-item-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 16px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--gray-dark);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    padding: 5px;
}

.cart-item-remove:hover { color: var(--red); }

.cart-summary {
    background: #fff;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.cart-summary h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-row.total {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid var(--gray-border);
}

.btn-checkout {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.btn-checkout:hover { background: var(--primary-dark); }

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-dark);
}

.empty-state .icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark);
}

.empty-state .btn-primary { margin-top: 20px; }

/* ===== Checkout Page ===== */
.checkout-page {
    padding: 30px 0;
}

.checkout-page h1 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--dark);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.checkout-form {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--dark);
}

.form-group label .required { color: var(--red); }

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232,51,110,0.1);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment-options {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.payment-option {
    flex: 1;
    border: 2px solid var(--gray-border);
    border-radius: var(--radius-sm);
    padding: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.payment-option:hover,
.payment-option.selected {
    border-color: var(--primary);
    background: rgba(232,51,110,0.05);
}

.payment-option input { display: none; }

.payment-option .pay-icon { font-size: 28px; }
.payment-option .pay-label { font-size: 14px; font-weight: 500; margin-top: 5px; }

/* ===== Static Pages ===== */
.static-page {
    padding: 30px 0;
}

.static-content {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.static-content h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark);
}

.static-content h2 {
    font-size: 22px;
    margin: 20px 0 10px;
    color: var(--dark);
}

.static-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--secondary);
    color: #ccc;
    padding: 50px 0 0;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 18px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

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

.footer-links a {
    font-size: 14px;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.footer-contact li {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 13px;
    opacity: 0.7;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-features {
    display: flex;
    gap: 15px;
}

.feature-badge {
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    .cart-grid,
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-left { gap: 10px; font-size: 12px; }
    .header-search { display: none; }
    .menu-toggle { display: flex; }
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        box-shadow: var(--shadow-lg);
        padding: 10px 0;
    }
    .nav-list.open { display: flex; }
    .nav-list a { padding: 12px 20px; }
    .hero-carousel-inner { height: 360px; }
    .hero-overlay { padding: 40px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 15px; }
    .hero-dots { bottom: 12px; }
    .hero-dot { width: 8px; height: 8px; }
    .hero-dot.active { width: 24px; }
    .inner-hero { padding: 35px 0; }
    .inner-hero h1 { font-size: 26px; }
    .page-layout { flex-direction: column; }
    .page-sidebar { width: 100%; position: static; }
    .feature-strip { flex-direction: column; }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: 10px;
    }
    .cart-item-price,
    .cart-item .qty-controls { grid-column: 2; }
    .cart-item-remove { position: absolute; top: 15px; right: 0; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .hero-carousel-inner { height: 240px; }
    .hero-title { font-size: 22px; }
    .hero-subtitle { font-size: 13px; }
    .hero-overlay { padding: 20px; }
    .hero-btn { padding: 10px 22px; font-size: 13px; }
    .inner-hero h1 { font-size: 22px; }
    .section-title h2 { font-size: 22px; }
}
