/* ============================================
   Punupkazxarkyt - E-commerce Bag Store
   Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --color-primary-dark: #1a1a1a;
    --color-primary-text: #2c2c2c;
    --color-accent: #c9a961;
    --color-accent-light: #e5d4a3;
    --color-background: #ffffff;
    --color-background-light: #f8f7f4;
    --color-border: #e0ddd8;
    --color-text-light: #666666;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--color-primary-text);
    background-color: var(--color-background);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

/* Touch-friendly elements */
button, a, input, textarea, select {
    -webkit-tap-highlight-color: rgba(201, 169, 97, 0.3);
}

button, .btn {
    touch-action: manipulation;
    min-height: 44px; /* iOS recommended touch target */
}

/* ============================================
   Header
   ============================================ */

header {
    background-color: var(--color-primary-dark);
    color: var(--color-background);
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
}

.logo img {
    width: 40px;
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--color-background);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-accent);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    color: var(--color-primary-dark);
}

.cart-link:hover {
    background-color: var(--color-accent-light);
}

.cart-count {
    background-color: var(--color-primary-dark);
    color: var(--color-background);
    padding: 0.25rem 0.5rem;
    border-radius: 50%;
    font-size: 0.875rem;
    min-width: 24px;
    text-align: center;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    color: var(--color-background);
    font-size: 1.5rem;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        min-width: 44px;
        min-height: 44px;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(26, 26, 26, 0.98);
        padding: 2rem 1rem;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 2000;
        overflow-y: auto;
    }

    nav.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
        margin-top: 4rem;
    }

    nav a {
        font-size: 1.125rem;
        padding: 0.75rem 0;
        display: block;
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .cart-link {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    /* Prevent scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* ============================================
   Main Content
   ============================================ */

main {
    flex: 1;
    padding: 2rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--color-background-light) 0%, var(--color-background) 100%);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23c9a961" opacity="0.1" width="100" height="100"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: var(--color-accent-light);
}

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

.btn-secondary:hover {
    background-color: var(--color-text-light);
}

/* ============================================
   Sections
   ============================================ */

.section {
    padding: 4rem 2rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-primary-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Categories
   ============================================ */

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

.category-card {
    background-color: var(--color-background);
    border: 2px solid var(--color-border);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
}

/* ============================================
   Products Grid
   ============================================ */

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

.product-card {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: scale(1);
}

.product-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.product-image {
    width: 100%;
    height: 250px;
    background-color: var(--color-background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.product-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
    font-size: 3rem;
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-primary-dark);
}

.product-description {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    flex: 1;
}

.product-features {
    list-style: none;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.product-features li {
    padding: 0.25rem 0;
}

.product-features li::before {
    content: '• ';
    color: var(--color-accent);
    font-weight: bold;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.btn-add-to-cart {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--color-primary-dark);
    color: var(--color-background);
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
}

.btn-add-to-cart:hover {
    background-color: var(--color-text-light);
}

/* ============================================
   Features / Benefits
   ============================================ */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
}

.feature-card p {
    color: var(--color-text-light);
}

/* ============================================
   Store Gallery
   ============================================ */

.store-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.store-image-card {
    background-color: var(--color-background);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.store-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.store-image-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.store-image-card > div {
    padding: 1.5rem;
}

.store-image-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
}

.store-image-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .store-gallery {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Filters
   ============================================ */

.filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--color-background);
    border: 2px solid var(--color-border);
    border-radius: 5px;
    font-weight: 500;
    color: var(--color-primary-text);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary-dark);
}

/* ============================================
   Cart Page
   ============================================ */

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background-color: var(--color-background);
    border-radius: 10px;
    overflow: hidden;
}

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

.cart-table th {
    background-color: var(--color-background-light);
    font-weight: 600;
    color: var(--color-primary-dark);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background-color: var(--color-background-light);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .quantity-btn {
        width: 36px;
        height: 36px;
        background-color: var(--color-accent);
        color: var(--color-primary-dark);
        border-radius: 5px;
        font-weight: 600;
        min-width: 36px;
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }

.quantity-input {
    width: 60px;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid var(--color-border);
    border-radius: 5px;
}

.remove-btn {
    background-color: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.875rem;
}

.remove-btn:hover {
    background-color: #c82333;
}

.cart-summary {
    background-color: var(--color-background-light);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.cart-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.cart-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   Order Form
   ============================================ */

.order-form {
    background-color: var(--color-background-light);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-primary-dark);
}

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 0.75rem;
        border: 2px solid var(--color-border);
        border-radius: 5px;
        font-size: 1rem;
        transition: var(--transition);
        min-height: 44px; /* Touch-friendly */
    }

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

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.form-note {
    background-color: var(--color-background);
    padding: 1rem;
    border-left: 4px solid var(--color-accent);
    margin-top: 1rem;
    font-size: 0.9375rem;
    color: var(--color-text-light);
}

/* ============================================
   Content Pages
   ============================================ */

