:root {
    --store-primary: #C8943E;
    --store-primary-dark: #A67C2E;
    --store-primary-light: #E5B85C;
    --store-gold-glow: rgba(200, 148, 62, 0.15);
    --store-accent: #1A1A1A;
    --store-bg: #FAFAF8;
    --store-surface: #ffffff;
    --store-border: #E8E4DC;
    --store-text: #1A1A1A;
    --store-muted: #6B6560;
    --store-cream: #F5F0E6;
}

/* Bootstrap primary override */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--store-primary) !important;
    border-color: var(--store-primary) !important;
}

.btn-outline-primary {
    color: var(--store-primary) !important;
    border-color: var(--store-primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--store-primary) !important;
    border-color: var(--store-primary) !important;
    color: #fff !important;
}

.text-primary { color: var(--store-primary) !important; }

body.store-body {
    font-family: 'Inter', sans-serif;
    background: var(--store-bg);
    color: var(--store-text);
}

h1, h2, h3, h4, h5, .store-brand {
    font-family: 'Poppins', sans-serif;
}

/* ── Header & Nav ── */
.store-topbar {
    background: var(--store-accent);
    color: var(--store-primary-light);
    font-size: .85rem;
    padding: .45rem 0;
}

.store-topbar i { color: var(--store-primary); }

.store-header {
    background: var(--store-surface);
    border-bottom: 1px solid var(--store-border);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 12px rgba(26, 26, 26, .06);
}

.store-brand {
    text-decoration: none;
    color: var(--store-text);
    display: inline-flex;
}

.store-brand-icon,
.store-footer-icon,
.home-hero-icon,
.home-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}

.store-brand-icon {
    height: 60px;
}

.store-brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}

.store-brand-text { display: none; }

.store-search { max-width: 560px; }

.store-search .form-control {
    border-radius: 999px 0 0 999px;
    border-right: 0;
    padding-left: 1.25rem;
    border-color: var(--store-border);
}

.store-search .form-control:focus {
    border-color: var(--store-primary);
    box-shadow: none;
}

.store-search .btn {
    border-radius: 0 999px 999px 0;
    background: var(--store-primary);
    border-color: var(--store-primary);
}

.store-nav-link {
    color: var(--store-text);
    text-decoration: none;
    font-weight: 500;
    padding: .5rem .75rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: 1.15rem;
}

@media (min-width: 768px) {
    .store-nav-link { font-size: 1rem; }
}

.store-nav-link:hover {
    background: var(--store-gold-glow);
    color: var(--store-primary-dark);
}

.store-category-bar {
    background: var(--store-accent);
    overflow-x: auto;
    white-space: nowrap;
}

.store-category-bar a {
    display: inline-block;
    padding: .75rem 1rem;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: color .15s;
}

.store-category-bar a:hover {
    color: var(--store-primary-light);
}

/* ── Buttons ── */
.btn-store-primary {
    background: var(--store-primary);
    border-color: var(--store-primary);
    color: #fff;
    font-weight: 600;
}

.btn-store-primary:hover,
.btn-store-primary:focus {
    background: var(--store-primary-dark);
    border-color: var(--store-primary-dark);
    color: #fff;
}

.btn-store-outline {
    background: transparent;
    border: 2px solid var(--store-primary);
    color: var(--store-primary);
    font-weight: 600;
}

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

.btn-store-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .6);
    color: #fff;
    font-weight: 600;
}

.btn-store-outline-light:hover {
    background: #fff;
    border-color: #fff;
    color: var(--store-accent);
}

/* ── Sections ── */
.store-section-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.home-section-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--store-primary);
    margin-bottom: .35rem;
}

.home-section-label-light { color: var(--store-primary-light); }

.home-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    color: var(--store-text);
}

