

:root {

    --primary-blue: #0F2747;

    --primary-blue-light: #16365f;

    --gold: #C8A24A;

    --gold-hover: #B38B2E;

    --background: #F4F5F7;

    --white: #FFFFFF;

    --text: #1F2937;

    --text-light: #4B5563;

    --border: #E5E7EB;

}



* {

    box-sizing: border-box;

}



body {

    margin: 0;

    font-family: 'Inter', Arial, sans-serif;

    background: var(--background);

    color: var(--text);

    line-height: 1.6;

}



/* HEADER */


header {

    background: var(--primary-blue);

    color: white;

    padding: 25px 40px;

    border-bottom: 4px solid var(--gold);

}



header h1 {

    margin: 0;

    font-size: 32px;

    font-weight: 700;

}




nav a {

    color: white;

    text-decoration: none;

    margin-right: 0;

    font-weight: 600;

    font-size: 14.5px;

    letter-spacing: 0.2px;

    transition: 0.3s;

}



.main-nav a:hover {

    color: var(--gold);

}



/* MAIN */


main {

    max-width: 1200px;

    margin: 40px auto;

    padding: 30px;

}




h1, h2, h3 {

    color: var(--text);

}




/* BUTTON STYLE */


button,
.btn {

    display: inline-block;

    background: var(--gold);

    color: white;

    padding: 12px 25px;

    border-radius: 6px;

    border: none;

    text-decoration: none;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;

}



button:hover,
.btn:hover {

    background: var(--gold-hover);

}




/* PRODUCT GRID */


.product-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));

    gap: 25px;

}




.product-card {

    position: relative;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 12px;

    padding: 16px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.05);

    transition: 0.3s;

    display: flex;

    flex-direction: column;

}



.product-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 30px rgba(0,0,0,0.1);

}



.product-card-fav-form {

    position: absolute;

    top: 14px;

    right: 14px;

    z-index: 2;

    margin: 0;

}


.product-card-fav {

    width: 32px;

    height: 32px;

    border: none;

    border-radius: 50%;

    background: rgba(255,255,255,0.9);

    color: var(--text-light);

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: 0.2s;

}


.product-card-fav:hover {

    color: var(--gold-hover);

    background: white;

}


.product-card-fav.active {

    color: #c62828;

    background: white;

}


.product-card-media {

    display: block;

}


.product-card-media img {

    width: 100%;

    height: 220px;

    object-fit: contain;

}


.product-card-body {

    display: flex;

    flex-direction: column;

    flex: 1;

    margin-top: 12px;
}


.product-card-title-link {

    text-decoration: none;

}


.product-card-title {

    font-size: 16px;

    font-weight: 700;

    color: var(--primary-blue);

    margin: 0;

    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;

}


.product-card-title-link:hover .product-card-title {

    color: var(--gold-hover);

}


.product-card-subtitle {

    font-size: 13px;

    color: var(--text-light);

    margin: 4px 0 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;

}


.product-card-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-top: auto;

    padding-top: 14px;

}


.product-card-footer .price {

    margin: 0;

}


.product-card-cart-form {

    margin: 0;

}


.product-card-cart-btn {

    width: 40px;

    height: 40px;

    border: none;

    border-radius: 8px;

    background: var(--gold);

    color: var(--primary-blue);

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: 0.2s;

}


.product-card-cart-btn:hover {

    background: var(--gold-hover);

}


.product-card-outofstock {

    font-size: 12px;

    color: var(--text-light);

}



.price {

    font-size: 22px;

    font-weight: 700;

    color: var(--primary-blue);

}



.catalog-head {

    margin-bottom: 24px;

}


.catalog-query-info {

    color: var(--text-light);

    margin-top: 6px;

}



/* FOOTER */


footer {

    background: var(--primary-blue);

    color: white;

    padding: 50px 30px 0;

    margin-top: 50px;

    border-top: 4px solid var(--gold);

}


.footer-inner {

    max-width: 1400px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;

    gap: 30px;

    padding-bottom: 40px;

}


.footer-social {

    display: flex;

    gap: 10px;

    margin-top: 16px;

}


.footer-social a {

    width: 34px;

    height: 34px;

    border-radius: 8px;

    background: rgba(255,255,255,0.08);

    color: rgba(255,255,255,0.85);

    display: flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    transition: 0.2s;

}


.footer-social a:hover {

    background: var(--gold);

    color: var(--primary-blue);

}


.footer-contact {

    display: flex;

    align-items: center;

    gap: 8px;

    color: rgba(255,255,255,0.75);

    text-decoration: none;

    font-size: 14px;

    transition: 0.2s;

}


.footer-contact svg {

    flex-shrink: 0;

    color: var(--gold);

}


a.footer-contact:hover {

    color: var(--gold);

}


.footer-hours {

    font-size: 13px;

    color: rgba(255,255,255,0.6);

    line-height: 1.6;

    margin-top: 4px;

}


.footer-col h4 {

    color: var(--gold);

    font-size: 13px;

    letter-spacing: 1px;

    margin: 0 0 16px;

}


.footer-col {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.footer-col a {

    color: rgba(255,255,255,0.75);

    text-decoration: none;

    font-size: 14px;

    transition: 0.2s;

}


.footer-col a:hover {

    color: var(--gold);

}


.footer-logo {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 14px;

}


.footer-logo-title {

    font-weight: 700;

    font-size: 17px;

}


.footer-logo-tagline {

    font-size: 9px;

    letter-spacing: 1.5px;

    color: var(--gold);

}


.footer-telegram {

    display: inline-flex;

    color: rgba(255,255,255,0.75);

    font-size: 14px;

    text-decoration: none;

}


.footer-telegram:hover {

    color: var(--gold);

}


.footer-bottom {

    border-top: 1px solid rgba(255,255,255,0.1);

    padding: 18px 0;

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: center;

    gap: 8px 28px;

    text-align: center;

    font-size: 13px;

    color: rgba(255,255,255,0.6);

}


.footer-bottom a {

    color: rgba(255,255,255,0.6);

    text-decoration: none;

    transition: 0.2s;

}


.footer-bottom a:hover {

    color: var(--gold);

}


@media (max-width: 1000px) {

    .footer-inner {

        grid-template-columns: 1fr 1fr 1fr;

    }

}


@media (max-width: 800px) {

    .footer-inner {

        grid-template-columns: 1fr 1fr;

    }

}


@media (max-width: 480px) {

    .footer-inner {

        grid-template-columns: 1fr;

    }

}




.site-header {
    background: var(--primary-blue);
    border-bottom: 4px solid var(--gold);
    position: relative;
    padding-top: 40px;
}


.header-top {

    position: absolute;

    top: 8px;

    right: 16px;

    z-index: 70;

}


.header-telegram {

    display: flex;

    align-items: center;

    gap: 6px;

    color: rgba(255,255,255,0.75);

    text-decoration: none;

    font-size: 12px;

    font-weight: 500;

    transition: 0.2s;

}


.header-telegram:hover {

    color: var(--gold);

}


.header-top-right {

    display: flex;

    align-items: center;

    gap: 6px;

}


.header-top-right .lang-current {

    padding: 4px 9px;

    font-size: 12px;

}


.lang-switcher,
.currency-switcher {

    position: relative;

}


.lang-current {

    list-style: none;

    cursor: pointer;

    display: flex;

    align-items: center;

    gap: 8px;

    color: white;

    font-size: 13px;

    font-weight: 600;

    padding: 6px 12px;

    border-radius: 6px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.2);

    transition: 0.3s;

}


