:root {
    /* ===== KM SATIVA THEME (exact palette from reference image) ===== */

    /* Base / Background */
    --light-cream: #fdfbf7;
    --mint-tint: #eef7e0;
    --white: #ffffff;
    --card-bg: #ffffff;

    /* Green (Primary) */
    --dark-green: #225902;
    --dark-green-2: #143b02;
    --mid-green: #4f8a1f;
    --sage-band: #6fae2c;

    /* Gold / Olive Accent */
    --golden-yellow: #8fc94a;
    --golden-light: #b7e176;
    --border-gold: #6fae2c;
    --premium-gold: #d4a94a;

    /* Discount / Offer Boxes */
    --offer-box-bg: #e8f3d9;
    --offer-box-border: #cbeaa0;

    /* Text */
    --heading-green: #1a4d0a;
    --text-gray: #555555;

    /* Gradients */
    --green-gradient: linear-gradient(135deg, #2d6b05 0%, #225902 45%, #143b02 100%);
    --green-gradient-soft: linear-gradient(160deg, #a8d766 0%, #4f8a1f 45%, #225902 100%);
    --gold-gradient: linear-gradient(135deg, #6fae2c 0%, #3f7a12 55%, #225902 100%);
    --gold-gradient-soft: linear-gradient(135deg, #e3f5c0 0%, #b7e176 45%, #8fc94a 100%);
}

/* =========================================================
   ACCESSORIES LISTING PAGE
   All classes prefixed with "acc-" to keep them unique/scoped
   Uses existing theme tokens from style.css (:root variables)
   ========================================================= */

.acc-page {
    background: var(--light-cream);
    padding: 40px 6% 80px;
}

/* --- Breadcrumb --- */
.acc-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 18px;
}
.acc-breadcrumb a {
    color: var(--text-gray);
    text-decoration: none;
}
.acc-breadcrumb a:hover { color: var(--dark-green); }
.acc-breadcrumb span.acc-sep { margin: 0 8px; color: #c9c2b0; }
.acc-breadcrumb span.acc-current { color: var(--dark-green); font-weight: 600; }

/* --- Page Title --- */
.acc-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: var(--dark-green);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}
.acc-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 4px;
}

/* --- Layout: sidebar + content --- */
.acc-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

/* --- Sidebar --- */
.acc-sidebar {
    background: var(--white);
    border: 1px solid #f0e6cc;
    border-radius: 14px;
    padding: 24px 22px;
    position: sticky;
    top: 20px;
}
.acc-sidebar-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--dark-green);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0e6cc;
}
.acc-cat-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.acc-cat-list li a {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.92rem;
    transition: 0.2s;
}
.acc-cat-list li a:hover {
    background: #fbf5e6;
    color: var(--dark-green);
}
.acc-cat-list li a.acc-active {
    background: var(--green-gradient);
    color: var(--golden-light);
    font-weight: 600;
}
.acc-cat-sub {
    list-style: none;
    margin: 4px 0 10px 14px;
    padding-left: 10px;
    border-left: 2px solid #f0e6cc;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.acc-cat-sub li a {
    display: block;
    padding: 7px 10px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.87rem;
    border-radius: 6px;
    transition: 0.2s;
}
.acc-cat-sub li a:hover { color: var(--golden-yellow); background: #fbf5e6; }
.acc-cat-sub li a.acc-active {
    color: var(--dark-green);
    font-weight: 700;
}

/* --- Content column --- */
.acc-content {}

.acc-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}
.acc-toolbar-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}
.acc-sort-select {
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    color: var(--dark-green);
    border: 1px solid #e0d6b8;
    border-radius: 8px;
    padding: 8px 14px;
    background: var(--white);
    cursor: pointer;
}

/* --- Product grid --- */
.acc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
}

.acc-card {
    background: var(--white);
    border: 1px solid #f0e6cc;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: 0.3s;
    position: relative;
}
.acc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(11,74,58,0.15);
    border-color: var(--golden-yellow);
}

.acc-card-media {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--light-cream);
}
.acc-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}
.acc-card:hover .acc-card-media img { transform: scale(1.06); }

.acc-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: var(--gold-gradient);
    color: var(--dark-green-2);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.acc-card-body {
    padding: 18px 18px 20px;
}

.acc-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}
.acc-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-green);
}
.acc-mrp-label {
    font-size: 0.7rem;
    color: var(--text-gray);
}
.acc-mrp {
    font-size: 0.85rem;
    color: #a99;
    text-decoration: line-through;
}

.acc-stars {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.acc-card-name {
    font-size: 0.92rem;
    color: var(--dark-green);
    line-height: 1.45;
    font-weight: 500;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .acc-layout { grid-template-columns: 1fr; }
    .acc-sidebar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }
    .acc-sidebar-title { display: none; }
    .acc-cat-list { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .acc-cat-list li a { border: 1px solid #f0e6cc; }
    .acc-cat-sub { display: none; }
}

@media (max-width: 600px) {
    .acc-page { padding: 24px 5% 60px; }
    .acc-title { font-size: 1.7rem; }
    .acc-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; }
    .acc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .acc-card-media { height: 160px; }
    .acc-card-body { padding: 12px 12px 14px; }
    .acc-price { font-size: 1rem; }
}