/* =============================================================
   Devotional Store — Main Stylesheet
   Amazon-inspired UI adapted for devotional products
   ============================================================= */

/* ---- CSS Variables ---- */
:root {
    --ds-orange:        #FF9900;
    --ds-orange-dark:   #e47911;
    --ds-yellow:        #FFD814;
    --ds-yellow-dark:   #F7CA00;
    --ds-header-dark:   #131921;
    --ds-header-mid:    #232F3E;
    --ds-header-hover:  #37475A;
    --ds-link:          #007185;
    --ds-link-hover:    #c7511f;
    --ds-star:          #FF9900;
    --ds-star-empty:    #ddd;
    --ds-text:          #0F1111;
    --ds-text-muted:    #565959;
    --ds-border:        #DDD;
    --ds-bg:            #EAEDED;
    --ds-white:         #FFFFFF;
    --ds-card-shadow:   0 2px 5px rgba(15,17,17,.15);
    --ds-radius:        8px;
    --ds-radius-sm:     4px;
    --ds-font:          -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --ds-container:     1280px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--ds-font);
    font-size: 14px;
    color: var(--ds-text);
    background: var(--ds-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--ds-link); text-decoration: none; }
a:hover { color: var(--ds-link-hover); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

.ds-container {
    max-width: var(--ds-container);
    margin: 0 auto;
    padding: 0 16px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.ds-topbar {
    background: var(--ds-header-mid);
    color: #ccc;
    font-size: 12px;
    padding: 4px 0;
    text-align: center;
}
.ds-topbar-inner {
    max-width: var(--ds-container);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px;
}

/* ============================================================
   HEADER
   ============================================================ */
.ds-header {
    background: var(--ds-header-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.ds-header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    max-width: var(--ds-container);
    margin: 0 auto;
}

/* Logo */
.ds-logo-link { display: flex; align-items: center; text-decoration: none !important; }
.ds-logo-text {
    color: var(--ds-white);
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: -.5px;
    line-height: 1.2;
}
.ds-logo-link:hover .ds-logo-text { color: var(--ds-orange); text-decoration: none; }

/* Search */
.ds-header-search { flex: 1; min-width: 0; }
.ds-search-wrap {
    display: flex;
    border-radius: var(--ds-radius-sm);
    overflow: hidden;
    border: 2px solid var(--ds-orange);
    background: var(--ds-white);
}
.ds-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--ds-text);
    background: var(--ds-white);
}
.ds-search-btn {
    background: var(--ds-orange);
    border: none;
    padding: 0 14px;
    cursor: pointer;
    color: var(--ds-header-dark);
    display: flex;
    align-items: center;
    transition: background .15s;
}
.ds-search-btn:hover { background: var(--ds-orange-dark); }

/* Header Nav */
.ds-header-nav { display: flex; align-items: center; gap: 4px; }
.ds-nav-item {
    color: var(--ds-white);
    padding: 6px 10px;
    border-radius: var(--ds-radius-sm);
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid transparent;
    text-decoration: none !important;
    transition: border-color .15s, background .15s;
    position: relative;
}
.ds-nav-item:hover { border-color: var(--ds-white); color: var(--ds-white); }
.ds-nav-label { display: block; }

/* Dropdown */
.ds-nav-dropdown { position: relative; }
.ds-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--ds-white);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-sm);
    min-width: 200px;
    box-shadow: var(--ds-card-shadow);
    z-index: 200;
    padding: 8px 0;
}
.ds-nav-dropdown:hover .ds-dropdown-menu { display: block; }
.ds-dropdown-item {
    display: block;
    padding: 8px 16px;
    color: var(--ds-text);
    font-size: 13px;
    text-decoration: none !important;
    transition: background .1s;
}
.ds-dropdown-item:hover { background: #f3f3f3; color: var(--ds-link-hover); }
.ds-dropdown-all { border-top: 1px solid var(--ds-border); margin-top: 4px; font-weight: 600; color: var(--ds-link); }

/* Sub Nav */
.ds-subnav { background: var(--ds-header-mid); overflow: hidden; }
.ds-subnav-inner {
    max-width: var(--ds-container);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
}
.ds-subnav-inner::-webkit-scrollbar { display: none; }
.ds-subnav-item {
    color: var(--ds-white);
    padding: 7px 10px;
    font-size: 13px;
    white-space: nowrap;
    text-decoration: none !important;
    border-radius: var(--ds-radius-sm);
    border: 1px solid transparent;
    transition: border-color .1s;
}
.ds-subnav-item:hover { border-color: var(--ds-white); color: var(--ds-white); }

/* Mobile Toggle */
.ds-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.ds-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ds-white);
    border-radius: 2px;
    transition: all .2s;
}
.ds-mobile-nav {
    display: none;
    background: var(--ds-header-mid);
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    z-index: 2000;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .25s ease;
}
.ds-mobile-nav.open { transform: translateX(0); }
.ds-mobile-nav-inner { padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.ds-mobile-nav-inner a {
    color: var(--ds-white);
    padding: 10px 12px;
    border-radius: var(--ds-radius-sm);
    font-size: 14px;
    text-decoration: none !important;
}
.ds-mobile-nav-inner a:hover { background: var(--ds-header-hover); }

/* ============================================================
   PAGE WRAP
   ============================================================ */
.ds-page-wrap { min-height: 70vh; }

/* ============================================================
   HERO BANNER (Homepage)
   ============================================================ */
.ds-hero {
    background: linear-gradient(135deg, #1a0a00 0%, #3d1a00 40%, #7a3300 100%);
    color: var(--ds-white);
    padding: 60px 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ds-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF9900' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: .4;
}
.ds-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.ds-hero-om { font-size: 48px; line-height: 1; margin-bottom: 12px; }
.ds-hero h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
.ds-hero p  { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 28px; }
.ds-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ds-btn-primary {
    background: var(--ds-yellow);
    color: var(--ds-text);
    padding: 12px 28px;
    border-radius: var(--ds-radius-sm);
    font-size: 15px;
    font-weight: 700;
    border: 1px solid #c45500;
    cursor: pointer;
    text-decoration: none !important;
    transition: background .15s, box-shadow .15s;
    display: inline-block;
}
.ds-btn-primary:hover { background: var(--ds-yellow-dark); box-shadow: 0 2px 6px rgba(0,0,0,.25); color: var(--ds-text); }
.ds-btn-secondary {
    background: transparent;
    color: var(--ds-white);
    padding: 12px 28px;
    border-radius: var(--ds-radius-sm);
    font-size: 15px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,.5);
    cursor: pointer;
    text-decoration: none !important;
    transition: border-color .15s, background .15s;
    display: inline-block;
}
.ds-btn-secondary:hover { border-color: var(--ds-white); background: rgba(255,255,255,.08); color: var(--ds-white); }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.ds-section { padding: 32px 0; }
.ds-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ds-orange);
}
.ds-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ds-text);
}
.ds-section-link {
    font-size: 13px;
    color: var(--ds-link);
    text-decoration: none !important;
}
.ds-section-link:hover { color: var(--ds-link-hover); text-decoration: underline !important; }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.ds-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
}