.content-page {
    max-width: 800px;
    margin: 0 auto;
}

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-primary-dark);
}

.content-page h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.content-page h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary-dark);
}

.content-page p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-page ul,
.content-page ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-page li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background-color: var(--color-background-light);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

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

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--color-background-light);
    border: 2px solid var(--color-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

/* ============================================
   Footer
   ============================================ */

footer {
    background-color: var(--color-primary-dark);
    color: var(--color-background);
    padding: 3rem 2rem 1rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.footer-section p {
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
}

/* ============================================
   Cookie Banner
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-primary-dark);
    color: var(--color-background);
    padding: 1.5rem 2rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-text {
    flex: 1;
}

.cookie-text a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    border-radius: 5px;
    font-weight: 600;
}

.cookie-btn:hover {
    background-color: var(--color-accent-light);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* ============================================
   Animations
   ============================================ */

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ============================================
   Responsive - Tablets (768px - 1024px)
   ============================================ */

@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

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

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

    .cart-table {
        font-size: 0.9375rem;
    }

    .cart-table th,
    .cart-table td {
        padding: 0.75rem;
    }

    .map-container iframe {
        height: 350px;
    }

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

    .product-image {
        height: 220px;
    }

    .store-image-card img {
        height: 220px;
    }
}

/* ============================================
   Responsive - Mobile Tablets (max-width: 768px)
   ============================================ */

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1rem;
    }

    header {
        padding: 0.75rem 1rem;
    }

    .header-container {
        padding: 0;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo img {
        width: 35px;
        height: 35px;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

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

    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }

    .categories {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-card {
        padding: 1.5rem;
    }

    .category-icon {
        font-size: 2.5rem;
    }

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

    .product-image {
        height: 200px;
    }

    .store-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .store-image-card img {
        height: 200px;
    }

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

    .feature-card {
        padding: 1.5rem;
    }

    .filters {
        gap: 0.75rem;
    }

    .filter-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .cart-table {
        font-size: 0.875rem;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tbody {
        display: block;
    }

    .cart-table tr {
        display: block;
        margin-bottom: 1.5rem;
        border: 2px solid var(--color-border);
        border-radius: 10px;
        padding: 1rem;
        background-color: var(--color-background);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .cart-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0;
        text-align: left !important;
        border: none;
        border-bottom: 1px solid var(--color-border);
    }

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

    .cart-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--color-primary-dark);
        margin-right: 1rem;
        flex-shrink: 0;
    }

    .cart-item-image {
        width: 100%;
        height: 200px;
        margin-bottom: 0;
    }

    .cart-table td:first-child {
        border-bottom: 1px solid var(--color-border);
        margin-bottom: 0.5rem;
        padding-bottom: 1rem;
    }

    .cart-table td:first-child::before {
        display: none;
    }

    .cart-table td:first-child {
        justify-content: center;
    }

    .quantity-control {
        justify-content: center;
        margin: 0.5rem 0;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .quantity-btn {
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }

    .quantity-input {
        min-width: 80px;
        width: 80px;
        height: 44px;
        font-size: 1rem;
    }

    .cart-summary {
        padding: 1.5rem;
    }

    .order-form {
        padding: 1.5rem;
    }

    .content-page {
        padding: 0 1rem;
    }

    .content-page h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .content-page h2 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .content-page h3 {
        font-size: 1.125rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    .contact-item strong {
        min-width: auto;
        display: block;
        margin-bottom: 0.25rem;
    }

    .map-container iframe {
        height: 300px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .btn-add-to-cart {
        padding: 0.625rem;
        font-size: 0.9375rem;
    }
}

/* ============================================
   Responsive - Small Mobile (max-width: 480px)
   ============================================ */

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    header {
        padding: 0.5rem 0.75rem;
    }

    .logo {
        font-size: 1.125rem;
    }

    .logo span {
        display: none;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .mobile-menu-toggle {
        font-size: 1.25rem;
    }

    .hero {
        padding: 2rem 0.75rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.875rem;
    }

    .section {
        padding: 2rem 0.75rem;
    }

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

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-card {
        margin: 0 auto;
        max-width: 100%;
    }

    .product-image {
        height: 220px;
    }

    .category-card {
        padding: 1.25rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
        flex: 1;
        min-width: calc(50% - 0.25rem);
    }

    .cart-table {
        font-size: 0.8125rem;
    }

    .cart-table tr {
        padding: 0.75rem;
    }

    .cart-table td {
        padding: 0.5rem 0;
        font-size: 0.8125rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-table td::before {
        margin-bottom: 0.25rem;
        margin-right: 0;
    }

    .cart-summary,
    .order-form {
        padding: 1.25rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.625rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .checkbox-group {
        font-size: 0.875rem;
    }

    .content-page h1 {
        font-size: 1.75rem;
    }

    .content-page h2 {
        font-size: 1.25rem;
    }

    .contact-info {
        padding: 1.25rem;
    }

    .map-container iframe {
        height: 250px;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        width: 100%;
        font-size: 0.875rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}
