* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Exo 2', sans-serif;
    background-image:
        linear-gradient(rgba(8, 0, 0, 0.45), rgba(0, 0, 0, 0.72)),
        url("/static/images/bg.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---------- HEADER ---------- */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(12, 0, 0, 0.42);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 140, 90, 0.18);
}

.header-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 16px;
}

.logo {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow:
        0 0 6px #ff5a1f,
        0 0 16px #ff5a1f,
        0 0 30px rgba(255, 90, 31, 0.8);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.logo a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.logo img {
    height: 72px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav a {
    color: #fff4ef;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: 0.25s ease;
    white-space: nowrap;
}

.nav a:hover {
    color: white;
    background: rgba(255, 90, 31, 0.14);
    border-color: rgba(255, 150, 100, 0.28);
    box-shadow: 0 0 18px rgba(255, 90, 31, 0.16);
}

/* ---------- COMMON ---------- */

.container {
    width: 100%;
    max-width: 1440px;
    margin: 18px auto 40px;
    padding: 0 16px;
}

.section-title {
    margin: 0 0 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffd6c7;
    text-shadow:
        0 0 5px rgba(255, 120, 70, 0.7),
        0 0 14px rgba(255, 120, 70, 0.5);
    word-break: break-word;
}

/* ---------- FLOATING CART ---------- */

.floating-cart {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 16px;
    background: rgba(255, 120, 90, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 170, 130, 0.28);
    color: #fff5f0;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.2px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.28),
        0 0 18px rgba(255, 90, 31, 0.22),
        0 0 34px rgba(255, 120, 70, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.floating-cart.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-cart:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(255, 190, 150, 0.42);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.34),
        0 0 24px rgba(255, 90, 31, 0.34),
        0 0 42px rgba(255, 120, 70, 0.18);
}

.cart-icon {
    font-size: 20px;
    line-height: 1;
}

.cart-text {
    white-space: nowrap;
    color: #fff4ee;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffd166, #ffb347);
    color: #2b160d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.22),
        0 0 16px rgba(255, 190, 90, 0.35);
}

.cart-bump {
    animation: cartBump 0.35s ease;
}

/* ---------- CATALOG ---------- */

.catalog-top {
    margin-bottom: 24px;
}

.catalog-subtitle {
    margin: 8px 0 0;
    color: rgba(255, 240, 234, 0.82);
    font-size: 18px;
}

.category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.category-btn {
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    color: #fff4ef;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 180, 140, 0.16);
    transition: 0.25s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.category-btn:hover {
    background: rgba(255, 90, 31, 0.14);
    border-color: rgba(255, 150, 100, 0.28);
}

.category-btn.active {
    background: linear-gradient(90deg, rgba(255, 90, 31, 0.25), rgba(255, 145, 77, 0.16));
    border-color: rgba(255, 170, 120, 0.35);
    box-shadow: 0 0 18px rgba(255, 90, 31, 0.16);
}

.current-category {
    margin: 0 0 22px;
    font-size: 28px;
    font-weight: 800;
    color: #fff4ef;
    word-break: break-word;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

.catalog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 560px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 180, 140, 0.22);
    border-radius: 24px;
    padding: 16px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(255, 80, 20, 0.14);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.catalog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 160, 120, 0.45);
    box-shadow:
        0 16px 45px rgba(0, 0, 0, 0.45),
        0 0 28px rgba(255, 90, 30, 0.35);
}

.catalog-image-link {
    display: block;
}

.catalog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    margin-bottom: 14px;
    transition: transform 0.35s ease;
}

.catalog-card:hover .catalog-image {
    transform: scale(1.04);
}

.catalog-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.catalog-product-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    margin: 6px 0 10px;
    color: #fff4ef;
    min-height: 72px;
    word-break: break-word;
}

.catalog-price {
    font-size: 24px;
    font-weight: 900;
    color: #ffd166;
    margin: 0 0 12px;
    text-shadow:
        0 0 8px rgba(255, 190, 90, 0.45),
        0 0 18px rgba(255, 150, 50, 0.22);
}

.catalog-description {
    font-size: 15px;
    line-height: 1.45;
    color: rgba(255, 240, 234, 0.92);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 65px;
    word-break: break-word;
}

.catalog-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
    flex-wrap: wrap;
}

.catalog-empty {
    color: white;
    font-size: 18px;
}

/* ---------- STOCK ---------- */

