/* =========================================================
MANOLY ELITE - CLEANED MASTER STYLESHEET
Consolidated, DRY, same theme & features preserved
========================================================= */

/* ---------- THEME VARIABLES ---------- */
:root {
    --bg-dark-1: #1b2436;
    --bg-dark-2: #263047;
    --gold: #d4af37;
    --gold-soft: #f2c078;
    --muted: #cfcfcf;
    --panel-bg: rgba(22,26,38,0.88);
    --glass-border: 1.5px solid var(--gold);
    --glass-radius: 12px;
    --shadow-glow: 0 0 20px rgba(255,180,90,0.35), 0 0 40px rgba(255,180,90,0.2), 0 0 80px rgba(255,180,90,0.1);
}

/* ================= GLOBAL ================= */
* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    /* ONLY DARK BASE */
    background: linear-gradient(to bottom, #0f1724, #1a2233);
}

    /* BLURRED BACKGROUND IMAGE */
    body::before {
        content: "";
        position:fixed;
        inset: 0;
        background: url('/img/noise.png') center/cover no-repeat;
        /* 🔥 TUNE THESE TWO VALUES */
        filter: blur(1.5px) brightness(0.55);
        z-index: -1;
    }

a {
    text-decoration: none;
    color: inherit;
}

    a:visited, a:hover, a:active {
        color: inherit;
    }

section {
    position: relative;
}

/* ================= SIDE LINES HEADER ================= */

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 20px 0;
}

    /* LEFT LINE */
    .section-header::before,
    .section-header::after {
        content: "";
        flex: 1;
        height: 2px;
        background: linear-gradient(to right, transparent, #d4af37);
        margin: 0 15px;
    }

    /* RIGHT LINE FIX (reverse gradient) */
    .section-header::after {
        background: linear-gradient(to left, transparent, #d4af37);
    }

    /* TITLE */
    .section-header h2 {
        font-family: 'Playfair Display', serif;
        font-size: 32px;
        letter-spacing: 2px;
        color: #f2c078;
        text-transform: uppercase;
        text-shadow: 0 0 8px rgba(212,175,55,0.4);
        white-space: nowrap;
    }

/* ================= LUXURY BREADCRUMB ================= */

.breadcrumb-container{
    margin-top:25px;
    margin-bottom:25px;
}

/* navigation */

.breadcrumb-nav{

    display:flex;
    align-items:center;
    gap:12px;

    font-size:24px;
    letter-spacing:0.6px;

    font-weight:500;

}

/* links */

.breadcrumb-nav a{

    color:#cfcfcf;
    transition: all 0.25s ease;

}

/* hover effect */

.breadcrumb-nav a:hover{

    color:#f2c078;

    text-shadow:
        0 0 6px rgba(242,192,120,0.5),
        0 0 12px rgba(242,192,120,0.25);

}

/* divider */

.breadcrumb-divider{

    color:#777;
    font-size:15px;

}

/* current page */

.breadcrumb-current{

    color:#f2c078;

    font-weight:600;

    text-shadow:
        0 0 6px rgba(242,192,120,0.7),
        0 0 16px rgba(242,192,120,0.45),
        0 0 30px rgba(242,192,120,0.25);

}

/* ================= COMMON REUSABLE PATTERNS ================= */

/* Reusable card style for category / subcategory / product / featured */
.card-panel {
    background: var(--panel-bg);
    border: var(--glass-border);
    border-radius: var(--glass-radius);
    overflow: hidden;
    box-shadow: 0 0 12px rgba(212,175,55,0.25), 0 0 22px rgba(212,175,55,0.15);
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
}

    .card-panel:hover {
        transform: translateY(-8px);
        box-shadow: 0 0 35px rgba(212,175,55,0.45);
    }

    /* subtle anchored glow used by some cards */
    .card-panel::after {
        content: "";
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        height: 40px;
        background: radial-gradient(ellipse at center, rgba(255,180,90,0.35), transparent 70%);
        filter: blur(18px);
        opacity: 0.6;
        pointer-events: none;
    }

/* small / large modifiers for featured & other cards */
.card-panel--large {
    border-radius: 14px;
}

.card-panel--small {
    border-radius: 12px;
}

/* overlay used on image-backed cards */
.card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: linear-gradient(rgba(10,14,24,0.25), rgba(10,14,24,0.75));
}

/* basic container sizing */
.page-container {
    max-width: 1500px;
    margin: auto;
    padding: 0 40px;
}

/* ================= NAVBAR ================= */
.custom-navbar {
    background: linear-gradient(to right, rgba(14,17,23,0.95), rgba(20,24,36,0.95));
    padding: 15px 0;
    border-bottom: 1px solid rgba(212,175,55,0.2);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 140px;
    object-fit: contain;
}

.brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--gold);
}

