* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f7f7;
    color: #15191c;
    overflow-x: hidden;
}



.website-box {
    width: 100%;
    min-height: 100vh;
    position: relative;
}



.page-header {
    height: 88px;

    background:
        repeating-linear-gradient(135deg,
            #0b0f11 0px,
            #0b0f11 9px,
            #121719 10px,
            #121719 11px);

    border-bottom: 5px solid #c90000;

    display: flex;
    align-items: center;

    padding-left: 50px;

    position: relative;
    z-index: 5;
}


.header-logo {
    width: 290px;
    height: 70px;

    background: #ffffff;

    display: flex;
    align-items: center;

    padding: 5px 10px;

    text-decoration: none;

    box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

.header-logo img {
    width: 62px;
    height: 62px;

    object-fit: contain;

    margin-right: 10px;
}

.header-logo b {
    color: #15191c;

    font-size: 20px;

    letter-spacing: 3px;

    border-left: 3px solid #c90000;

    padding-left: 12px;

    white-space: nowrap;
}


.menu-trigger {
    position: fixed;

    left: 0;
    top: 0;

    width: 20px;
    height: 100vh;

    z-index: 1001;
}


.sidebar {
    position: fixed;

    left: 0;
    top: 0;

    width: 255px;
    height: 100vh;

    background:
        linear-gradient(180deg,
            #202527 0%,
            #15191b 50%,
            #0f1315 100%);

    border-right: 2px solid #c90000;

    padding: 32px 18px;

    z-index: 1000;

    transform: translateX(-100%);

    transition: transform .25s ease;

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

    overflow-y: auto;
}



.menu-trigger:hover+.sidebar,
.sidebar:hover {
    transform: translateX(0);
}


.sidebar-header {
    color: white;

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 1px;

    padding: 0 4px 14px;

    margin-bottom: 16px;

    border-bottom: 1px solid #555;
}

.client-menu-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -10px 0 25px;
    padding: 0 4px 18px;
    border-bottom: 1px solid #555;
    color: #fff;
    text-decoration: none;
}

.client-menu-logo img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
}

.client-menu-logo span {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.client-menu-logo + .sidebar-header {
    display: none;
}


.menu {
    width: 100%;
}

.menu>a {
    width: 100%;

    min-height: 52px;

    display: flex;
    align-items: center;

    padding: 0 14px;

    color: white;

    text-decoration: none;

    font-size: 15px;

    font-weight: bold;

    background: transparent;

    border: 1px solid #444;

    border-bottom: none;

    transition: .2s ease;
}

.menu>a:last-child {
    border-bottom: 1px solid #444;
}

.menu>a:hover {
    background: #c90000;
    color: white;
}

.client-category-menu {
    border: 1px solid #444;
    border-bottom: none;
}

.client-category-toggle {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    text-align: left;
}

.client-category-toggle:hover { background: #252a2c; }
.client-category-toggle span { font-size: 20px; font-weight: normal; }

.client-category-dropdown {
    display: none;
    padding: 6px 0;
    background: #111516;
    border-top: 1px solid #444;
}

.client-category-menu.is-open .client-category-dropdown,
.client-category-menu:hover .client-category-dropdown,
.client-category-menu:focus-within .client-category-dropdown { display: block; }
.client-category-menu.is-open .client-category-toggle { background: #c90000; }

.client-category-dropdown a {
    display: block;
    padding: 9px 28px;
    color: #dce1e4;
    font-size: 13px;
    text-decoration: none;
}

.client-category-dropdown a:hover { background: #252a2c; color: #ff5252; }


.menu-dropdown {
    width: 100%;
}

.dropdown-btn {
    width: 100%;

    min-height: 52px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 14px;

    background: #c90000;

    color: white;

    border: 1px solid #c90000;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;
}

.dropdown-btn:hover {
    background: #df0000;
}

.dropdown-btn .arrow {
    font-size: 20px;
    font-weight: bold;
}



.dropdown-content {
    display: block;

    width: 100%;

    background: #111516;

    border-left: 1px solid #444;
    border-right: 1px solid #444;
    border-bottom: 1px solid #444;
}

.dropdown-content a {
    display: block;

    padding: 12px 28px;

    color: white;

    text-decoration: none;

    font-size: 14px;

    font-weight: bold;

    transition: .2s ease;
}

.dropdown-content a:hover {
    background: #252a2c;

    color: #ff2020;

    padding-left: 34px;
}



.menu>a.admin-link {
    opacity: .55;
    font-size: 12px;
    font-weight: normal;
    min-height: 40px;
}

.menu>a.admin-link:hover {
    opacity: 1;
}



.count {
    margin-left: auto;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    background: white;

    color: #c90000;

    display: inline-flex;

    justify-content: center;
    align-items: center;

    font-size: 11px;
}


.main-content {
    width: 100%;
    min-height: 100vh;

    background: #fafafa;
}

.client-footer {
    padding: 36px max(7.5%, 32px) 28px;
    border-top: 4px solid #c90000;
    background: #111619;
    color: #aeb7bd;
}

.client-footer-brand {
    display: inline-block;
    margin-bottom: 9px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
    text-decoration: none;
}

.client-footer p { margin: 0; font-size: 14px; }
.client-footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin: 22px 0; }
.client-footer nav a { color: #fff; font-size: 13px; font-weight: bold; text-decoration: none; }
.client-footer nav a:hover { color: #ff5252; }
.client-footer small { display: block; padding-top: 18px; border-top: 1px solid #30393d; font-size: 12px; }



.home-intro {
    width: 530px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 145px;
}

.home-intro > p:first-child { color: #d00000; font-size: 12px; letter-spacing: 2px; margin-bottom: 20px; }
.home-intro h1 { font-size: 66px; line-height: 1.02; font-weight: 800; letter-spacing: -3px; color: #15191c; margin-bottom: 22px; }
.home-intro > span { display: block; width: 56px; height: 4px; background: #15191c; margin-bottom: 24px; }

.carousel-home {
    width: 100%;
    min-height: calc(100vh - 88px);
    margin: 0 auto;
    padding: 0;
    display: grid;
    place-items: center;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: calc(100vh - 88px);
    min-height: 530px;
    overflow: hidden;
    isolation: isolate;
    background: #15191c;
    box-shadow: 0 24px 60px rgba(21, 25, 28, .2);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    padding: clamp(38px, 7vw, 92px);
    opacity: 0;
    pointer-events: none;
    transform: scale(1.025);
    transition: opacity .55s ease, transform .75s ease;
    background-color: #15191c;
    background-image: linear-gradient(90deg, rgba(9, 12, 14, .86) 0%, rgba(9, 12, 14, .68) 43%, rgba(9, 12, 14, .18) 100%), url("https://images.unsplash.com/photo-1635802015642-988b320c8c76?auto=format&fit=crop&q=85&w=2400");
    background-position: center;
    background-size: cover;
}

.hero-slide::after {
    position: absolute;
    right: -6%;
    bottom: -42%;
    z-index: -1;
    width: min(62vw, 720px);
    aspect-ratio: 1;
    border: 42px solid rgba(21, 25, 28, .9);
    border-radius: 50%;
    content: "";
}

.hero-slide:nth-child(2) { background-image: linear-gradient(90deg, rgba(9, 12, 14, .88) 0%, rgba(9, 12, 14, .67) 43%, rgba(9, 12, 14, .18) 100%), url("https://images.unsplash.com/photo-1635802015921-7bc6bd5fc776?auto=format&fit=crop&q=85&w=2400"); }
.hero-slide:nth-child(2)::after { border-color: rgba(255, 255, 255, .12); }
.hero-slide:nth-child(3) { background-image: linear-gradient(90deg, rgba(9, 12, 14, .87) 0%, rgba(9, 12, 14, .65) 43%, rgba(9, 12, 14, .16) 100%), url("https://images.unsplash.com/photo-1553437728-7576baad56d1?auto=format&fit=crop&q=85&w=2400"); }

.hero-slide.is-active { opacity: 1; pointer-events: auto; transform: scale(1); z-index: 1; animation: hero-background-drift 8s ease-in-out infinite alternate; }

@keyframes hero-background-drift {
    from { background-position: center center; }
    to { background-position: 56% center; }
}

.hero-slide-content { position: relative; z-index: 1; max-width: 560px; }
.hero-slide .hero-slide-content { color: #fff; }
.hero-slide h1 { color: #fff; }

.hero-slide-content > p:first-child {
    color: #d00000;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-slide .hero-slide-content > p:first-child { color: #ff6666; }

.hero-slide h1 {
    font-size: 66px;
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -3px;
    color: #fff;
    margin-bottom: 22px;
    font-weight: 800;
    letter-spacing: -3px;
    margin: 20px 0 22px;
}

.hero-slide-content > span {
    display: block;
    width: 56px;
    height: 4px;
    background: #15191c;
    margin-bottom: 24px;
    height: 4px;
    margin-bottom: 24px;
    background: currentColor;
}

.home-text {
    color: #607080;
    font-size: 16px;
    line-height: 1.6;
    line-height: 1.6;
}

.hero-slide .home-text { color: #e0e5e8; }
.hero-cta { display: inline-block; margin-top: 28px; padding: 13px 20px; border: 2px solid #c90000; background: #c90000; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-decoration: none; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.hero-cta:hover, .hero-cta:focus-visible { background: transparent; color: #c90000; }
.hero-slide:nth-child(2) .hero-cta:hover, .hero-slide:nth-child(2) .hero-cta:focus-visible { color: #fff; }
.hero-slide-number { position: absolute; right: 8%; top: 11%; color: rgba(255, 255, 255, .72); font-size: clamp(76px, 13vw, 154px); font-weight: 800; letter-spacing: -9px; line-height: 1; }
.carousel-control { position: absolute; z-index: 2; top: 50%; width: 50px; height: 50px; border: 1px solid rgba(255, 255, 255, .5); background: rgba(15, 19, 21, .72); color: #fff; cursor: pointer; font-size: 23px; transform: translateY(-50%); transition: background .2s ease, border-color .2s ease; }
.carousel-control:hover, .carousel-control:focus-visible { border-color: #c90000; background: #c90000; outline: none; }
.carousel-prev { left: 18px; }
.carousel-next { right: 18px; }
.carousel-pagination { position: absolute; z-index: 2; right: 36px; bottom: 32px; display: flex; gap: 9px; }
.carousel-pagination button { width: 29px; height: 4px; padding: 0; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.carousel-pagination button.is-active, .carousel-pagination button:hover, .carousel-pagination button:focus-visible { background: #c90000; outline: none; transform: scaleX(1.2); }


.empty-products {
    width: 100%;

    min-height: 250px;

    margin-top: 28px;

    border: 2px dashed #b8bdc0;

    border-radius: 12px;

    background: white;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;
}

.empty-products p {
    color: #c90000;

    font-family: monospace;

    font-size: 13px;

    letter-spacing: 1px;
}

.product-catalogue { width: min(1160px, 85%); max-width: none; }
.product-catalogue-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.product-count { margin: 0 0 26px; padding: 9px 13px; border: 1px solid #d8dee2; border-radius: 999px; background: #fff; color: #52606b; font: 12px monospace; letter-spacing: .4px; white-space: nowrap; }
.customer-product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 26px; margin-top: 28px; }
.customer-product-card { overflow: hidden; border: 1px solid #e1e5e8; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(21, 25, 28, .07); transition: transform .22s ease, box-shadow .22s ease; }
.customer-product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(21, 25, 28, .14); }
.customer-product-media { position: relative; height: 220px; overflow: hidden; background: linear-gradient(135deg, #1d2529, #59656d); }
.customer-product-media img, .customer-product-placeholder { width: 100%; height: 100%; display: block; object-fit: cover; }
.customer-product-media img { transition: transform .35s ease; }
.customer-product-media img.catalogue-image-fallback { object-fit: contain; padding: 42px; background: linear-gradient(135deg, #11191d, #3e4a51); }
.customer-product-card:hover .customer-product-media img { transform: scale(1.06); }
.customer-product-placeholder { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 9px; padding: 24px; background: radial-gradient(circle at 82% 18%, rgba(201, 0, 0, .55), transparent 34%), linear-gradient(135deg, #11191d, #3e4a51); color: #fff; text-transform: uppercase; }
.customer-product-placeholder span { color: #ff7474; font: 700 10px monospace; letter-spacing: 2px; }
.customer-product-placeholder strong { max-width: 220px; font-size: 22px; line-height: 1.08; letter-spacing: -.6px; }
.customer-product-placeholder small { color: #ced8dc; font-size: 10px; font-weight: 700; letter-spacing: 1.4px; }
.customer-product-brand { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(15, 19, 22, .78); color: #fff; font: 11px monospace; letter-spacing: 1px; text-transform: uppercase; }
.customer-product-details { padding: 20px; }
.customer-product-details h2 { margin: 0; color: #15191c; font-size: 22px; line-height: 1.25; }
.customer-product-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #e8ecee; }
.customer-product-price { margin: 0; color: #c90000; font-size: 21px; font-weight: 800; }
.customer-product-stock { margin: 0; padding: 6px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.customer-product-stock.in-stock { background: #e6f5eb; color: #21753a; }
.customer-product-stock.out-of-stock { background: #f9e5e5; color: #a62828; }
.customer-product-color { margin: 12px 0 0; color: #66737a; font-size: 13px; }
.product-details-link { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; color: #263238; font-size: 13px; font-weight: 800; text-decoration: none; }
.product-details-link:hover, .product-details-link:focus-visible { color: #c90000; outline: none; }
.product-details-link span { color: #c90000; font-size: 18px; line-height: 1; }
.customer-add-cart { width: 100%; margin-top: 18px; padding: 12px 16px; border: 0; border-radius: 5px; background: #c90000; color: #fff; cursor: pointer; font-size: 13px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; transition: background .2s ease, transform .2s ease; }
.customer-add-cart:hover:not(:disabled), .customer-add-cart:focus-visible:not(:disabled) { background: #a90000; outline: none; transform: translateY(-1px); }
.customer-add-cart:disabled { cursor: not-allowed; opacity: .55; }
.cart-notice { margin: 22px 0 -6px; padding: 13px 16px; border-left: 4px solid #c90000; background: #fff; color: #263238; font-size: 14px; }
.cart-page { width: min(980px, 85%); padding-bottom: 80px; }
.cart-content { margin-top: 34px; }
.cart-empty { padding: 54px 28px; border: 1px dashed #b8bdc0; border-radius: 12px; background: #fff; color: #66737a; text-align: center; }
.cart-empty p { margin-bottom: 18px; }
.cart-table { overflow: hidden; border: 1px solid #e1e5e8; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(21, 25, 28, .07); }
.cart-row { display: grid; grid-template-columns: minmax(220px, 1.8fr) minmax(100px, .7fr) minmax(140px, .8fr) minmax(110px, .7fr); align-items: center; gap: 22px; padding: 20px 24px; border-bottom: 1px solid #e8ecee; }
.cart-row:last-of-type { border-bottom: 0; }
.cart-product { display: flex; align-items: center; gap: 16px; min-width: 0; }
.cart-product img, .cart-product-placeholder { width: 72px; height: 62px; flex: 0 0 auto; border-radius: 7px; background: #e9edef; object-fit: cover; }
.cart-product-placeholder { display: grid; place-items: center; color: #67747c; font-size: 11px; font-weight: 700; }
.cart-product h2 { margin: 0; font-size: 16px; line-height: 1.25; }
.cart-product p { margin: 5px 0 0; color: #69767d; font-size: 12px; }
.cart-price, .cart-subtotal { color: #15191c; font-size: 15px; font-weight: 800; }
.cart-quantity { display: inline-flex; align-items: center; border: 1px solid #dce2e5; border-radius: 6px; overflow: hidden; }
.cart-quantity form { margin: 0; }
.cart-quantity button { width: 34px; height: 34px; border: 0; background: #f5f7f8; color: #15191c; cursor: pointer; font-size: 18px; }
.cart-quantity button:hover, .cart-quantity button:focus-visible { background: #e4e9eb; outline: none; }
.cart-quantity span { min-width: 34px; text-align: center; font-size: 14px; font-weight: 800; }
.cart-remove { margin-top: 7px; padding: 0; border: 0; background: none; color: #b00000; cursor: pointer; font-size: 12px; font-weight: 700; }
.cart-summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 22px 24px; border-top: 2px solid #15191c; background: #fafafa; }
.cart-summary-actions { display: flex; align-items: center; gap: 12px; }
.cart-summary-actions form { margin: 0; }
.cart-total { color: #15191c; font-size: 18px; font-weight: 800; }
.cart-total strong { margin-left: 12px; color: #c90000; font-size: 24px; }
.cart-checkout { padding: 13px 18px; border: 0; border-radius: 5px; background: #c90000; color: #fff; cursor: pointer; font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.cart-checkout:hover, .cart-checkout:focus-visible { background: #a90000; outline: none; }
.cart-clear { padding: 13px 15px; border: 1px solid #cfd7da; border-radius: 5px; background: #fff; color: #59656c; cursor: pointer; font-size: 12px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.cart-clear:hover { border-color: #b00000; color: #b00000; }
.checkout-page { width: min(1060px, 85%); padding-bottom: 80px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr); gap: 26px; margin-top: 32px; align-items: start; }
.checkout-form, .checkout-order, .checkout-success { border: 1px solid #e0e5e7; border-radius: 14px; background: #fff; box-shadow: 0 9px 26px rgba(21,25,28,.07); }
.checkout-form { padding: 28px; }
.checkout-form h2, .checkout-order h2 { margin: 0 0 22px; color: #15191c; font-size: 22px; }
.checkout-form > label, .auth-form label { display: block; margin-bottom: 17px; color: #39444a; font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.checkout-form input, .checkout-form textarea, .auth-form input, .auth-form textarea { width: 100%; margin-top: 8px; padding: 12px 13px; border: 1px solid #ced6d9; border-radius: 6px; background: #fff; color: #15191c; font: inherit; font-size: 14px; text-transform: none; }
.checkout-form textarea, .auth-form textarea { min-height: 94px; resize: vertical; }
.checkout-form input:focus, .checkout-form textarea:focus, .auth-form input:focus, .auth-form textarea:focus { border-color: #c90000; outline: 3px solid rgba(201,0,0,.1); }
.checkout-form input[readonly], .checkout-form textarea[readonly] { cursor: not-allowed; background: #f1f4f5; color: #647078; }
.checkout-form fieldset { margin: 22px 0; padding: 16px; border: 1px solid #dce2e4; border-radius: 7px; }
.checkout-form legend { padding: 0 5px; color: #536068; font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.payment-option { display: block; margin: 11px 0; color: #263238; font-size: 14px; }
.payment-option input { width: auto; margin: 0 8px 0 0; accent-color: #c90000; }
.checkout-order { padding: 26px; }
.checkout-item { display: flex; justify-content: space-between; gap: 15px; padding: 15px 0; border-bottom: 1px solid #e8ecee; color: #15191c; font-size: 14px; }
.checkout-item strong, .checkout-item b { display: block; }
.checkout-item span { display: block; margin-top: 5px; color: #6d787e; font-size: 12px; }
.checkout-order > p { display: flex; justify-content: space-between; margin: 20px 0 0; color: #15191c; font-size: 17px; font-weight: 800; }
.checkout-order > p strong { color: #c90000; font-size: 21px; }
.checkout-error { margin: 0 0 20px; padding: 13px 15px; border-left: 4px solid #c90000; background: #fff0f0; color: #8f1f1f; font-size: 14px; }
.checkout-account-note { margin: -6px 0 20px; padding: 11px 13px; border-radius: 6px; background: #eef6ff; color: #32617f; font-size: 13px; line-height: 1.45; }
.checkout-success { margin-top: 32px; padding: 56px 30px; text-align: center; }
.checkout-success > span { display: grid; width: 52px; height: 52px; margin: 0 auto 16px; place-items: center; border-radius: 50%; background: #e7f5eb; color: #21753a; font-size: 28px; font-weight: 800; }
.checkout-success h2 { margin-bottom: 10px; color: #15191c; }
.checkout-success p { margin-bottom: 26px; color: #66737a; }
.order-confirmation-details { margin: 0 auto 26px; padding: 20px; border: 1px solid #e2e7e9; border-radius: 8px; background: #fafbfb; text-align: left; }
.order-confirmation-details h3 { margin: 0 0 12px; color: #15191c; font-size: 16px; }
.order-confirmation-details p { display: grid; grid-template-columns: 130px 1fr; gap: 12px; margin: 0; padding: 9px 0; border-top: 1px solid #e4e8e9; color: #4f5c63; font-size: 14px; line-height: 1.45; }
.order-confirmation-details b { color: #15191c; }
.auth-page { display: grid; min-height: calc(100vh - 88px); place-items: center; padding: 55px 20px; background: linear-gradient(135deg, #f6f7f8, #ebeff1); }
.auth-card { width: min(460px, 100%); padding: 36px; border-top: 4px solid #c90000; border-radius: 13px; background: #fff; box-shadow: 0 18px 42px rgba(21,25,28,.12); }
.auth-card-wide { width: min(680px, 100%); }
.auth-eyebrow { margin-bottom: 9px; color: #c90000; font-size: 12px; font-weight: 800; letter-spacing: 1.8px; }
.auth-card h1 { margin: 0; color: #15191c; font-size: 34px; }
.auth-copy { margin: 10px 0 28px; color: #66737a; line-height: 1.5; }
.auth-form { margin-top: 20px; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.auth-full { grid-column: 1 / -1; }
.auth-form .cart-checkout { width: 100%; }
.auth-switch { margin: 22px 0 0; color: #65737a; font-size: 14px; text-align: center; }
.auth-switch a { color: #c90000; font-weight: 800; }
.account-details { margin: 26px 0; border-top: 1px solid #e3e8e9; }
.account-details p { padding: 13px 0; border-bottom: 1px solid #e3e8e9; color: #263238; line-height: 1.5; }
.account-details span { display: block; margin-bottom: 3px; color: #758187; font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.product-detail-page { width: min(1120px, 85%); padding: 52px 0 82px; }
.back-link { display: inline-block; margin-bottom: 22px; color: #56636a; font-size: 13px; font-weight: 800; text-decoration: none; }
.back-link:hover { color: #c90000; }
.product-detail-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); overflow: hidden; border: 1px solid #dfe5e7; border-radius: 16px; background: #fff; box-shadow: 0 14px 34px rgba(21,25,28,.1); }
.product-detail-image { min-height: 490px; background: #20282c; }
.product-detail-image img { width: 100%; height: 100%; min-height: 490px; object-fit: cover; }
.product-detail-info { padding: 42px; }
.product-detail-category { margin: 0 0 12px; color: #c90000; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.product-detail-info h1 { margin: 0; color: #15191c; font-size: clamp(31px, 4vw, 45px); line-height: 1.05; }
.product-detail-price { margin: 20px 0; color: #c90000; font-size: 28px; font-weight: 800; }
.product-detail-copy { color: #627078; line-height: 1.65; }
.product-specs { margin: 25px 0; border-top: 1px solid #e2e7e8; }
.product-specs div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid #e2e7e8; }
.product-specs dt { color: #718087; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.product-specs dd { margin: 0; color: #1f282d; font-size: 14px; font-weight: 700; text-align: right; }
.contact-page { width: min(980px, 85%); padding-bottom: 82px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; margin-top: 32px; }
.contact-card { padding: 30px; border: 1px solid #e0e5e7; border-radius: 13px; background: #fff; box-shadow: 0 9px 26px rgba(21,25,28,.07); }
.contact-card h2 { margin: 0 0 24px; color: #15191c; font-size: 23px; }
.contact-card > p { margin: 0; padding: 14px 0; border-top: 1px solid #e4e8e9; color: #5f6d74; line-height: 1.5; }
.contact-card b { display: block; color: #1f292e; font-size: 11px; letter-spacing: .7px; text-transform: uppercase; }
.contact-card a { color: #c90000; font-weight: 700; text-decoration: none; }
.contact-form label { display: block; margin-bottom: 17px; color: #39444a; font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 8px; padding: 12px 13px; border: 1px solid #ced6d9; border-radius: 6px; color: #15191c; font: inherit; text-transform: none; }
.contact-form textarea { min-height: 115px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #c90000; outline: 3px solid rgba(201,0,0,.1); }
.contact-form .cart-checkout { width: 100%; }
.customer-orders-page { width: min(920px, 85%); padding-bottom: 80px; }
.customer-order-list { display: grid; gap: 16px; margin-top: 30px; }
.customer-order-card { padding: 22px 24px; border: 1px solid #e0e5e7; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(21,25,28,.07); }
.customer-order-heading, .customer-order-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.customer-order-heading p { margin: 0 0 4px; color: #c90000; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; }
.customer-order-heading h2 { margin: 0; color: #15191c; font-size: 18px; }
.customer-order-status { padding: 6px 10px; border-radius: 999px; background: #fff3d9; color: #936400; font-size: 12px; font-weight: 800; }
.customer-order-status.status-completed { background: #e6f5eb; color: #21753a; }
.customer-order-status.status-cancelled { background: #f9e5e5; color: #a62828; }
.customer-order-status.status-processing { background: #e8f1fb; color: #265b94; }
.customer-order-items { margin: 18px 0; padding: 14px 0; border-top: 1px solid #e7ebed; border-bottom: 1px solid #e7ebed; color: #536068; font-size: 14px; line-height: 1.55; }
.customer-order-footer span { color: #6b777d; font-size: 13px; }
.customer-order-footer strong { color: #c90000; font-size: 20px; }
.mini-cart { position: fixed; z-index: 1002; right: 26px; bottom: 26px; display: grid; width: 58px; height: 58px; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #c90000; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); color: #fff; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.mini-cart:hover, .mini-cart:focus-visible { background: #a90000; outline: none; transform: translateY(-4px); }
.mini-cart span { font-size: 24px; line-height: 1; }
.mini-cart b { position: absolute; top: -7px; right: -7px; display: grid; width: 23px; height: 23px; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #15191c; color: #fff; font-size: 11px; }
.cart-overlay { position: fixed; z-index: 1003; inset: 0; display: none; background: rgba(0, 0, 0, .5); }
.cart-panel { position: fixed; z-index: 1004; top: 0; right: 0; display: flex; width: min(410px, 100%); height: 100vh; flex-direction: column; background: #fff; box-shadow: -8px 0 28px rgba(0, 0, 0, .24); transform: translateX(105%); transition: transform .28s ease; }
.cart-panel.is-open { transform: translateX(0); }
.cart-overlay.is-open { display: block; }
.cart-panel-header { display: flex; align-items: start; justify-content: space-between; padding: 26px 26px 22px; border-bottom: 3px solid #c90000; background: #15191c; color: #fff; }
.cart-panel-header p { margin-bottom: 5px; color: #ff6262; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; }
.cart-panel-header h2 { font-size: 26px; }
.cart-panel-close { border: 0; background: none; color: #fff; cursor: pointer; font-size: 32px; line-height: .8; }
.cart-panel-content { flex: 1; overflow-y: auto; padding: 8px 26px; }
.cart-panel-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid #e5e8e9; }
.cart-panel-item img, .cart-panel-item .cart-product-placeholder { width: 82px; height: 68px; flex: 0 0 auto; border-radius: 7px; object-fit: cover; }
.cart-panel-item h3 { margin: 0 0 5px; color: #15191c; font-size: 16px; }
.cart-panel-item p { margin: 0 0 7px; color: #65737a; font-size: 12px; }
.cart-panel-item strong { color: #c90000; font-size: 14px; }
.mini-cart-quantity { display: inline-flex; align-items: center; margin-top: 10px; overflow: hidden; border: 1px solid #dce2e5; border-radius: 5px; }
.mini-cart-quantity form { margin: 0; }
.mini-cart-quantity button { width: 28px; height: 27px; border: 0; background: #f4f6f7; color: #15191c; cursor: pointer; font-size: 16px; }
.mini-cart-quantity button:hover, .mini-cart-quantity button:focus-visible { background: #e2e7e9; outline: none; }
.mini-cart-quantity span { min-width: 28px; color: #15191c; font-size: 13px; font-weight: 800; text-align: center; }
.cart-panel-empty { padding: 80px 0; color: #68757d; text-align: center; }
.cart-panel-empty span { display: block; margin-bottom: 13px; font-size: 40px; }
.cart-panel-empty p { margin-bottom: 14px; }
.cart-panel-empty a { color: #c90000; font-size: 13px; font-weight: 800; }
.cart-panel-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 26px; border-top: 1px solid #dfe4e6; background: #fafafa; }
.cart-panel-footer p { color: #15191c; font-size: 15px; font-weight: 800; }
.cart-panel-footer strong { display: block; margin-top: 4px; color: #c90000; font-size: 21px; }
.cart-panel-footer .btn { padding: 12px 15px; font-size: 12px; white-space: nowrap; }


.crud-container {
    width: 850px;

    max-width: 90%;

    margin: 0 auto;

    padding-top: 100px;
}

.crud-title {
    color: #c90000;

    font-size: 12px;

    letter-spacing: 2px;

    margin-bottom: 15px;
}

.crud-container h1 {
    font-size: 45px;

    margin-bottom: 20px;
}

.crud-line {
    width: 55px;

    height: 4px;

    background: #15191c;

    margin-bottom: 30px;
}


.product-form {
    background: white;

    border: 1px solid #ddd;

    padding: 30px;

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

    border-radius: 8px;
}

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

.form-group label {
    display: block;

    font-size: 13px;

    font-weight: bold;

    margin-bottom: 8px;

    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;

    padding: 13px;

    border: 1px solid #ccc;

    border-radius: 4px;

    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;

    border-color: #c90000;
}


.btn {
    display: inline-block;

    padding: 12px 24px;

    border: none;

    background: #c90000;

    color: white;

    text-decoration: none;

    cursor: pointer;

    font-weight: bold;

    border-radius: 4px;
}

.btn:hover {
    background: #a90000;
}

.btn-secondary {
    background: #333;
}

.btn-secondary:hover {
    background: #111;
}

.btn-danger {
    background: #b00000;
}


.product-table-wrapper {
    background: white;

    padding: 20px;

    border-radius: 8px;

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

    overflow-x: auto;
}

.product-table {
    width: 100%;

    border-collapse: collapse;
}

.product-table th {
    background: #171b1d;

    color: white;

    padding: 14px;

    text-align: left;

    font-size: 13px;
}

.product-table td {
    padding: 13px;

    border-bottom: 1px solid #ddd;

    font-size: 14px;
}

.product-table tr:hover {
    background: #f5f5f5;
}


.alert {
    padding: 14px;

    margin-bottom: 20px;

    background: #eee;

    border-left: 4px solid #c90000;

    font-size: 14px;
}



@media (max-width: 700px) {

    .page-header {
        padding-left: 20px;
    }

    .header-logo {
        width: 250px;
    }

    .header-logo b {
        font-size: 16px;
    }

    .home-intro {
        width: 85%;
        padding-top: 100px;
    }

    .home-intro h1 { font-size: 48px; }
    .carousel-home { min-height: auto; padding: 0; }

    .hero-carousel { min-height: 500px; }

    .hero-slide h1 {
        font-size: 48px;
    }

    .hero-slide { padding: 35px; }
    .hero-slide-number { top: 12%; right: 8%; }
    .carousel-control { top: auto; bottom: 25px; transform: none; }
    .carousel-prev { left: 35px; }
    .carousel-next { left: 96px; right: auto; }
    .carousel-pagination { right: 35px; bottom: 48px; }

    .sidebar {
        width: 240px;
    }

    .client-footer { padding: 30px 24px 24px; }

    .crud-container {
        padding-top: 70px;
    }

    .product-catalogue-heading { display: block; }
    .product-count { display: inline-block; margin-bottom: 0; }
    .customer-product-grid { grid-template-columns: 1fr; gap: 18px; }
    .cart-page { width: 85%; }
    .cart-row { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
    .cart-row > .cart-price, .cart-row > .cart-subtotal { display: inline-block; }
    .cart-summary { align-items: stretch; flex-direction: column; }
    .cart-summary-actions { align-items: stretch; flex-direction: column; }
    .cart-checkout { width: 100%; }
    .mini-cart { right: 18px; bottom: 18px; width: 54px; height: 54px; }
    .checkout-page { width: 85%; }
    .checkout-layout, .auth-grid { grid-template-columns: 1fr; }
    .product-detail-page, .contact-page { width: 85%; }
    .product-detail-card, .contact-grid { grid-template-columns: 1fr; }
    .product-detail-image, .product-detail-image img { min-height: 280px; }
    .product-detail-info { padding: 28px 22px; }
    .contact-card { padding: 24px 20px; }
    .auth-full { grid-column: auto; }
    .auth-card { padding: 28px 22px; }
}