.home-section-title-light { color: #fff; }

.home-section-subtitle {
    color: var(--store-muted);
    max-width: 520px;
    margin-top: .5rem;
}

.home-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.home-section-link {
    color: var(--store-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    white-space: nowrap;
}

.home-section-link:hover { color: var(--store-primary-dark); }

/* ── Hero ── */
.home-hero {
    background: linear-gradient(135deg, var(--store-accent) 0%, #2a2418 50%, var(--store-accent) 100%);
    color: #fff;
    padding: 3rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, var(--store-gold-glow) 0%, transparent 50%);
    pointer-events: none;
}

.home-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(200, 148, 62, .2);
    border: 1px solid rgba(200, 148, 62, .35);
    color: var(--store-primary-light);
    font-size: .8rem;
    font-weight: 600;
    padding: .35rem .85rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.home-hero-title {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.home-hero-title span { color: var(--store-primary-light); }

.home-hero-text {
    color: rgba(255, 255, 255, .75);
    font-size: 1.05rem;
    max-width: 480px;
    margin-bottom: 1.5rem;
}

.home-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.home-stat strong {
    display: block;
    font-size: 1.25rem;
    color: var(--store-primary-light);
    font-family: 'Poppins', sans-serif;
}

.home-stat span {
    font-size: .8rem;
    color: rgba(255, 255, 255, .55);
}

.home-hero-visual {
    position: relative;
    display: inline-block;
    padding: 2rem;
}

.home-hero-icon {
    position: relative;
    z-index: 2;
}

.home-hero-logo {
    height: min(300px, 65vw);
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .35));
}

/* ── USP Strip ── */
.home-usp {
    background: var(--store-surface);
    border-bottom: 1px solid var(--store-border);
    padding: 1.25rem 0;
    margin-top: -1px;
}

.home-usp-item {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .5rem;
}

.home-usp-item i {
    font-size: 1.5rem;
    color: var(--store-primary);
    flex-shrink: 0;
}

.home-usp-item strong {
    display: block;
    font-size: .9rem;
    color: var(--store-text);
}

.home-usp-item span {
    font-size: .78rem;
    color: var(--store-muted);
}

/* ── Carousel ── */
.home-carousel {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(26, 26, 26, .1);
}

.home-carousel-slide {
    position: relative;
    min-height: 280px;
    background: var(--store-accent);
}

.home-carousel-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    opacity: .7;
}

.home-carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 26, 26, .85) 0%, rgba(26, 26, 26, .3) 100%);
    display: flex;
    align-items: center;
}

.home-carousel-content {
    padding: 2rem 2.5rem;
    max-width: 520px;
}

.home-carousel-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .75rem;
}

.home-carousel-content p {
    color: rgba(255, 255, 255, .8);
    margin-bottom: 1.25rem;
}

.home-carousel-slide-image-only {
    background: transparent;
}

.home-carousel-slide-image-only .home-carousel-image {
    opacity: 1;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    background: var(--store-surface);
}

/* ── Categories ── */
.home-category-card {
    display: flex;
    align-items: center;
    gap: .85rem;
    background: var(--store-surface);
    border: 1px solid var(--store-border);
    border-radius: 14px;
    padding: 1rem 1.15rem;
    text-decoration: none;
    color: var(--store-text);
    transition: transform .15s, box-shadow .15s, border-color .15s;
    height: 100%;
}

.home-category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--store-gold-glow);
    border-color: var(--store-primary);
    color: var(--store-text);
}

.home-category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--store-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.home-category-icon i {
    font-size: 1.25rem;
    color: var(--store-primary);
}

.home-category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-category-name {
    flex: 1;
    font-weight: 600;
    font-size: .95rem;
}

.home-category-arrow {
    color: var(--store-primary);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .15s, transform .15s;
}

.home-category-card:hover .home-category-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── Promo ── */
.home-promo {
    border-radius: 16px;
    overflow: hidden;
}

.home-promo-inner {
    background: linear-gradient(135deg, var(--store-accent), #3d3420);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(200, 148, 62, .2);
    border-radius: 16px;
}

.home-promo-badge {
    display: inline-block;
    background: var(--store-primary);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .3rem .75rem;
    border-radius: 6px;
    margin-bottom: .75rem;
}

.home-promo-title {
    color: #fff;
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: .75rem;
}

.home-promo-text { color: rgba(255, 255, 255, .75); }

/* ── Features ── */
.home-feature-card {
    background: var(--store-surface);
    border: 1px solid var(--store-border);
    border-radius: 14px;
    padding: 1.5rem;
    height: 100%;
    text-align: center;
    transition: box-shadow .15s;
}

.home-feature-card:hover {
    box-shadow: 0 8px 24px var(--store-gold-glow);
}

.home-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--store-cream);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.home-feature-icon i {
    font-size: 1.5rem;
    color: var(--store-primary);
}

