@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700;800;900&display=swap');

:root {
    --primary: #10b981;
    --primary-dark: #0f766e;
    --secondary: #0f172a;
    --accent: #38bdf8;
    --text: #0f172a;
    --text-light: #64748b;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --border: rgba(15, 23, 42, 0.08);
    --shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
}

/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    color: var(--text);
    line-height: 1.6;
    background: radial-gradient(circle at top left, #f4fff7 0%, #f7fbff 35%, #f5f8ff 100%);
    position: relative;
    animation: fadeBody 0.8s ease-out;
}

@keyframes fadeBody {
    from { opacity: 0.85; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}

::selection {
    background: rgba(22, 163, 74, 0.25);
    color: var(--secondary);
}

body::before,
body::after {
    content: '';
    position: fixed;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -2;
    opacity: 0.3;
    pointer-events: none;
}

body::before {
    top: -80px;
    right: -60px;
    background: #38bdf8;
}

body::after {
    bottom: -100px;
    left: -80px;
    background: #16a34a;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Fondo */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.08), rgba(56, 189, 248, 0.08)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    z-index: -1;
    opacity: 0.14;
    filter: blur(1px);
}

/* Header */
header {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.9));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    padding: 18px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 16px 45px rgba(2, 6, 23, 0.34);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

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

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo h1 {
    font-size: 28px;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    color: #ffffff;
}

.logo h1 span {
    color: var(--primary);
}

.logo p {
    margin-left: 10px;
    font-size: 14px;
    opacity: 0.8;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px;
}

nav ul li {
    margin-left: 8px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 12px;
    bottom: 4px;
    width: calc(100% - 24px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

nav ul li a:hover::after {
    transform: scaleX(1);
}

nav ul li a i {
    margin-right: 6px;
}

#cart-count {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 999px;
    padding: 2px 7px;
    font-size: 12px;
    margin-left: 6px;
    font-weight: 700;
}

/* Menú hamburguesa */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 120px 0 80px;
    color: var(--text);
    position: relative;
    isolation: isolate;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.07), rgba(14, 165, 233, 0.1));
    border-radius: 0 0 40px 40px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 6% 8% auto;
    height: 85%;
    background: radial-gradient(circle at top, rgba(16, 185, 129, 0.24), rgba(56, 189, 248, 0.16) 40%, transparent 75%);
    z-index: -1;
    border-radius: 46px;
    filter: blur(3px);
    transform: rotate(-2deg);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1.4fr) minmax(260px, 0.8fr);
    align-items: center;
    gap: 2rem;
}

.hero-image {
    width: 100%;
    min-height: 640px;
    border-radius: 36px;
    background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.08)), url(../assets/images_productos/tecno.png) no-repeat left center/contain;
    background-color: rgba(255,255,255,0.05);
    box-shadow: 0 38px 80px rgba(15, 23, 42, 0.18);
    transform: translate(0, -48px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-content {
    max-width: 520px;
    margin: 0;
    text-align: left;
    padding-left: 16px;
}

.hero-content h1,
.hero-content h2 {
    font-size: 58px;
    margin-bottom: 20px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1.5px;
    text-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    color: transparent;
    background: linear-gradient(90deg, #0f766e 0%, #10b981 45%, #0ea5e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), #0ea5e9 70%, #38bdf8);
    color: white;
    padding: 14px 34px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    box-shadow: 0 16px 34px rgba(16, 185, 129, 0.34);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-size: 0.96rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(22, 163, 74, 0.35);
    filter: saturate(1.1);
}

/* Secciones */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 15px;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 999px;
}

section {
    padding: 80px 0;
}

/* Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(248,250,252,0.9));
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.75);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.06), transparent 50%);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(22, 163, 74, 0.3);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
}

.service-card i {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 18px;
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.14), rgba(56, 189, 248, 0.16));
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 22px;
    color: var(--secondary);
}

/* Productos */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(248,250,252,0.9));
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.75);
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.product-card::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
}

.product-card:hover::after {
    transform: scaleX(1);
}

.product-image {
    height: 210px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: var(--secondary);
}

.product-info p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.product-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
    letter-spacing: -0.3px;
}

.add-to-cart {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.18);
    letter-spacing: 0.2px;
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(22, 163, 74, 0.24);
}

/* Contacto */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    background: linear-gradient(135deg, rgba(240,253,244,0.95) 0%, rgba(236,254,255,0.95) 100%);
    padding: 40px;
    border-radius: 28px;
    box-shadow: var(--shadow);
    color: var(--secondary);
    border: 1px solid rgba(22, 163, 74, 0.16);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-content::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--secondary);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary);
    width: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--secondary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    color: white;
    padding: 50px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(22,163,74,0.18), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--primary);
}

.footer-section h3 .brand-logo {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    letter-spacing: 0;
}

.footer-section h3 .brand-logo span {
    color: var(--primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
    color: #94a3b8;
}

/* Carrito de compras */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: var(--surface);
    box-shadow: -15px 0 40px rgba(15, 23, 42, 0.18);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #f8fafc, #f0fdf4);
}

