/* ========================================
   D.MONKEY FIGURINE - MAIN STYLESHEET
   Anime Collectibles E-Commerce Website
   ======================================== */

/* ---- CSS Variables ---- */
:root {
    --color-primary: #1a1a1a;
    --color-secondary: #333333;
    --color-accent: #E31B23;
    --color-accent-hover: #b9161c;
    --color-accent-light: #fef2f4;
    --color-bg: #ffffff;
    --color-bg-light: #f7f7f7;
    --color-bg-dark: #f0f0f0;
    --color-text: #1a1a1a;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-border: #e5e5e5;
    --color-border-light: #eeeeee;
    --color-success: #2d8a3e;
    --color-warning: #d97706;
    --color-danger: #dc2626;
    --color-sold-out: #9ca3af;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.25s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

ul {
    list-style: none;
}

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
}

/* ---- Container ---- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--color-primary);
    color: #fff;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.top-bar i {
    margin-right: 0.3rem;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    background: #fff;
    border-bottom: 1px solid var(--color-border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 1px;
    color: var(--color-primary);
}

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

.logo-icon {
    color: var(--color-accent);
    font-size: 1.4rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-menu > li > a {
    display: block;
    padding: 0 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    line-height: 64px;
    white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--color-accent);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle i {
    font-size: 0.7rem;
    margin-left: 0.2rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: var(--transition);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    color: var(--color-text);
}

.dropdown-menu a:hover {
    background: var(--color-bg-light);
    color: var(--color-accent);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-actions a {
    font-size: 1.1rem;
    color: var(--color-text);
    position: relative;
}

.nav-actions a:hover {
    color: var(--color-accent);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: #fff;
}

.btn-secondary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}

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

.btn-text {
    background: none;
    border: none;
    color: var(--color-text-light);
    text-decoration: underline;
    padding: 0.5rem;
}

.btn-text:hover {
    color: var(--color-accent);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-add-cart i {
    font-size: 1rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 500px;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, #fff 100%);
    padding: 3rem 0;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    padding: 0 1.5rem;
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

/* ========================================
   FEATURES
   ======================================== */
.features {
    padding: 3rem 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-item i {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ========================================
   SECTIONS
   ======================================== */
.products-section {
    padding: 3rem 0;
}

.products-section.bg-light {
    background: var(--color-bg-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.view-all {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
}

.view-all i {
    font-size: 0.8rem;
    margin-left: 0.3rem;
}

/* ========================================
   PRODUCT GRID & CARDS
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    transition: var(--transition);
    position: relative;
}

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

.product-card-img {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--color-bg-light);
}

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

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

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.3rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    z-index: 2;
}

.badge-preorder {
    background: var(--color-accent);
    color: #fff;
}

.badge-instock {
    background: var(--color-success);
    color: #fff;
}

.badge-soldout {
    background: var(--color-sold-out);
    color: #fff;
}

.badge-sale {
    background: var(--color-danger);
    color: #fff;
}

.product-card-body {
    padding: 1rem;
}

.product-card-brand {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.product-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.product-card-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-sale {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent);
}

.price-regular {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.product-card-stock {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.product-card-stock.low {
    color: var(--color-danger);
    font-weight: 600;
}

/* ========================================
   NEWSLETTER
   ======================================== */
.newsletter {
    background: var(--color-primary);
    color: #fff;
    padding: 3rem 0;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.newsletter-text h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    min-width: 400px;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: var(--color-text-muted);
}

.newsletter-form button {
    white-space: nowrap;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--color-bg-light);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-accent);
    color: #fff;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-contact p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--color-accent);
    width: 20px;
    margin-right: 0.3rem;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-icons i {
    font-size: 1.5rem;
    color: var(--color-text-muted);
}

.paynow-badge {
    background: var(--color-primary);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb {
    background: var(--color-bg-light);
    padding: 0.75rem 0;
    font-size: 0.85rem;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: var(--color-text-light);
}

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

.breadcrumb span {
    color: var(--color-text-muted);
}

/* ========================================
   PRODUCTS PAGE
   ======================================== */
.products-page {
    padding: 2rem 0;
}

.products-layout {
    display: flex;
    gap: 2rem;
}

/* Filters Sidebar */
.filters-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 80px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.filters-header h3 {
    font-size: 1.1rem;
}

.filter-close {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.filter-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border-light);
}

.filter-group:last-of-type {
    border-bottom: none;
}

.filter-group h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
    cursor: pointer;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 28px;
}

.filter-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-border);
    border-radius: 3px;
    transition: var(--transition);
}

