:root {
    --color-dark: #191919;
    --color-graphite: #2b2b2b;
    --color-orange: #ff6a00;
    --color-orange-dark: #e85f00;
    --color-bg: #f6f6f6;
    --color-muted: #6b7280;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.08);
    --radius-lg: 24px;
    --radius-md: 18px;
}

.cookie-consent-dialog {
    width: min(390px, calc(100% - 24px));
    max-width: none;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    margin: auto;
    padding: 24px;
    border: 1px solid rgba(255, 106, 0, 0.18);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--color-dark);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.cookie-consent-dialog::backdrop {
    background: rgba(16, 16, 16, 0.7);
}

.cookie-consent-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: rgba(255, 106, 0, 0.11);
    color: var(--color-orange);
    font-size: 20px;
}

.cookie-consent-dialog h2 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.cookie-consent-dialog p {
    margin: 0 0 8px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.45;
}

.footer .cookie-consent-policy {
    display: inline-block;
    margin: 0;
    color: var(--color-orange-dark);
    font-weight: 700;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer .cookie-settings-trigger {
    display: block;
    margin: 0 0 9px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #d1d5db;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.footer .cookie-settings-trigger:hover {
    color: var(--color-orange);
}

.cookie-consent-actions {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.cookie-consent-actions button {
    flex: 1;
    min-width: 0;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.cookie-consent-essential {
    border: 1px solid #d1d5db;
    background: #fff;
    color: var(--color-dark);
}

.cookie-consent-essential:hover {
    border-color: var(--color-orange);
    color: var(--color-orange-dark);
}

@media (max-width: 420px) {
    .cookie-consent-dialog { padding: 18px; }
}

.legal-content section + section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.legal-content h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.legal-content h3 {
    margin: 1.75rem 0 0.75rem;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.legal-content p,
.legal-content li,
.legal-content address {
    line-height: 1.75;
}

.legal-content ul {
    padding-left: 1.4rem;
}

.legal-content address {
    font-style: normal;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--color-dark);
    background: #fbfbfb;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.page-3d,
.page-3d-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.page-3d::before,
.page-3d-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: radial-gradient(circle at 12% 12%, rgba(51, 102, 255, 0.1), transparent 25%),
    radial-gradient(circle at 84% 18%, rgba(255, 106, 0, 0.16), transparent 28%);
    pointer-events: none;
}

.page-3d::after,
.page-3d-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgba(25, 25, 25, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 25, 25, 0.032) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(120deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
    pointer-events: none;
}

.top-bar {
    position: relative;
    z-index: 1040;
    background: var(--color-dark);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-top-bar-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 24px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-top-bar-stats a {
    color: #fff;
    text-decoration: none;
}

.admin-top-bar-stats a:hover { color: var(--color-orange); }

.top-links a {
    color: #fff;
    opacity: 0.92;
}

.top-links a:hover,
.top-link-button:hover {
    color: var(--color-orange);
    opacity: 1;
}

.top-links .top-bar-contact {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

@media (max-width: 778px) {
    .top-bar-secondary {
        display: none !important;
    }

    .top-bar .container:first-child {
        display: block !important;
    }

    .top-links {
        width: 100%;
        justify-content: center;
        column-gap: 16px;
        row-gap: 8px;
    }

    .top-links .top-bar-contact {
        flex-basis: 100%;
        justify-content: center;
        margin-left: 0 !important;
    }

    .admin-top-bar-stats {
        justify-content: flex-end;
        text-align: right;
    }
}

.top-link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    opacity: 0.92;
    cursor: pointer;
}

.top-settings-dropdown .dropdown-menu {
    z-index: 1050;
    min-width: 190px;
    margin-top: 8px;
    padding: 7px;
    border: 1px solid rgba(25, 25, 25, 0.08);
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.top-links .top-settings-dropdown .dropdown-item {
    padding: 9px 11px;
    border-radius: 8px;
    color: var(--color-dark);
    opacity: 1;
}

.top-links .top-settings-dropdown .dropdown-item:hover,
.top-links .top-settings-dropdown .dropdown-item:focus {
    color: var(--color-orange);
    background: rgba(255, 106, 0, 0.08);
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.76);
    border-bottom: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 34px rgba(25, 25, 25, 0.08);
    transition: 0.25s ease;
    perspective: 900px;
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.main-header::before {
    content: "";
    position: absolute;
    inset: auto 9% 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.42), rgba(51, 102, 255, 0.22), transparent);
}

.main-header.header-scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(25, 25, 25, 0.12);
}

.header-glow {
    position: absolute;
    width: 280px;
    height: 120px;
    right: 8%;
    top: -76px;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.2), transparent 68%);
    filter: blur(2px);
}

.navbar {
    min-height: 78px;
    position: relative;
    z-index: 2;
}

.header-3d-nav {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(246, 248, 250, 0.74)),
    radial-gradient(circle at 82% 0%, rgba(255, 106, 0, 0.12), transparent 34%);
    flex-wrap: wrap;
}

.header-3d-nav > .container {
    flex-wrap: wrap;
}

.logo,
.footer-logo {
    color: var(--color-dark);
    font-weight: 900;
    font-size: 32px;
    letter-spacing: 0;
}

.logo span,
.footer-logo span {
    color: var(--color-orange);
}

.logo-3d {
    position: relative;
    padding: 7px 12px;
    border-radius: 14px;
    text-shadow: 0 12px 20px rgba(25, 25, 25, 0.14);
    transform-style: preserve-3d;
}

.logo-3d::before {
    content: "";
    position: absolute;
    inset: 3px;
    z-index: -1;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 241, 244, 0.72));
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 15px 30px rgba(25, 25, 25, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transform: translateZ(-8px);
}

.nav-link {
    color: var(--color-dark);
    font-weight: 800;
    position: relative;
    padding: 9px 12px !important;
    border-radius: 12px;
    transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-link.active,
.nav-link:hover {
    color: var(--color-orange);
    background: rgba(255, 255, 255, 0.66);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(25, 25, 25, 0.08);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 4px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-orange), #ffb000);
    box-shadow: 0 6px 14px rgba(255, 106, 0, 0.28);
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(25, 25, 25, 0.07);
    background: rgba(255, 255, 255, 0.72);
    border-radius: 13px;
    font-size: 20px;
    color: var(--color-dark);
    box-shadow: 0 12px 24px rgba(25, 25, 25, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.94);
    transition: transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    transform-style: preserve-3d;
}

.icon-btn > i {
    display: block;
    line-height: 1;
}

.icon-btn:hover {
    color: var(--color-orange);
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(25, 25, 25, 0.12);
}

.cart-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border: 1px solid var(--color-orange);
    background: linear-gradient(145deg, #ffffff, #fff4eb);
    color: var(--color-dark);
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(255, 106, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.96);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    transform-style: preserve-3d;
}

.cart-btn i {
    color: var(--color-orange);
}

