/* =================================================================
   penupazbestga - Premium Bag Store
   Colors: Beige (#E8D4B0), Gold (#C9A961), White (#FFFFFF), Black (#2C2C2C)
   ================================================================= */

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

:root {
    --primary-gold: #C9A961;
    --secondary-beige: #E8D4B0;
    --dark: #2C2C2C;
    --light: #FFFFFF;
    --text-gray: #666666;
    --border-light: #E5E5E5;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #FAFAFA;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--light);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--dark);
    color: var(--light);
    padding: 8px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-top a {
    color: var(--primary-gold);
    margin-left: 15px;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--dark);
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-beige) 0%, #F5EBD8 100%);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--primary-gold);
    color: var(--light);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: #B8954E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.4);
}

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

.btn-secondary:hover {
    background: #1A1A1A;
}

/* Categories Section */
.categories {
    padding: 60px 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--dark);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-gold);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.category-card {
    background: linear-gradient(135deg, #F8F4EF 0%, var(--secondary-beige) 100%);
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.category-card svg {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    fill: var(--primary-gold);
}

.category-card h3 {
    font-size: 18px;
    color: var(--dark);
}

/* Products Section */
.products {
    padding: 60px 0;
}

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

.product-card {
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--secondary-beige) 0%, #F5EBD8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-price {
    font-size: 24px;
    color: var(--primary-gold);
    font-weight: 700;
    margin-bottom: 15px;
}

.product-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Features Section */
.features {
    padding: 60px 0;
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

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

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

/* About Section */
.about-section {
    padding: 60px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 15px;
}

/* Contact Form */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    background: var(--light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 15px var(--shadow);
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--dark);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: var(--secondary-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    color: var(--primary-gold);
    font-size: 20px;
}

.info-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--dark);
}

.info-content p {
    color: var(--text-gray);
    font-size: 14px;
}

.contact-form {
    background: var(--light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 15px var(--shadow);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-light);
    border-radius: 5px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
}

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

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

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.product-detail-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--secondary-beige) 0%, #F5EBD8 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.product-detail-info h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--dark);
}

.product-detail-info .product-price {
    font-size: 32px;
    margin-bottom: 20px;
}

.product-meta {
    margin: 25px 0;
    padding: 25px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.meta-item {
    display: flex;
    margin-bottom: 12px;
}

.meta-item strong {
    width: 120px;
    color: var(--dark);
}

.meta-item span {
    color: var(--text-gray);
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
}

.legal-content h1 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--dark);
}

.legal-content h2 {
    font-size: 24px;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--dark);
}

.legal-content h3 {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 12px;
    color: var(--dark);
}

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.legal-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.legal-content li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--light);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #999;
}

/* Alert/Notification */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.alert.show {
    display: block;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Stock Badge */
.stock-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.in-stock {
    background: #d4edda;
    color: #155724;
}

.low-stock {
    background: #fff3cd;
    color: #856404;
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
}

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

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Cart Link in Navigation */
.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-count {
    background: var(--primary-gold);
    color: var(--light);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* Cart Page Styles */
.cart-section {
    padding: 60px 0;
    min-height: 60vh;
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-cart h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--dark);
}

.empty-cart p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.cart-items-wrapper {
    background: var(--light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px var(--shadow);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
    gap: 20px;
}

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

.cart-item-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark);
}

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

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F5F5F5;
    padding: 5px 10px;
    border-radius: 5px;
}

.qty-btn {
    background: var(--primary-gold);
    color: var(--light);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #B8954E;
}