.brand-subtitle {
    font-size: 17px;
    letter-spacing: 1.5px;
    color: var(--muted);
}

.navbar-nav .nav-link {
    font-size: 18px;
    letter-spacing: 1px;
    margin-left: 30px;
}

    .navbar-nav .nav-link:hover {
        color: var(--gold);
    }

/* ================= HERO (home & category share styles) ================= */
.hero-section,
.category-hero {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    padding: 40px 0;
}

/* .hero-section is a taller variant for the home page */
.hero-section {
    min-height: 250px;
    background: transparent;
}

.category-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-title, .category-hero-title {
    color: var(--gold);
    text-shadow: 2px 2px 12px rgba(0,0,0,0.8);
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-subtitle, .category-hero-desc {
    color: var(--muted);
}

/* ================= BUTTONS ================= */
.btn-gold {
    background-color: var(--gold);
    color: #000;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 5px;
    transition: .25s;
}

    .btn-gold:hover {
        background-color: #b8962e;
    }

.btn-outline-warning {
    border: 1px solid rgba(242,192,120,0.35);
    color: var(--gold-soft);
}

/* ================= CATEGORY CARDS (HOME) ================= */
.category-card {
    min-height: 440px;
    width: 100%;
    border-radius: var(--glass-radius);
    display: block;
}

.category-image-wrapper {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.category-content {
    padding: 20px;
}

.category-title {
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 28px;
    color: inherit;
}

.category-desc {
    font-size: 20px;
    color: #d0d0d0;
    margin-top: 8px;
}

.category-explore {
    margin-top: 20px;
    display: inline-block;
    padding: 10px 30px;
    border: 1.5px solid var(--gold);
    border-radius: 4px;
    color: var(--gold);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all .3s ease;
}

.category-card:hover .category-explore {
    background: var(--gold);
    color: #000;
}

/* title style reused */
.category-tittle-cards {
    font-size: 35px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-soft);
    text-shadow: 0 0 6px rgba(242,192,120,0.25);
}

/* ================= FEATURED PRODUCTS (reused with modifiers) ================= */
.featured-grid {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.featured-card {
    background-size: cover;
    background-position: center 35%;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: var(--glass-border);
    transition: transform .35s ease, box-shadow .35s ease;
}

.featured-card--large {
    height: 700px;
}

.featured-card--small {
    height: 220px;
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(10,14,24,0.3), rgba(10,14,24,0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.featured-link {
    margin-top: 10px;
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    color: var(--gold);
    font-size: 13px;
    transition: .3s;
}

    .featured-link:hover {
        background: var(--gold);
        color: #000;
    }

/* ================= FEATURED SLIDER ANIMATION ================= */

.carousel-item {
    transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================= VIDEO PREVIEW & MODAL ================= */
.video-preview {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(212,175,55,0.35), 0 0 60px rgba(212,175,55,0.15);
    max-width: 650px;
    margin: auto;
}

    .video-preview img {
        width: 100%;
        display: block;
        transition: transform .4s ease;
    }

    .video-preview:hover img {
        transform: scale(1.05);
    }

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.65));
}

.play-button {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(212,175,55,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: black;
    box-shadow: 0 0 20px rgba(255,180,90,0.7);
    transition: .3s;
}

.video-preview:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 0 35px rgba(255,180,90,0.9);
}

.video-text {
    margin-top: 20px;
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
}

/* modal controls */
.video-modal {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.video-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 32px;
    color: white;
    background: rgba(0,0,0,0.6);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

    .video-close-btn:hover {
        background: var(--gold);
        color: black;
    }


/* subcategory card uses the shared .card-panel but some layout specifics */
.subcategory-card {
    display: flex;
    gap: 25px;
    padding: 25px;
    align-items: flex-start;
    backdrop-filter: blur(3px);
    box-shadow: 0 0 12px rgba(212,175,55,0.25), 0 0 22px rgba(212,175,55,0.15);
}

    .subcategory-card:hover {
        box-shadow: 0 0 18px rgba(212,175,55,0.35), 0 0 30px rgba(212,175,55,0.2);
    }

.subcategory-left {
    width: 55%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subcategory-image-container {
    width: 100%;
    max-width: 360px;
    height: 260px; /* 🔥 FIXED HEIGHT */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.subcategory-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔥 KEY CHANGE */
}

.product-count {
    margin-top: 15px;
    border: 1px solid var(--gold);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
}

/* right side */
.subcategory-right {
    width: 45%;
}

.subcategory-title {
    font-size: 26px;
    font-weight: 600;
}

.subcategory-desc {
    font-size: 15px;
    color: var(--muted);
}

.preview-row {
    display: flex;
    gap: 14px;
    margin-top: 14px;
}

.preview-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.subcategory-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
}

/* ================= PRODUCT CARD (grid) ================= */

.product-card {
    padding: 17px;
    display:flex;
    flex-direction: column;
    gap: 12px;
    backdrop-filter: blur(3px);
    height: 100%;
    min-height: 260px;
    transition: 0.3s;
}
    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(212, 175, 55, 0.2);
    }
/* grid layout */

.product-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    grid-template-areas:
        "image info"
        "footer footer";
    column-gap: 20px;
    row-gap: 6px;
    height: 100%;
}

/* IMAGE */

.product-image {
    grid-area: image;
    display: flex;
    justify-content: center;
    background: radial-gradient(circle, #1a2233, #0f1724);
    border-radius: 8px;
}

    .product-image img {
        width: 100%;
        height: 180px;
        object-fit:inherit;
    }

/* INFO */

.product-info {
    grid-area: info;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-name {
    font-size: 22px;
    text-align: center;
    padding-left: 20px;
    direction: rtl;
    font-weight: 600;
    line-height: 1.3;
}

.product-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    text-align: center;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.4;
}

/* SPECIFICATIONS */

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    direction: rtl;
    margin-top: 6px;
    font-size: 14px;
    color: #d6d6d6;
}

    .product-specs li {
        display: flex;
        justify-content: space-between;
        gap: 5px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding-bottom: 6px;
    }

.spec-label {
    direction: rtl;
    unicode-bidi: isolate;
    white-space: nowrap;
}

.spec-value {
    direction: ltr;
    unicode-bidi: isolate;
    
}

/* FOOTER */

.product-footer {
    grid-area: footer;
    margin-top: auto;
    display: flex;
    justify-content: flex-start;
}

.product-link {
    color: var(--gold-soft);
    font-size: 18px;
    font-weight: 500;
    transition: .3s;
}

.product-card:hover .product-link {
    text-shadow: 0 0 10px rgba(242,192,120,0.8), 0 0 20px rgba(242,192,120,0.6);
}
/* ================= BRANDS ================= */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.brand-item {
    width: 100%;
    max-width: 160px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: .3s;
}

    .brand-item img {
        width: 100%;
        max-height: 70px;
        object-fit: contain;
        opacity: 0.75;
        transition: .3s;
    }

    .brand-item:hover {
        box-shadow: 0 0 25px rgba(212,175,55,0.35);
        transform: translateY(-4px);
    }

        .brand-item:hover img {
            filter: grayscale(0%);
            opacity: 1;
        }

/* ================= FOOTER ================= */

.footer {
    padding: 80px 0 30px;
}

.footer-top {
    text-align: center;
    margin-bottom: 70px;
}

.footer-logo {
    width: 250px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 20px;
}

.footer-brand-title {
    margin-bottom: 15px;
    font-size: 2rem;
}

.footer-brand-desc {
    color: #b8b8b8;
    max-width: 600px;
    margin: auto;
    line-height: 1.8;
}

.footer-container {
    width: min(1600px,92vw);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 80px;
    align-items: start;
}

.footer-column {
    text-align: center;
}

.footer-title {
    color: #d4af37;
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-column p {
    color: #b8b8b8;
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-email {
    color: #d4af37;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
    color: #999;
}

/* ================= RESPONSIVE TWEAKS ================= */
@media (max-width:992px) {
    .subcategory-card {
        flex-direction: column;
    }

    .subcategory-left, .subcategory-right {
        width: 100%;
    }

    .brands-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 20px;
    }
}

@media (max-width:576px) {
    .product-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "image" "info" "specs" "footer";
    }

    .product-image img {
        width: 100%;
        height: auto;
    }

    .category-tittle-cards {
        font-size: 26px;
    }
}

/* ================= PRODUCT DETAILS ================= */

.product-detail-image {
    background: rgba(22,26,38,0.88);
    border: 1.5px solid #d4af37;
    border-radius: 12px;
    padding: 15px; /* ↓ reduce padding */
    box-shadow: 0 0 25px rgba(255,180,90,0.25);
    max-width: 650px; /* ↑ control size */
}

    .product-detail-image img {
        width: 100%;
        max-height: 600px;
        object-fit: contain;
        border-radius: 10px;
        transition: transform 0.4s ease;
    }

    .product-detail-image:hover img {
        transform: scale(1.02);
    }

.product-detail-title {
    font-size: 40px;
    font-weight: 600;
    color: #f2c078;
}

.product-detail-description {
    color: #cfcfcf;
    margin-top: 10px;
    font-size: 20px;
}

.product-detail-category {
    margin-top: 10px;
    color: #aaa;
    font-size: 25px;
}

    .product-detail-category .divider {
        margin: 0 6px;
    }

.product-specs-title {
    color: #f2c078;
    font-size: 28px;
}

.product-specs-list {
    margin-top: 15px;
    display: flex; /* 🔁 change from grid */
    flex-direction: column;
    gap: 10px;
    font-size: 25px; /* 26 is too big, reduce a bit */
    color: #ddd;
    direction: rtl; /* 🔥 IMPORTANT */
    padding: 0;
    list-style: none;
}

    .product-specs-list li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px; /* spacing between label and value */
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding: 8px 0;
    }