.stock-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    min-height: 36px;
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 14px;
    padding: 8px 12px;
    border-radius: 999px;
}

.stock-text.stock-available {
    color: #4ade80 !important;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.25);
}

.stock-text.stock-low {
    color: #ff914d !important;
    background: rgba(255, 145, 77, 0.12);
    border: 1px solid rgba(255, 145, 77, 0.25);
    animation: pulseWarning 1.2s infinite;
}

.stock-text.stock-out {
    color: #ff4d4d !important;
    background: rgba(255, 77, 77, 0.12);
    border: 1px solid rgba(255, 77, 77, 0.25);
}

/* ---------- BADGES ---------- */

.hit-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff3d00, #ff8c00);
    color: white;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: 0 0 12px rgba(255, 100, 0, 0.6);
    z-index: 10;
}

/* ---------- PRODUCT DETAIL ---------- */

.detail-page {
    margin-top: 24px;
}

.detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: start;
    position: relative;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 180, 140, 0.22);
    border-radius: 26px;
    padding: 20px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(255, 80, 20, 0.14);
}

.detail-card .product-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.detail-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 14px;
    color: #fff4ef;
    word-break: break-word;
}

.product-description {
    font-size: 17px;
    line-height: 1.5;
    color: rgba(255, 240, 234, 0.92);
    margin-bottom: 16px;
    word-break: break-word;
}

.buy-panel {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.quantity-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 170, 130, 0.24);
}

.qty-btn {
    border: none;
    background: transparent;
    color: #fff2ea;
    font-size: 24px;
    font-weight: 800;
    cursor: pointer;
    padding: 0 6px;
}

.qty-btn:hover {
    color: #ff8e55;
    transform: scale(1.08);
}

.qty-btn:disabled {
    opacity: 0.45;
    cursor: default;
    transform: none;
}

#qty {
    min-width: 22px;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: white;
}

.price-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 18px;
    background: rgba(255, 120, 80, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 175, 130, 0.22);
}

.price-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 235, 226, 0.72);
    margin-bottom: 4px;
}

.price-value {
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    color: #ffd166;
}

.buy-btn-main,
.buy-btn {
    border: none;
    cursor: pointer;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.4px;
    box-shadow:
        0 0 16px rgba(255, 90, 31, 0.35),
        0 0 28px rgba(255, 120, 70, 0.18);
    transition: 0.25s ease;
}

.buy-btn-main:hover,
.buy-btn:hover {
    transform: translateY(-2px) scale(1.03);
}

.buy-btn-main:disabled,
.buy-btn:disabled {
    opacity: 0.7;
    cursor: default;
    transform: none;
}

.more-btn {
    background: rgba(255, 255, 255, 0.10);
    color: #fff8f3;
    border: 1px solid rgba(255, 190, 160, 0.35);
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.more-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

/* ---------- CART ---------- */

.cart-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 180, 140, 0.22);
    border-radius: 24px;
    padding: 18px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(255, 80, 20, 0.14);
}

.cart-image .product-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    margin: 0;
}

.cart-info {
    min-width: 0;
}

.cart-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.cart-summary {
    margin-top: 28px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 180, 140, 0.22);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(255, 80, 20, 0.14);
}

.cart-summary h3 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 30px;
    color: #ffd166;
}

.empty-cart-box {
    padding: 30px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 180, 140, 0.22);
    text-align: center;
}

.cart-quantity-box {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    margin: 12px 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 170, 130, 0.24);
    width: fit-content;
}

.cart-qty-btn {
    border: none;
    background: transparent;
    color: #fff2ea;
    font-size: 24px;
    font-weight: 800;
    cursor: pointer;
    padding: 0 6px;
}

.cart-qty-btn:hover {
    color: #ff8e55;
    transform: scale(1.08);
}

.cart-qty-btn:disabled {
    opacity: 0.45;
    cursor: default;
    transform: none;
}

.cart-qty-value {
    min-width: 22px;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: white;
}

/* ---------- CONTACTS ---------- */

.contact-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255, 180, 140, 0.2);
    max-width: 500px;
}

.contact-box p {
    font-size: 16px;
    margin: 10px 0;
    word-break: break-word;
}

/* ---------- ANIMATIONS ---------- */