.filter-checkbox input:checked ~ .checkmark {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 4px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox input:checked ~ .checkmark::after {
    display: block;
}

.price-range {
    padding-top: 0.5rem;
}

.price-range input[type="range"] {
    width: 100%;
    margin-bottom: 0.5rem;
    accent-color: var(--color-accent);
}

.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Products Main */
.products-main {
    flex: 1;
}

.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-filter-toggle {
    display: none;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.products-count {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.sort-dropdown select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    background: #fff;
    cursor: pointer;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--color-text);
}

.pagination a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

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

.pagination a.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ========================================
   PRODUCT DETAIL PAGE
   ======================================== */
.product-detail-page {
    padding: 2rem 0;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Gallery */
.product-gallery {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.main-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg-light);
    margin-bottom: 1rem;
}

.main-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--color-text);
    transition: var(--transition);
}

.gallery-nav:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
}

.gallery-nav.prev {
    left: 1rem;
}

.gallery-nav.next {
    right: 1rem;
}

.thumbnail-list {
    display: flex;
    gap: 0.75rem;
}

.thumbnail-list img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.thumbnail-list img.active,
.thumbnail-list img:hover {
    border-color: var(--color-accent);
}

/* Product Info */
.product-info {
    padding-top: 1rem;
}

.product-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-badges .product-badge {
    position: static;
}

.product-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-brand {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sale-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.regular-price {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.product-stock {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.product-stock.in-stock {
    color: var(--color-success);
}

.product-stock.low-stock {
    color: var(--color-warning);
}

.product-stock.out-stock {
    color: var(--color-danger);
}

/* Quantity & Add to Cart */
.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 44px;
    height: 44px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--color-text);
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--color-bg-light);
}

.quantity-selector input {
    width: 50px;
    height: 44px;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    -moz-appearance: textfield;
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Product Meta */
.product-meta {
    border-top: 1px solid var(--color-border-light);
    padding-top: 1rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.meta-label {
    color: var(--color-text-muted);
    min-width: 60px;
}

/* Pre-order Info */
.preorder-info {
    background: var(--color-accent-light);
    border: 1px solid rgba(139, 21, 56, 0.1);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.preorder-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--color-accent);
}

.preorder-info h4 i {
    margin-right: 0.3rem;
}

.preorder-dates {
    margin-bottom: 0.75rem;
}

.date-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.date-label {
    color: var(--color-text-light);
}

.date-value {
    font-weight: 600;
}

.preorder-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Product Tabs */
.product-tabs {
    margin-bottom: 3rem;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition);
    margin-bottom: -1px;
}

.tab-btn.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.tab-btn:hover {
    color: var(--color-accent);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.description-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

.description-content p {
    margin-bottom: 1rem;
}

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--color-border-light);
}

.specs-table td {
    padding: 0.75rem 0;
    font-size: 0.9rem;
}

.specs-table td:first-child {
    width: 30%;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Related Products */
.related-products {
    padding: 2rem 0;
}

.related-products h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ========================================
   CART PAGE
   ======================================== */
.cart-page {
    padding: 2rem 0;
    min-height: 60vh;
}

.cart-page h1 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Cart Items */
.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.cart-item-img {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-bg-light);
}

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

.cart-item-details h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.cart-item-details h4 a:hover {
    color: var(--color-accent);
}

.cart-item-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.cart-item-price {
    font-weight: 700;
    font-size: 1rem;
    text-align: right;
    min-width: 80px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem;
    transition: var(--transition);
}

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

/* Cart Empty */
.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
}

.cart-empty i {
    font-size: 4rem;
    color: var(--color-border);
    margin-bottom: 1.5rem;
}

.cart-empty h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.cart-empty p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

/* Cart Summary */
.cart-summary {
    background: #fff;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: sticky;
    top: 80px;
}

.cart-summary h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border-light);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.summary-row.total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 0.5rem;
}

.summary-divider {
    border-top: 1px solid var(--color-border-light);
    margin: 0.75rem 0;
}