.quantity {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.cart-item-total {
    font-weight: 700;
    font-size: 18px;
    color: var(--dark);
    min-width: 80px;
    text-align: right;
}

.remove-btn {
    background: #FF4444;
    color: var(--light);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: #CC0000;
}

/* Cart Summary */
.cart-summary {
    background: var(--light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px var(--shadow);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.cart-summary h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--dark);
}

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

.summary-row span {
    color: var(--text-gray);
}

.free-delivery {
    color: #28a745 !important;
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background: var(--border-light);
    margin: 20px 0;
}

.total-row {
    font-size: 20px;
    color: var(--dark);
}

.total-row strong {
    color: var(--primary-gold);
}

.cart-actions-buttons {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-checkout {
    width: 100%;
    text-align: center;
}

.continue-shopping {
    text-align: center;
    margin-top: 20px;
}

.continue-shopping a {
    color: var(--primary-gold);
    font-size: 14px;
    text-decoration: underline;
}

.continue-shopping a:hover {
    color: #B8954E;
}

/* Cart Info Section */
.cart-info-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.info-box {
    background: var(--light);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px var(--shadow);
}

.info-box .info-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.info-box h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--dark);
}

.info-box p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Responsive Design */

/* Large Tablets and Small Desktops (1024px - 1200px) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        max-width: 720px;
        padding: 0 20px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 38px;
    }

    .section-title {
        font-size: 32px;
    }

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

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-detail-image {
        height: 400px;
    }

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

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

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

/* Mobile Large (481px - 768px) */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    /* Header */
    .header-top .container {
        font-size: 11px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .header-top a {
        margin-left: 8px;
    }

    .header-main {
        padding: 10px 0;
    }

    .logo img {
        height: 40px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--light);
        box-shadow: 0 5px 10px var(--shadow);
        z-index: 999;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    nav li {
        border-bottom: 1px solid var(--border-light);
    }

    nav a {
        display: block;
        padding: 12px 20px;
        font-size: 15px;
    }

    /* Hero */
    .hero {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 14px;
    }

    /* Sections */
    .section-title {
        font-size: 28px;
        margin-bottom: 35px;
    }

    .products,
    .categories,
    .features,
    .about-section {
        padding: 40px 0;
    }

    /* Category Grid */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .category-card {
        padding: 30px 15px;
    }

    .category-card svg {
        width: 45px;
        height: 45px;
    }

    .category-card h3 {
        font-size: 16px;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .product-image {
        height: 280px;
    }

    .product-info {
        padding: 18px;
    }

    .product-name {
        font-size: 18px;
    }

    .product-price {
        font-size: 22px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        padding: 30px;
    }

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

    .product-detail-image {
        height: 350px;
    }

    .product-detail-info h1 {
        font-size: 28px;
    }

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

    .product-actions .btn {
        width: 100%;
        text-align: center;
    }

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

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

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cart-item-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .cart-item-total {
        min-width: auto;
    }

    .cart-summary {
        position: static;
    }

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

    /* Breadcrumb */
    .breadcrumb {
        font-size: 13px;
        padding: 15px 0;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    /* Header */
    .header-top {
        padding: 6px 0;
        font-size: 10px;
    }

    .header-top .container {
        gap: 5px;
    }

    .logo img {
        height: 35px;
    }

    /* Hero */
    .hero {
        padding: 30px 0;
    }

    .hero h1 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .btn {
        padding: 10px 22px;
        font-size: 13px;
        border-radius: 25px;
    }

    /* Sections */
    .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .section-title::after {
        width: 60px;
    }

    .products,
    .categories,
    .features {
        padding: 30px 0;
    }

    /* Categories */
    .category-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .category-card {
        padding: 25px 12px;
    }

    .category-card svg {
        width: 40px;
        height: 40px;
    }

    .category-card h3 {
        font-size: 15px;
    }

    /* Products */
    .product-card {
        max-width: 100%;
    }

    .product-image {
        height: 250px;
    }

    .product-info {
        padding: 15px;
    }

    .product-name {
        font-size: 17px;
    }

    .product-price {
        font-size: 20px;
    }

    .product-description {
        font-size: 13px;
    }

    /* Product Detail */
    .product-detail-image {
        height: 300px;
    }

    .product-detail-info h1 {
        font-size: 24px;
    }

    .product-detail-info .product-price {
        font-size: 28px;
    }

    .product-meta {
        padding: 20px 0;
    }

    .meta-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .meta-item strong {
        width: auto;
    }

    /* Features */
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }

    .feature-item h3 {
        font-size: 18px;
    }

    .feature-item p {
        font-size: 14px;
    }

    /* Contact */
    .contact-info,
    .contact-form {
        padding: 20px;
    }

    .contact-info h3 {
        font-size: 20px;
    }

    .info-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }

    /* Cart */
    .cart-items-wrapper,
    .cart-summary {
        padding: 20px;
    }

    .cart-item {
        padding: 15px;
    }

    .quantity-controls {
        padding: 4px 8px;
    }

    .qty-btn {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .cart-item-total {
        font-size: 16px;
    }

    .remove-btn {
        width: 32px;
        height: 32px;
    }

    /* Footer */
    footer {
        padding: 35px 0 15px;
    }

    .footer-grid {
        gap: 25px;
    }

    .footer-column h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-column li {
        margin-bottom: 10px;
        font-size: 13px;
    }

    .footer-bottom {
        padding-top: 20px;
        font-size: 12px;
    }

    /* Cookie Banner */
    .cookie-banner {
        bottom: 10px !important;
        left: 10px !important;
        right: 10px !important;
        max-width: none !important;
        padding: 20px !important;
    }

    .cookie-icon {
        font-size: 35px;
        margin-bottom: 12px;
    }

    .cookie-banner h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .cookie-banner p {
        font-size: 13px;
    }
    
    .cookie-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .cookie-buttons button {
        width: 100% !important;
    }

    /* Legal Pages */
    .legal-content h1 {
        font-size: 28px;
    }

    .legal-content h2 {
        font-size: 20px;
        margin-top: 25px;
    }

    .legal-content h3 {
        font-size: 18px;
        margin-top: 20px;
    }

    .legal-content p,
    .legal-content li {
        font-size: 14px;
    }

    /* About */
    .about-content p {
        font-size: 15px;
    }

    /* Utility */
    .alert {
        padding: 12px 15px;
        font-size: 13px;
    }

    .stock-badge {
        font-size: 11px;
        padding: 4px 10px;
    }
}

/* Extra Small Devices (< 360px) */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 22px;
    }

    .section-title {
        font-size: 22px;
    }

    .btn {
        font-size: 12px;
        padding: 9px 18px;
    }

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

    .category-card {
        padding: 20px 10px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }

    nav a {
        padding: 15px 20px;
        min-height: 44px;
    }

    .mobile-menu-toggle {
        min-width: 44px;
        min-height: 44px;
        padding: 8px;
    }

    /* Remove hover effects on touch devices */
    .product-card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    .category-card:hover {
        transform: none;
    }

    /* Improve tap highlighting */
    * {
        -webkit-tap-highlight-color: rgba(201, 169, 97, 0.2);
    }

    /* Better scrolling */
    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* Landscape Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 30px 0;
    }

    .hero h1 {
        font-size: 28px;
    }

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

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .mobile-menu-toggle,
    .cookie-banner,
    .btn {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    .container {
        max-width: 100%;
    }

    a {
        text-decoration: underline;
        color: #000;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: var(--light);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    padding: 25px;
    z-index: 10000;
    display: none;
    animation: slideUp 0.4s ease;
}

.cookie-banner.show {
    display: block;
}

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

.cookie-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.cookie-banner h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
}

.cookie-banner p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.cookie-banner a {
    color: var(--primary-gold);
    text-decoration: underline;
}

.cookie-banner a:hover {
    color: #B8954E;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.cookie-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-btn-accept {
    background: var(--primary-gold);
    color: var(--light);
}

.cookie-btn-accept:hover {
    background: #B8954E;
    transform: translateY(-2px);
}

.cookie-btn-decline {
    background: var(--border-light);
    color: var(--dark);
}

.cookie-btn-decline:hover {
    background: #D0D0D0;
}

