:root {
    --primary: #2d3e50;
    --accent: #2ab5c9;
    --accent-light: #1fbcd4;
    --accent-dark: #1a9ab0;
    --white: #ffffff;
    --light-bg: #f5f9fa;
    --gray: #6b7280;
    --dark-gray: #374151;
    --border: #e5e7eb;
    --text: #1f2937;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background-color: var(--light-bg);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(20px);
    background: rgba(45, 62, 80, 0.85);
    color: var(--white);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: rgba(45, 62, 80, 0.96);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.45);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.logo img {
    height: 48px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone span {
    font-weight: 600;
}

.cart-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(42, 181, 201, 0.12);
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
}

.cart-count {
    min-width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    background: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: 999px;
}

.mobile-menu {
    display: none;
    background: rgba(15, 23, 42, 0.96);
}

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

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0.75rem 1.5rem 1.25rem;
}

.mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    color: var(--white);
    text-decoration: none;
}

.site-main {
    padding-bottom: 4rem;
}

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
    padding: 4rem 0 3rem;
    background: radial-gradient(circle at 0% 0%, #1fbcd4 0, transparent 55%),
                radial-gradient(circle at 100% 100%, #2d3e50 0, #020617 60%);
    color: var(--white);
}

.hero__content {
    padding-right: 3rem;
}

.hero__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    margin: 0 0 1rem;
}

.hero__title span {
    color: var(--accent-light);
}

.hero__subtitle {
    max-width: 32rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #e5e7eb;
    margin-bottom: 2rem;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn .ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background: rgba(255, 255, 255, 0.28);
    animation: ripple-animation 0.6s linear;
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero__stats .stat {
    min-width: 7rem;
}

.hero__stats span {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
}

.hero__stats small {
    color: #cbd5f5;
}

.hero__image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__product-img {
    max-width: 100%;
    filter: drop-shadow(0 25px 60px rgba(15, 23, 42, 0.9));
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    text-align: center;
    margin: 0 0 2rem;
    color: var(--primary);
}

.categories {
    padding: 3.5rem 0;
    background: var(--light-bg);
}

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

.category-card {
    text-decoration: none;
    color: inherit;
}

.category-card__inner {
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card__inner h3 {
    margin: 0 0 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
}

.category-card__inner span {
    font-size: 0.9rem;
    color: var(--gray);
}

.category-card__inner:hover {
    transform: translateY(-6px);
    border-color: var(--accent-light);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
}

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

.product-card {
    border-radius: 1.25rem;
    background: #ffffff;
    padding: 1rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 65px rgba(15, 23, 42, 0.14);
}

.product-card img {
    width: 100%;
    border-radius: 1rem;
    margin-bottom: 0.75rem;
    background: #e5f4f7;
}

.product-card__title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    margin: 0 0 0.5rem;
}

.product-card__price {
    margin-top: auto;
    margin-bottom: 0.75rem;
}

.product-card__price .current {
    font-weight: 700;
    color: var(--accent-dark);
}

.product-card__price .old {
    margin-left: 0.4rem;
    text-decoration: line-through;
    color: var(--gray);
    font-size: 0.9rem;
}

.product-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.site-footer {
    background: #0b1120;
    color: #e5e7eb;
    padding-top: 3rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-column h4 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.9rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    padding: 0.9rem 0;
    font-size: 0.85rem;
    color: #9ca3af;
}

.breadcrumbs {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    color: var(--gray);
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
}

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

.lead {
    max-width: 60ch;
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--gray);
    line-height: 1.6;
}

.page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.sort-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-gray);
}

.sort-form select {
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    padding: 0.55rem 0.85rem;
    background: #fff;
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.product-layout__gallery img {
    width: 100%;
    border-radius: 1.25rem;
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.12);
    background: #e5f4f7;
}

.product-layout__info h1 {
    font-family: 'Poppins', sans-serif;
    margin-top: 0;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0 1rem;
}

#qty-input {
    width: 90px;
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    padding: 0.75rem 0.9rem;
    background: #fff;
}

select#variation-select {
    width: 100%;
    max-width: 320px;
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    padding: 0.75rem 0.9rem;
    background: #fff;
    margin: 0.4rem 0 0.8rem;
}

.manufacturer-prices {
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 1.25rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    margin-bottom: 1rem;
}

.manufacturer-prices h3 {
    margin: 0 0 0.75rem;
    font-family: 'Poppins', sans-serif;
}

.manufacturer-prices ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.manufacturer-prices li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0.7rem;
    border-radius: 0.9rem;
    background: rgba(42, 181, 201, 0.08);
}

.badge-original {
    margin-left: 0.5rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(42, 181, 201, 0.18);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
}

.manufacturer-prices .price {
    font-weight: 800;
    color: var(--accent-dark);
}

.content-card,
.form-card,
.order-card,
.info-box,
.error-box {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 1.25rem;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.error-box {
    border-color: rgba(239, 68, 68, 0.35);
    background: rgba(254, 226, 226, 0.65);
    margin-bottom: 1rem;
}

.info-box {
    margin-bottom: 1rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

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

.field {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}

.field label {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.field input,
.field textarea,
.field select {
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    padding: 0.8rem 0.95rem;
    background: #fff;
    font-family: inherit;
}

.order-items {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    gap: 0.5rem;
}

.order-items li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0.7rem;
    border-radius: 0.9rem;
    background: rgba(148, 163, 184, 0.10);
}

.order-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.muted,
.muted-link {
    color: var(--gray);
}

.muted-link {
    display: inline-block;
    margin-top: 0.75rem;
    text-decoration: none;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.location-card {
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 1.25rem;
    padding: 1rem 1.1rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.location-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-light);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
}

.location-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.pill {
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
    color: var(--dark-gray);
    font-size: 0.75rem;
    font-weight: 700;
}

.pill-green {
    background: rgba(34, 197, 94, 0.14);
    color: #166534;
}

.delivery-zones {
    margin-top: 2rem;
}

.delivery-zones ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--dark-gray);
}

.delivery-zones.compact {
    margin-top: 0.5rem;
}

.map-embed iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 1.25rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.post-card,
.post-single {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 1.25rem;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.post-meta {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.post-title {
    font-family: 'Poppins', sans-serif;
    margin: 0.25rem 0 0.8rem;
}

.post-title a {
    color: var(--primary);
    text-decoration: none;
}

.post-title a:hover {
    color: var(--accent-dark);
}

.manufacturers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.manufacturer-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 1.25rem;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.manufacturer-card img {
    height: 44px;
    margin-bottom: 0.75rem;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 5.5rem;
    }

    .hero__content {
        padding-right: 0;
        text-align: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .main-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 640px) {
    .header-inner {
        padding-inline: 0.5rem;
    }

    .hero {
        padding-bottom: 2.5rem;
    }

    .categories {
        padding: 2.5rem 0;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }
}