@keyframes cartBump {
    0% { transform: scale(1); }
    40% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

@keyframes pulseWarning {
    0% { box-shadow: 0 0 0 rgba(255, 145, 77, 0.4); }
    50% { box-shadow: 0 0 18px rgba(255, 145, 77, 0.9); }
    100% { box-shadow: 0 0 0 rgba(255, 145, 77, 0.4); }
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1400px) {
    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .header-inner {
        gap: 16px;
    }

    .logo {
        font-size: 30px;
    }

    .logo img {
        height: 62px;
    }
}

@media (max-width: 900px) {
    .detail-card {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .cart-actions {
        justify-content: flex-start;
    }

    .detail-card .product-img {
        height: 320px;
    }

    .floating-cart {
        top: 14px;
        right: 14px;
        padding: 10px 14px;
        font-size: 14px;
        gap: 8px;
    }

    .cart-icon {
        font-size: 18px;
    }

    .cart-count {
        min-width: 22px;
        height: 22px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }

    .header-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: auto;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .logo {
        font-size: 28px;
        letter-spacing: 1.5px;
        justify-content: center;
        text-align: center;
    }

    .logo img {
        height: 54px;
    }

    .nav {
        justify-content: center;
        gap: 10px;
    }

    .nav a {
        font-size: 14px;
        padding: 8px 12px;
    }

    .section-title {
        font-size: 24px;
    }

    .catalog-subtitle {
        font-size: 16px;
    }

    .category-row {
        gap: 10px;
    }

    .category-btn {
        font-size: 14px;
        padding: 10px 14px;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .catalog-card {
        min-height: auto;
        padding: 14px;
    }

    .catalog-image {
        height: 220px;
    }

    .catalog-product-title {
        font-size: 18px;
        min-height: auto;
    }

    .catalog-price {
        font-size: 22px;
    }

    .detail-card {
        gap: 20px;
        padding: 16px;
    }

    .detail-card .product-img {
        height: 260px;
    }

    .product-title {
        font-size: 24px;
    }

    .product-description {
        font-size: 16px;
    }

    .buy-panel {
        gap: 12px;
    }

    .price-value {
        font-size: 26px;
    }

    .stock-text {
        font-size: 13px;
        padding: 7px 10px;
    }

    .cart-summary h3 {
        font-size: 24px;
    }

    .contact-box {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        margin-top: 14px;
        margin-bottom: 24px;
        padding: 0 12px;
    }

    .header-inner {
        padding-left: 12px;
        padding-right: 12px;
    }

    .logo {
        font-size: 22px;
        letter-spacing: 1px;
        gap: 8px;
    }

    .logo img {
        height: 42px;
    }

    .nav {
        gap: 8px;
    }

    .nav a {
        font-size: 13px;
        padding: 7px 10px;
    }

    .section-title {
        font-size: 20px;
    }

    .current-category {
        font-size: 22px;
    }

    .catalog-image {
        height: 200px;
    }

    .catalog-description {
        font-size: 14px;
        min-height: auto;
    }

    .product-title {
        font-size: 22px;
    }

    .detail-card .product-img {
        height: 220px;
    }

    .product-description {
        font-size: 15px;
    }

    .buy-btn-main,
    .buy-btn,
    .more-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .buy-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .quantity-box,
    .price-box {
        width: 100%;
        justify-content: center;
    }

    .floating-cart {
        top: auto;
        bottom: 14px;
        left: 12px;
        right: 12px;
        width: auto;
        justify-content: center;
        border-radius: 18px;
        padding: 12px;
        font-size: 14px;
    }

    .cart-text {
        font-size: 13px;
    }

    .cart-item {
        padding: 14px;
        gap: 14px;
    }

    .cart-image .product-img {
        height: 200px;
    }

    .contact-box {
        padding: 16px;
    }

    .contact-box p {
        font-size: 15px;
    }
}
/* ---------- HOME PAGE ---------- */

.hero-home {
    padding: 70px 24px;
    border-radius: 30px;
    background:
        linear-gradient(rgba(20, 5, 0, 0.45), rgba(20, 5, 0, 0.55)),
        url("/static/images/hero.png");
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 180, 140, 0.22);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(255, 80, 20, 0.14);
    margin-bottom: 34px;
    overflow: hidden;
}

.hero-home-content {
    max-width: 760px;
}

.hero-home-label {
    display: inline-block;
    margin: 0 0 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 90, 31, 0.14);
    border: 1px solid rgba(255, 150, 100, 0.28);
    color: #ffd9c9;
    font-weight: 800;
}

.hero-home-title {
    margin: 0 0 18px;
    font-family: 'Orbitron', sans-serif;
    font-size: 46px;
    line-height: 1.15;
    color: #fff4ef;
    text-shadow:
        0 0 8px rgba(255, 120, 70, 0.35),
        0 0 18px rgba(255, 120, 70, 0.18);
}

.hero-home-text {
    max-width: 680px;
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 240, 234, 0.92);
}

