/* ═══════════════════════════════════════════════════════════════════════════ */
/*  Omee India — Frontend CSS                                                 */
/*  File: public/assets/css/frontend.css                                     */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* ── CSS VARIABLES ─────────────────────────────────────────────────────────── */
:root {
    --primary:      #FF6B00;
    --primary-dark: #E05A00;
    --primary-light:#FFF3EB;
    --dark:         #1a1a2e;
    --text:         #374151;
    --muted:        #6b7280;
    --border:       #e5e7eb;
    --bg:           #f9fafb;
    --white:        #ffffff;
    --success:      #059669;
    --info:         #0284c7;
    --warning:      #d97706;
    --radius:       8px;
    --radius-lg:    12px;
    --shadow:       0 2px 12px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.10);
}

/* ── RESET & BASE ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
section { padding: 48px 0; }

/* ── TOP BAR ────────────────────────────────────────────────────────────────── */
.topbar {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    padding: 6px 0;
}
.topbar a {
    color: rgba(255,255,255,0.8);
}
.topbar a:hover { color: var(--white); }

/* ── MAIN HEADER ────────────────────────────────────────────────────────────── */
.main-header {
    background: var(--white);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
}
.header-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Search */
.header-search {
    flex: 1;
    max-width: 500px;
    position: relative;
}
.header-search input {
    width: 100%;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 9px 44px 9px 16px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    background: var(--bg);
}
.header-search input:focus {
    border-color: var(--primary);
    background: var(--white);
}
.header-search button {
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 44px;
    background: var(--primary);
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--white);
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}
.header-search button:hover { background: var(--primary-dark); }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}
.header-actions a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 12px;
    color: var(--text);
    transition: color 0.2s;
}
.header-actions a:hover { color: var(--primary); }
.header-actions a i { font-size: 20px; }
.header-actions .cart-btn {
    background: var(--primary);
    color: var(--white) !important;
    padding: 9px 18px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    flex-direction: row;
    gap: 6px;
    transition: background 0.2s, transform 0.1s !important;
}
.header-actions .cart-btn:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
}

/* ── NAVIGATION ─────────────────────────────────────────────────────────────── */
.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}
.main-nav ul {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0;
}
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav ul li a {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ── PROMO BAR ──────────────────────────────────────────────────────────────── */
.promo-bar {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 8px;
    font-size: 13px;
    font-weight: 500;
}
.promo-bar .promo-code { color: var(--primary); font-weight: 700; }
.promo-bar .copy-icon {
    cursor: pointer;
    margin-left: 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.promo-bar .copy-icon:hover { opacity: 1; }

/* ── BUTTONS ────────────────────────────────────────────────────────────────── */
.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    display: inline-block;
}
.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
}
.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 9px 22px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}
.btn-outline-custom:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: var(--radius);
    padding: 12px 28px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s;
    display: inline-block;
}
.btn-white:hover { transform: translateY(-2px); color: var(--primary); }
.btn-ghost {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: var(--radius);
    padding: 11px 26px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-block;
}
.btn-ghost:hover { background: rgba(255,255,255,0.25); color: var(--white); }

/* ── SECTION TITLES ─────────────────────────────────────────────────────────── */
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}
.section-title span { color: var(--primary); }
.section-subtitle {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 28px;
}

/* ── BACKGROUNDS ────────────────────────────────────────────────────────────── */
.bg-light-custom { background: var(--bg); }
.bg-dark-custom  { background: var(--dark); }
.bg-primary-custom { background: var(--primary); }

/* ── BADGES ─────────────────────────────────────────────────────────────────── */
.badge-primary {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
}
.badge-dark {
    background: rgba(255,255,255,0.15);
    color: var(--primary);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
}


/* ── CATEGORY CARD ──────────────────────────────────────────────────────────── */
.cat-swiper {
    padding: 12px 4px 24px !important;
    position: relative;
}
.cat-swiper .swiper-button-next,
.cat-swiper .swiper-button-prev {
    width: 34px;
    height: 34px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    color: var(--primary) !important;
}
.cat-swiper .swiper-button-next::after,
.cat-swiper .swiper-button-prev::after {
    font-size: 14px !important;
    font-weight: 800 !important;
}
.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
}
.cat-card:hover { transform: translateY(-4px); }
.cat-img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.cat-card:hover .cat-img {
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(255,107,0,0.2);
}
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-icon { font-size: 32px; color: var(--primary); }
.cat-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    line-height: 1.3;
}

/* ── PRODUCT CARD ───────────────────────────────────────────────────────────── */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.product-card .card-img {
    height: 200px;
    overflow: hidden;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}
.product-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 0.3s;
}
.product-card:hover .card-img img { transform: scale(1.05); }
.product-card .card-body {
    padding: 14px;
    flex: 1;
}
.product-card .card-category {
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-card .card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin: 4px 0 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}
.product-card .card-price .original {
    font-size: 13px;
    color: var(--muted);
    text-decoration: line-through;
    margin-left: 6px;
    font-weight: 400;
}
.product-card .card-footer-btn { padding: 0 14px 14px; }
.product-card .card-footer-btn a {
    display: block;
    text-align: center;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    padding: 9px;
    border-radius: var(--radius);
    transition: all 0.2s;
}
.product-card:hover .card-footer-btn a {
    background: var(--primary);
    color: var(--white);
}