.lang-current::-webkit-details-marker {

    display: none;

}


.lang-current::after {

    content: "▾";

    font-size: 10px;

    margin-left: 2px;

    opacity: 0.8;

}


details[open] > .lang-current::after {

    content: "▴";

}


.lang-current:hover {

    background: rgba(255,255,255,0.16);

    border-color: var(--gold);

}


.lang-label {

    opacity: 0.75;

    font-weight: 500;

}


.flag-icon {

    border-radius: 2px;

    display: block;

    box-shadow: 0 0 0 1px rgba(255,255,255,0.2);

}


.lang-dropdown {

    position: absolute;

    top: calc(100% + 6px);

    right: 0;

    background: var(--primary-blue-light);

    border: 1px solid rgba(255,255,255,0.15);

    border-radius: 8px;

    overflow: hidden;

    min-width: 130px;

    box-shadow: 0 8px 20px rgba(0,0,0,0.35);

    z-index: 60;

}


.lang-dropdown a {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 10px 14px;

    color: white;

    text-decoration: none;

    font-size: 13px;

    font-weight: 500;

    transition: 0.2s;

}


.lang-dropdown a:hover {

    background: rgba(255,255,255,0.1);

    color: var(--gold);

}


.header-container {
    max-width: 1400px;
    margin: auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}


.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    color:white;
    text-decoration:none;
}


.logo-icon {

    flex-shrink: 0;

    display: flex;

}


.logo-text {

    display: flex;

    flex-direction: column;

    line-height: 1.2;

}


.logo-icon svg {
    width: 46px;
    height: 46px;
}


.logo-title {
    font-size: 30px;
    font-weight: 700;
    white-space: nowrap;
}


.logo-tagline {

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 2px;

    color: var(--gold);

    white-space: nowrap;

}


.logo a:hover .logo-title {
    color:var(--gold);
}