/* TODO DO THISSSSS */
.spec-label {
    direction: rtl;
    white-space: nowrap;
}

.spec-value {
    direction: ltr;
    unicode-bidi: isolate;
    text-align: right;
}

/* ================= RELATED PRODUCTS SLIDER ================= */

.related-slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.related-products-track {
    display: flex;
    flex-wrap: nowrap; /* IMPORTANT: prevents vertical stacking */
    gap: 25px;
    transition: transform 1.2s ease;
}

/* each card takes 1/4 width */

.related-product-item {
    min-width: calc(25% - 19px);
    flex-shrink: 0;
}

/* ================= RELATED PRODUCTS CARDS ================= */



.related-product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-product-card {
    background: rgba(22,26,38,0.88);
    border: 1.5px solid #d4af37;
    border-radius: 12px;
    padding: 18px;
    transition: all 0.35s ease;
    box-shadow: 0 0 10px rgba(212,175,55,0.18), 0 0 18px rgba(212,175,55,0.10);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    /* hover */

    .related-product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 18px rgba(212,175,55,0.35), 0 0 35px rgba(212,175,55,0.25);
    }

/* image */

.related-product-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

    .related-product-image img {
        max-height: 170px;
        max-width: 100%;
        object-fit: contain;
    }

/* text */