.promo-code {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.promo-code input {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.promo-code button {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
}

.payment-methods {
    margin-top: 1.5rem;
    text-align: center;
}

.payment-methods p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.payment-icons-small {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.payment-icons-small i {
    font-size: 1.3rem;
    color: var(--color-text-muted);
}

/* ========================================
   CHECKOUT PAGE
   ======================================== */
.checkout-page {
    padding: 2rem 0;
    background: var(--color-bg-light);
    min-height: 100vh;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.checkout-page h1 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: start;
}

.checkout-section {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border-light);
}

.checkout-section h2 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-number {
    width: 28px;
    height: 28px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Form */
.form-row {
    margin-bottom: 1rem;
}

.form-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group select {
    cursor: pointer;
}

/* Shipping Options */
.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.shipping-option {
    display: flex;
    cursor: pointer;
}

.shipping-option input {
    margin-right: 1rem;
    margin-top: 0.5rem;
    accent-color: var(--color-accent);
}

.shipping-option-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.shipping-option input:checked ~ .shipping-option-content {
    border-color: var(--color-accent);
    background: var(--color-accent-light);
}

.shipping-option-info {
    display: flex;
    flex-direction: column;
}

.shipping-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.shipping-time {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.shipping-price {
    font-weight: 700;
    font-size: 0.95rem;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-option {
    display: flex;
    cursor: pointer;
}

.payment-option input {
    margin-right: 1rem;
    margin-top: 0.5rem;
    accent-color: var(--color-accent);
}

.payment-option-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.payment-option input:checked ~ .payment-option-content {
    border-color: var(--color-accent);
    background: var(--color-accent-light);
}

.payment-name {
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-name i {
    font-size: 1.1rem;
    width: 24px;
}

.payment-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 0.2rem;
}

/* Card Form */
.card-form {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-sm);
}

.checkout-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

/* Checkout Summary */
.checkout-summary {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--color-border-light);
    position: sticky;
    top: 80px;
}

.checkout-summary h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border-light);
}

.checkout-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border-light);
}

.checkout-item-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-bg-light);
    flex-shrink: 0;
}

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

.checkout-item-info {
    flex: 1;
}

.checkout-item-info h4 {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.checkout-item-info .qty {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.checkout-item-price {
    font-weight: 600;
    font-size: 0.9rem;
}

.checkout-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkout-note i {
    color: var(--color-success);
}

/* ========================================
   INFO PAGES (About, FAQ, Shipping, etc.)
   ======================================== */
.info-page {
    padding: 2rem 0 4rem;
    min-height: 60vh;
}

.info-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
}

.info-sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.info-sidebar h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

.info-sidebar ul li {
    margin-bottom: 0.25rem;
}

.info-sidebar a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.info-sidebar a:hover,
.info-sidebar a.active {
    background: var(--color-accent-light);
    color: var(--color-accent);
}

.info-content h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.page-intro {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.info-section {
    margin-bottom: 2.5rem;
}

.info-section h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-section h2 i {
    color: var(--color-accent);
}

.info-section h3 {
    font-size: 1rem;
    margin: 1.25rem 0 0.75rem;
}

.info-section p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.info-section ul {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.info-section ul li {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 0.4rem;
    list-style: disc;
}

/* Notice Box */
.notice-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    gap: 0.75rem;
    margin: 1rem 0;
}

.notice-box i {
    color: #3b82f6;
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.notice-box p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--color-text);
}

.notice-warning {
    background: #fffbeb;
    border-color: #fcd34d;
}

.notice-warning i {
    color: #d97706;
}

/* Rates Table */
.rates-table-wrapper {
    overflow-x: auto;
    margin: 1rem 0;
}

.rates-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.rates-table th,
.rates-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border-light);
}

.rates-table th {
    background: var(--color-bg-light);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
}

.rates-table td {
    color: var(--color-text-light);
}

/* Pickup Card */
.pickup-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 1rem 0;
}

.pickup-details p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.pickup-details i {
    color: var(--color-accent);
    width: 20px;
}

/* FAQ */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #fff;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--color-bg-light);
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.25rem 1rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

.faq-list .faq-item {
    margin-bottom: 1rem;
    border: none;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border-light);
    border-radius: 0;
}

.faq-list .faq-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.faq-list .faq-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Policy Cards */
.policy-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1rem 0;
}

.policy-card {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
}

.policy-card i {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-card.eligible i {
    color: var(--color-success);
}

.policy-card.not-eligible i {
    color: var(--color-danger);
}

.policy-card h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.policy-card ul {
    padding-left: 1.25rem;
}

.policy-card ul li {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0.3rem;
    list-style: disc;
}

/* Steps */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.step-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

/* Contact Methods */
.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.contact-method i {
    color: var(--color-accent);
}

/* About Page */
.about-hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}