.header-nav-row {

    background: linear-gradient(120deg, #060f1e 0%, #0F2747 35%, #17385f 50%, #0F2747 65%, #060f1e 100%);

    background-size: 260% 260%;

    animation: navShimmer 10s ease-in-out infinite;

    border-top: 1px solid rgba(255,255,255,0.06);

}


@keyframes navShimmer {

    0% { background-position: 0% 50%; }

    50% { background-position: 100% 50%; }

    100% { background-position: 0% 50%; }

}


.header-nav-row > div,
.header-nav-row {

    display: flex;

    align-items: center;

    gap: 24px;

    max-width: 1400px;

    margin: auto;

    padding: 0 30px;

}


.catalog-dropdown {

    position: relative;

    flex-shrink: 0;

}


.catalog-dropdown-btn {

    list-style: none;

    cursor: pointer;

    display: flex;

    align-items: center;

    gap: 8px;

    background: var(--gold);

    color: var(--primary-blue);

    font-weight: 700;

    font-size: 14px;

    letter-spacing: 0.3px;

    padding: 14px 20px;

    white-space: nowrap;

    transition: 0.2s;

}


.catalog-dropdown-btn::-webkit-details-marker {

    display: none;

}


.catalog-dropdown-btn:hover {

    background: var(--gold-hover);

}


.catalog-dropdown-panel {

    position: absolute;

    top: 100%;

    left: 0;

    background: var(--primary-blue-light);

    border: 1px solid rgba(255,255,255,0.15);

    border-top: 3px solid var(--gold);

    min-width: 220px;

    box-shadow: 0 12px 24px rgba(0,0,0,0.4);

    z-index: 60;

    display: flex;

    flex-direction: column;

}


.catalog-dropdown-panel a {

    padding: 12px 18px;

    color: white;

    text-decoration: none;

    font-size: 14px;

    transition: 0.2s;

}


.catalog-dropdown-panel a:hover {

    background: rgba(255,255,255,0.08);

    color: var(--gold);

}


.catalog-dropdown-empty {

    padding: 12px 18px;

    color: rgba(255,255,255,0.5);

    font-size: 13px;

}


.main-nav {

    display: flex;

    align-items: center;

    gap: 16px;

    flex-wrap: wrap;

}


.mobile-nav-checkbox {

    display: none;

}


.mobile-nav-btn {

    display: none;

    align-items: center;

    gap: 10px;

    color: white;

    font-size: 14px;

    font-weight: 700;

    padding: 14px 0;

    cursor: pointer;

    user-select: none;

}


@media (max-width: 900px) {

    .header-nav-row {

        flex-wrap: wrap;

        padding: 0 20px;

    }

    .mobile-nav-btn {

        display: flex;

        width: 100%;

    }

    .catalog-dropdown,
    .main-nav {

        display: none;

        width: 100%;

    }

    .mobile-nav-checkbox:checked ~ .catalog-dropdown,
    .mobile-nav-checkbox:checked ~ .main-nav {

        display: flex;

    }

    .catalog-dropdown {

        flex-direction: column;

    }

    .catalog-dropdown-btn {

        width: 100%;

        justify-content: space-between;

    }

    .catalog-dropdown-panel {

        position: static;

        border-top: none;

        box-shadow: none;

        min-width: 0;

        width: 100%;

    }

    .main-nav {

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding-bottom: 10px;

    }

    .main-nav a {

        padding: 12px 4px;

        border-bottom: 1px solid rgba(255,255,255,0.08);

    }

}


.category-menu a {
    color:white;
    text-decoration:none;
    margin-right:25px;
}
/* ===========================
   HERO
=========================== */

.full-bleed {

    width: 100vw;

    position: relative;

    left: 50%;

    right: 50%;

    margin-left: -50vw;

    margin-right: -50vw;

}


.hero-banner-link {

    display: block;

    margin-top: -70px;

    margin-bottom: 0;

}


.hero-banner-img {

    display: block;

    width: 100%;

    height: auto;

    aspect-ratio: 1325 / 355;

    object-fit: cover;

    object-position: center;

}



/* ===========================
   FEATURES
=========================== */

.features {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    background: linear-gradient(120deg, #060f1e 0%, #0F2747 50%, #060f1e 100%);

    padding: 16px 0;

}


.feature-card {

    display: flex;

    flex-direction: row;

    align-items: center;

    gap: 14px;

    text-align: left;

    padding: 0 20px;

    border-right: 1px solid rgba(255,255,255,0.1);

    transition: .3s;

}


.feature-card:last-child {

    border-right: none;

}


@media (max-width: 900px) {

    .features {

        grid-template-columns: repeat(2, 1fr);

    }

    .feature-card {

        border-right: none;

        border-bottom: 1px solid rgba(255,255,255,0.1);

        padding: 16px 20px;

    }

    .feature-card:nth-last-child(-n+2) {

        border-bottom: none;

    }

}


@media (max-width: 480px) {

    .features {

        grid-template-columns: 1fr;

    }

    .feature-card:nth-last-child(-n+2) {

        border-bottom: 1px solid rgba(255,255,255,0.1);

    }

    .feature-card:last-child {

        border-bottom: none;

    }

}



.feature-card:hover {

    transform: translateY(-5px);

}



.feature-card h3 {

    color: white;

    font-size: 15px;

    margin-top: 0;

}


.feature-icon {

    width: 40px;

    height: 40px;

    flex-shrink: 0;

    border-radius: 50%;

    background: rgba(200,162,74,0.15);

    color: var(--gold);

    display: flex;

    align-items: center;

    justify-content: center;

}


.feature-icon svg {

    width: 20px;

    height: 20px;

}


.feature-text {

    display: flex;

    flex-direction: column;

}


.feature-card p {

    color: rgba(255,255,255,0.6);

    font-size: 13px;

    margin: 4px 0 0;

}

.feature-card p {

    color: var(--text-light);

    margin: 4px 0 0;

}
/* ===========================
   CATEGORY MENU
=========================== */

.category-menu {

    max-width: 1200px;

    margin: auto;

    padding: 16px 30px;

}

.category-menu ul {

    display: flex;

    flex-wrap: wrap;

    gap: 18px;

    margin: 0;

    padding: 0;

    list-style: none;

}

.category-menu li {

    margin: 0;

}

.category-menu a {

    display: inline-block;

    color: white;

    text-decoration: none;

    font-weight: 500;

    padding: 8px 14px;

    border-radius: 6px;

    transition: .25s;

}

.category-menu a:hover {

    background: rgba(255,255,255,.08);

    color: var(--gold);

}
.header-actions {

    display: flex;

    align-items: center;

    gap: 22px;

}


.header-action {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 3px;

    color: rgba(255,255,255,0.85);

    text-decoration: none;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.2px;

    transition: 0.2s;

}


.header-action:hover {

    color: var(--gold);

}


.header-action.cart-link {

    flex-direction: row;

    background: var(--gold);

    color: var(--primary-blue) !important;

    padding: 11px 20px;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 700;

    gap: 8px;

}


.header-action.cart-link:hover {

    background: var(--gold-hover);

    color: white !important;

}


.nav-search {

    display: flex;

    align-items: center;

    margin: 0;

    flex: 1;

    max-width: 420px;

    min-width: 220px;

}


.nav-search input[type="text"] {

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.25);

    border-right: none;

    color: white;

    padding: 12px 16px;

    border-radius: 8px 0 0 8px;

    font-size: 14px;

    flex: 1;

    min-width: 0;

    outline: none;

    transition: 0.3s;

}


.nav-search input[type="text"]::placeholder {

    color: rgba(255,255,255,0.55);

}


.nav-search input[type="text"]:focus {

    border-color: var(--gold);

    background: rgba(255,255,255,0.14);

}


.nav-search button {

    background: var(--gold);

    color: var(--primary-blue);

    border: none;

    padding: 12px 20px;

    border-radius: 0 8px 8px 0;

    font-weight: 600;

    font-size: 14px;

    cursor: pointer;

    flex-shrink: 0;

    transition: 0.3s;

}


.nav-search button:hover {

    background: var(--gold-hover);

    color: white;

}


@media (max-width: 900px) {

    .nav-search {

        min-width: 140px;

    }

}


@media (max-width: 640px) {

    .header-container {

        padding: 16px 20px;

        gap: 12px;

    }

    .logo-icon svg {

        width: 34px;

        height: 34px;

    }

    .logo-title {

        font-size: 20px;

    }

    .logo-tagline {

        font-size: 9px;

        letter-spacing: 1.2px;

    }

    .header-actions {

        gap: 14px;

    }

    .header-action span {

        display: none;

    }

    .header-action.cart-link span {

        display: inline;

    }

    .header-action.cart-link {

        padding: 9px 14px;

    }

    .nav-search {

        order: 3;

        max-width: none;

        flex-basis: 100%;

    }

    .header-top {

        top: 6px;

        right: 10px;

    }

    .header-telegram {

        display: none;

    }

    .site-header {

        padding-top: 34px;

    }

    main {

        margin: 20px auto;

        padding: 16px;

    }

}


@media (max-width: 400px) {

    .lang-current .lang-label {

        display: none;

    }

    .header-top-right .lang-current {

        padding: 4px 7px;

    }

}
/* ===========================
   PRODUCT PAGE
=========================== */


.breadcrumb {

    max-width: 1400px;

    margin: 0 auto 18px;

    padding: 0 30px;

    font-size: 13px;

    color: var(--text-light);

}


.breadcrumb a {

    color: var(--text-light);

    text-decoration: none;

}


.breadcrumb a:hover {

    color: var(--gold-hover);

}


.breadcrumb-sep {

    margin: 0 6px;

    color: var(--border);

}


.breadcrumb-current {

    color: var(--text);

    font-weight: 500;

}


.product-page {

    display: grid;

    grid-template-columns: 1fr 1fr 0.85fr;

    gap: 40px;

    background: white;

    padding: 40px;

    border-radius: 14px;

}


.product-image {

    position: relative;

}


.product-page-badge {

    position: absolute;

    top: 0;

    left: 0;

    z-index: 2;

}


.product-image > img {

    width: 100%;

    height: 380px;

    object-fit: contain;

}


.product-image-placeholder {

    width: 100%;

    height: 380px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--border);

    background: var(--background);

    border-radius: 10px;

}



.product-thumbnail {

    width: 80px !important;

    height: 80px !important;

    object-fit: cover;

}

/* ===========================
   PRODUCT GALLERY
=========================== */


.product-thumbnails {

    display: flex;

    gap: 12px;

    margin-top: 20px;

    flex-wrap: wrap;

}



.product-thumbnail {

    width: 80px;

    height: 80px;

    object-fit: contain;

    background: white;

    border: 2px solid var(--border);

    border-radius: 8px;

    cursor: pointer;

    transition: .25s;

}