.home-feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .5rem;
}

.home-feature-card p {
    font-size: .875rem;
    color: var(--store-muted);
    margin: 0;
}

/* ── How It Works ── */
.home-how {
    border-radius: 16px;
    overflow: hidden;
}

.home-how-inner {
    background: var(--store-accent);
    padding: 2.5rem 2rem;
    border-radius: 16px;
}

.home-step {
    position: relative;
    padding: 1rem;
}

.home-step-num {
    position: absolute;
    top: 0;
    right: 1rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(200, 148, 62, .15);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.home-step i {
    font-size: 2rem;
    color: var(--store-primary-light);
    margin-bottom: .75rem;
    display: block;
}

.home-step h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .35rem;
}

.home-step p {
    color: rgba(255, 255, 255, .6);
    font-size: .85rem;
    margin: 0;
}

/* ── Testimonials ── */
.home-testimonial {
    background: var(--store-surface);
    border: 1px solid var(--store-border);
    border-radius: 14px;
    padding: 1.5rem;
    height: 100%;
}

.home-testimonial-stars {
    color: var(--store-primary);
    margin-bottom: .75rem;
    font-size: .85rem;
}

.home-testimonial p {
    color: var(--store-text);
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.home-testimonial-author strong {
    display: block;
    font-size: .9rem;
}

.home-testimonial-author span {
    font-size: .8rem;
    color: var(--store-muted);
}

/* ── CTA ── */
.home-cta {
    background: linear-gradient(135deg, var(--store-accent), #2a2418);
    padding: 3rem 0;
    margin-top: 1rem;
}

.home-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}

.home-cta-icon {
    height: 88px;
}

.home-cta-logo {
    height: 88px;
    width: auto;
    object-fit: contain;
    display: block;
    opacity: .95;
}

.home-cta-inner h2 {
    color: #fff;
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0;
}

.home-cta-inner p {
    color: rgba(255, 255, 255, .7);
    max-width: 520px;
    margin: 0;
}

/* ── Product Cards ── */
.store-card {
    background: var(--store-surface);
    border: 1px solid var(--store-border);
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    transition: transform .15s ease, box-shadow .15s ease;
}

.store-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--store-gold-glow);
}

.store-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--store-surface);
    border: 1px solid var(--store-border);
    border-radius: 14px;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}

.store-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--store-gold-glow);
}

.store-product-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.store-product-card-media {
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    width: 100%;
    background: var(--store-cream);
    overflow: hidden;
}

.store-product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.store-product-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C8943E;
    font-size: 2.25rem;
    background: var(--store-cream);
}

.store-product-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: .875rem 1rem 0;
    min-height: 148px;
}

.store-product-card-category {
    font-size: .75rem;
    color: var(--store-muted);
    margin-bottom: .35rem;
    min-height: 1.125rem;
    line-height: 1.125rem;
}

.store-product-card-title {
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 .5rem;
    min-height: 2.7rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.store-product-card-prices {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    min-height: 1.5rem;
    margin-bottom: .35rem;
}

.store-product-card-badge {
    min-height: 1.375rem;
    display: flex;
    align-items: center;
}

.store-product-card-action { padding: .75rem 1rem 1rem; margin-top: auto; }

.store-card-image {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
    background: var(--store-cream);
}

.store-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.store-price {
    color: var(--store-primary-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.store-compare-price {
    color: var(--store-muted);
    text-decoration: line-through;
    font-size: .85rem;
}

.store-badge-offer {
    background: var(--store-cream);
    color: var(--store-primary-dark);
    font-size: .7rem;
    font-weight: 600;
    padding: .2rem .5rem;
    border-radius: 4px;
}

.store-panel {
    background: var(--store-surface);
    border: 1px solid var(--store-border);
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(26, 26, 26, .04);
}

.store-panel-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--store-border);
    font-weight: 600;
}

.store-panel-body { padding: 1.25rem; }

.store-account-nav .list-group-item.active {
    background: var(--store-primary);
    border-color: var(--store-primary);
}

.store-footer {
    background: var(--store-accent);
    color: rgba(255, 255, 255, .7);
    margin-top: 0;
}

.store-footer-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
}