.related-product-name {
    font-size: 18px;
    font-weight: 600;
    margin-top: 8px;
}

/* link */

.related-product-view {
    color: #f2c078;
    font-size: 14px;
    margin-top: 6px;
    display: inline-block;
    transition: 0.25s;
}

.related-product-card:hover .related-product-view {
    text-shadow: 0 0 8px rgba(242,192,120,0.7), 0 0 14px rgba(242,192,120,0.35);
}


/* ===================================================
FOOTER
=================================================== */

.footer {
    background: #0c0f15;
    border-top: 1px solid rgba(212,175,55,0.2);
    padding-top: 60px;
}


/* container */

.footer-container {
    max-width: 1400px;
    margin: auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}


/* logo */

.footer-logo {
    height: 90px;
    margin-bottom: 15px;
}


/* brand */

.footer-brand-title {
    font-family: 'Playfair Display', serif;
    color: #d4af37;
    font-size: 26px;
    margin-bottom: 10px;
}

.footer-brand-desc {
    color: #cfcfcf;
    font-size: 15px;
    line-height: 1.6;
}


/* section titles */

.footer-title {
    color: #f2c078;
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}


/* text */

.footer-contact p,
.footer-location p {
    color: #cfcfcf;
    font-size: 15px;
    margin: 4px 0;
}


/* email */

.footer-email {
    margin-top: 10px;
    color: #f2c078;
}


/* working hours */

.footer-hours {
    margin-top: 18px;
}

    .footer-hours h5 {
        color: #f2c078;
        font-size: 15px;
        margin-bottom: 6px;
    }


/* bottom copyright */

.footer-bottom {
    margin-top: 50px;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #888;
    border-top: 1px solid rgba(212,175,55,0.15);
}


/* ===================================================
RESPONSIVE
=================================================== */

@media(max-width:900px) {

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}




/* =========================================================
RESPONSIVE SYSTEM
Mobile → Tablet → Laptop → Desktop
========================================================= */

/* ---------- LARGE SCREENS (1440px+) ---------- */

@media (min-width:1440px) {

    .page-container {
        max-width: 1600px;
    }

    .hero-title {
        font-size: 56px;
    }

    .product-detail-title {
        font-size: 44px;
    }

    .related-product-item {
        width: calc(25% - 20px);
    }
}



/* ---------- LAPTOPS (1200px - 1440px) ---------- */