.header-3d .cart-btn:hover {
    background: linear-gradient(145deg, #fff8f3, #ffffff);
    transform: translateY(-3px);
    box-shadow: 0 20px 34px rgba(255, 106, 0, 0.22);
}

.language-switch {
    display: inline-flex;
    gap: 3px;
    padding: 3px;
    border: 1px solid rgba(25, 25, 25, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 10px 20px rgba(25, 25, 25, 0.06);
}

.language-switch a {
    padding: 5px 8px;
    border-radius: 7px;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 900;
}

.language-switch a.active {
    background: var(--color-orange);
    color: #fff;
    box-shadow: 0 8px 16px rgba(255, 106, 0, 0.22);
}

.hero-section {
    position: relative;
    isolation: isolate;
    background: radial-gradient(circle at 12% 15%, rgba(51, 102, 255, 0.12), transparent 26%),
    radial-gradient(circle at 80% 26%, rgba(255, 106, 0, 0.22), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f3f6f8 48%, #eeeeee 100%);
    padding: 72px 0 82px;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: linear-gradient(rgba(25, 25, 25, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 25, 25, 0.035) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(115deg, transparent 0%, #000 18%, #000 76%, transparent 100%);
}

.hero-section::after {
    content: "";
    position: absolute;
    width: 720px;
    height: 720px;
    right: -210px;
    top: -130px;
    z-index: -1;
    border-radius: 50%;
    background: conic-gradient(from 135deg, rgba(255, 106, 0, 0.18), rgba(25, 25, 25, 0.08), rgba(51, 102, 255, 0.16), rgba(255, 106, 0, 0.18));
    filter: blur(2px);
    opacity: 0.55;
}

.eyebrow {
    display: inline-flex;
    color: var(--color-orange);
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.hero-section h1 {
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 22px;
}

.hero-section p {
    color: #4b5563;
    font-size: 20px;
    line-height: 1.65;
    max-width: 520px;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-orange {
    background: var(--color-orange);
    border: 1px solid var(--color-orange);
    color: #fff;
    border-radius: 10px;
    padding: 13px 24px;
    font-weight: 800;
    box-shadow: 0 12px 22px rgba(255, 106, 0, 0.24);
    transform: translateZ(0);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-orange:hover {
    background: var(--color-orange-dark);
    border-color: var(--color-orange-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(255, 106, 0, 0.28);
}

.custom-outline {
    border-radius: 10px;
    padding: 13px 24px;
    font-weight: 800;
}

.hero-slider-wrap {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.hero-slider-wrap::before {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(255, 106, 0, 0.18), transparent 64%);
    box-shadow: 0 34px 90px rgba(25, 25, 25, 0.12);
    transform: translateY(-50%) rotateX(68deg) rotateZ(-16deg);
}

.home-3d-scene .swiper {
    position: relative;
    z-index: 3;
}

.scene-orbit {
    position: absolute;
    width: 540px;
    height: 540px;
    right: 1%;
    top: 50%;
    z-index: 1;
    border: 1px solid rgba(255, 106, 0, 0.22);
    border-radius: 50%;
    transform: translateY(-50%) rotateX(68deg) rotateZ(-18deg);
    box-shadow: 0 0 0 46px rgba(25, 25, 25, 0.035);
    animation: orbitSpin 18s linear infinite;
}

.scene-chip {
    position: absolute;
    z-index: 4;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.92);
    color: var(--color-orange);
    font-size: 27px;
    box-shadow: 0 20px 45px rgba(25, 25, 25, 0.14);
    backdrop-filter: blur(12px);
    transform-style: preserve-3d;
    animation: floatChip 5.5s ease-in-out infinite;
}

.chip-fast {
    right: 11%;
    top: 7%;
}

.chip-secure {
    right: 2%;
    bottom: 19%;
    animation-delay: -1.7s;
}

.chip-delivery {
    left: 3%;
    bottom: 12%;
    animation-delay: -3.1s;
}

.hero-swiper {
    width: 100%;
    padding: 18px 0 54px;
}

.hero-slide-card {
    position: relative;
    min-height: 390px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(244, 247, 249, 0.72)),
    radial-gradient(circle at 84% 28%, rgba(255, 106, 0, 0.15), transparent 35%);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 34px 80px rgba(25, 25, 25, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.96);
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(220px, 0.92fr);
    column-gap: 26px;
    align-items: center;
    padding: 34px;
    transform: none;
    transform-style: preserve-3d;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-slide-card::after {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(25, 25, 25, 0.08);
    transform: translateZ(18px);
}

.slide-text {
    position: relative;
    z-index: 2;
    min-width: 0;
    transform: none;
}

.slide-text span {
    display: inline-flex;
    color: var(--color-orange);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.slide-text h2 {
    max-width: 100%;
    font-size: clamp(27px, 2.25vw, 34px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 12px;
    overflow-wrap: break-word;
}

.slide-text p {
    font-size: 16px;
    line-height: 1.55;
    margin: 0;
    color: #566070;
}

.hero-slide-card img {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 0;
    max-width: 310px;
    max-height: 330px;
    justify-self: end;
    object-fit: contain;
    filter: drop-shadow(0 32px 28px rgba(0, 0, 0, 0.22));
    transform: translateZ(72px) rotateZ(-2deg);
}

.hero-swiper .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
    background: #b8b8b8;
    opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--color-orange);
    width: 28px;
    border-radius: 999px;
}

.benefits-section {
    margin-top: -38px;
    position: relative;
    z-index: 2;
}

.benefits-box {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: var(--radius-lg);
    box-shadow: 0 28px 70px rgba(25, 25, 25, 0.12);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    backdrop-filter: blur(14px);
}

.benefit-item {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 28px 34px;
    border-right: 1px solid #eeeeee;
}

.benefit-item:last-child {
    border-right: 0;
}

.benefit-icon {
    min-width: 54px;
    height: 54px;
    border: 1px solid var(--color-orange);
    color: var(--color-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.benefit-item h3 {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 4px;
}

.benefit-item p {
    color: var(--color-muted);
    margin: 0;
    font-size: 14px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 34px;
}

.section-title span {
    color: var(--color-orange);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.section-title h2 {
    font-size: 34px;
    font-weight: 900;
    margin-top: 8px;
}

.category-card,
.product-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(25, 25, 25, 0.06);
    box-shadow: 0 18px 42px rgba(25, 25, 25, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    height: 100%;
    transition: 0.25s ease;
    transform-style: preserve-3d;
}

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

.category-card {
    padding: 22px;
}

.category-img {
    height: 155px;
    border-radius: 16px;
    background: linear-gradient(145deg, #242424, #0c0c0c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-orange);
    font-size: 68px;
    margin-bottom: 20px;
    box-shadow: inset -12px -18px 34px rgba(0, 0, 0, 0.22), inset 10px 12px 22px rgba(255, 255, 255, 0.05), 0 20px 38px rgba(25, 25, 25, 0.16);
    transform: translateZ(28px);
}

.category-img.accent {
    background: linear-gradient(145deg, #ff812b, #ff5a00);
    color: #fff;
}

.category-card h3,
.product-content h3 {
    font-size: 17px;
    font-weight: 900;
    margin-bottom: 10px;
}

.category-card p {
    color: var(--color-muted);
    min-height: 48px;
}

.category-card a {
    color: var(--color-orange);
    font-weight: 800;
}

.product-card {
    overflow: hidden;
    position: relative;
}

.sale-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: var(--color-orange);
    color: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 900;
}

.product-image {
    height: 220px;
    background: linear-gradient(145deg, #f8f8f8, #ececec);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 78px;
    color: var(--color-orange);
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: "";
    position: absolute;
    inset: 18px 28px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 106, 0, 0.12) 48%, transparent 70%);
    transform: rotateX(70deg);
}

.product-image img {
    position: relative;
    z-index: 1;
    width: 82%;
    height: 82%;
    object-fit: contain;
    filter: drop-shadow(0 24px 22px rgba(0, 0, 0, 0.2));
    transform: translateZ(32px);
}

.product-content {
    padding: 20px;
    transform: none;
}

.product-content h3 {
    min-height: 42px;
}

.rating {
    color: #ffb000;
    font-size: 14px;
    margin-bottom: 12px;
}

.rating span {
    color: var(--color-muted);
    margin-left: 4px;
}

.price {
    color: var(--color-orange);
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 16px;
}

.price span {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 14px;
    margin-right: 8px;
    font-weight: 500;
}

.promo-section {
    padding-bottom: 80px;
}

.promo-box {
    position: relative;
    background: radial-gradient(circle at 86% 38%, rgba(255, 106, 0, 0.62), transparent 24%),
    radial-gradient(circle at 15% 0%, rgba(51, 102, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #202020, #080808);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 42px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 34px 80px rgba(25, 25, 25, 0.2);
    transform-style: preserve-3d;
}

.promo-box::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -82px;
    bottom: -170px;
    border-radius: 50%;
    border: 42px solid rgba(255, 255, 255, 0.05);
    transform: rotateX(62deg);
}

.promo-box span {
    color: var(--color-orange);
    font-weight: 900;
    text-transform: uppercase;
}

.promo-box h2 {
    font-size: 36px;
    font-weight: 900;
    margin: 8px 0;
}

.promo-box p {
    color: #d1d5db;
}

.promo-icon {
    font-size: 120px;
    color: var(--color-orange);
    transform: translateZ(52px) rotate(-12deg);
    text-shadow: 0 28px 35px rgba(0, 0, 0, 0.28);
}

.tilt-card.is-tilting {
    transition: transform 0.08s linear, box-shadow 0.2s ease;
}

@keyframes orbitSpin {
    from {
        transform: translateY(-50%) rotateX(68deg) rotateZ(-18deg);
    }
    to {
        transform: translateY(-50%) rotateX(68deg) rotateZ(342deg);
    }
}

@keyframes floatChip {
    0%, 100% {
        transform: translate3d(0, 0, 50px) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translate3d(0, -16px, 80px) rotateX(8deg) rotateY(-10deg);
    }
}

.footer {
    background: var(--color-dark);
    color: #d1d5db;
    padding: 54px 0 20px;
}

.footer-logo {
    color: #fff;
    display: inline-block;
    margin-bottom: 14px;
}

.footer h3 {
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    margin-bottom: 16px;
}

.footer a {
    color: #d1d5db;
    display: block;
    margin-bottom: 9px;
}

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

.footer .footer-contact-line {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.footer .footer-contact-line a {
    display: inline;
    margin-bottom: 0;
}

.footer .footer-viber-line {
    white-space: normal;
}

.footer .socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer .socials a {
    display: inline-flex;
    margin-bottom: 0;
}

.footer .footer-language-switch {
    margin-left: 4px;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.footer .footer-language-switch a {
    color: #d1d5db;
}

.footer .footer-language-switch a.active {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 34px;
    padding-top: 18px;
    font-size: 13px;
}

.footer .footer-creator-link {
    display: inline;
    margin-bottom: 0;
    color: #fff;
    font-weight: 700;
}

.footer .footer-creator-link:hover {
    color: var(--color-orange);
}

@media (min-width: 992px) and (max-width: 1199px) {
    .hero-slide-card {
        grid-template-columns: minmax(0, 1.12fr) minmax(190px, .88fr);
        column-gap: 16px;
        padding: 28px;
    }

    .slide-text h2 {
        font-size: 28px;
    }

    .hero-slide-card img {
        max-width: 250px;
        max-height: 285px;
    }
}

@media (max-width: 991px) {
    .nav-link.active::after {
        display: none;
    }

    .header-actions {
        padding-top: 16px;
    }

    .hero-section {
        padding: 52px 0 72px;
    }

    .hero-section h1 {
        font-size: 40px;
    }

    .hero-slider-wrap {
        min-height: auto;
        margin-top: 10px;
    }

    .hero-slide-card {
        min-height: 360px;
        grid-template-columns: minmax(0, 1fr);
        row-gap: 20px;
        text-align: center;
        transform: none;
    }

    .slide-text {
        transform: none;
    }

    .slide-text p {
        margin: 0 auto;
    }

    .hero-slide-card img {
        width: min(78%, 360px);
        max-height: 220px;
        justify-self: center;
        transform: none;
    }

    .scene-chip {
        width: 52px;
        height: 52px;
        border-radius: 16px;
        font-size: 23px;
    }

    .chip-delivery {
        left: auto;
        right: 74%;
    }

    .benefits-box {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        border-right: 0;
        border-bottom: 1px solid #eeeeee;
    }

    .benefit-item:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 575px) {
    .logo {
        font-size: 28px;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .hero-section p {
        font-size: 17px;
    }

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

    .hero-slide-card {
        padding: 24px;
        border-radius: 24px;
    }

    .slide-text h2 {
        font-size: 25px;
        line-height: 1.16;
    }

    .hero-slide-card img {
        width: min(88%, 300px);
        max-height: 190px;
    }

    .scene-orbit,
    .scene-chip,
    .hero-slider-wrap::before {
        display: none;
    }

    .benefit-item {
        padding: 22px;
    }

    .promo-box {
        padding: 30px 24px;
    }

    .promo-icon {
        display: none;
    }
}

@media (max-width: 299px) {
    .footer {
        padding: 34px 0 16px;
        text-align: center;
    }

    .footer .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .footer .row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 26px;
    }

    .footer .row > [class*="col-"] {
        width: 100%;
    }

    .footer-logo {
        margin-bottom: 10px;
    }

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

    .footer a {
        margin-bottom: 7px;
    }

    .footer .socials {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer .footer-contact-line,
    .footer .footer-address-line {
        justify-content: center;
        margin-bottom: 10px;
    }

    .footer .footer-contact-line {
        font-size: clamp(11px, 4.8vw, 14px);
    }

    .footer .footer-contact-line i,
    .footer .footer-address-line i {
        flex: 0 0 auto;
    }

    .footer-bottom {
        margin-top: 26px;
        padding-top: 15px;
        font-size: 12px;
        line-height: 1.5;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scene-orbit,
    .scene-chip {
        animation: none;
    }

    .tilt-card,
    .hero-slide-card {
        transition: none;
    }
}

/* Products page */
.shop-hero-small {
    background: radial-gradient(circle at 82% 28%, rgba(255, 106, 0, 0.18), transparent 26%),
    radial-gradient(circle at 16% 8%, rgba(51, 102, 255, 0.1), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #f5f7f9 100%);
    padding: 42px 0 58px;
}

.custom-breadcrumb {
    font-size: 14px;
    margin-bottom: 26px;
}

.custom-breadcrumb a {
    color: var(--color-muted);
}

.custom-breadcrumb .active {
    color: var(--color-orange);
    font-weight: 800;
}

.shop-hero-small h1 {
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.shop-hero-small p {
    color: #4b5563;
    font-size: 18px;
    line-height: 1.65;
    max-width: 760px;
    margin: 0;
}

.category-intro {
    display: grid;
    gap: 10px;
    padding-left: 18px;
    border-left: 3px solid var(--color-orange);
}

.category-intro p:last-child {
    color: #667085;
    font-size: 16px;
}

.shop-search-box {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 55px rgba(25, 25, 25, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    backdrop-filter: blur(14px);
    transform-style: preserve-3d;
}

.shop-search-box i {
    color: var(--color-orange);
    font-size: 22px;
    padding-left: 8px;
}

.shop-search-box input {
    border: 0;
    outline: 0;
    flex: 1;
    min-width: 0;
    font-size: 15px;
}

.shop-search-box button {
    border: 0;
    background: linear-gradient(145deg, var(--color-dark), #343434);
    color: #fff;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 800;
    box-shadow: 0 12px 22px rgba(25, 25, 25, 0.16);
}

.header-search {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, .12);
    border-radius: 24px;
    background: #fff;
}

.header-search input {
    width: 0;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    transition: width .25s ease, padding .25s ease;
}

.header-search:hover input, .header-search:focus-within input {
    width: 190px;
    padding-left: 14px;
}

.header-search .icon-btn {
    flex: 0 0 auto;
    border: 0;
    box-shadow: none;
}

.header-commerce-row {
    display: flex;
    align-items: center;
    flex: 0 0 100%;
    width: 100%;
    gap: 14px;
    padding: 10px 0 12px;
    border-top: 1px solid rgba(25, 25, 25, 0.07);
}

.header-search-persistent {
    flex: 1 1 auto;
    min-width: 0;
}

.header-search-persistent input,
.header-search-persistent:hover input,
.header-search-persistent:focus-within input {
    width: 100%;
    min-width: 0;
    padding-left: 14px;
}

.header-cart-persistent {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .header-search {
        flex: 1 1 100%;
    }

    .header-search input, .header-search:hover input, .header-search:focus-within input {
        width: 100%;
        padding-left: 14px;
    }

    .header-commerce-row {
        order: 3;
        gap: 10px;
    }
}

@media (max-width: 575px) {
    .header-commerce-row {
        padding-bottom: 10px;
    }

    .header-cart-persistent {
        min-height: 42px;
        padding: 9px 12px;
    }

    .header-cart-persistent .cart-total {
        font-size: 13px;
    }
}

.products-page-section {
    background: transparent;
    padding: 54px 0 76px;
}

.products-page {
    background: #f7f7f7;
}

.home-page {
    background: #f7f7f7;
}

.filter-sidebar {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: 0 28px 65px rgba(25, 25, 25, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.96);
    padding: 22px;
    position: sticky;
    top: 112px;
    backdrop-filter: blur(14px);
    transform-style: preserve-3d;
}

.mobile-filter-sidebar {
    box-shadow: none;
    border: 0;
    padding: 0;
    position: static;
}

.filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(25, 25, 25, 0.08);
    padding-bottom: 16px;
    margin-bottom: 18px;
}

.filter-head h2 {
    font-size: 21px;
    font-weight: 900;
    margin: 0;
}

.filter-head h2 i {
    color: var(--color-orange);
    margin-right: 6px;
}

.filter-head button,
.filter-head a {
    border: 0;
    background: transparent;
    color: var(--color-orange);
    font-weight: 800;
    font-size: 13px;
}

.filter-group {
    padding: 18px 0;
    border-bottom: 1px solid rgba(25, 25, 25, 0.08);
}

.filter-group:last-of-type {
    border-bottom: 0;
}

.filter-group h3 {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 14px;
}

.filter-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #3f4652;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 11px;
    cursor: pointer;
}

.filter-group label:last-child {
    margin-bottom: 0;
}

.filter-group .filter-field {
    display: block;
    margin-bottom: 0;
}

.filter-group .filter-field > span {
    display: block;
    margin: 0 0 8px;
    color: #3f4652;
    font-size: 13px;
}

.filter-group .form-select,
.filter-group .form-control {
    min-height: 44px;
    border-color: rgba(25, 25, 25, 0.13);
    border-radius: 10px;
    font-size: 14px;
}

.filter-group .form-select:focus,
.filter-group .form-control:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
}

.price-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.filter-group .category-filter-link {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 11px;
    color: #3f4652;
    font-size: 14px;
    font-weight: 700;
}

.filter-group .category-filter-link:hover,
.filter-group .category-filter-link.active {
    color: var(--color-orange);
}

.filter-group .category-filter-link span {
    margin-left: 0;
    color: inherit;
    font-size: inherit;
}

.filter-group .category-filter-link:last-child {
    margin-bottom: 0;
}

.filter-group input[type="checkbox"],
.filter-group input[type="radio"] {
    accent-color: var(--color-orange);
    margin-right: 8px;
}

.filter-group label span {
    margin-left: auto;
    color: var(--color-muted);
    font-size: 13px;
}

.price-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--color-muted);
    margin-bottom: 10px;
}

.price-values strong {
    color: var(--color-orange);
    font-size: 16px;
}

.form-range::-webkit-slider-thumb {
    background: var(--color-orange);
}

.form-range::-moz-range-thumb {
    background: var(--color-orange);
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
    padding: 15px 18px;
    margin-bottom: 16px;
    box-shadow: 0 20px 45px rgba(25, 25, 25, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    transform-style: preserve-3d;
}

.shop-toolbar span {
    color: var(--color-muted);
}

.shop-toolbar strong {
    color: var(--color-dark);
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toolbar-sort-form {
    min-width: 230px;
    margin: 0;
}

.toolbar-actions .form-select {
    width: 100%;
    border-radius: 12px;
    font-weight: 700;
    color: #3f4652;
}

.view-btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(25, 25, 25, 0.12);
    background: #fff;
    color: var(--color-dark);
    border-radius: 12px;
    font-size: 18px;
}

.view-btn.active,
.view-btn:hover {
    background: var(--color-orange);
    border-color: var(--color-orange);
    color: #fff;
}

.active-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.active-filter-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff4eb;
    color: var(--color-orange);
    border: 1px solid rgba(255, 106, 0, 0.18);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 800;
}

.active-filter-clear {
    display: inline-flex;
    align-items: center;
    color: var(--color-orange);
    font-size: 13px;
    font-weight: 800;
}

.shop-product-card {
    height: 100%;
}

.wishlist-btn {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(25, 25, 25, 0.08);
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-dark);
    font-size: 18px;
}

.wishlist-btn:hover {
    color: var(--color-orange);
    border-color: var(--color-orange);
}

.new-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    background: var(--color-dark);
    color: #fff;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
}

.product-meta span {
    background: #f4f4f4;
    color: #4b5563;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 800;
}

.product-placeholder-icon {
    display: grid;
    place-items: center;
    width: 138px;
    height: 138px;
    border-radius: 32px;
    background: linear-gradient(145deg, var(--color-dark), #343434);
    color: var(--color-orange);
    font-size: 58px;
    margin: auto;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.shop-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

.shop-pagination a,
.shop-pagination span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--color-dark);
    border: 1px solid rgba(25, 25, 25, 0.1);
    font-weight: 900;
}

.shop-pagination a.active,
.shop-pagination a:hover {
    background: var(--color-orange);
    border-color: var(--color-orange);
    color: #fff;
}

.shop-pagination span.disabled {
    opacity: 0.45;
    pointer-events: none;
}

@media (max-width: 991px) {
    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-actions {
        justify-content: space-between;
    }

    .toolbar-sort-form {
        flex: 1;
        min-width: 0;
    }

    .toolbar-actions .form-select {
        min-width: 0;
    }

    .shop-hero-small {
        padding: 34px 0 42px;
    }
}

@media (max-width: 575px) {
    .shop-search-box {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .shop-search-box input {
        flex-basis: calc(100% - 42px);
    }

    .shop-search-box button {
        width: 100%;
    }

    .view-btn {
        display: none;
    }
}

/* =========================
   AUTH PAGES - LOGIN / REGISTER
========================= */

.auth-page {
    min-height: calc(100vh - 180px);
    padding: 70px 0;
    background: radial-gradient(circle at top right, rgba(255, 106, 0, 0.16), transparent 35%),
    radial-gradient(circle at 12% 20%, rgba(51, 102, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7f8f9 100%);
}

.auth-page .row {
    perspective: 1200px;
}

.auth-info-card {
    position: relative;
    padding: 55px;
    min-height: 520px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(21, 21, 23, 0.96), rgba(39, 39, 42, 0.96)),
    radial-gradient(circle at top right, rgba(255, 106, 0, 0.35), transparent 38%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform-style: preserve-3d;
}

.auth-info-card::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -70px;
    top: -70px;
    border-radius: 50%;
    background: rgba(255, 106, 0, 0.18);
    transform: translateZ(24px);
}

.auth-info-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    left: -70px;
    bottom: -60px;
    border-radius: 50%;
    border: 28px solid rgba(255, 255, 255, 0.05);
    transform: rotateX(68deg) translateZ(10px);
}

.auth-3d-card > * {
    position: relative;
    z-index: 2;
}

.auth-label {
    position: relative;
    z-index: 2;
    display: inline-block;
    margin-bottom: 22px;
    color: #ff6a00;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.auth-info-card h1 {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin-bottom: 22px;
    color: #ffffff;
    font-size: 48px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -1px;
}

.auth-info-card p {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 18px;
    line-height: 1.7;
}

.auth-benefits {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 16px;
}

.auth-benefits div {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.auth-benefits i {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 106, 0, 0.14);
    color: #ff6a00;
    font-size: 20px;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
    transform: translateZ(24px);
}

.auth-form-card {
    padding: 42px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 32px 85px rgba(15, 15, 15, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    transform-style: preserve-3d;
}

.register-card {
    padding: 38px;
}

.auth-form-header {
    margin-bottom: 30px;
    text-align: center;
}

.auth-form-header h2 {
    margin-bottom: 8px;
    color: #171717;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.7px;
}

.auth-form-header p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
}

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

.form-group-custom label {
    margin-bottom: 8px;
    color: #202020;
    font-size: 14px;
    font-weight: 800;
}

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap i {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff6a00;
    font-size: 18px;
    z-index: 2;
    pointer-events: none;
}

.input-icon-wrap .form-control {
    height: 54px;
    padding-left: 48px;
    border-radius: 15px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #171717;
    font-weight: 600;
    transition: 0.2s ease;
    box-shadow: inset 0 2px 5px rgba(25, 25, 25, 0.03);
}

.input-icon-wrap .form-control:focus {
    border-color: #ff6a00;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.10);
}

.input-icon-wrap .form-control::placeholder {
    color: #9ca3af;
    font-weight: 500;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin: 4px 0 24px;
}

.auth-options .form-check-label,
.terms-check .form-check-label {
    color: #555;
    font-size: 14px;
    font-weight: 600;
}

.form-check-input:checked {
    background-color: #ff6a00;
    border-color: #ff6a00;
}

.forgot-link,
.terms-check a {
    color: #ff6a00;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.forgot-link:hover,
.terms-check a:hover {
    text-decoration: underline;
}

.terms-check {
    margin: 4px 0 24px;
}

.input-icon-wrap .form-select {
    height: 54px;
    padding-left: 48px;
    padding-right: 42px;
    border-radius: 15px;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
    color: #202020;
    font-weight: 600;
    transition: 0.2s ease;
    box-shadow: inset 0 2px 5px rgba(25, 25, 25, 0.03);
}

.input-icon-wrap .form-select:focus {
    border-color: #ff6a00;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.10);
}

.terms-check .terms-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.terms-check .form-check-input {
    position: static;
    float: none;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    cursor: pointer;
    z-index: 1;
}

.terms-check .terms-label-text {
    line-height: 1.45;
}

.checkout-discount-row {
    color: #198754;
}

.btn-auth-primary {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 16px;
    background: #ff6a00;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(255, 106, 0, 0.24);
    transition: 0.25s ease;
    transform-style: preserve-3d;
}

.btn-auth-primary:hover {
    background: #e95f00;
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(255, 106, 0, 0.30);
}

.btn-auth-secondary {
    display: flex;
    width: 100%;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid #171717;
    background: #ffffff;
    color: #171717;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    transition: 0.25s ease;
    box-shadow: 0 12px 24px rgba(25, 25, 25, 0.06);
}

.btn-auth-secondary:hover {
    background: #171717;
    color: #ffffff;
}

.auth-divider {
    position: relative;
    margin: 26px 0;
    text-align: center;
}

.auth-divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 0 15px;
    background: #ffffff;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 700;
}

.header-icon.active {
    color: #ff6a00;
}

.register-info-card {
    min-height: 600px;
}

/* Add product */
.product-form-page {
    background: #f7f7f7;
}

.product-form-hero {
    padding: 42px 0 54px;
    background: radial-gradient(circle at 82% 24%, rgba(255, 106, 0, 0.18), transparent 26%),
    radial-gradient(circle at 13% 10%, rgba(51, 102, 255, 0.1), transparent 24%),
    linear-gradient(135deg, #ffffff, #f2f5f7);
}

.product-form-hero h1 {
    margin: 8px 0 12px;
    font-size: clamp(38px, 4vw, 56px);
    font-weight: 900;
    letter-spacing: -1.5px;
}

.product-form-hero p {
    margin: 0;
    color: var(--color-muted);
    font-size: 18px;
}

.product-form-section {
    padding: 52px 0 76px;
}

.product-form-alert {
    border: 0;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.product-editor-card {
    height: auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 30px 75px rgba(25, 25, 25, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    transform-style: preserve-3d;
}

.editor-card-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eeeeee;
}

.editor-card-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(255, 106, 0, 0.12);
    color: var(--color-orange);
    font-size: 22px;
    box-shadow: 0 14px 24px rgba(255, 106, 0, 0.12);
    transform: translateZ(24px);
}

.editor-card-heading h2 {
    margin: 0 0 3px;
    font-size: 21px;
    font-weight: 900;
}

.editor-card-heading p {
    margin: 0;
    color: var(--color-muted);
    font-size: 13px;
}

.product-description,
.product-plain-input {
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    background: #f9fafb;
    font-weight: 600;
}

.product-description {
    padding: 15px 17px;
    resize: vertical;
}

.product-plain-input {
    height: 54px;
    padding: 0 17px;
}

.product-description:focus,
.product-plain-input:focus {
    border-color: var(--color-orange);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.10);
}

.form-hint {
    margin-top: 7px;
    color: #9ca3af;
    font-size: 12px;
}

.product-active-check {
    margin-top: 4px;
    font-weight: 700;
}

.product-upload-box {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px;
    border: 2px dashed rgba(255, 106, 0, 0.38);
    border-radius: 18px;
    background: #fff8f2;
    text-align: center;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86), 0 14px 28px rgba(255, 106, 0, .08);
}

.product-upload-box:hover {
    border-color: var(--color-orange);
    background: #fff3e9;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 18px 34px rgba(255, 106, 0, .12);
}

.product-upload-box i {
    color: var(--color-orange);
    font-size: 32px;
    margin-bottom: 8px;
}

.product-upload-box strong {
    font-size: 15px;
}

.product-upload-box span {
    color: var(--color-muted);
    font-size: 12px;
    margin: 4px 0 12px;
}

.product-upload-box input {
    max-width: 100%;
    font-size: 12px;
}

.secondary-upload {
    min-height: 130px;
    margin-top: 16px;
    background: #fafafa;
}

.product-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 28px;
    padding: 22px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, .92);
    box-shadow: 0 24px 58px rgba(25, 25, 25, .11), inset 0 1px 0 rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    transform-style: preserve-3d;
}

.product-form-actions .btn {
    min-width: 170px;
    padding: 13px 22px;
}

@media (max-width: 575px) {
    .product-editor-card {
        padding: 22px 18px;
    }

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

    .product-form-actions .btn {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 991px) {
    .auth-page {
        padding: 45px 0;
    }

    .auth-form-card {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .auth-form-header h2 {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .auth-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .auth-form-card {
        padding: 28px 20px;
    }

    .btn-auth-primary,
    .btn-auth-secondary {
        height: 52px;
    }
}

/* Product cards and details */
.product-name-link {
    color: var(--color-dark);
    transition: color .2s ease;
}

.product-name-link:hover {
    color: var(--color-orange);
}

.product-card-description {
    min-height: 42px;
    margin: 0 0 14px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.product-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 16px;
}

.product-card-actions .btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
}

.product-card-actions .add-cart {
    min-width: 52px;
    font-size: 20px;
    white-space: nowrap;
}

.product-card-actions .add-cart.is-added {
    font-size: 14px;
}

.product-details-page {
    background: #f7f7f7;
}

.product-details-hero {
    padding: 42px 0 70px;
    background: radial-gradient(circle at 80% 24%, rgba(255, 106, 0, .18), transparent 25%),
    radial-gradient(circle at 12% 10%, rgba(51, 102, 255, 0.1), transparent 24%),
    linear-gradient(135deg, #fff, #f2f5f7);
}

.product-details-hero .custom-breadcrumb {
    margin-bottom: 32px;
}

.product-gallery, .product-details-card, .product-information-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 75px rgba(25, 25, 25, .13), inset 0 1px 0 rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    transform-style: preserve-3d;
}

.product-gallery {
    padding: 22px;
}

.product-gallery-main {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 19px;
    background: radial-gradient(circle at 50% 64%, rgba(255, 106, 0, 0.13), transparent 28%),
    linear-gradient(145deg, #fafafa, #ededed);
    box-shadow: inset 0 18px 36px rgba(255, 255, 255, .72), inset 0 -24px 42px rgba(25, 25, 25, .06);
    perspective: 900px;
}

.product-gallery-main img {
    position: relative;
    z-index: 1;
    width: 90%;
    height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 34px 30px rgba(0, 0, 0, .2));
    transform: translateZ(48px) rotateY(-4deg);
}

.product-3d-stage::after {
    content: "";
    position: absolute;
    width: 58%;
    height: 26%;
    left: 21%;
    bottom: 11%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(25, 25, 25, .16), transparent 70%);
    transform: rotateX(68deg);
    z-index: 0;
}

.product-details-placeholder {
    color: var(--color-orange);
    font-size: 120px;
}

.product-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    overflow-x: auto;
    padding: 2px 2px 6px;
}

.product-thumbnail {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    padding: 6px;
    border: 2px solid transparent;
    border-radius: 14px;
    background: #f3f4f6;
    cursor: pointer;
    transition: .2s ease;
    box-shadow: 0 12px 22px rgba(25, 25, 25, .08);
}

.product-thumbnail:hover, .product-thumbnail.active {
    border-color: var(--color-orange);
    background: #fff7f0;
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(255, 106, 0, .16);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-details-card {
    padding: 34px;
}

.product-details-heading {
    text-align: center;
}

.product-details-card .product-details-heading h1 {
    margin-bottom: 8px;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.2;
    letter-spacing: -0.4px;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.product-details-heading .eyebrow {
    display: inline-block;
    padding-bottom: 3px;
    border-bottom: 2px solid currentColor;
    margin-bottom: 18px;
}

.product-details-card h1 {
    margin: 0 0 18px;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -1.4px;
}

.product-details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-bottom: 22px;
    border-bottom: 1px solid #ececec;
    color: var(--color-muted);
    font-size: 14px;
}

.product-details-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.product-details-meta .in-stock {
    color: #16803c;
}

.product-details-meta .out-of-stock {
    color: #c52b2b;
}

.product-details-price {
    margin: 25px 0 18px;
    color: var(--color-orange);
    font-size: 36px;
    line-height: 1;
    font-weight: 900;
}

.product-details-description {
    color: #4b5563;
    line-height: 1.75;
    white-space: pre-line;
}

.product-stock-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 22px 0;
    padding: 13px 15px;
    border-radius: 13px;
    background: #f0faf4;
    color: #16803c;
    font-size: 14px;
}

.product-purchase-actions {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 12px;
    align-items: end;
    margin-top: 24px;
}

.quantity-control span {
    display: block;
    margin-bottom: 7px;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 800;
}

.quantity-control input {
    width: 100%;
    height: 52px;
    padding: 0 12px;
    border: 1px solid #dcdfe4;
    border-radius: 11px;
    font-weight: 800;
}

.product-add-cart {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.product-purchase-actions > .product-add-cart:only-child {
    grid-column: 1 / -1;
}

.product-details-assurances {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #ececec;
}

.product-details-assurances > div {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.product-details-assurances i {
    color: var(--color-orange);
    font-size: 20px;
    filter: drop-shadow(0 8px 10px rgba(255, 106, 0, .22));
}

.product-details-assurances span {
    color: var(--color-muted);
    font-size: 11px;
    line-height: 1.3;
}

.product-details-assurances strong {
    display: block;
    color: var(--color-dark);
    font-size: 12px;
}

.product-information-section {
    padding: 70px 0 82px;
}

.product-information-card {
    padding: 38px;
}

.product-information-card .section-title {
    margin-bottom: 22px;
}

.product-description-content {
    max-width: 900px;
    margin-bottom: 28px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.8;
    white-space: normal;
}

.product-description-content p:last-child {
    margin-bottom: 0;
}

.product-description-content table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.product-description-content th,
.product-description-content td {
    padding: 10px 12px;
    border: 1px solid #dee2e6;
    text-align: left;
}

.product-description-content th {
    background: #f7f7f7;
}

.related-products-section {
    padding: 0 0 82px;
}

.related-products-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 50px;
}

.related-products-swiper {
    padding: 6px 2px 18px;
}

.related-products-swiper .swiper-slide {
    height: auto;
}

.related-products-swiper .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-products-swiper .product-image {
    flex-shrink: 0;
    height: 110px;
    font-size: 40px;
}

.related-products-swiper .product-placeholder-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    font-size: 30px;
}

.related-products-swiper .product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding: 10px 10px 12px;
}

.related-products-swiper .product-content h3 {
    min-height: 34px;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.3;
}

.related-products-swiper .product-content .price {
    margin-top: auto;
    margin-bottom: 0;
    font-size: 15px;
}

.related-products-swiper .product-content > .btn {
    margin-top: 8px;
    padding: 6px 10px;
    font-size: 12px;
}

.related-products-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 106, 0, .4);
    border-radius: 14px;
    background: linear-gradient(145deg, #303030, #171717);
    color: #ff923f;
    box-shadow: 0 10px 24px rgba(25, 25, 25, .2), inset 0 1px 0 rgba(255, 255, 255, .12);
    font-size: 17px;
    transform: translateY(-50%);
    transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease;
}

.related-products-nav i {
    line-height: 1;
}

.related-products-nav:hover:not(.swiper-button-disabled) {
    border-color: var(--color-orange);
    background: linear-gradient(145deg, var(--color-orange), var(--color-orange-dark));
    color: #fff;
    box-shadow: 0 12px 26px rgba(255, 106, 0, .3);
    transform: translateY(calc(-50% - 2px));
}

.related-products-nav:focus-visible {
    outline: 3px solid rgba(255, 106, 0, .35);
    outline-offset: 3px;
}

.related-products-nav.swiper-button-disabled {
    opacity: .4;
    cursor: default;
}

.related-products-prev { left: 0; }
.related-products-next { right: 0; }

.related-products-footer {
    margin-top: 12px;
}

.related-products-empty {
    color: var(--color-muted);
}

@media (max-width: 575.98px) {
    .related-products-section { padding-bottom: 56px; }
    .related-products-carousel { max-width: 320px; padding: 0 40px; }
    .related-products-nav { width: 34px; height: 34px; border-radius: 11px; font-size: 14px; }
}

/* Cart */
.cart-page {
    min-height: 65vh;
    background: #f7f7f7;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.cart-items-card, .cart-summary-card {
    padding: 26px;
    border: 1px solid #ececec;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 22px 55px rgba(25, 25, 25, .09);
}

.cart-summary-card {
    position: sticky;
    top: 115px;
}

.cart-summary-card h2 {
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 900;
}

.cart-summary-card > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
}

.cart-summary-total {
    margin: 10px 0 20px;
    border-top: 1px solid #e5e7eb;
    font-size: 19px;
}

.cart-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 82px 110px 42px;
    gap: 20px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #ececec;
}

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

.cart-item-image {
    display: flex;
    width: 110px;
    height: 90px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 14px;
    background: #f4f4f4;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-image i {
    color: var(--color-orange);
    font-size: 38px;
}

.cart-item-info h2 {
    margin: 0 0 8px;
    color: var(--color-dark);
    font-size: 18px;
    font-weight: 800;
}

.cart-item-quantity span {
    display: block;
    margin-bottom: 5px;
    color: var(--color-muted);
    font-size: 11px;
}

.quantity-stepper {
    display: inline-grid;
    grid-template-columns: 52px 28px;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #dcdfe4;
    border-radius: 10px;
    background: #fff;
}

.quantity-step-arrows {
    display: grid;
    grid-template-rows: 1fr 1fr;
    border-left: 1px solid #dcdfe4;
}

.quantity-stepper button {
    display: flex;
    height: 20px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: #f3f4f6;
    color: var(--color-dark);
    font-size: 11px;
    font-weight: 800;
}

.quantity-stepper button + button {
    border-top: 1px solid #dcdfe4;
}

.quantity-stepper button:hover {
    background: #fff0e5;
    color: var(--color-orange);
}

.quantity-stepper input {
    width: 52px;
    height: 40px;
    padding: 0 3px;
    border: 0;
    text-align: center;
    font-weight: 800;
}

.quantity-stepper input:focus {
    outline: 2px solid rgba(255, 106, 0, .3);
    outline-offset: -2px;
}

.cart-item-total {
    color: var(--color-orange);
}

.cart-remove {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff1f1;
    color: #c52b2b;
}

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

.cart-empty i {
    color: var(--color-orange);
    font-size: 65px;
}

.cart-empty h2 {
    margin-top: 14px;
    font-weight: 900;
}

.cart-count {
    display: inline-flex;
    min-width: 21px;
    height: 21px;
    align-items: center;
    justify-content: center;
    margin-right: 7px;
    border-radius: 20px;
    background: var(--color-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.cart-auth-hint {
    margin: 12px 0 0;
    color: var(--color-muted);
    text-align: center;
    font-size: 13px;
}

.cart-auth-hint a {
    color: var(--color-orange);
    font-weight: 800;
}

.cart-guest-checkout {
    display: block;
    margin-top: 6px;
    color: var(--color-orange);
    text-align: center;
    font-size: 14px;
    font-weight: 800;
}

.cart-guest-checkout:hover {
    color: var(--color-dark);
}

.checkout-card > div.checkout-customer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 18px;
    padding: 13px 15px;
    border-radius: 12px;
    background: #f5f6f7;
}

.checkout-customer small {
    color: var(--color-muted);
}

.checkout-payment-note {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 9px;
    margin-bottom: 8px;
    color: #16803c;
    font-size: 14px;
}

.checkout-payment-note i {
    font-size: 20px;
}

.existing-product-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.existing-product-image {
    display: grid;
    gap: 7px;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    font-size: 13px;
}

.existing-product-image img {
    width: 100%;
    height: 100px;
    border-radius: 8px;
    object-fit: contain;
    background: #f5f6f7;
}

.existing-product-image label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary-card {
        position: static;
    }
}

@media (max-width: 767px) {
    .cart-item {
        grid-template-columns: 80px 1fr 42px;
        gap: 12px;
    }

    .cart-item-image {
        width: 80px;
        height: 75px;
    }

    .cart-item-quantity {
        grid-column: 2;
    }

    .cart-item-total {
        grid-column: 2;
    }

    .cart-remove {
        grid-column: 3;
        grid-row: 1;
    }
}

/* Order administration */
.admin-orders-page {
    min-height: 70vh;
    background: #f6f7f8;
}

.admin-table-card, .admin-detail-card {
    padding: 24px;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(25, 25, 25, .08);
}

.ip-visit-statistics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: -10px 0 28px;
}

.ip-visit-stat-card {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 126px;
    padding: 24px;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(25, 25, 25, .08);
}

.ip-visit-stat-icon {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    background: var(--color-orange);
    font-size: 23px;
}

.ip-visit-stat-card span,
.ip-visit-stat-card small {
    display: block;
    color: #6c757d;
    font-weight: 700;
}

.ip-visit-stat-card strong {
    display: block;
    color: #171717;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.product-information-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: -10px 0 28px;
}

.product-information-stat {
    position: relative;
    min-width: 0;
    padding: 22px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(25, 25, 25, .08);
}

.product-information-stat > i {
    display: block;
    margin-bottom: 14px;
    color: var(--color-orange);
    font-size: 26px;
}

.product-information-stat span,
.product-information-stat small {
    display: block;
    color: #6c757d;
    font-weight: 700;
}

.product-information-stat strong {
    display: block;
    margin-top: 3px;
    color: #171717;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.15;
}

.product-information-stat .product-information-money {
    font-size: clamp(20px, 2.3vw, 30px);
}

.product-information-table {
    min-width: 1250px;
}

.product-information-name {
    color: var(--color-dark);
    font-weight: 800;
    text-decoration: none;
}

.product-information-name:hover {
    color: var(--color-orange);
}

@media (max-width: 1199px) {
    .product-information-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .product-information-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .ip-visit-statistics {
        grid-template-columns: 1fr;
    }
}

.admin-orders-table {
    margin: 0;
    white-space: nowrap;
}

.admin-orders-table th {
    padding: 14px 12px;
    color: var(--color-muted);
    font-size: 12px;
    text-transform: uppercase;
}

.admin-orders-table td {
    padding: 16px 12px;
}

.admin-order-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.admin-order-filters a {
    padding: 9px 14px;
    border: 1px solid #dedede;
    border-radius: 999px;
    background: #fff;
    color: var(--color-dark);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: .2s ease;
}

.admin-order-filters a:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

.admin-order-filters a.active {
    border-color: var(--color-dark);
    background: var(--color-dark);
    color: #fff;
}

.error-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: radial-gradient(circle at top, #fff 0, #f4f5f7 55%, #eceff2 100%);
}

.error-card {
    width: min(100%, 680px);
    padding: clamp(32px, 7vw, 64px);
    border: 1px solid rgba(25, 25, 25, .08);
    border-radius: 28px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 65px rgba(25, 25, 25, .12);
    text-align: center;
}

.error-code {
    color: var(--color-orange);
    font-size: clamp(72px, 18vw, 150px);
    font-weight: 900;
    line-height: .85;
    letter-spacing: -.06em;
}

.error-icon {
    display: block;
    margin: 28px 0 12px;
    color: var(--color-muted);
    font-size: 28px;
}

.error-card h1 {
    margin-bottom: 14px;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 900;
}

.error-card p {
    max-width: 540px;
    margin: 0 auto 30px;
    color: var(--color-muted);
    font-size: 17px;
    line-height: 1.65;
}

.ip-addresses-table {
    min-width: 1120px;
}

.ip-ban-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ip-ban-actions form:first-child {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ip-ban-actions input {
    width: 72px;
}

.order-status {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 30px;
    background: #eef0f2;
    font-size: 12px;
    font-weight: 900;
}

.status-new {
    background: #e8f2ff;
    color: #1769aa;
}

.status-confirmed {
    background: #eee9ff;
    color: #6041b2;
}

.status-processing {
    background: #fff3d9;
    color: #9b6700;
}

.status-shipped {
    background: #e4f7fa;
    color: #08788a;
}

.status-delivered {
    background: #e7f8ed;
    color: #16803c;
}

.status-cancelled, .status-returned {
    background: #ffe9e9;
    color: #b52323;
}

.admin-order-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 0 28px;
}

.admin-order-heading span:first-child {
    color: var(--color-muted);
    font-size: 13px;
}

.admin-order-heading h1 {
    margin: 3px 0 0;
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 900;
}

.admin-order-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr);
    gap: 26px;
    align-items: start;
}

.admin-detail-card h2 {
    margin-bottom: 20px;
    font-size: 21px;
    font-weight: 900;
}

.admin-order-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto auto;
    gap: 15px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #ececec;
}

.admin-order-item-image {
    display: flex;
    width: 72px;
    height: 62px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 11px;
    background: #f3f4f5;
}

.admin-order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.admin-order-item-image i {
    color: var(--color-orange);
    font-size: 27px;
}

.admin-order-item small {
    display: block;
    color: var(--color-muted);
}

.admin-order-totals {
    max-width: 360px;
    margin: 18px 0 0 auto;
}

.admin-order-totals > div {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
}

.admin-order-totals .total {
    margin-top: 7px;
    padding-top: 14px;
    border-top: 1px solid #ddd;
    color: var(--color-orange);
    font-size: 19px;
}

.order-history-entry {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px solid #eee;
}

.order-history-entry > i {
    color: var(--color-orange);
    font-size: 20px;
}

.order-history-entry p {
    margin: 5px 0;
}

.order-history-entry small {
    color: var(--color-muted);
}

.admin-customer-note {
    margin-top: 18px;
    padding: 13px;
    border-radius: 11px;
    background: #fff8f2;
}

.admin-customer-note p {
    margin: 6px 0 0;
    white-space: pre-line;
}

@media (max-width: 991px) {
    .admin-order-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .admin-ip-addresses-card {
        padding: 16px;
        overflow: hidden;
    }

    .ip-addresses-table-wrapper {
        overflow: visible;
    }

    .ip-addresses-table {
        display: block;
        min-width: 0;
        width: 100%;
        white-space: normal;
    }

    .ip-addresses-table thead {
        display: none;
    }

    .ip-addresses-table tbody {
        display: grid;
        gap: 14px;
    }

    .ip-addresses-table tr {
        display: block;
        overflow: hidden;
        border: 1px solid #e4e7eb;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 8px 24px rgba(25, 25, 25, .06);
    }

    .ip-addresses-table td {
        display: grid;
        grid-template-columns: minmax(110px, .42fr) minmax(0, 1fr);
        gap: 14px;
        align-items: center;
        width: 100%;
        padding: 12px 14px;
        border: 0;
        border-bottom: 1px solid #edf0f2;
        overflow-wrap: anywhere;
    }

    .ip-addresses-table td:last-child {
        border-bottom: 0;
    }

    .ip-addresses-table td::before {
        content: attr(data-label);
        color: var(--color-muted);
        font-size: 11px;
        font-weight: 800;
        line-height: 1.25;
        text-transform: uppercase;
    }

    .ip-addresses-table td > * {
        min-width: 0;
    }

    .ip-ban-actions {
        flex-wrap: wrap;
    }

    .ip-ban-actions form:first-child {
        flex-wrap: wrap;
    }

    .ip-ban-actions .btn,
    .ip-addresses-table td:last-child > form .btn {
        white-space: normal;
    }

    .admin-ip-addresses-card .pagination {
        flex-wrap: wrap;
        row-gap: 8px;
    }
}

@media (max-width: 575px) {
    .admin-order-item {
        grid-template-columns: 60px 1fr;
    }

    .admin-order-item > span, .admin-order-item > strong {
        grid-column: 2;
    }

    .admin-orders-page > .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .admin-ip-addresses-card {
        padding: 10px;
        border-radius: 14px;
    }

    .ip-addresses-table td {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 10px;
        padding: 11px;
    }

    .ip-ban-actions {
        align-items: stretch;
    }

    .ip-ban-actions form {
        width: 100%;
    }

    .ip-ban-actions form:first-child {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .ip-ban-actions input {
        width: 64px;
    }

    .ip-ban-actions .btn,
    .ip-addresses-table td:last-child > form .btn {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .product-gallery-main {
        min-height: 440px;
    }

    .product-gallery-main img {
        height: 400px;
    }
}

@media (max-width: 575px) {
    .product-details-hero {
        padding: 28px 0 48px;
    }

    .product-gallery {
        padding: 14px;
    }

    .product-gallery-main {
        min-height: 330px;
    }

    .product-gallery-main img {
        height: 300px;
    }

    .product-details-card, .product-information-card {
        padding: 25px 20px;
    }

    .product-details-card h1 {
        font-size: 34px;
    }

    .product-purchase-actions, .product-details-assurances {
        grid-template-columns: 1fr;
    }
}
.kit-product-thumb {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background: #f3f4f6;
    color: #8b9098;
}

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

.kit-product-thumb-editor {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
}
/* Checkout delivery and product questions */
.courier-choice { display: flex; align-items: center; justify-content: center; gap: 1rem; width: 100%; padding: 1rem; border: 2px solid #164a88; border-radius: 12px; background: #f0f6ff; color: #164a88; font-size: 1.3rem; }
.delivery-type-options { display: flex; flex-wrap: wrap; gap: 1rem; }
.delivery-type-options label { padding: .7rem 1rem; border: 1px solid #ddd; border-radius: 8px; cursor: pointer; }
.delivery-recipient { white-space: pre-line; overflow-wrap: anywhere; }
.delivery-summary-row { display: flex; justify-content: space-between; }
#deliveryForm .cart-summary-total { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; }
.product-question form { background: #fafafa; }
.product-question .form-label { display: block; }
.product-stock-input { min-width: 100px; max-width: 140px; }
.product-stock-input.stock-edited { border-color: #ef8d16; background-color: #fff6e8; }