.store-footer-icon {
    height: 52px;
}

.store-footer a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
}

.store-footer a:hover { color: var(--store-primary-light); }

.store-empty {
    text-align: center;
    padding: 3rem 1.5rem;
}

.store-empty i {
    font-size: 3rem;
    color: var(--store-border);
    display: block;
    margin-bottom: 1rem;
}

.store-auth-card {
    max-width: 440px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--store-border);
    box-shadow: 0 8px 30px rgba(26, 26, 26, .08);
    padding: 2rem;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--store-primary);
    color: #fff;
    font-size: .65rem;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.free-shipping-banner {
    background: var(--store-cream);
    border: 1px solid rgba(200, 148, 62, .25);
    border-radius: 10px;
    padding: .75rem 1rem;
    font-size: .9rem;
}

.store-product-grid > [class*="col-"] { display: flex; }
.store-product-grid .store-product-card { width: 100%; }

@media (max-width: 767.98px) {
    .home-hero { padding: 2rem 0 1.5rem; }
    .home-hero-visual { padding: 1rem 0; }
    .home-carousel-image { height: 220px; }
    .home-promo-inner,
    .home-how-inner { padding: 1.75rem 1.25rem; }

    .home-category-card {
        padding: .75rem .85rem;
        gap: .65rem;
    }

    .home-category-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .home-category-icon i {
        font-size: 1rem;
    }

    .home-category-name {
        font-size: .78rem;
        font-weight: 600;
        line-height: 1.3;
    }
}

/* ── Policy & Static Pages ── */
.policy-page {
    max-width: 1100px;
    margin: 0 auto;
}

.store-breadcrumb {
    --bs-breadcrumb-divider: '›';
    font-size: .875rem;
}

.store-breadcrumb a {
    color: var(--store-primary-dark);
    text-decoration: none;
}

.policy-card {
    background: var(--store-surface);
    border: 1px solid var(--store-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(26, 26, 26, .04);
}

.policy-card-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--store-border);
}

.policy-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: .35rem;
}

.policy-updated {
    color: var(--store-muted);
    font-size: .875rem;
    margin-bottom: 0;
}

.policy-content h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1.5rem 0 .75rem;
    color: var(--store-text);
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p,
.policy-content li {
    color: var(--store-muted);
    line-height: 1.7;
    font-size: .95rem;
}

.policy-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.policy-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.policy-contact-item {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    background: var(--store-cream);
    border-radius: 12px;
    padding: 1rem;
}

.policy-contact-item i {
    color: var(--store-primary);
    font-size: 1.25rem;
    margin-top: .15rem;
}

.policy-contact-item strong {
    display: block;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--store-muted);
    margin-bottom: .15rem;
}

.policy-contact-item a,
.policy-contact-item span {
    color: var(--store-text);
    text-decoration: none;
    font-weight: 500;
}

.policy-sidebar {
    background: var(--store-surface);
    border: 1px solid var(--store-border);
    border-radius: 16px;
    padding: 1.25rem;
    position: sticky;
    top: 6.5rem;
}

.policy-sidebar-group + .policy-sidebar-group {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--store-border);
}

.policy-sidebar-group h3 {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--store-muted);
    margin-bottom: .5rem;
}

.policy-sidebar-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-sidebar-group li + li {
    margin-top: .35rem;
}

.policy-sidebar-group a {
    color: var(--store-text);
    text-decoration: none;
    font-size: .875rem;
}

.policy-sidebar-group a:hover,
.policy-sidebar-group a.active {
    color: var(--store-primary-dark);
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .policy-card {
        padding: 1.25rem;
    }

    .policy-sidebar {
        position: static;
    }
}

.store-password-group .form-control {
    border-right: 0;
}

.store-password-group .store-toggle-password {
    border-color: var(--store-border);
}

.store-avatar-preview {
    display: flex;
    justify-content: center;
}

.store-avatar-image,
.store-avatar-placeholder {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
}

.store-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--store-cream);
    color: var(--store-primary-dark);
    font-size: 2rem;
    font-weight: 700;
}