.ds-product-card {
    background: var(--ds-white);
    border-radius: var(--ds-radius);
    border: 1px solid var(--ds-border);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    display: flex;
    flex-direction: column;
    position: relative;
}
.ds-product-card:hover {
    box-shadow: 0 4px 20px rgba(15,17,17,.2);
    transform: translateY(-2px);
}

.ds-card-image-wrap {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.ds-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}
.ds-product-card:hover .ds-card-image-wrap img { transform: scale(1.05); }

.ds-card-body { padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 6px; }

.ds-card-badge {
    display: inline-block;
    background: var(--ds-orange);
    color: var(--ds-white);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: .5px;
    align-self: flex-start;
}
.ds-card-badge.bestseller { background: #e47911; }
.ds-card-badge.choice    { background: #007185; }
.ds-card-badge.new       { background: #067D62; }

.ds-card-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--ds-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none !important;
}
.ds-card-title:hover { color: var(--ds-link-hover); }

.ds-card-brand { font-size: 12px; color: var(--ds-text-muted); }

/* Stars */
.ds-stars { display: inline-flex; gap: 1px; font-size: 14px; }
.ds-stars .star.full  { color: var(--ds-star); }
.ds-stars .star.half  { color: var(--ds-star); opacity: .6; }
.ds-stars .star.empty { color: var(--ds-star-empty); }
.ds-rating-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ds-rating-num  { font-size: 13px; color: var(--ds-link); font-weight: 600; }
.ds-review-count { font-size: 12px; color: var(--ds-text-muted); }

.ds-card-pricing { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ds-price-current { font-size: 18px; font-weight: 700; color: var(--ds-text); }
.ds-price-current .ds-currency { font-size: 13px; vertical-align: super; }
.ds-price-original { font-size: 13px; color: var(--ds-text-muted); text-decoration: line-through; }
.ds-price-discount { font-size: 13px; color: #CC0C39; font-weight: 700; }

.ds-card-stock { font-size: 12px; font-weight: 600; }
.ds-in-stock      { color: #007600; }
.ds-limited-stock { color: #C7511F; }
.ds-out-of-stock  { color: #CC0C39; }

.ds-card-footer { padding: 0 12px 12px; margin-top: auto; }
.ds-card-btn {
    display: block;
    width: 100%;
    background: var(--ds-yellow);
    color: var(--ds-text) !important;
    text-align: center;
    padding: 8px;
    border-radius: var(--ds-radius-sm);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #c45500;
    text-decoration: none !important;
    transition: background .15s, box-shadow .1s;
}
.ds-card-btn:hover { background: var(--ds-yellow-dark); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.ds-card-btn:active { background: #e6be0e; }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.ds-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.ds-cat-card {
    background: var(--ds-white);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    padding: 20px 12px;
    text-align: center;
    text-decoration: none !important;
    transition: box-shadow .2s, border-color .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.ds-cat-card:hover { box-shadow: var(--ds-card-shadow); border-color: var(--ds-orange); }
.ds-cat-icon { font-size: 32px; line-height: 1; }
.ds-cat-name { font-size: 13px; font-weight: 600; color: var(--ds-text); }
.ds-cat-count { font-size: 11px; color: var(--ds-text-muted); }

/* ============================================================
   SHOP / ARCHIVE PAGE
   ============================================================ */
.ds-shop-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    align-items: start;
}

/* Sidebar */
.ds-sidebar {
    background: var(--ds-white);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    padding: 16px;
    position: sticky;
    top: 100px;
}
.ds-sidebar-section { margin-bottom: 20px; }
.ds-sidebar-section:last-child { margin-bottom: 0; }
.ds-sidebar-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ds-text);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--ds-border);
}
.ds-sidebar-list { display: flex; flex-direction: column; gap: 4px; }
.ds-sidebar-list a {
    font-size: 13px;
    color: var(--ds-text);
    padding: 4px 0;
    display: flex;
    justify-content: space-between;
    text-decoration: none !important;
    transition: color .1s;
}
.ds-sidebar-list a:hover { color: var(--ds-link-hover); }
.ds-sidebar-list .ds-cat-count-badge {
    background: var(--ds-bg);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 11px;
    color: var(--ds-text-muted);
}
.ds-sidebar-list a.current-cat { color: var(--ds-orange); font-weight: 600; }

/* Shop Main */
.ds-shop-header {
    background: var(--ds-white);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.ds-result-count { font-size: 14px; color: var(--ds-text-muted); }
.ds-result-count strong { color: var(--ds-text); }
.ds-sort-select {
    padding: 6px 10px;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-sm);
    font-size: 13px;
    color: var(--ds-text);
    cursor: pointer;
    background: var(--ds-white);
}

/* Pagination */
.ds-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.ds-pagination a,
.ds-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-sm);
    font-size: 13px;
    color: var(--ds-link);
    text-decoration: none !important;
    background: var(--ds-white);
    transition: background .1s, border-color .1s;
}
.ds-pagination a:hover { background: #f3f3f3; border-color: var(--ds-orange); }
.ds-pagination .current { background: var(--ds-orange); color: var(--ds-white); border-color: var(--ds-orange); font-weight: 700; }

/* ============================================================
   SINGLE PRODUCT PAGE
   ============================================================ */
.ds-product-page {
    background: var(--ds-white);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    overflow: hidden;
}

.ds-breadcrumb {
    padding: 10px 20px;
    border-bottom: 1px solid var(--ds-border);
    font-size: 12px;
    color: var(--ds-text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}
.ds-breadcrumb a { color: var(--ds-link); text-decoration: none !important; }
.ds-breadcrumb a:hover { color: var(--ds-link-hover); text-decoration: underline !important; }
.ds-breadcrumb-sep { color: var(--ds-text-muted); }

.ds-product-main {
    display: grid;
    grid-template-columns: 1fr 1fr 280px;
    gap: 0;
    padding: 20px;
}

/* Image Gallery */
.ds-product-gallery { padding-right: 20px; }
.ds-gallery-main {
    aspect-ratio: 1;
    background: #f8f8f8;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-sm);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    cursor: zoom-in;
}
.ds-gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}
.ds-gallery-main:hover img { transform: scale(1.08); }
.ds-gallery-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.ds-gallery-thumb {
    width: 62px;
    height: 62px;
    border: 2px solid var(--ds-border);
    border-radius: var(--ds-radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: border-color .15s;
    flex-shrink: 0;
}
.ds-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.ds-gallery-thumb:hover,
.ds-gallery-thumb.active { border-color: var(--ds-orange); }

/* Product Info */
.ds-product-info { padding: 0 20px; }
.ds-product-badge-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.ds-product-badge {
    display: inline-block;
    background: var(--ds-orange);
    color: var(--ds-white);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
}
.ds-product-badge.bestseller { background: #e47911; }
.ds-product-badge.choice { background: #007185; }

.ds-product-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--ds-text);
    line-height: 1.4;
    margin-bottom: 6px;
}
.ds-product-brand-line { font-size: 13px; color: var(--ds-text-muted); margin-bottom: 8px; }
.ds-product-brand-line a { color: var(--ds-link); }

.ds-product-rating-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ds-border);
    margin-bottom: 14px;
}
.ds-product-rating-bar .ds-stars { font-size: 16px; }
.ds-product-rating-bar .ds-rating-num { font-size: 14px; }
.ds-review-link { font-size: 13px; color: var(--ds-link); }
.ds-review-link:hover { color: var(--ds-link-hover); }

/* Pricing Block */
.ds-product-pricing {
    padding: 12px 0;
    border-bottom: 1px solid var(--ds-border);
    margin-bottom: 14px;
}
.ds-product-pricing .ds-price-label { font-size: 13px; color: var(--ds-text-muted); margin-bottom: 2px; }
.ds-product-pricing .ds-price-main {
    font-size: 26px;
    font-weight: 500;
    color: var(--ds-text);
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}
.ds-product-pricing .ds-price-main .ds-currency { font-size: 16px; vertical-align: super; }
.ds-savings { font-size: 13px; color: #CC0C39; margin-top: 2px; }

/* Features */
.ds-product-features { margin-bottom: 16px; }
.ds-product-features h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ds-text);
}
.ds-product-features ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-left: 4px;
}
.ds-product-features ul li {
    font-size: 13px;
    padding-left: 18px;
    position: relative;
    color: var(--ds-text);
    line-height: 1.5;
}
.ds-product-features ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #007600;
    font-weight: 700;
}