.hero-home-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.home-section {
    margin-bottom: 34px;
}

.advantages-box {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.advantage-item {
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 180, 140, 0.22);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(255, 80, 20, 0.14);
}

.advantage-item h3 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #ffd166;
}

.advantage-item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 240, 234, 0.9);
}

.cta-box {
    text-align: center;
    padding: 36px 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 180, 140, 0.22);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(255, 80, 20, 0.14);
}

.cta-text {
    max-width: 680px;
    margin: 0 auto 20px;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 240, 234, 0.92);
}

@media (max-width: 900px) {
    .advantages-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-home {
        padding: 42px 18px;
    }

    .hero-home-title {
        font-size: 30px;
    }

    .hero-home-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-home {
        padding: 34px 16px;
        border-radius: 24px;
    }

    .hero-home-title {
        font-size: 24px;
    }

    .hero-home-text {
        font-size: 15px;
    }

    .hero-home-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .advantage-item h3 {
        font-size: 20px;
    }

    .advantage-item p,
    .cta-text {
        font-size: 15px;
    }
}
/* ---------- ORDER PAGE ---------- */

.order-page {
    margin-top: 24px;
}

.order-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: start;
}

.order-form-card,
.order-summary-card,
.thank-you-card {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 180, 140, 0.22);
    border-radius: 28px;
    padding: 24px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(255, 80, 20, 0.14);
}

.order-label {
    display: inline-block;
    margin: 0 0 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 90, 31, 0.14);
    border: 1px solid rgba(255, 150, 100, 0.28);
    color: #ffd9c9;
    font-weight: 800;
}

.order-subtitle {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 240, 234, 0.88);
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 15px;
    font-weight: 700;
    color: #fff1ea;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 180, 140, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 15px;
    outline: none;
    transition: 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(255, 140, 90, 0.45);
    box-shadow: 0 0 18px rgba(255, 90, 31, 0.12);
}

.order-submit-btn {
    margin-top: 8px;
    width: 100%;
}

.order-summary-title {
    margin: 0 0 18px;
    font-size: 28px;
    color: #ffd166;
}

.order-summary-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 180, 140, 0.12);
}

.order-item-name {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
    color: #fff4ef;
}

.order-item-meta {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 240, 234, 0.78);
}

.order-item-total {
    font-size: 16px;
    font-weight: 800;
    color: #ffd166;
    white-space: nowrap;
}

.order-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 120, 80, 0.10);
    border: 1px solid rgba(255, 175, 130, 0.22);
    font-size: 18px;
}

.order-total-box strong {
    color: #ffd166;
    font-size: 22px;
}

.order-note-box {
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 240, 234, 0.86);
    line-height: 1.5;
}

/* ---------- THANK YOU PAGE ---------- */

.thank-you-section {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.thank-you-card {
    max-width: 760px;
    width: 100%;
    text-align: center;
    padding: 36px 28px;
}

.thank-you-icon {
    font-size: 52px;
    margin-bottom: 16px;
}

.thank-you-title {
    margin: 0 0 16px;
    font-family: 'Orbitron', sans-serif;
    font-size: 38px;
    line-height: 1.2;
    color: #fff4ef;
}

.thank-you-text {
    max-width: 620px;
    margin: 0 auto 22px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 240, 234, 0.9);
}

.thank-you-order-box {
    margin: 0 auto 24px;
    padding: 16px 20px;
    max-width: 260px;
    border-radius: 20px;
    background: rgba(255, 120, 80, 0.10);
    border: 1px solid rgba(255, 175, 130, 0.22);
}

.thank-you-order-box p {
    margin: 0 0 6px;
    color: rgba(255, 240, 234, 0.8);
}

.thank-you-order-box strong {
    font-size: 28px;
    color: #ffd166;
}

.thank-you-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .order-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .order-form-card,
    .order-summary-card,
    .thank-you-card {
        padding: 20px;
        border-radius: 22px;
    }

    .order-summary-title {
        font-size: 24px;
    }

    .thank-you-title {
        font-size: 28px;
    }

    .thank-you-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .order-total-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .thank-you-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .thank-you-buttons .buy-btn-main,
    .thank-you-buttons .more-btn {
        width: 100%;
    }

    .thank-you-title {
        font-size: 24px;
    }

    .thank-you-text {
        font-size: 15px;
    }
}
.form-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 180, 140, 0.2);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: 0.25s;
}