.product-thumbnail:hover {

    border-color: var(--gold);

    transform: scale(1.05);

}

.product-thumbnail.active {

    border-color: var(--gold);

}



.product-info h1 {

    color: var(--primary-blue);

    font-size: 28px;

    margin-bottom: 6px;

}


.product-model {

    color: var(--text-light);

    font-size: 15px;

    margin: 0 0 14px;

}


.product-rating-row {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 10px;

    flex-wrap: wrap;

}


.stars {

    display: inline-flex;

    gap: 2px;

    color: var(--gold);

}


.rating-value {

    font-weight: 700;

    color: var(--text);

}


.rating-count {

    font-size: 13px;

    color: var(--text-light);

}


.product-sku {

    font-size: 13px;

    color: var(--text-light);

    margin: 0 0 10px;

}



.product-info .price {

    font-size: 30px;

    margin: 16px 0 20px;

}


.product-buy-form {

    margin-bottom: 12px;

}


.product-buy-form .btn {

    width: 100%;

}


.btn-dark {

    background: var(--primary-blue);

    color: white;

}


.btn-dark:hover {

    background: var(--primary-blue-light);
}


.product-secondary-actions {

    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-top: 14px;

}


.product-secondary-actions form {

    margin: 0;

}


.product-secondary-action {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    font-size: 14px;

    color: var(--text-light);

    text-decoration: none;

    transition: .2s;

}


.product-secondary-action-btn {

    background: none;

    border: none;

    padding: 0;

    cursor: pointer;

    font-family: inherit;

}