/* Buy Box (right column) */
.ds-buy-box {
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    padding: 16px;
    align-self: start;
    position: sticky;
    top: 100px;
}
.ds-buy-box-price {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 6px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.ds-buy-box-price .ds-currency { font-size: 14px; vertical-align: super; }
.ds-buy-box-orig { font-size: 13px; color: var(--ds-text-muted); text-decoration: line-through; }
.ds-buy-box-discount { font-size: 13px; color: #CC0C39; font-weight: 700; }
.ds-buy-box-stock { font-size: 16px; font-weight: 600; margin: 10px 0; }
.ds-buy-box-amazon {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}
.ds-btn-buy-amazon {
    display: block;
    background: var(--ds-yellow);
    color: var(--ds-text) !important;
    text-align: center;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #c45500;
    text-decoration: none !important;
    transition: background .15s, box-shadow .15s;
    cursor: pointer;
}
.ds-btn-buy-amazon:hover { background: var(--ds-yellow-dark); box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.ds-btn-buy-amazon:active { background: #e6be0e; }
.ds-amazon-note {
    font-size: 11px;
    color: var(--ds-text-muted);
    text-align: center;
    line-height: 1.4;
}
.ds-buy-box-divider {
    border: none;
    border-top: 1px solid var(--ds-border);
    margin: 12px 0;
}
.ds-buy-box-meta { font-size: 12px; color: var(--ds-text-muted); display: flex; flex-direction: column; gap: 4px; }
.ds-buy-box-meta strong { color: var(--ds-text); }

/* Product Description */
.ds-product-description {
    padding: 20px;
    border-top: 1px solid var(--ds-border);
}
.ds-product-description h2 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.ds-product-description p { font-size: 14px; color: var(--ds-text); line-height: 1.7; margin-bottom: 10px; }

/* Related Products */
.ds-related { padding: 20px; border-top: 1px solid var(--ds-border); }
.ds-related h2 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }

/* ============================================================
   BADGE — Stock / Status
   ============================================================ */
.ds-badge-stock {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
}

/* ============================================================
   NO RESULTS
   ============================================================ */
.ds-no-results {
    background: var(--ds-white);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    padding: 60px 20px;
    text-align: center;
    grid-column: 1 / -1;
}
.ds-no-results h2 { font-size: 20px; margin-bottom: 8px; }
.ds-no-results p  { color: var(--ds-text-muted); margin-bottom: 16px; }

/* ============================================================
   CATEGORY RICH CONTENT SECTION
   ============================================================ */

/* Outer wrapper */
.ds-category-content-wrap {
    margin-top: 40px !important;
    border-top: 3px solid #FF9900 !important;
    padding-top: 8px !important;
}

/* "About Sticks" label */
.ds-category-content-label {
    display: inline-block !important;
    background: #FF9900 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 4px 12px !important;
    border-radius: 0 0 4px 4px !important;
    margin-bottom: 0 !important;
    line-height: 1.6 !important;
}

/* Main content box */
.ds-category-content {
    background: #ffffff !important;
    border: 1px solid #DDD !important;
    border-top: none !important;
    border-radius: 0 8px 8px 8px !important;
    padding: 36px 44px !important;
    color: #0F1111 !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* All headings base */
.ds-category-content h1,
.ds-category-content h2,
.ds-category-content h3,
.ds-category-content h4,
.ds-category-content h5 {
    color: #0F1111 !important;
    line-height: 1.35 !important;
    margin-top: 32px !important;
    margin-bottom: 10px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* H1 */
.ds-category-content h1 {
    font-size: 26px !important;
    font-weight: 800 !important;
    margin-top: 0 !important;
}

/* H2 — section title with underline */
.ds-category-content h2 {
    font-size: 20px !important;
    font-weight: 700 !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #eeeeee !important;
    margin-top: 36px !important;
    display: block !important;
}
.ds-category-content h2:first-child { margin-top: 0 !important; }

/* H3 — with orange left border */
.ds-category-content h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #e47911 !important;
    padding-left: 12px !important;
    border-left: 3px solid #FF9900 !important;
    margin-top: 24px !important;
    display: block !important;
}

/* H4 — FAQ question card */
.ds-category-content h4 {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0F1111 !important;
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 4px 4px 0 0 !important;
    padding: 10px 14px 10px 38px !important;
    margin: 20px 0 0 !important;
    position: relative !important;
    display: block !important;
}
.ds-category-content h4::before {
    content: 'Q' !important;
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: #FF9900 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    text-align: center !important;
    line-height: 18px !important;
}

/* H4's answer paragraph */
.ds-category-content h4 + p {
    background: #ffffff !important;
    border: 1px solid #e9ecef !important;
    border-top: none !important;
    border-radius: 0 0 4px 4px !important;
    padding: 10px 14px 10px 38px !important;
    margin: 0 0 4px !important;
    font-size: 14px !important;
    color: #444 !important;
    position: relative !important;
    display: block !important;
}
.ds-category-content h4 + p::before {
    content: 'A' !important;
    position: absolute !important;
    left: 12px !important;
    top: 11px !important;
    background: #007185 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    text-align: center !important;
    line-height: 18px !important;
}

/* H5 */
.ds-category-content h5 {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #565959 !important;
    text-transform: uppercase !important;
    letter-spacing: .5px !important;
}

/* Paragraphs */
.ds-category-content p {
    margin-bottom: 16px !important;
    color: #333 !important;
    line-height: 1.85 !important;
}

/* Links */
.ds-category-content a {
    color: #007185 !important;
    text-decoration: underline !important;
}
.ds-category-content a:hover { color: #c7511f !important; }

/* Inline */
.ds-category-content strong { font-weight: 700 !important; }
.ds-category-content em     { font-style: italic !important; }

/* Lists */
.ds-category-content ul,
.ds-category-content ol {
    padding-left: 8px !important;
    margin-bottom: 16px !important;
}
.ds-category-content ul li {
    list-style: none !important;
    padding-left: 24px !important;
    position: relative !important;
    margin-bottom: 8px !important;
    line-height: 1.7 !important;
    color: #333 !important;
}
.ds-category-content ul li::before {
    content: '✓' !important;
    position: absolute !important;
    left: 0 !important;
    color: #FF9900 !important;
    font-weight: 700 !important;
}
.ds-category-content ol li {
    list-style: decimal !important;
    margin-left: 16px !important;
    margin-bottom: 8px !important;
    line-height: 1.7 !important;
}

/* Images */
.ds-category-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 4px !important;
    margin: 16px 0 !important;
    display: block !important;
}

/* Blockquote */
.ds-category-content blockquote {
    border-left: 4px solid #FF9900 !important;
    background: #fdf6ec !important;
    padding: 14px 20px !important;
    margin: 20px 0 !important;
    border-radius: 0 4px 4px 0 !important;
    font-style: italic !important;
    color: #565959 !important;
    font-size: 15px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .ds-category-content { padding: 20px 16px !important; }
    .ds-category-content h2 { font-size: 18px !important; }
    .ds-category-content h3 { font-size: 15px !important; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.ds-footer { background: var(--ds-header-dark); color: #ccc; margin-top: 40px; }
.ds-footer-top { padding: 40px 0 24px; }
.ds-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.ds-footer-col h4 {
    color: var(--ds-white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #3a4553;
}
.ds-footer-col p { font-size: 13px; line-height: 1.6; }
.ds-footer-col ul { display: flex; flex-direction: column; gap: 6px; }
.ds-footer-col ul a { color: #ccc; font-size: 13px; text-decoration: none !important; transition: color .1s; }
.ds-footer-col ul a:hover { color: var(--ds-orange); }
.ds-footer-disclaimer { font-size: 11px; color: #888; line-height: 1.6; }

.ds-footer-bottom {
    background: var(--ds-header-mid);
    padding: 12px 0;
    border-top: 1px solid #3a4553;
}
.ds-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.ds-footer-logo  { font-size: 15px; font-weight: 700; color: var(--ds-white); }
.ds-footer-copy  { font-size: 12px; color: #888; }
.ds-footer-amazon-badge { font-size: 12px; color: var(--ds-orange); }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.ds-text-muted  { color: var(--ds-text-muted); }
.ds-text-center { text-align: center; }
.ds-mt-16       { margin-top: 16px; }
.ds-mb-16       { margin-bottom: 16px; }
.ds-spinner     { text-align: center; padding: 40px; font-size: 13px; color: var(--ds-text-muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .ds-product-main { grid-template-columns: 1fr 1fr; }
    .ds-buy-box { grid-column: 1 / -1; position: static; }
    .ds-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .ds-shop-layout { grid-template-columns: 180px 1fr; }
}

@media (max-width: 768px) {
    .ds-header-inner { flex-wrap: wrap; }
    .ds-header-search { order: 3; flex: 0 0 100%; }
    .ds-header-nav { display: none; }
    .ds-mobile-toggle { display: flex; }
    .ds-mobile-nav { display: block; }

    .ds-shop-layout { grid-template-columns: 1fr; }
    .ds-sidebar { position: static; }

    .ds-product-main { grid-template-columns: 1fr; padding: 12px; }
    .ds-product-gallery { padding-right: 0; margin-bottom: 16px; }
    .ds-product-info { padding: 0; }

    .ds-footer-grid { grid-template-columns: 1fr 1fr; }
    .ds-footer-bottom-inner { flex-direction: column; text-align: center; }

    .ds-topbar-inner { justify-content: center; }
    .ds-topbar-inner span:last-child { display: none; }
}

@media (max-width: 480px) {
    .ds-products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ds-hero { padding: 40px 16px; }
    .ds-footer-grid { grid-template-columns: 1fr; }
    .ds-categories-grid { grid-template-columns: repeat(3, 1fr); }
}