.form-input::placeholder {
    color: rgba(255, 240, 234, 0.6);
}

.form-input:focus {
    border-color: #ff7a3d;
    box-shadow: 0 0 10px rgba(255, 90, 31, 0.3);
}
@media (max-width: 768px) {
    .order-grid {
        flex-direction: column;
    }
}
/* ---------- MOBILE CART FIX ---------- */

@media (max-width: 768px) {
    .cart-list {
        gap: 14px;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px;
        border-radius: 18px;
    }

    .cart-image {
        display: flex;
        justify-content: center;
    }

    .cart-image .product-img {
        width: 140px;
        height: 140px;
        object-fit: cover;
        margin: 0 auto;
    }

    .cart-info {
        width: 100%;
    }

    .cart-info .product-title {
        font-size: 20px;
        margin: 0 0 10px;
        line-height: 1.25;
    }

    .cart-info .product-description,
    .cart-info .price,
    .item-total {
        font-size: 14px;
    }

    .cart-quantity-box {
        margin: 10px 0;
        padding: 8px 12px;
        gap: 12px;
    }

    .cart-qty-btn {
        font-size: 22px;
    }

    .cart-qty-value {
        font-size: 17px;
    }

    .cart-actions {
        width: 100%;
        justify-content: stretch;
    }

    .cart-actions .more-btn {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }

    .cart-summary {
        margin-top: 18px;
        padding: 18px 16px;
        border-radius: 18px;
    }

    .cart-summary h3 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 14px;
    }

    .cart-summary .buy-btn-main {
        width: 100%;
        text-align: center;
        display: block;
    }
}

@media (max-width: 480px) {
    .cart-item {
        padding: 12px;
        gap: 12px;
    }

    .cart-image .product-img {
        width: 120px;
        height: 120px;
    }

    .cart-info .product-title {
        font-size: 18px;
    }

    .cart-info .product-description,
    .cart-info .price,
    .item-total {
        font-size: 13px;
    }

    .cart-quantity-box {
        width: 100%;
        justify-content: center;
    }

    .cart-actions .more-btn {
        width: 100%;
    }

    .cart-summary h3 {
        font-size: 21px;
    }
}
/* ---------- FINAL MOBILE CART FIX ---------- */

@media (max-width: 768px) {
    .cart-list {
        gap: 14px;
    }

    .cart-item {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px;
        border-radius: 18px;
    }

    .cart-image {
        display: flex;
        justify-content: center;
    }

    .cart-image .product-img {
        width: 140px;
        height: 140px;
        object-fit: cover;
        margin: 0 auto;
    }

    .cart-info {
        width: 100%;
        min-width: 0;
    }

    .cart-info .product-title {
        font-size: 20px;
        line-height: 1.25;
        margin: 0 0 10px;
    }

    .cart-info .product-description,
    .cart-info .price,
    .cart-info .item-total,
    .item-total {
        font-size: 14px;
    }

    .cart-quantity-box {
        display: inline-flex;
        width: auto;
        margin: 10px 0;
        padding: 8px 12px;
        gap: 12px;
    }

    .cart-qty-btn {
        font-size: 22px;
    }

    .cart-qty-value {
        font-size: 17px;
    }

    .cart-actions {
        width: 100%;
        justify-content: stretch;
    }

    .cart-actions .more-btn {
        width: 100%;
        display: block;
        text-align: center;
        padding: 12px 16px;
    }

    .cart-summary {
        margin-top: 18px;
        padding: 18px 16px;
        border-radius: 18px;
    }

    .cart-summary h3 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 14px;
    }

    .cart-summary .buy-btn-main {
        width: 100%;
        display: block;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cart-item {
        padding: 12px;
        gap: 12px;
    }

    .cart-image .product-img {
        width: 120px;
        height: 120px;
    }

    .cart-info .product-title {
        font-size: 18px;
    }

    .cart-info .product-description,
    .cart-info .price,
    .cart-info .item-total,
    .item-total {
        font-size: 13px;
    }

    .cart-quantity-box {
        width: 100%;
        justify-content: center;
    }

    .cart-actions .more-btn {
        width: 100%;
    }

    .cart-summary h3 {
        font-size: 21px;
    }
}