.about-hero img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.about-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.about-hero-overlay p {
    color: #fff;
    font-size: 1.25rem;
    font-style: italic;
    margin: 0;
}

.about-features {
    margin: 1.5rem 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.brand-card {
    padding: 1.25rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
}

.brand-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.brand-card p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

.store-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.store-detail {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.store-detail i {
    color: var(--color-accent);
    margin-top: 0.2rem;
}

.store-detail strong {
    display: block;
    margin-bottom: 0.2rem;
}

.store-detail p {
    margin: 0;
    font-size: 0.9rem;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-page {
    padding: 2rem 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info-section h1 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.contact-info-section > p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-methods-large {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-method-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--color-accent);
    font-size: 1.2rem;
}

.contact-method-details h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-method-details p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0.15rem;
    line-height: 1.5;
}

.contact-method-details a {
    color: var(--color-accent);
}

.contact-hours {
    font-size: 0.8rem !important;
    color: var(--color-text-muted) !important;
}

.social-section h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.social-links-large {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--color-accent);
    color: #fff;
}

/* Contact Form */
.contact-form-section {
    background: #fff;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.contact-form-section h2 {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Map Section */
.map-section {
    margin-top: 2rem;
}

.map-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.map-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.directions-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.direction-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.direction-item i {
    color: var(--color-accent);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.direction-item strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.direction-item p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.5;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ======================================== */

/* Large Desktop */
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet & Small Desktop */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-layout {
        grid-template-columns: 200px 1fr;
        gap: 2rem;
    }

    .product-detail-layout {
        gap: 2rem;
    }

    .cart-layout {
        grid-template-columns: 1.5fr 1fr;
    }

    .checkout-layout {
        grid-template-columns: 1fr 1fr;
    }

    .contact-layout {
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    /* Mobile Nav */
    .mobile-menu-toggle {
        display: flex;
        order: -1;
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - 64px);
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 0;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu > li > a {
        padding: 0.75rem 1.5rem;
        line-height: normal;
        border-bottom: 1px solid var(--color-border-light);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding-left: 2.5rem;
    }

    .dropdown-toggle i {
        transition: transform 0.3s ease;
    }

    .dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }

    /* Hero */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image {
        max-width: 100%;
        padding: 0 1rem;
    }

    /* Features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Products Grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Newsletter */
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        min-width: auto;
        width: 100%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Products Page Layout */
    .products-layout {
        flex-direction: column;
    }

    .filters-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        z-index: 2000;
        border-radius: 0;
        overflow-y: auto;
        transition: left 0.3s ease;
    }

    .filters-sidebar.active {
        left: 0;
    }

    .filter-close {
        display: block;
    }

    .btn-filter-toggle {
        display: inline-flex;
    }

    /* Product Detail */
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        position: static;
    }

    .thumbnail-list img {
        width: 60px;
        height: 60px;
    }

    .product-title {
        font-size: 1.4rem;
    }

    /* Cart */
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto;
        gap: 1rem;
    }

    .cart-item-price {
        grid-column: 2;
        text-align: left;
    }

    /* Checkout */
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    /* Info Pages */
    .info-layout {
        grid-template-columns: 1fr;
    }

    .info-sidebar {
        position: static;
        display: none;
    }

    .pickup-card {
        grid-template-columns: 1fr;
    }

    .policy-cards {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .directions-info {
        grid-template-columns: 1fr;
    }

    .about-hero img {
        height: 200px;
    }

    /* Form rows */
    .form-row.two-col {
        grid-template-columns: 1fr;
    }

    .checkout-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .checkout-actions .btn {
        width: 100%;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn-lg {
        padding: 0.8rem 1.25rem;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.25rem;
    }

    .products-grid {
        gap: 0.75rem;
    }

    .product-card-body {
        padding: 0.75rem;
    }

    .product-card-title {
        font-size: 0.8rem;
    }

    .sale-price {
        font-size: 0.9rem;
    }

    .price-regular {
        font-size: 0.75rem;
    }

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

    .product-actions {
        flex-direction: column;
    }

    .quantity-selector {
        width: fit-content;
    }

    .tabs-nav {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}

/* ========================================
   UTILITIES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.hidden { display: none !important; }