.cart-header h3 {
    margin: 0;
    color: var(--secondary);
}

#close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #64748b;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    margin-right: 15px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--secondary);
}

.cart-item-price {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.cart-item-remove {
    color: #ef4444;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f8fafc;
}

#checkout-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.18);
}

#checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(22, 163, 74, 0.24);
}

/* Overlay para el carrito */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 6, 23, 0.55);
    z-index: 1000;
    display: none;
}

.cart-overlay.active {
    display: block;
}

/* Estilos para el menú de usuario logueado */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(15, 23, 42, 0.97);
    min-width: 170px;
    box-shadow: 0px 12px 24px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 12px;
    padding: 10px 0;
    right: 0;
    overflow: hidden;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropbtn {
    display: flex;
    align-items: center;
}

.dropbtn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropbtn i {
    transform: rotate(180deg);
}

.success-message {
    color: #16a34a;
    font-weight: 700;
}

.error-message {
    color: #dc2626;
    font-weight: 700;
}

.loading-message {
    color: #64748b;
    font-style: italic;
}

/* Responsive */
@media (max-width: 992px) {
    header {
        padding: 14px 0;
    }

    header .container {
        flex-wrap: wrap;
    }

    nav {
        flex: 1;
    }

    nav ul li {
        margin-left: 4px;
    }

    nav ul li a {
        padding: 7px 10px;
        font-size: 0.92rem;
    }

    .hero {
        min-height: auto;
        padding: 110px 0 64px;
    }

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

    .hero-image {
        min-height: 420px;
        max-width: 760px;
        margin: 0 auto;
        transform: translate(0, 0);
        background-position: center center;
        background-size: contain;
    }

    .hero-content {
        max-width: 100%;
        padding-left: 0;
        text-align: center;
        order: -1;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 44px;
    }

    .hero-content p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 94%;
        padding: 0 10px;
    }

    header .container {
        display: block;
        position: relative;
    }

    .logo {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        margin-left: 10px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: #fff;
    }
    
    nav ul {
        display: none;
        position: static;
        width: 100%;
        background: rgba(15, 23, 42, 0.97);
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        margin-top: 12px;
        border-radius: 18px;
        box-shadow: 0 18px 36px rgba(2, 6, 23, 0.28);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    nav.active ul {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: left;
        padding: 0;
        width: 100%;
    }

    nav ul li a {
        width: 100%;
        justify-content: center;
        padding: 11px 12px;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        margin-top: 6px;
        background: rgba(2, 6, 23, 0.65);
        box-shadow: none;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }
    
    .hero {
        padding: 92px 0 48px;
        border-radius: 0 0 26px 26px;
    }

    .hero::before {
        inset: 8% 4% auto;
        height: 76%;
        border-radius: 28px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-image {
        min-height: 330px;
        border-radius: 24px;
        background-position: center center;
        background-size: contain;
        box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
    }

    .hero-content {
        padding-left: 0;
        text-align: center;
    }
    
    .hero-content h1,
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
    }
    
    section {
        padding: 54px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 24px;
        border-radius: 22px;
    }

    .contact-info p {
        align-items: flex-start;
        overflow-wrap: anywhere;
    }
    
    .cart-sidebar {
        width: 94%;
        max-width: none;
    }
}

@media (max-width: 576px) {
    body::before,
    body::after {
        width: 240px;
        height: 240px;
        filter: blur(70px);
    }

    header {
        padding: 12px 0;
    }

    .logo h1 {
        font-size: 22px;
    }
    
    .logo p {
        display: none;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 18px;
        font-size: 0.88rem;
        text-align: center;
    }
    
    .hero {
        padding: 86px 0 42px;
    }

    .hero-grid {
        gap: 1rem;
    }

    .hero-image {
        min-height: 245px;
        transform: translate(0, 0);
        border-radius: 20px;
        background-position: center center;
        background-size: contain;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 2rem;
        line-height: 1.08;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 15px;
        max-width: 100%;
        margin: 0 auto 22px;
    }
    
    .section-title {
        font-size: 1.65rem;
        margin-bottom: 32px;
    }

    .services-grid,
    .product-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .service-card i {
        width: 58px;
        height: 58px;
        font-size: 32px;
        margin-bottom: 14px;
    }

    .service-card h3,
    .product-info h3 {
        font-size: 1.12rem;
    }

    .product-card {
        border-radius: 20px;
    }

    .product-image {
        height: 180px;
    }

    .product-info {
        padding: 16px;
    }

    .contact-content {
        padding: 20px 16px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    footer {
        padding: 38px 0 18px;
    }

    .cart-item {
        align-items: flex-start;
    }

    .cart-item-image {
        width: 64px;
        height: 64px;
        margin-right: 12px;
    }
}

@media (max-width: 380px) {
    .logo h1 {
        font-size: 20px;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 1.75rem;
    }

    .hero-image {
        min-height: 210px;
    }

    .contact-info h3 {
        font-size: 1.15rem;
    }
}