/* Independent product actions: prevent overlapping click targets on all widths. */
.product-card-actions {
    display: grid;
    grid-template-columns: 42px 42px minmax(104px, 1fr);
    gap: 8px;
    align-items: stretch;
    margin-top: 12px;
}
.product-card .product-card-actions form {
    display: block;
    width: 100%;
    margin: 0;
    min-width: 0;
}
.product-card .product-card-action,
.product-card .product-card-cart-btn {
    width: 100%;
    height: 42px;
    min-height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7dce3;
    border-radius: 8px;
    background: #fff;
    color: var(--primary-blue);
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .1s;
    overflow: visible;
}
.product-card .product-card-action svg,
.product-card .product-card-cart-btn svg { display: block; flex: 0 0 19px; width: 19px; height: 19px; }
.product-card .product-card-action:hover,
.product-card .product-card-action.active { color: #fff; background: var(--primary-blue); border-color: var(--primary-blue); }
.product-card .product-card-cart-btn { color: #fff; background: var(--gold); border-color: var(--gold); }
.product-card .product-card-cart-btn { gap: 7px; padding: 0 12px; white-space: nowrap; font-size: 13px; }
.product-card .product-card-cart-btn:hover { color: #fff; background: var(--gold-hover); border-color: var(--gold-hover); filter: none; }
.product-card .product-card-action:active,
.product-card .product-card-cart-btn:active { transform: translateY(1px); }
.product-card-outofstock { grid-column: span 1; align-self: center; font-size: 12px; color: var(--text-light); }

.product-secondary-actions form { width: 100%; }
.product-secondary-action-btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #d7dce3;
    border-radius: 8px;
    font-size: 14px;
    justify-content: flex-start;
}
.product-secondary-action-btn:hover,
.product-secondary-action-btn.active { background: #f2f5f9; border-color: var(--primary-blue); }
.product-buy-form .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }

.header-action { position: relative; }
.header-action-count {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--gold);
    color: var(--primary-blue);
    font: 700 11px/18px sans-serif;
    text-align: center;
}

@media (max-width: 600px) {
    .product-card-actions { grid-template-columns: 40px 40px minmax(98px, 1fr); gap: 6px; }
    .product-card .product-card-action, .product-card .product-card-cart-btn { height: 40px; min-height: 40px; }
    .product-secondary-actions { width: 100%; }
}


.product-secondary-action:hover {

    color: var(--gold-hover);

}


.product-secondary-action-btn.active {

    color: #c62828;

}


.product-specs {

    background: var(--background);

    border-radius: 10px;

    padding: 20px;

    align-self: start;

}


.product-spec-row {

    display: flex;

    justify-content: space-between;

    gap: 10px;

    padding: 10px 0;

    border-bottom: 1px solid var(--border);

    font-size: 14px;

}


.product-spec-row:last-child {

    border-bottom: none;

}


.product-spec-row span {

    color: var(--text-light);

}


.product-spec-row strong {

    color: var(--text);

    text-align: right;

}



.product-tabs {

    margin-top: 30px;

    background: white;

    padding: 0;

    border-radius: 14px;

    overflow: hidden;

}


.product-tabs-nav {

    display: flex;

    flex-wrap: wrap;

    border-bottom: 1px solid var(--border);

}


.product-tab-btn {

    background: none;

    border: none;

    padding: 18px 26px;

    font-size: 14px;

    font-weight: 600;

    letter-spacing: 0.3px;

    color: var(--text-light);

    cursor: pointer;

    border-bottom: 3px solid transparent;

    transition: .2s;
}


.product-tab-btn:hover {

    color: var(--text);

}


.product-tab-btn.active {

    color: var(--primary-blue);

    border-bottom-color: var(--gold);

}


.product-tab-panel {

    display: none;

    padding: 30px;

}


.product-tab-panel.active {

    display: block;

}


.product-description-content {

    font-size: 14.5px;

    line-height: 1.7;

    color: var(--text);

}


.product-description-content p {

    margin: 0 0 14px;

}


.product-description-content ul,
.product-description-content ol {

    margin: 0 0 14px;

    padding-left: 22px;

}


.product-description-content blockquote {

    margin: 0 0 14px;

    padding: 10px 18px;

    border-left: 3px solid var(--gold);

    background: var(--background);

    color: var(--text-light);

}


.product-description-content table {

    width: 100%;

    border-collapse: collapse;

    margin: 0 0 18px;

    font-size: 13.5px;

}


.product-description-content table td,
.product-description-content table th {

    border: 1px solid var(--border);

    padding: 8px 12px;

    text-align: left;

}


.product-description-content table th {

    background: var(--background);

    font-weight: 600;

}


.product-description-content pre {

    background: #0F2747;

    color: #e5e9f0;

    padding: 14px 16px;

    border-radius: 8px;

    overflow-x: auto;

    font-size: 13px;

    margin: 0 0 14px;

}


.product-description-content code {

    background: var(--background);

    padding: 2px 6px;

    border-radius: 4px;

    font-size: 13px;

}


.product-description-content pre code {

    background: none;

    padding: 0;

}


.attributes-table {

    width: 100%;

    border-collapse: collapse;

}


.attributes-table tr {

    border-bottom: 1px solid var(--border);

}


.attributes-table tr:last-child {

    border-bottom: none;

}


.attributes-table td {

    padding: 12px 10px;

    font-size: 14px;

    vertical-align: top;

}


.attributes-table td:first-child {

    color: var(--text-light);

    width: 45%;

}


.attributes-table td:last-child {

    font-weight: 600;

    color: var(--text);

    word-break: break-word;

}


@media (max-width: 480px) {

    .product-tab-panel {

        padding: 20px;

    }

    .attributes-table td:first-child {

        width: 50%;

    }

    .attributes-table td {

        padding: 10px 6px;

        font-size: 13px;

    }

}


.review-list {

    display: flex;

    flex-direction: column;

    gap: 22px;

}


.review-item {

    border-bottom: 1px solid var(--border);

    padding-bottom: 20px;

}


.review-item:last-child {

    border-bottom: none;

    padding-bottom: 0;

}


.review-item-head {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 6px;

    flex-wrap: wrap;

}


.review-date {

    font-size: 12px;

    color: var(--text-light);

    margin-left: auto;

}


.review-title {

    font-weight: 600;

    margin: 4px 0;

}


.review-text {

    color: var(--text-light);

    margin: 0;

}

.review-form-wrap { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--border); }
.review-form-wrap h3 { margin: 0 0 18px; color: var(--primary-blue); }
.review-form { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.review-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.review-form input, .review-form select, .review-form textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 7px; font: inherit; }
.review-form textarea { resize: vertical; }
.review-form-success, .review-form-errors { padding: 13px 16px; margin-bottom: 18px; border-radius: 8px; }
.review-form-success { background: #e8f5e9; color: #2e7d32; }
.review-form-errors { background: #fdecea; color: #c62828; }
.review-form-errors p { margin: 3px 0; }
.review-moderation-note { margin: -4px 0 0; color: var(--text-light); font-size: 13px; }
.review-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .review-form-row { grid-template-columns: 1fr; } }



@media(max-width: 1000px) {

    .product-page {

        grid-template-columns: 1fr 1fr;

    }

    .product-specs {

        grid-column: 1 / -1;

    }

}


@media(max-width: 768px) {

    .product-page {

        grid-template-columns: 1fr;

    }

}
/* ===========================
   CART PAGE
=========================== */


.cart-page {

    background:white;

    padding:40px;

    border-radius:14px;

}


.cart-empty {

    text-align: center;

    padding: 50px 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 18px;

    color: var(--text-light);

}


.cart-list {

    display: flex;

    flex-direction: column;

    gap: 14px;

    margin-top: 24px;

}


.cart-row {

    display: grid;

    grid-template-columns: 76px 1fr 100px 140px 110px 44px;

    grid-template-areas: "media main price qty total remove";

    gap: 16px;

    align-items: center;

    padding: 16px;

    border: 1px solid var(--border);

    border-radius: 12px;

    transition: 0.2s;

}


.cart-row:hover {

    border-color: var(--gold);

    background: #fafafa;

}


.cart-row-media {

    grid-area: media;

    display: block;

}


.cart-row-media img {

    width: 100%;

    height: 76px;

    object-fit: contain;

}


.cart-row-placeholder {

    width: 76px;

    height: 76px;

}


.cart-row-main {

    grid-area: main;

    display: flex;

    flex-direction: column;

    gap: 4px;

    min-width: 0;

}


.cart-row-name {

    color: var(--primary-blue);

    text-decoration: none;

    font-weight: 600;

    font-size: 15px;

}


.cart-row-name:hover {

    color: var(--gold-hover);

}


.cart-row-price-mobile {

    display: none;

}


.cart-row-remove-mobile {

    display: none;

}


.cart-remove-link {

    background: none;

    border: none;

    padding: 0;

    color: #c62828;

    font-size: 12.5px;

    text-decoration: underline;

    cursor: pointer;

    font-family: inherit;

    width: fit-content;

}


.cart-row-price-desktop {

    grid-area: price;

    font-weight: 600;

    color: var(--text);

}


.cart-row-bottom {

    display: contents;

}


.quantity-form {

    grid-area: qty;

    display:flex;

    align-items:center;

    gap:10px;

}


.cart-row-total-mobile {

    display: none;

}


.cart-row-total {

    grid-area: total;

    font-weight: 700;

    color: var(--primary-blue);

    text-align: right;

}


.cart-row-remove-desktop {

    grid-area: remove;

}


.cart-remove-btn {

    width: 38px;

    height: 38px;

    border: none;

    border-radius: 8px;

    background: var(--background);

    color: #c62828;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: 0.2s;

}


.cart-remove-btn:hover {

    background: #fdecea;

}


.quantity-btn {

    width:35px;

    height:35px;

    padding:0;

    border-radius:6px;

    font-size:20px;

    line-height:1;

}


.quantity-number {

    min-width:30px;

    text-align:center;

    font-weight:600;

    font-size:18px;

}


.cart-total {

    text-align:right;

    margin-top:26px;

}


.cart-total h2 {

    color:var(--primary-blue);

    font-size: 22px;

    margin: 0;

}


.cart-checkout-btn {

    display: block;

    width: max-content;

    margin: 16px 0 0 auto;

}


@media (max-width: 760px) {

    .cart-page {

        padding: 24px;

    }

    .cart-row {

        grid-template-columns: 68px 1fr;

        grid-template-areas:
            "media main"
            "media bottom";

        row-gap: 12px;

        padding: 14px;

    }

    .cart-row-media img,
    .cart-row-placeholder {

        width: 68px;

        height: 68px;

    }

    .cart-row-price-desktop,
    .cart-row-total,
    .cart-row-remove-desktop {

        display: none;

    }

    .cart-row-price-mobile {

        display: block;

        font-size: 13px;

        color: var(--text-light);

    }

    .cart-row-remove-mobile {

        display: block;

        margin-top: 2px;

    }

    .cart-row-bottom {

        display: flex;

        grid-area: bottom;

        align-items: center;

        justify-content: space-between;

    }

    .cart-row-total-mobile {

        display: inline-block;

        font-weight: 700;

        color: var(--primary-blue);

    }

    .cart-total {

        text-align: left;

    }

    .cart-checkout-btn {

        width: 100%;

        margin-left: 0;

        text-align: center;

    }

}
/* ===========================
   CHECKOUT
=========================== */

/* ===========================
   CHECKOUT PAGE
=========================== */

.checkout-title {

    color: var(--primary-blue);

    font-size: 26px;

    margin: 0 0 20px;

}


.checkout-errors {

    max-width: 900px;

}


.checkout-guest-banner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    flex-wrap: wrap;

    background: var(--primary-blue);

    color: rgba(255,255,255,0.9);

    border-radius: 12px;

    padding: 18px 24px;

    margin-bottom: 26px;

    font-size: 14px;

}