/* Badges on product card */
.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    z-index: 1;
}
.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    color: var(--muted);
    transition: color 0.2s, transform 0.2s;
    z-index: 1;
}
.wishlist-btn:hover { color: #ef4444; transform: scale(1.1); }
.wishlist-btn.active { color: #ef4444; }

/* ── WHY CHOOSE US CARD ─────────────────────────────────────────────────────── */
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 24px;
}
.feature-card h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* ── BLOG CARD ──────────────────────────────────────────────────────────────── */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.blog-card .blog-img {
    height: 180px;
    overflow: hidden;
    background: var(--bg);
    flex-shrink: 0;
}
.blog-card .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-card .blog-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-cat {
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.blog-card h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin: 6px 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
}
.blog-date { font-size: 11px; color: var(--muted); }
.blog-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}
.blog-link:hover { color: var(--primary-dark); }

/* ── CTA SECTION ────────────────────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 56px 0;
    text-align: center;
    color: var(--white);
}
.cta-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}
.cta-section p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 28px;
}

/* ── FOOTER ─────────────────────────────────────────────────────────────────── */
.main-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.75);
    padding: 48px 0 0;
}
.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}
.footer-tagline {
    font-size: 13px;
    margin-top: 8px;
    opacity: 0.65;
}
.footer-title {
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-links li { margin-bottom: 8px; }
.footer-links li a {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    transition: color 0.2s;
}
.footer-links li a:hover { color: var(--primary); }
.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.65);
    margin-right: 8px;
    transition: all 0.2s;
}
.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 0;
    margin-top: 32px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* ── SHOP PAGE ──────────────────────────────────────────────────────────────── */
.shop-filter-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 20px;
    position: sticky;
    top: 80px;
}
.filter-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 13px;
    cursor: pointer;
}
.filter-item input[type="radio"],
.filter-item input[type="checkbox"] { accent-color: var(--primary); }

/* ── BREADCRUMB ─────────────────────────────────────────────────────────────── */
.breadcrumb-section {
    background: var(--bg);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.breadcrumb {
    margin: 0;
    font-size: 13px;
}
.breadcrumb-item a { color: var(--muted); }
.breadcrumb-item a:hover { color: var(--primary); }
.breadcrumb-item.active { color: var(--primary); font-weight: 600; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--muted); }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .header-search { max-width: 320px; }
    .hero-panel { padding: 28px 24px; height: auto; min-height: 200px; }
    .hero-title { font-size: 22px; }
    section { padding: 36px 0; }
    .cta-section h2 { font-size: 24px; }
}

@media (max-width: 767px) {
    .header-inner { flex-wrap: wrap; gap: 10px; }
    .header-logo { order: 1; }
    .header-actions { order: 2; margin-left: auto; }
    .header-search { order: 3; max-width: 100%; width: 100%; }
    .header-actions a:not(.cart-btn) span { display: none; }
    .header-actions a:not(.cart-btn) { gap: 0; }
    .topbar .d-flex { flex-direction: column; gap: 4px; text-align: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
    section { padding: 28px 0; }
}

@media (max-width: 575px) {
    .hero-panel { padding: 20px 16px; }
    .hero-title { font-size: 18px; }
    .hero-subtitle { font-size: 13px; }
    .section-title { font-size: 18px; }
    .cat-img { width: 72px; height: 72px; }
    .cat-name { font-size: 11px; }
}

/* ── HERO GRID ──────────────────────────────────────────────────────────────── */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 380px;
}
.hero-panel-light { background: linear-gradient(135deg, #fff5eb, #ffe8d0); }
.hero-panel-dark  { background: linear-gradient(135deg, #1a1a2e, #2d2d44); }
.hero-panel-blue  { background: linear-gradient(135deg, #e8f4ff, #cce5ff); }
.hero-panel-warm  { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }

.hero-circle-br {
    right: -60px; bottom: -60px;
    width: 280px; height: 280px;
    background: rgba(255,107,0,0.08);
}
.hero-circle-tl {
    left: -40px; top: -40px;
    width: 200px; height: 200px;
    background: rgba(255,107,0,0.05);
}

/* Outline white button (hero dark panel) */
.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: var(--radius);
    padding: 9px 22px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

/* Badges for hero */
.badge-blue {
    background: #0288d1;
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}
.hero-price-blue { color: #0288d1; font-weight: 700; }

/* ── SECTION HEADER (title + view all) ─────────────────────────────────────── */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}
.view-all-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    transition: color 0.2s;
}
.view-all-link:hover { color: var(--primary-dark); }

/* Category slide width */
.cat-slide { width: auto !important; }

/* ── NO IMAGE PLACEHOLDER ───────────────────────────────────────────────────── */
.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    opacity: 0.3;
    font-size: 48px;
}

/* ── EMPTY STATE ────────────────────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 48px 0;
    color: var(--muted);
}
.empty-state i {
    font-size: 52px;
    opacity: 0.25;
    display: block;
    margin-bottom: 12px;
}
.empty-state p { font-size: 14px; margin: 0; }

/* ── RESPONSIVE HERO GRID ───────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    .hero-panel { height: 220px; }
    .hero-panel-dark { display: none; } /* mobile pe sirf 1 panel */
}


/* ── HERO SECTION ── */
.hero-swiper { width: 100%; }
 
/* Desktop: 2 column grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
 
/* Each panel */
.hero-panel {
    position: relative;
    overflow: hidden;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
 
/* Mobile: full width single image */
.hero-panel-mobile {
    width: 100%;
    height: 260px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
 
/* Pagination */
.hero-swiper .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.6;
}
.hero-swiper .swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
}
 
/* Responsive */
@media (max-width: 767px) {
    .hero-panel        { height: 220px; }
    .hero-panel-mobile { height: 220px; }
}
@media (max-width: 575px) {
    .hero-panel-mobile { height: 180px; }
}
/* ═══════════════════════════════════════════════════════════════════════════ */
/*  SHOP PAGE                                                                 */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* ── CATEGORY HERO ──────────────────────────────────────────────────────── */
.category-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 100%);
    padding: 0;
    overflow: hidden;
}
.category-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 260px;
    padding: 40px 0;
    gap: 24px;
}
.category-hero-content { flex: 1; max-width: 520px; }
.category-hero-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.category-hero-desc {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}
.category-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-white-dark {
    background: #fff;
    color: var(--dark);
    border: none;
    border-radius: var(--radius);
    padding: 10px 22px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}