@media (min-width:1200px) and (max-width:1439px) {

    .product-detail-title {
        font-size: 36px;
    }

    .product-detail-description {
        font-size: 18px;
    }

    .product-detail-category {
        font-size: 20px;
    }

    .product-specs-list {
        font-size: 20px;
    }
}



/* ---------- TABLETS (768px - 1199px) ---------- */

@media (min-width:768px) and (max-width:1199px) {

    .logo-img {
        height: 100px;
    }

    .brand-title {
        font-size: 28px;
    }

    .hero-section {
        min-height: 420px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .category-card {
        min-height: 360px;
    }

    .category-title {
        font-size: 22px;
    }

    .category-desc {
        font-size: 16px;
    }

    .subcategory-card {
        flex-direction: column;
    }

    .subcategory-left,
    .subcategory-right {
        width: 100%;
    }

    /* 🔥 PRODUCT GRID FIX */
    .product-grid {
        grid-template-columns: 140px 1fr;
        column-gap: 12px;
    }

    .product-image img {
        height: 150px;
    }

    .product-name {
        font-size: 16px;
    }

    .product-description {
        font-size: 13px;
    }

    .product-specs {
        font-size: 12px;
    }

    /* DETAILS PAGE */
    .product-detail-title {
        font-size: 32px;
    }

    .product-detail-description {
        font-size: 18px;
    }

    .product-detail-category {
        font-size: 18px;
    }

    .product-specs-list {
        font-size: 18px;
    }

    /* RELATED */
    .related-product-item {
        width: calc(50% - 20px);
    }
}



/* ---------- SMALL TABLETS / LARGE PHONES ---------- */
@media (max-width:767px) {

    .featured-card--large {
        height: 280px;
    }

    .featured-card--small {
        height: 120px;
    }

    .featured-content h3 {
        font-size: 22px;
    }

    .featured-content h5 {
        font-size: 16px;
    }

    .featured-content p {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .featured-link {
        font-size: 11px;
        padding: 4px 12px;
    }

    .page-container {
        padding: 0 20px;
    }

    .breadcrumb-nav {
        font-size: 16px;
        flex-wrap: wrap;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .logo-img {
        height: 70px;
    }

    .brand-title {
        font-size: 22px;
    }

    .brand-subtitle {
        font-size: 13px;
    }

    .category-card {
        min-height: 300px;
    }

    .category-title {
        font-size: 20px;
    }

    .category-desc {
        font-size: 14px;
    }

    .subcategory-title {
        font-size: 20px;
    }

    .subcategory-desc {
        font-size: 14px;
    }

    .preview-row {
        flex-wrap: wrap;
    }

    .preview-img {
        width: 60px;
        height: 60px;
    }

    /* 🔥 PRODUCT GRID → STACK */
    .product-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "info"
            "specs"
            "footer";
    }

    .product-image img {
        width: 100%;
        height: auto;
    }

    .product-name {
        font-size: 18px;
    }

    .product-description {
        font-size: 13px;
    }

    /* DETAILS */
    .product-detail-title {
        font-size: 26px;
    }

    .product-detail-description {
        font-size: 16px;
    }

    .product-detail-category {
        font-size: 16px;
    }

    .product-specs-title {
        font-size: 20px;
    }

    .product-specs-list {
        font-size: 16px;
    }

    .related-product-item {
        width: 95%; /* 🔥 NOT 100% */
    }

    /* FOOTER */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}





/* ================= ADMIN PANEL ================= */

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */

.admin-sidebar {
    width: 240px;
    background: #0c0f15;
    border-right: 1px solid rgba(212,175,55,0.2);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
}

.admin-logo {
    text-align: center;
    margin-bottom: 40px;
}

    .admin-logo img {
        width: 80px;
        margin-bottom: 10px;
    }

    .admin-logo h4 {
        color: #d4af37;
    }

/* MENU */

.admin-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .admin-menu li {
        margin-bottom: 15px;
    }

    .admin-menu a {
        display: block;
        padding: 10px 14px;
        border-radius: 6px;
        color: #cfcfcf;
        text-decoration: none;
        transition: 0.25s;
    }

        .admin-menu a:hover {
            background: #1a2233;
            color: #f2c078;
        }

/* CONTENT */

.admin-content {
    flex: 1;
    padding: 40px;
    background: #111522;
    color: white;
}

.image-preview {
    max-width: 200px;
    border-radius: 8px;
    border: 1px solid #d4af37;
    padding: 6px;
    margin-top: 10px;
}






.card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

.card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.form-text {
    color: #888;
    font-size: 14px;
}

.form-control,
.form-select {
    border-radius: 10px;
}

.btn-success {
    border-radius: 12px;
    padding: 12px 40px;
}