.checkout-guest-banner-in {

    background: #e8f5e9;

    color: #2e7d32;

}


.checkout-guest-banner-actions {

    display: flex;

    gap: 10px;

    flex-shrink: 0;

}


.checkout-guest-banner .btn {

    padding: 9px 18px;

    font-size: 13px;

}


.checkout-layout {

    display: grid;

    grid-template-columns: 1fr 360px;

    gap: 30px;

    align-items: start;

}


.checkout-form {

    display: flex;

    flex-direction: column;

    gap: 24px;

}


.checkout-block {

    background: white;

    border-radius: 14px;

    padding: 28px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.05);

}


.checkout-block h2 {

    font-size: 16px;

    color: var(--primary-blue);

    margin: 0 0 18px;

}


.checkout-block label {

    display: flex;

    flex-direction: column;

    gap: 6px;

    font-size: 13px;

    color: var(--text-light);

    font-weight: 600;

    margin-bottom: 16px;

}


.checkout-block label:last-child {

    margin-bottom: 0;

}


.checkout-block input,
.checkout-block select,
.checkout-block textarea {

    padding: 11px 14px;

    border: 1px solid var(--border);

    border-radius: 8px;

    font-size: 14px;

    font-family: inherit;

    color: var(--text);

    width: 100%;

}


.checkout-block textarea {

    resize: vertical;

    min-height: 90px;

}


.checkout-block input:focus,
.checkout-block select:focus,
.checkout-block textarea:focus {

    outline: none;

    border-color: var(--gold);

}


.checkout-form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;

    min-width: 0;

}


.checkout-form-row > label {

    min-width: 0;

}


.checkout-empty-note {

    color: var(--text-light);

    font-size: 14px;

}


.checkout-options {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.checkout-option {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px 16px;

    border: 1px solid var(--border);

    border-radius: 10px;

    cursor: pointer;

    font-weight: 500;

    font-size: 14px;

    transition: 0.2s;

}


.checkout-option:has(input:checked) {

    border-color: var(--gold);

    background: #fff9ec;

}


.checkout-option input {

    width: auto;

    flex-shrink: 0;

}


.checkout-option span {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex: 1;

    min-width: 0;

    gap: 10px;

    flex-wrap: wrap;

}


.checkout-option em {

    font-style: normal;

    color: var(--text-light);

    font-weight: 400;

    font-size: 12.5px;

}


.checkout-submit {

    align-self: flex-start;

    padding: 15px 36px;

    font-size: 15px;

}


.checkout-summary-box {

    background: white;

    border-radius: 14px;

    padding: 26px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.05);

    position: sticky;

    top: 20px;

}


.checkout-summary-box h2 {

    font-size: 16px;

    color: var(--primary-blue);

    margin: 0 0 18px;

}


.checkout-summary-items {

    display: flex;

    flex-direction: column;

    gap: 10px;

    padding-bottom: 16px;

    border-bottom: 1px solid var(--border);

    margin-bottom: 16px;

}


.checkout-summary-item {

    display: flex;

    justify-content: space-between;

    gap: 10px;

    font-size: 13.5px;

    color: var(--text-light);

}


.checkout-summary-total {

    display: flex;

    justify-content: space-between;

    font-size: 19px;

    font-weight: 700;

    color: var(--primary-blue);

}


.checkout-summary-converted {

    text-align: right;

    color: var(--text-light);

    font-size: 13px;

    margin: 6px 0 0;

}


@media (max-width: 900px) {

    .checkout-layout {

        grid-template-columns: 1fr;

    }

    .checkout-summary-box {

        position: static;

    }

}


@media (max-width: 560px) {

    .checkout-form-row {

        grid-template-columns: 1fr;

    }

    .checkout-guest-banner {

        flex-direction: column;

        align-items: flex-start;

    }

}
/* ===========================
   STOCK
=========================== */

.stock {

    font-weight: 600;

    margin: 18px 0;

}

.in-stock {

    color: #2e7d32;

}

.out-stock {

    color: #c62828;

}

button:disabled {

    background: #9ca3af;

    cursor: not-allowed;

}

button:disabled:hover {

    background: #9ca3af;

}

/* ===========================
   HOME SECTIONS
=========================== */

.home-section {

    margin: 55px 0;

}


.home-section-head {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 24px;

}


.home-section-head h1,
.home-section-head h2 {

    font-size: 24px;

    font-weight: 800;

    letter-spacing: 0.5px;

    color: var(--primary-blue);

    margin: 0;

}

.home-title-section {
    margin-top: 32px;
    margin-bottom: 32px;
}

.home-title-section .home-section-head {
    margin-bottom: 0;
}


.home-section-link {

    color: var(--gold-hover);

    text-decoration: none;

    font-weight: 600;

    font-size: 14px;

}


.home-section-link:hover {

    color: var(--primary-blue);

}


.home-empty {

    color: var(--text-light);

    background: var(--white);

    border: 1px dashed var(--border);

    border-radius: 10px;

    padding: 24px;

}


/* Category grid */

.category-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));

    gap: 20px;

}


.category-card {

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 12px;

    padding: 26px 20px;

    text-align: center;

    text-decoration: none;

    transition: 0.25s;

    box-shadow: 0 4px 14px rgba(0,0,0,0.04);

}


.category-card:hover {

    transform: translateY(-4px);

    border-color: var(--gold);

    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}


.category-card-icon {

    width: 56px;

    height: 56px;

    margin: 0 auto 14px;

    border-radius: 50%;

    background: var(--primary-blue);

    color: var(--gold);

    display: flex;

    align-items: center;

    justify-content: center;

}


.category-card-name {

    font-weight: 700;

    color: var(--text);

    margin-bottom: 4px;

}


.category-card-count {

    font-size: 13px;

    color: var(--text-light);

}


.badge-new {

    position: absolute;

    top: 14px;

    left: 14px;

    background: var(--gold);

    color: var(--primary-blue);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.5px;

    padding: 4px 9px;

    border-radius: 4px;

    z-index: 2;
}


.product-card-placeholder {

    width: 100%;

    height: 220px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--background);

    border-radius: 8px;

    color: var(--border);

}


/* Promo banner */

.promo-banner-link {

    display: block;

    width: 100%;

    height: auto;

    border-radius: 14px;

    overflow: hidden;

    margin: 55px 0;

    background: transparent;

}


.promo-banner-img {

    display: block;

    width: 100%;

    height: auto;

    aspect-ratio: 1703 / 345;

    object-fit: cover;

    object-position: center;

}


@media (max-width: 700px) {

    .promo-banner-link {

        height: auto;

    }

}