.btn-white-dark:hover { background: var(--primary); color: #fff; }
.btn-outline-white-dark {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: var(--radius);
    padding: 9px 22px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}
.btn-outline-white-dark:hover { border-color: var(--primary); color: var(--primary); }
.category-hero-img {
    flex-shrink: 0;
    width: 320px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}
.category-hero-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.15);
    font-size: 80px;
}

/* ── SHOP SECTION ───────────────────────────────────────────────────────── */
.shop-section { padding: 32px 0 48px; }

/* Filter Sidebar */
.filter-group { margin-bottom: 24px; }
.filter-search-box {
    display: flex;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.filter-search-box input {
    flex: 1;
    border: none;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
}
.filter-search-box button {
    background: var(--primary);
    border: none;
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
}
.filter-cat-list { margin-top: 8px; }
.filter-cat-item {
    display: flex;
    align-items: center;
    padding: 7px 10px;
    font-size: 13px;
    color: var(--text);
    border-radius: var(--radius);
    transition: all 0.15s;
    margin-bottom: 2px;
}
.filter-cat-item:hover { background: var(--primary-light); color: var(--primary); }
.filter-cat-item.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}
.filter-cat-count {
    margin-left: auto;
    background: var(--border);
    color: var(--muted);
    font-size: 11px;
    padding: 1px 7px;
    border-radius: 10px;
}
.price-range-inputs { display: flex; align-items: center; gap: 8px; }
.price-input {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 7px 10px;
    font-size: 13px;
    outline: none;
    width: 100%;
}
.price-input:focus { border-color: var(--primary); }

/* Shop Topbar */
.shop-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}
.shop-result-count { font-size: 14px; color: var(--muted); }
.shop-result-count strong { color: var(--dark); }
.sort-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 6px 12px;
    font-size: 13px;
    color: var(--text);
    outline: none;
    cursor: pointer;
}
.sort-select:focus { border-color: var(--primary); }

/* Product card link wrapper */
.product-card-link { text-decoration: none; color: inherit; display: block; height: 100%; }

/* Card rating */
.card-rating { display: flex; align-items: center; gap: 1px; margin: 4px 0; }
.card-rating i { font-size: 12px; color: #f59e0b; }
.rating-val { font-size: 11px; color: var(--muted); margin-left: 4px; }
.card-per-unit { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* Mobile filter bar */
.mobile-filter-bar { margin-bottom: 16px; }
.mobile-filter-form { display: flex; gap: 8px; }
.mobile-search-input {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
}
.mobile-cat-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 10px;
    font-size: 13px;
    outline: none;
}
.mobile-search-btn {
    background: var(--primary);
    border: none;
    color: #fff;
    border-radius: var(--radius);
    padding: 8px 14px;
    cursor: pointer;
}

/* Shop Empty State */
.shop-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.shop-empty i { font-size: 64px; opacity: 0.2; display: block; margin-bottom: 16px; }
.shop-empty h5 { font-size: 18px; color: var(--dark); margin-bottom: 8px; }
.shop-empty p { font-size: 14px; }

/* ── SHOP RESPONSIVE ────────────────────────────────────────────────────── */
@media (max-width: 575px) {
    .category-hero-inner { flex-direction: column; padding: 28px 0; }
    .category-hero-img   { width: 100%; height: 160px; }
    .category-hero-title { font-size: 24px; }
    .col-6 .product-card .card-body { padding: 10px; }
    .col-6 .card-title    { font-size: 12px; }
    .col-6 .card-price    { font-size: 14px; }
    .col-6 .card-per-unit { display: none; }
    .col-6 .card-footer-btn { display: none; }
}

/* ── MAIN NAV — Sub Category Dropdown ──────────────────────────────────────── */

/* Nav item jo dropdown contain karta hai */
.main-nav ul li.nav-has-dropdown {
    position: relative;
}

/* Dropdown arrow icon */
.nav-arrow {
    font-size: 14px;
    vertical-align: middle;
    transition: transform 0.2s;
}
.nav-has-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown menu */
.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    min-width: 200px;
    z-index: 998;
    padding: 6px 0;
    list-style: none;
    margin: 0;
}