/* Benefits row */

.benefits-row {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));

    gap: 20px;

    margin: 55px 0;

}


.benefit {

    display: flex;

    align-items: center;

    gap: 14px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 12px;

    padding: 18px 20px;

}


.benefit svg {

    flex-shrink: 0;

    color: var(--gold-hover);

}


.benefit strong {

    display: block;

    color: var(--text);

    font-size: 14px;

}


.benefit span {

    display: block;

    color: var(--text-light);

    font-size: 12.5px;

    margin-top: 2px;

}


/* ===========================
   AUTH PAGES (login / register)
=========================== */

.auth-page {

    display: flex;

    justify-content: center;

    padding: 40px 0 60px;

}


.auth-card {

    width: 100%;

    max-width: 420px;

    background: white;

    border-radius: 14px;

    padding: 36px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.05);

}


.auth-card h1 {

    color: var(--primary-blue);

    font-size: 24px;

    margin: 0 0 8px;

}


.auth-subtitle {

    color: var(--text-light);

    font-size: 14px;

    margin: 0 0 24px;

}


.auth-subtitle a {

    color: var(--gold-hover);

    text-decoration: none;

    font-weight: 600;

}


.auth-errors {

    background: #fdecea;

    color: #c62828;

    border-radius: 8px;

    padding: 12px 16px;

    margin-bottom: 20px;

    font-size: 14px;

}


.auth-errors p {

    margin: 4px 0;

}


.auth-form {

    display: flex;

    flex-direction: column;

    gap: 16px;

}

.auth-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 8px;
    padding: 13px 16px;
    margin-bottom: 18px;
}

.auth-success p { margin: 0; }


.auth-form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;

    min-width: 0;

}


.auth-form-row > label {

    min-width: 0;

}


.auth-form label {

    display: flex;

    flex-direction: column;

    gap: 6px;

    font-size: 13px;

    color: var(--text-light);

    font-weight: 600;

    min-width: 0;

}


.auth-form input {

    width: 100%;

    min-width: 0;

    padding: 11px 14px;

    border: 1px solid var(--border);

    border-radius: 8px;

    font-size: 14px;

    font-family: inherit;

    color: var(--text);

}


.auth-form input:focus {

    outline: none;

    border-color: var(--gold);

}


.auth-form .btn {

    margin-top: 8px;

    width: 100%;

}


@media (max-width: 480px) {

    .auth-form-row {

        grid-template-columns: 1fr;

    }

    .auth-card {

        padding: 26px;

    }

}



/* ===========================
   ACCOUNT (personal cabinet)
=========================== */

.account-layout {

    display: grid;

    grid-template-columns: 240px 1fr;

    gap: 30px;

    align-items: start;

}


.account-nav {

    background: white;

    border-radius: 14px;

    padding: 12px;

    display: flex;

    flex-direction: column;

    gap: 2px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.05);

}


.account-nav a {

    padding: 12px 14px;

    border-radius: 8px;

    color: var(--text);

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    transition: 0.2s;

}


.account-nav a:hover {

    background: var(--background);

}


.account-nav a.active {

    background: var(--primary-blue);

    color: white;

}


.account-nav-logout {

    color: #c62828 !important;

    margin-top: 8px;

    border-top: 1px solid var(--border);

    padding-top: 14px !important;

}


.account-content {

    background: white;

    border-radius: 14px;

    padding: 32px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.05);

}


.account-content h1 {

    color: var(--primary-blue);

    font-size: 24px;

    margin: 0 0 24px;
}


.account-summary-cards {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));

    gap: 16px;

    margin-bottom: 34px;

}


.account-summary-card {

    background: var(--background);

    border-radius: 10px;

    padding: 18px;

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.account-summary-value {

    font-size: 18px;

    font-weight: 700;

    color: var(--primary-blue);

    word-break: break-word;

}


.account-summary-label {

    font-size: 12.5px;

    color: var(--text-light);

}


.account-section-head {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 16px;

}


.account-section-head h2 {

    font-size: 18px;

    color: var(--primary-blue);

    margin: 0;
}



/* Orders list */

.order-list {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.order-row {

    display: flex;

    align-items: center;

    gap: 16px;

    padding: 16px 18px;

    background: var(--background);

    border-radius: 10px;

    text-decoration: none;

    color: var(--text);

    transition: 0.2s;

    flex-wrap: wrap;

}


.order-row:hover {

    background: #ececf0;

}


.order-row-main {

    display: flex;

    flex-direction: column;

    gap: 2px;

    flex: 1;

    min-width: 140px;

}


.order-row-date {

    font-size: 12.5px;

    color: var(--text-light);

}


.order-row-total {

    font-weight: 700;

    color: var(--primary-blue);

    white-space: nowrap;

}


.order-status {

    font-size: 12px;

    font-weight: 700;

    padding: 5px 10px;

    border-radius: 20px;

    white-space: nowrap;

    background: #e3e8ef;

    color: var(--text-light);

}


.order-status-new {

    background: #e3f2fd;

    color: #1565c0;

}


.order-status-processing {

    background: #fff3e0;

    color: #ef6c00;

}


.order-status-shipped {

    background: #ede7f6;

    color: #5e35b1;

}


.order-status-completed {

    background: #e8f5e9;

    color: #2e7d32;

}


.order-status-cancelled {

    background: #fdecea;

    color: #c62828;

}



/* Order detail */

.order-detail-head {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    flex-wrap: wrap;

}


.order-detail-head h1 {

    margin: 0;

}


.order-detail-date {

    color: var(--text-light);

    font-size: 13px;

    margin: 6px 0 26px;

}


.order-detail-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 16px;

    margin-bottom: 30px;

}


.order-detail-box {

    background: var(--background);

    border-radius: 10px;

    padding: 16px 18px;

}


.order-detail-box h3 {

    font-size: 12.5px;

    text-transform: uppercase;

    letter-spacing: 0.4px;

    color: var(--text-light);

    margin: 0 0 8px;

}


.order-detail-box p {

    margin: 0;

    font-size: 14px;

    line-height: 1.5;

}


.order-items-title {

    font-size: 15px;

    color: var(--primary-blue);

    margin: 0 0 12px;

}


.order-items-table {

    border: 1px solid var(--border);

    border-radius: 10px;

    overflow: hidden;

    margin-bottom: 20px;

}


.order-items-row {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 14px 18px;

    border-bottom: 1px solid var(--border);

    font-size: 14px;

    flex-wrap: wrap;

}


.order-items-row:last-child {

    border-bottom: none;

}


.order-item-name {

    flex: 1;

    min-width: 140px;

    display: flex;

    flex-direction: column;

    gap: 2px;
}


.order-item-sku {

    font-size: 12px;

    color: var(--text-light);

}


.order-item-qty {

    color: var(--text-light);

}


.order-item-total {

    font-weight: 700;

    color: var(--primary-blue);

    white-space: nowrap;

}


.order-total-row {

    display: flex;

    justify-content: space-between;

    padding: 8px 0;

    font-size: 14px;

    color: var(--text-light);

}


.order-total-final {

    border-top: 1px solid var(--border);

    margin-top: 6px;

    padding-top: 14px;

    font-size: 18px;

    font-weight: 700;

    color: var(--primary-blue);

}


@media (max-width: 800px) {

    .account-layout {

        grid-template-columns: 1fr;

    }

    .account-nav {

        flex-direction: row;

        flex-wrap: wrap;

    }

    .account-nav-logout {

        border-top: none;

        margin-top: 0;

    }

    .account-content {

        padding: 22px;

    }

}


@media (max-width: 640px) {

    .breadcrumb {

        padding: 0;

    }

    .checkout-title {

        font-size: 22px;

    }

    .cart-page {

        padding: 20px;

    }

    .checkout-block {

        padding: 20px;

    }

    .checkout-summary-box {

        padding: 20px;

    }

    .auth-page {

        padding: 20px 0 40px;
    }
}
/* ARTICLES */
.articles-page, .article-page { padding: 48px 0 70px; }
.articles-page .container, .article-container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.article-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.article-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.article-card-body { padding: 20px; }
.article-card h2 { margin: 8px 0 10px; font-size: 21px; }
.article-card h2 a, .article-more { color: var(--primary-blue); text-decoration: none; }
.article-card time, .article-page time { color: #6b7280; font-size: 13px; }
.article-container { max-width: 900px; }
.article-back { display: inline-block; margin-bottom: 22px; color: #6b7280; text-decoration: none; }
.article-cover { width: 100%; max-height: 520px; object-fit: cover; border-radius: 12px; margin: 24px 0; }
.article-content { font-size: 17px; line-height: 1.75; }
.article-content img { max-width: 100%; height: auto; border-radius: 8px; }
.article-video { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin: 24px 0; }
.article-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* PRODUCT COMPARISON */
.compare-page { padding: 44px 0 70px; }
.compare-container { width: min(1200px, calc(100% - 28px)); margin: 0 auto; }
.compare-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.compare-head h1 { margin: 0; color: var(--primary-blue); }
.compare-clear, .compare-product button { border: 0; background: none; color: #b42318; text-decoration: underline; cursor: pointer; }
.compare-note { padding: 12px 15px; background: #fff8e6; border-radius: 8px; color: #7a5b00; }
.compare-scroll { overflow-x: auto; background: white; border: 1px solid var(--border); border-radius: 12px; }
.compare-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.compare-table th, .compare-table td { min-width: 210px; padding: 15px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare-table th { min-width: 170px; background: #f7f8fa; color: var(--primary-blue); }
.compare-product { display: flex; flex-direction: column; gap: 9px; }
.compare-product img { width: 150px; height: 120px; object-fit: contain; }
.compare-product > a { color: var(--primary-blue); font-weight: 700; text-decoration: none; }

/* OWN SITE CHAT */
.bsa-chat{position:fixed;right:22px;bottom:22px;z-index:10000;font-family:Inter,Arial,sans-serif}.bsa-chat-launcher{position:relative;width:62px;height:62px;padding:0;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--gold);color:var(--primary-blue);border:3px solid #fff;box-shadow:0 10px 30px rgba(15,39,71,.32)}.bsa-chat-launcher:hover{background:var(--gold-hover);transform:translateY(-2px)}.bsa-chat-launcher svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.8}.bsa-chat-badge{position:absolute;right:-2px;top:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:12px;background:#d92d20;color:#fff;font:700 11px/20px Arial}.bsa-chat-panel{position:absolute;right:0;bottom:76px;width:min(380px,calc(100vw - 28px));height:min(590px,calc(100vh - 120px));background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 20px 60px rgba(15,39,71,.32);border:1px solid rgba(15,39,71,.12);flex-direction:column}.bsa-chat-panel:not([hidden]){display:flex}.bsa-chat-header{display:flex;align-items:center;gap:11px;min-height:74px;padding:13px 14px;background:var(--primary-blue);color:#fff;border-bottom:3px solid var(--gold)}.bsa-chat-avatar{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--gold);color:var(--primary-blue);font-weight:800}.bsa-chat-header>div:nth-child(2){display:flex;flex-direction:column;min-width:0}.bsa-chat-name{font-size:15px}.bsa-chat-header span{font-size:12px;color:rgba(255,255,255,.72)}.bsa-chat-header span i{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:#36b37e}.bsa-chat-close{margin-left:auto;width:34px;height:34px;padding:0;background:transparent;color:#fff;font-size:27px;line-height:1}.bsa-chat-close:hover{background:rgba(255,255,255,.12)}.bsa-chat-messages{flex:1;overflow-y:auto;padding:16px 13px;background:#f3f5f8}.bsa-chat-message{display:flex;margin:0 0 11px}.bsa-chat-message>div{max-width:84%;padding:10px 13px;border-radius:14px;font-size:14px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 2px 8px rgba(15,39,71,.07)}.bsa-chat-message.agent>div{background:#fff;color:#25364d;border-bottom-left-radius:4px}.bsa-chat-message.visitor{justify-content:flex-end}.bsa-chat-message.visitor>div{background:var(--primary-blue);color:#fff;border-bottom-right-radius:4px}.bsa-chat-status{padding:5px 14px;background:#f3f5f8;color:#667085;font-size:12px}.bsa-chat-form{display:flex;align-items:flex-end;gap:9px;padding:11px 12px 8px;background:#fff;border-top:1px solid #e4e7ec}.bsa-chat-form textarea{flex:1;min-height:42px;max-height:96px;padding:10px 12px;border:1px solid #d0d5dd;border-radius:11px;resize:none;font:14px/1.45 inherit;outline:none}.bsa-chat-form textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(200,162,74,.16)}.bsa-chat-form button{flex:0 0 42px;width:42px;height:42px;padding:0;border-radius:11px;display:flex;align-items:center;justify-content:center;background:var(--gold);color:var(--primary-blue)}.bsa-chat-form button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}.bsa-chat-note{padding:0 13px 9px;background:#fff;color:#98a2b3;font-size:10px;text-align:center}.bsa-chat[hidden]{display:none!important}
@media(max-width:600px){.bsa-chat{right:12px;bottom:12px}.bsa-chat-launcher{width:56px;height:56px}.bsa-chat-panel{position:fixed;inset:8px;width:auto;height:auto;max-height:none;border-radius:14px}.bsa-chat.is-open .bsa-chat-launcher{display:none}.bsa-chat-message>div{max-width:88%}}