/* Dropdown show on hover */
.nav-has-dropdown:hover .nav-dropdown {
    display: block;
    animation: navFadeIn 0.15s ease;
}

@keyframes navFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Dropdown items */
.nav-dropdown li a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    border-bottom: none !important;
    transition: background 0.15s, color 0.15s;
}
.nav-dropdown li a:hover,
.nav-dropdown li a.active {
    background: var(--primary-light);
    color: var(--primary);
}

/* First item — "All Category" bold */
.nav-dropdown li:first-child a {
    font-weight: 600;
    border-bottom: 1px solid var(--border) !important;
    color: var(--primary);
}

/* Mobile — dropdown scroll mein show hoga */
@media (max-width: 767px) {
    .nav-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        background: var(--bg);
        border-radius: var(--radius);
        padding: 0;
        display: none !important; /* Mobile pe hide */
    }
}

 /* ── Product Detail Custom Styles ── */
    .breadcrumb-item+.breadcrumb-item::before {
        color: #9ca3af;
    }

    .thumb-img {
        transition: all .2s;
        border: 2px solid transparent !important;
    }

    .thumb-img:hover,
    .thumb-img.active {
        border-color: #667eea !important;
    }

    .main-img-box {
        background: #f8f9fa;
        border-radius: 12px;
        overflow: hidden;
        height: 420px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-img-box img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .wishlist-btn {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: #fff;
        border: 1px solid #e5e7eb;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all .2s;
        z-index: 2;
    }

    .wishlist-btn:hover {
        background: #fee2e2;
        border-color: #ef4444;
        color: #ef4444;
    }

    .delivery-option {
        border: 2px solid #e5e7eb;
        border-radius: 10px;
        padding: 14px 18px;
        cursor: pointer;
        transition: all .2s;
    }

    .delivery-option.active,
    .delivery-option:hover {
        border-color: #667eea;
        background: #f5f3ff;
    }

    .delivery-option .title {
        font-weight: 600;
        font-size: .9rem;
    }

    .delivery-option .subtitle {
        font-size: .78rem;
        color: #6b7280;
        margin-top: 2px;
    }

    .star-filled {
        color: #f59e0b;
    }

    .star-empty {
        color: #d1d5db;
    }

    .product-feature-list li {
        padding: 4px 0;
        font-size: .9rem;
    }

    .product-feature-list li::marker {
        color: #667eea;
    }

    .related-card {
        border-radius: 12px;
        transition: transform .2s, box-shadow .2s;
    }

    .related-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, .1) !important;
    }

    .related-card img {
        height: 180px;
        object-fit: cover;
        border-radius: 12px 12px 0 0;
    }

    .tab-btn {
        border: none;
        background: none;
        padding: 12px 20px;
        font-weight: 600;
        color: #6b7280;
        border-bottom: 3px solid transparent;
        transition: all .2s;
    }

    .tab-btn.active {
        color: #667eea;
        border-bottom-color: #667eea;
    }

    .review-avatar {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1rem;
        flex-shrink: 0;
    }
     /* ── HERO ─────────────────────────────────────────────────────── */
    .blog-hero {
        background: linear-gradient(135deg, #1a1a2e, #2d1f3d);
        padding: 52px 0 44px;
    }

    .blog-hero-title {
        font-size: 36px;
        font-weight: 800;
        color: #fff;
        margin-bottom: 10px;
    }

    .blog-hero-title span {
        color: var(--primary);
    }

    .blog-hero-sub {
        color: rgba(255, 255, 255, 0.6);
        font-size: 15px;
        margin-bottom: 28px;
    }

    .blog-search-form {
        max-width: 500px;
        margin: 0 auto;
    }

    .blog-search-box {
        display: flex;
        align-items: center;
        background: #fff;
        border-radius: var(--radius);
        padding: 5px 5px 5px 14px;
        gap: 8px;
    }

    .blog-search-box i {
        color: var(--muted);
        font-size: 16px;
        flex-shrink: 0;
    }

    .blog-search-box input {
        flex: 1;
        border: none;
        outline: none;
        font-size: 14px;
        background: transparent;
    }

    .blog-search-box button {
        background: var(--primary);
        color: #fff;
        border: none;
        border-radius: var(--radius);
        padding: 8px 18px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s;
        white-space: nowrap;
    }

    .blog-search-box button:hover {
        background: var(--primary-dark);
    }

    /* ── SECTION ──────────────────────────────────────────────────── */
    .blog-section {
        padding: 40px 0 56px;
    }

    /* ── TABS ─────────────────────────────────────────────────────── */
    .blog-tabs {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    .blog-tab {
        padding: 5px 14px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 500;
        color: var(--text);
        background: var(--bg);
        border: 1.5px solid var(--border);
        transition: all 0.2s;
    }

    .blog-tab:hover {
        color: var(--primary);
        border-color: var(--primary);
    }

    .blog-tab.active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

    /* ── RESULT INFO ──────────────────────────────────────────────── */
    .blog-result-info {
        font-size: 13px;
        color: var(--muted);
        margin-bottom: 16px;
    }

    .clear-link {
        color: var(--muted);
        font-size: 12px;
    }

    .clear-link:hover {
        color: var(--primary);
    }

    /* ── FEATURED ─────────────────────────────────────────────────── */
    .blog-featured {
        border-radius: var(--radius-lg);
        border: 1px solid var(--border);
        overflow: hidden;
        background: var(--white);
        box-shadow: var(--shadow);
        transition: box-shadow 0.2s;
    }

    .blog-featured:hover {
        box-shadow: var(--shadow-hover);
    }

    .blog-featured-img {
        display: block;
        height: 270px;
        overflow: hidden;
        position: relative;
    }

    .blog-featured-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

    .blog-featured:hover .blog-featured-img img {
        transform: scale(1.04);
    }

    .blog-no-img {
        width: 100%;
        height: 100%;
        background: var(--bg);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 60px;
        color: var(--muted);
        opacity: 0.2;
    }

    .blog-cat-pill {
        position: absolute;
        top: 12px;
        left: 12px;
        background: var(--primary);
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        padding: 3px 10px;
        border-radius: 20px;
    }

    .blog-cat-pill.sm {
        font-size: 10px;
        padding: 2px 8px;
    }

    .blog-featured-body {
        padding: 22px;
    }

    .blog-meta {
        display: flex;
        gap: 14px;
        font-size: 12px;
        color: var(--muted);
        margin-bottom: 10px;
        flex-wrap: wrap;
    }

    .blog-meta i {
        margin-right: 3px;
    }

    .blog-featured-title {
        font-size: 20px;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .blog-featured-title a {
        color: inherit;
    }

    .blog-featured-title a:hover {
        color: var(--primary);
    }

    .blog-featured-excerpt {
        font-size: 14px;
        color: var(--muted);
        line-height: 1.6;
        margin-bottom: 16px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .btn-read-more {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: var(--primary);
        color: #fff;
        padding: 9px 20px;
        border-radius: var(--radius);
        font-size: 13px;
        font-weight: 600;
        transition: background 0.2s;
    }

    .btn-read-more:hover {
        background: var(--primary-dark);
        color: #fff;
    }

    /* ── CARD ─────────────────────────────────────────────────────── */
    .blog-card {
        border-radius: var(--radius-lg);
        border: 1px solid var(--border);
        overflow: hidden;
        background: var(--white);
        height: 100%;
        display: flex;
        flex-direction: column;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .blog-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }

    .blog-card-img {
        display: block;
        height: 175px;
        overflow: hidden;
        position: relative;
        flex-shrink: 0;
    }

    .blog-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

    .blog-card:hover .blog-card-img img {
        transform: scale(1.05);
    }

    .blog-no-img-sm {
        width: 100%;
        height: 100%;
        background: var(--bg);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 40px;
        color: var(--muted);
        opacity: 0.2;
    }

    .blog-card-body {
        padding: 15px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .blog-card-title {
        font-size: 14px;
        font-weight: 700;
        color: var(--dark);
        margin: 7px 0;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-card-title a {
        color: inherit;
    }

    .blog-card-title a:hover {
        color: var(--primary);
    }

    .blog-read-link {
        font-size: 12px;
        font-weight: 600;
        color: var(--primary);
        display: inline-flex;
        align-items: center;
        gap: 3px;
        margin-top: auto;
    }

    .blog-read-link:hover {
        color: var(--primary-dark);
    }

    /* ── EMPTY ────────────────────────────────────────────────────── */
    .blog-empty {
        text-align: center;
        padding: 60px 20px;
        color: var(--muted);
    }

    .blog-empty i {
        font-size: 60px;
        opacity: 0.2;
        display: block;
        margin-bottom: 14px;
    }

    .blog-empty h5 {
        font-size: 17px;
        color: var(--dark);
        margin-bottom: 6px;
    }

    /* ── SIDEBAR ──────────────────────────────────────────────────── */
    .blog-sidebar {
        position: sticky;
        top: 130px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .s-box {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 20px;
    }

    .s-box-title {
        font-size: 12px;
        font-weight: 700;
        color: var(--dark);
        text-transform: uppercase;
        letter-spacing: 0.6px;
        padding-bottom: 10px;
        margin-bottom: 14px;
        border-bottom: 2px solid var(--primary);
        display: inline-block;
    }

    .s-search {
        display: flex;
        border: 1.5px solid var(--border);
        border-radius: var(--radius);
        overflow: hidden;
    }

    .s-search input {
        flex: 1;
        border: none;
        padding: 8px 12px;
        font-size: 13px;
        outline: none;
    }

    .s-search button {
        background: var(--primary);
        border: none;
        color: #fff;
        padding: 8px 13px;
        cursor: pointer;
        font-size: 15px;
    }

    .s-search button:hover {
        background: var(--primary-dark);
    }

    .s-cat-list {
        display: flex;
        flex-direction: column;
        gap: 2px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .s-cat-list li a {
        display: flex;
        align-items: center;
        gap: 7px;
        padding: 8px 10px;
        font-size: 13px;
        color: var(--text);
        border-radius: var(--radius);
        transition: all 0.15s;
    }

    .s-cat-list li a:hover,
    .s-cat-list li a.active {
        background: var(--primary-light);
        color: var(--primary);
        font-weight: 600;
    }

    .s-recent {
        display: flex;
        flex-direction: column;
        gap: 12px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .s-recent li {
        display: flex;
        gap: 10px;
        align-items: flex-start;
    }

    .s-recent-thumb {
        width: 60px;
        height: 52px;
        border-radius: var(--radius);
        overflow: hidden;
        flex-shrink: 0;
        background: var(--bg);
        display: block;
    }

    .s-recent-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .s-recent-placeholder {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: var(--muted);
        opacity: 0.25;
    }

    .s-recent-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 13px;
        font-weight: 600;
        color: var(--dark);
        line-height: 1.35;
        margin-bottom: 3px;
    }

    .s-recent-title:hover {
        color: var(--primary);
    }

    .s-recent-date {
        font-size: 11px;
        color: var(--muted);
    }

    .s-newsletter {
        background: linear-gradient(135deg, #1a1a2e, #2d1f3d) !important;
        border: none !important;
        text-align: center;
    }

    .nl-icon {
        width: 46px;
        height: 46px;
        background: rgba(255, 107, 0, 0.15);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        color: var(--primary);
        margin: 0 auto 10px;
    }

    .s-newsletter h6 {
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 6px;
    }

    .s-newsletter p {
        color: rgba(255, 255, 255, 0.6);
        font-size: 12px;
        margin-bottom: 12px;
    }

    .nl-input {
        width: 100%;
        border: 1.5px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        border-radius: var(--radius);
        padding: 9px 12px;
        font-size: 13px;
        outline: none;
    }

    .nl-input::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

    .nl-input:focus {
        border-color: var(--primary);
    }

    /* ── RESPONSIVE ───────────────────────────────────────────────── */
    @media (max-width: 767px) {
        .blog-hero-title {
            font-size: 26px;
        }

        .blog-featured-img {
            height: 200px;
        }

        .blog-sidebar {
            position: static;
        }

        .blog-tabs {
            overflow-x: auto;
            flex-wrap: nowrap;
            padding-bottom: 4px;
        }
    }

     /* ── DETAIL HERO ──────────────────────────────────────────────── */
    .detail-hero {
        position: relative;
        min-height: 380px;
        background: linear-gradient(135deg, #1a1a2e, #2d1f3d);
        display: flex;
        align-items: flex-end;
    }

    .detail-hero-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.35;
    }

    .detail-hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 60%);
    }

    .detail-hero-content {
        position: relative;
        z-index: 2;
        padding-top: 60px;
        padding-bottom: 36px;
    }

    .detail-cat-pill {
        display: inline-block;
        background: var(--primary);
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        padding: 3px 12px;
        border-radius: 20px;
        margin-bottom: 12px;
        transition: opacity 0.2s;
    }

    .detail-cat-pill:hover {
        opacity: 0.85;
        color: #fff;
    }

    .detail-title {
        font-size: clamp(22px, 4vw, 36px);
        font-weight: 800;
        color: #fff;
        line-height: 1.25;
        margin-bottom: 14px;
        max-width: 800px;
    }

    .detail-meta {
        display: flex;
        gap: 18px;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.65);
        flex-wrap: wrap;
    }

    .detail-meta i {
        margin-right: 4px;
    }

    /* ── SECTION ──────────────────────────────────────────────────── */
    .detail-section {
        padding: 40px 0 60px;
    }

    /* ── EXCERPT ──────────────────────────────────────────────────── */
    .detail-excerpt {
        background: var(--primary-light);
        border-left: 4px solid var(--primary);
        border-radius: 0 var(--radius) var(--radius) 0;
        padding: 16px 20px;
        font-size: 15px;
        font-style: italic;
        color: var(--text);
        line-height: 1.65;
        margin-bottom: 28px;
        position: relative;
    }

    .detail-excerpt .ri-double-quotes-l {
        font-size: 28px;
        color: var(--primary);
        opacity: 0.4;
        position: absolute;
        top: 10px;
        right: 14px;
    }

    /* ── CONTENT ──────────────────────────────────────────────────── */
    .detail-content {
        font-size: 15px;
        line-height: 1.85;
        color: var(--text);
        margin-bottom: 32px;
    }

    .detail-content h2,
    .detail-content h3,
    .detail-content h4 {
        color: var(--dark);
        font-weight: 700;
        margin: 28px 0 12px;
    }

    .detail-content h2 {
        font-size: 22px;
    }

    .detail-content h3 {
        font-size: 18px;
    }

    .detail-content p {
        margin-bottom: 18px;
    }

    .detail-content img {
        max-width: 100%;
        border-radius: var(--radius-lg);
        margin: 16px 0;
    }

    .detail-content ul,
    .detail-content ol {
        padding-left: 22px;
        margin-bottom: 18px;
    }

    .detail-content li {
        margin-bottom: 6px;
    }

    .detail-content blockquote {
        border-left: 4px solid var(--primary);
        padding: 12px 18px;
        background: var(--bg);
        border-radius: 0 var(--radius) var(--radius) 0;
        font-style: italic;
        color: var(--muted);
        margin: 20px 0;
    }

    .detail-content a {
        color: var(--primary);
        text-decoration: underline;
    }

    .detail-content pre,
    .detail-content code {
        background: var(--bg);
        border-radius: var(--radius);
        padding: 2px 6px;
        font-size: 13px;
    }

    .detail-content pre {
        padding: 14px 18px;
        overflow-x: auto;
        margin-bottom: 18px;
    }

    /* ── TAGS ─────────────────────────────────────────────────────── */
    .detail-tags {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 24px;
    }

    .detail-tags>i {
        color: var(--muted);
        font-size: 16px;
    }

    .tag-pill {
        display: inline-block;
        background: var(--bg);
        border: 1.5px solid var(--border);
        color: var(--text);
        font-size: 12px;
        font-weight: 500;
        padding: 3px 12px;
        border-radius: 20px;
        transition: all 0.2s;
    }

    .tag-pill:hover {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

    /* ── SHARE ────────────────────────────────────────────────────── */
    .detail-share {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        padding: 18px 0;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        margin-bottom: 36px;
    }

    .share-label {
        font-size: 13px;
        font-weight: 600;
        color: var(--dark);
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .share-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: #fff;
        transition: opacity 0.2s, transform 0.2s;
    }

    .share-btn:hover {
        opacity: 0.85;
        color: #fff;
        transform: translateY(-2px);
    }

    .share-btn.fb {
        background: #1877f2;
    }

    .share-btn.tw {
        background: #000;
    }

    .share-btn.wa {
        background: #25d366;
    }

    .share-btn.li {
        background: #0a66c2;
    }

    /* ── RELATED ──────────────────────────────────────────────────── */
    .related-posts {
        margin-bottom: 32px;
    }

    .related-title {
        font-size: 18px;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 18px;
    }

    /* ── BACK BUTTON ──────────────────────────────────────────────── */
    .btn-back {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        border: 1.5px solid var(--border);
        color: var(--text);
        padding: 9px 20px;
        border-radius: var(--radius);
        font-size: 13px;
        font-weight: 600;
        transition: all 0.2s;
    }

    .btn-back:hover {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

    /* ── SIDEBAR (reused from blog.php) ──────────────────────────── */
    .blog-sidebar {
        position: sticky;
        top: 130px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .s-box {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 20px;
    }

    .s-box-title {
        font-size: 12px;
        font-weight: 700;
        color: var(--dark);
        text-transform: uppercase;
        letter-spacing: 0.6px;
        padding-bottom: 10px;
        margin-bottom: 14px;
        border-bottom: 2px solid var(--primary);
        display: inline-block;
    }

    .s-search {
        display: flex;
        border: 1.5px solid var(--border);
        border-radius: var(--radius);
        overflow: hidden;
    }

    .s-search input {
        flex: 1;
        border: none;
        padding: 8px 12px;
        font-size: 13px;
        outline: none;
    }

    .s-search button {
        background: var(--primary);
        border: none;
        color: #fff;
        padding: 8px 13px;
        cursor: pointer;
        font-size: 15px;
    }

    .s-search button:hover {
        background: var(--primary-dark);
    }

    .s-cat-list {
        display: flex;
        flex-direction: column;
        gap: 2px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .s-cat-list li a {
        display: flex;
        align-items: center;
        gap: 7px;
        padding: 8px 10px;
        font-size: 13px;
        color: var(--text);
        border-radius: var(--radius);
        transition: all 0.15s;
    }

    .s-cat-list li a:hover,
    .s-cat-list li a.active {
        background: var(--primary-light);
        color: var(--primary);
        font-weight: 600;
    }

    .s-recent {
        display: flex;
        flex-direction: column;
        gap: 12px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .s-recent li {
        display: flex;
        gap: 10px;
        align-items: flex-start;
    }

    .s-recent-thumb {
        width: 60px;
        height: 52px;
        border-radius: var(--radius);
        overflow: hidden;
        flex-shrink: 0;
        background: var(--bg);
        display: block;
    }

    .s-recent-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .s-recent-placeholder {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: var(--muted);
        opacity: 0.25;
    }

    .s-recent-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 13px;
        font-weight: 600;
        color: var(--dark);
        line-height: 1.35;
        margin-bottom: 3px;
    }

    .s-recent-title:hover {
        color: var(--primary);
    }

    .s-recent-date {
        font-size: 11px;
        color: var(--muted);
    }

    .s-newsletter {
        background: linear-gradient(135deg, #1a1a2e, #2d1f3d) !important;
        border: none !important;
        text-align: center;
    }

    .nl-icon {
        width: 46px;
        height: 46px;
        background: rgba(255, 107, 0, 0.15);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        color: var(--primary);
        margin: 0 auto 10px;
    }

    .s-newsletter h6 {
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 6px;
    }

    .s-newsletter p {
        color: rgba(255, 255, 255, 0.6);
        font-size: 12px;
        margin-bottom: 12px;
    }

    .nl-input {
        width: 100%;
        border: 1.5px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        border-radius: var(--radius);
        padding: 9px 12px;
        font-size: 13px;
        outline: none;
    }

    .nl-input::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

    .nl-input:focus {
        border-color: var(--primary);
    }

    /* ── CARD (reused) ────────────────────────────────────────────── */
    .blog-card {
        border-radius: var(--radius-lg);
        border: 1px solid var(--border);
        overflow: hidden;
        background: var(--white);
        height: 100%;
        display: flex;
        flex-direction: column;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .blog-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }

    .blog-card-img {
        display: block;
        height: 150px;
        overflow: hidden;
        position: relative;
        flex-shrink: 0;
    }

    .blog-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

    .blog-card:hover .blog-card-img img {
        transform: scale(1.05);
    }

    .blog-no-img-sm {
        width: 100%;
        height: 100%;
        background: var(--bg);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 36px;
        color: var(--muted);
        opacity: 0.2;
    }

    .blog-card-body {
        padding: 14px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .blog-card-title {
        font-size: 13px;
        font-weight: 700;
        color: var(--dark);
        margin: 6px 0;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-card-title a {
        color: inherit;
    }

    .blog-card-title a:hover {
        color: var(--primary);
    }

    .blog-read-link {
        font-size: 12px;
        font-weight: 600;
        color: var(--primary);
        display: inline-flex;
        align-items: center;
        gap: 3px;
        margin-top: auto;
    }

    .blog-read-link:hover {
        color: var(--primary-dark);
    }

    @media (max-width: 767px) {
        .detail-hero {
            min-height: 280px;
        }

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

        .blog-sidebar {
            position: static;
        }
    }
    .rp-hero {
    background: linear-gradient(135deg, #1a1a2e, #2d1f3d);
    padding: 52px 0 44px;
}
.rp-hero-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}
.rp-hero-title span {
    color: var(--primary);
}
.rp-hero-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    margin: 0;
}
.rp-hero-sub strong {
    color: #fff;
}
 
/* SECTION */
.rp-section {
    padding: 40px 0 60px;
}
 
/* CARD */
.rp-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.rp-card-warning {
    background: #fff8f0;
    border-color: #ffd5b0;
}
.rp-card p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 10px;
}
.rp-card p:last-child {
    margin-bottom: 0;
}
 
/* CARD HEADER */
.rp-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.rp-card-warning .rp-card-header {
    border-bottom-color: #ffd5b0;
}
.rp-card-header h5 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}
.rp-card-header h5 span {
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
}
 
/* ICONS */
.rp-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.rp-icon-orange { background: var(--primary-light); color: var(--primary); }
.rp-icon-purple { background: #f3e8ff; color: #8b5cf6; }
.rp-icon-blue   { background: #e0f2fe; color: var(--info); }
.rp-icon-yellow { background: #fef9c3; color: var(--warning); }
.rp-icon-green  { background: #d1fae5; color: var(--success); }
.rp-icon-dark   { background: var(--bg); color: var(--dark); }
 
/* TABLE */
.rp-table {
    font-size: 14px;
}
.rp-table thead tr {
    background: var(--dark);
    color: #fff;
}
.rp-table thead th {
    padding: 12px 16px;
    font-weight: 600;
    border-color: var(--dark);
}
.rp-table tbody td {
    padding: 12px 16px;
    color: var(--text);
    vertical-align: middle;
}
.rp-table tbody tr:nth-child(even) {
    background: var(--bg);
}
 
/* LIST */
.rp-list {
    font-size: 14px;
    color: var(--text);
    line-height: 2;
    padding-left: 20px;
    margin-bottom: 12px;
}
 
/* NOTE BOX */
.rp-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: var(--primary-light);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-top: 14px;
}
.rp-note i {
    font-size: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}
.rp-note p {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin: 0 !important;
    font-style: italic;
    line-height: 1.6;
}
 
/* RESPONSIVE */
@media (max-width: 767px) {
    .rp-hero-title { font-size: 26px; }
    .rp-card { padding: 16px; }
}