/* ============================================================
   ShopSphere Storefront Theme
   Inspired by the "Sarab" template design language:
   warm red-orange accent, serif display headings, rounded cards.
   ============================================================ */

:root {
    --primary: #ff4d2e;
    --primary-dark: #e63a1d;
    --primary-soft: #fff1ed;
    --secondary: #ffb800;
    --secondary-soft: #fff8e6;
    --dark: #151617;
    --dark-2: #1e1f21;
    --dark-3: #26282b;
    --text: #4b4d50;
    --text-muted: #8a8d92;
    --border: #ececec;
    --border-dark: #e2e2e2;
    --bg: #ffffff;
    --bg-alt: #f8f5f0;
    --bg-lightest: #fafafa;
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #f59e0b;
    --info: #0ea5e9;
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(21, 22, 23, 0.05);
    --shadow: 0 8px 24px rgba(21, 22, 23, 0.08);
    --shadow-lg: 0 20px 45px rgba(21, 22, 23, 0.14);
    --shadow-primary: 0 12px 28px rgba(255, 77, 46, 0.32);
    --transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-body: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

* {
    outline: none !important;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    font-size: 0.95rem;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 700;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    border-radius: 50rem;
    font-weight: 500;
    padding: 0.55rem 1.35rem;
    transition: var(--transition);
    font-size: 0.92rem;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 6px 16px rgba(255, 77, 46, 0.28);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-dark {
    background: var(--dark);
    border-color: var(--dark);
}

.btn-amber {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
}

.btn-amber:hover {
    background: #e5a800;
    color: var(--dark);
}

.btn-outline-secondary {
    color: #6b6e72;
    border-color: var(--border-dark);
}

.btn-outline-secondary:hover {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff;
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.35rem 0.9rem;
    font-size: 0.82rem;
}

/* Sarab-style solid CTA button */
.btn-red {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.95rem 1.9rem;
    border-radius: 50rem;
    border: none;
    box-shadow: var(--shadow-primary);
    transition: var(--transition);
    cursor: pointer;
}

.btn-red:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
}

.btn-red:active {
    transform: translateY(0);
}

/* ============================================================
   Alerts / badges
   ============================================================ */
.alert {
    border-radius: var(--radius);
    border: none;
    padding: 1rem 1.25rem;
    font-weight: 400;
}

.alert-success {
    background: #ecfdf3;
    color: #167a3d;
}

.alert-danger {
    background: #fef2f2;
    color: #b91c1c;
}

.alert-warning {
    background: #fffbeb;
    color: #b45309;
}

.alert-info {
    background: #eef7ff;
    color: #0c6fab;
}

.badge {
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 0.42em 0.8em;
    border-radius: 50rem;
}

/* ============================================================
   Cards (global)
   ============================================================ */
.card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid var(--border);
    border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0 !important;
    padding: 1rem 1.25rem;
    font-weight: 600;
}

.card-body {
    padding: 1.35rem;
}

/* ============================================================
   Forms (global)
   ============================================================ */
.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-dark);
    padding: 0.6rem 0.95rem;
    font-size: 0.92rem;
    transition: var(--transition);
    color: var(--dark);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 77, 46, 0.12);
}

.form-label {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.9rem;
}

.input-group-text {
    background: var(--bg-alt);
    border-color: var(--border-dark);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}

/* ============================================================
   Tables (global)
   ============================================================ */
.table {
    --bs-table-hover-bg: #fff8f6;
}

.table thead th {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom-width: 1px;
    background: var(--bg-lightest);
}

.table td, .table th {
    vertical-align: middle;
    border-color: var(--border);
}

/* ============================================================
   Topbar
   ============================================================ */
.topbar {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    padding: 0.45rem 0;
    position: relative;
    z-index: 1030;
}

.topbar .topbar-contact span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-right: 1.5rem;
}

.topbar .topbar-contact i {
    color: var(--secondary);
    font-size: 0.85rem;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--primary);
    color: #fff;
    padding: 0.18rem 0.75rem;
    border-radius: 50rem;
    font-size: 0.72rem;
    font-weight: 600;
}

.topbar-social a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-left: 0.7rem;
    display: inline-block;
    transition: var(--transition);
}

.topbar-social a:hover {
    color: var(--secondary);
}

/* ============================================================
   Navbar
   ============================================================ */
.main-navbar {
    background: #fff;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.main-navbar .navbar-brand {
    display: inline-flex;
}

.brand-box {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transform: rotate(-8deg);
    box-shadow: var(--shadow-primary);
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.55rem;
    color: var(--dark);
    line-height: 1.05;
}

.brand-name span {
    color: var(--primary);
}

.brand-sub {
    font-size: 0.62rem;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
}

.main-navbar .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.93rem;
    padding: 0.5rem 1rem;
    position: relative;
}

.main-navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.15rem;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s ease;
}

.main-navbar .navbar-nav .nav-link:hover,
.main-navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.main-navbar .navbar-nav .nav-link:hover::after,
.main-navbar .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    background: var(--bg-lightest);
    border: 1px solid var(--border);
    font-size: 1.05rem;
    transition: var(--transition);
}

.nav-icon-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.nav-icon-btn .cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 600;
    min-width: 19px;
    height: 19px;
    border-radius: 50rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid #fff;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.65rem 1.4rem;
    border-radius: 50rem;
    margin-left: 0.4rem;
    box-shadow: var(--shadow-primary);
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.main-navbar .navbar-toggler {
    border: none;
    color: var(--dark);
    font-size: 1.4rem;
}

@media (max-width: 991.98px) {
    .nav-icons {
        padding: 1rem 0 0.4rem;
        flex-wrap: wrap;
    }
    .main-navbar .navbar-nav .nav-link {
        padding-left: 0.25rem;
    }
    .main-navbar .navbar-nav .nav-link::after {
        display: none;
    }
}

/* ============================================================
   Hero
   ============================================================ */
.hero-section {
    position: relative;
    background: var(--bg-alt);
    overflow: hidden;
}

.hero-section .carousel-item {
    min-height: 80vh;
}

.hero-section .container {
    position: relative;
    z-index: 5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--dark);
    padding: 0.45rem 1rem;
    border-radius: 50rem;
    font-size: 0.82rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.4rem;
}

.hero-badge .hb-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--secondary-soft);
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.hero-badge .hb-icon i {
    font-style: normal;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 3.4rem;
    line-height: 1.12;
    color: var(--dark);
    margin-bottom: 1.2rem;
}

.hero-title .hl {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title .hl::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.05em;
    height: 0.18em;
    background: var(--secondary);
    z-index: -1;
    border-radius: 2px;
    opacity: 0.6;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.02rem;
    max-width: 540px;
    margin-bottom: 1.8rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin-top: 2.2rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat .hnum {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.7rem;
    color: var(--dark);
}

.hero-stat .hnum em {
    color: var(--primary);
    font-style: normal;
}

.hero-stat small {
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-dark);
}

/* Hero right (image circle + floating cards) */
.hero-visual {
    position: relative;
    padding: 1.5rem 0;
}

.hero-circle {
    width: 420px;
    max-width: 100%;
    height: 420px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 8px solid #fff;
    animation: floaty 5s ease-in-out infinite;
}

.hero-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-circle::before {
    content: '';
    position: absolute;
    inset: -14px -14px 28px -14px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 77, 46, 0.35);
    animation: spinSlow 30s linear infinite;
    pointer-events: none;
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes spinSlow {
    to { transform: rotate(360deg); }
}

.hero-float-card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.8rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    animation: floaty 4.5s ease-in-out infinite;
    z-index: 6;
}

.hero-float-card .f-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.hero-float-card.r .f-icon { background: var(--primary-soft); color: var(--primary); }
.hero-float-card.y .f-icon { background: var(--secondary-soft); color: var(--secondary); }
.hero-float-card.g .f-icon { background: #e9f7e9; color: var(--success); }

.hero-float-card .f-num {
    display: block;
    font-weight: 700;
    color: var(--dark);
    font-size: 0.9rem;
    line-height: 1.2;
}

.hero-float-card .f-sm {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.float-fc1 { top: 16%; left: 0; animation-delay: 0.4s; }
.float-fc2 { top: 50%; right: 0; animation-delay: 1s; }
.float-fc3 { bottom: 8%; left: 8%; animation-delay: 1.6s; }

.hero-dots {
    position: absolute;
    width: 130px;
    height: 130px;
    background-image: radial-gradient(var(--secondary) 3px, transparent 3.5px);
    background-size: 18px 18px;
    opacity: 0.5;
    z-index: 1;
}

.hero-dots.tl { top: 2.5rem; left: 4%; }
.hero-dots.br { bottom: 2.5rem; right: 4%; }

.hero-controls {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 0.6rem;
    z-index: 8;
}

.hero-controls .hero-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.hero-controls .hero-arrow:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

@media (max-width: 991.98px) {
    .hero-section .carousel-item {
        min-height: auto;
        padding: 4rem 0 3rem;
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .hero-circle {
        width: 300px;
        height: 300px;
    }
    .float-fc1 { left: 4%; }
    .float-fc3 { left: 4%; }
    .hero-controls {
        position: static;
        justify-content: center;
        margin-top: 1rem;
    }
}

/* ============================================================
   Marquee feature strip
   ============================================================ */
.feature-marquee {
    background: var(--primary);
    overflow: hidden;
    padding: 0.75rem 0;
    white-space: nowrap;
}

.feature-marquee .mq-track {
    display: inline-flex;
    align-items: center;
    animation: marquee 30s linear infinite;
}

.feature-marquee .mq-item {
    color: #fff;
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0.4px;
    margin-right: 2.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.feature-marquee .mq-item i {
    font-size: 0.45rem;
    color: var(--secondary);
    font-style: normal;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================================
   Section headers
   ============================================================ */
.section-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.25rem;
    color: var(--dark);
    line-height: 1.2;
}

.section-title span {
    color: var(--primary);
}

.section-line {
    width: 74px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 0.9rem auto 0;
}

.section-line.left {
    margin-left: 0;
    margin-right: auto;
}

.section-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 520px;
}

.section-head.text-center .section-desc {
    margin: 1rem auto 0;
}

.section-wrap {
    padding: 5rem 0;
}

/* ============================================================
   Category cards
   ============================================================ */
.cat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    padding: 1.5rem 0.8rem 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.cat-card:hover::after {
    transform: scaleX(1);
}

.cat-icon-box {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    margin: 0 auto 0.9rem;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: var(--transition);
}

.cat-card:hover .cat-icon-box {
    background: var(--primary);
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
}

.cat-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.cat-count {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.cat-card .cat-img {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.9rem;
    display: block;
}

/* ============================================================
   Product cards
   ============================================================ */
.product-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card .p-media {
    position: relative;
    background: var(--bg-lightest);
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.product-card .p-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .p-media img {
    transform: scale(1.08);
}

.product-card .p-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.product-card .p-badge .b-chip {
    padding: 0.28rem 0.7rem;
    border-radius: 50rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: #fff;
}

.b-chip.discount { background: var(--primary); }
.b-chip.new { background: var(--success); }
.b-chip.hot { background: var(--secondary); color: var(--dark); }

.product-card .p-wish {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
    z-index: 3;
    box-shadow: var(--shadow-sm);
}

.product-card .p-wish:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.08);
}

.product-card .p-body {
    padding: 1.1rem 1.15rem 1.25rem;
}

.product-card .p-cat {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.product-card .p-title {
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 0.4rem;
    display: block;
}

.product-card .p-title:hover {
    color: var(--primary);
}

.product-card .p-stars {
    color: var(--secondary);
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
}

.product-card .p-stars .val {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-left: 0.25rem;
}

.product-card .p-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: 0.15rem;
}

.product-card .p-price {
    font-weight: 700;
    color: var(--dark);
    font-size: 1.12rem;
}

.product-card .p-price small {
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
    font-size: 0.82rem;
    margin-left: 0.3rem;
}

.product-card .p-add {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 6px 16px rgba(255, 77, 46, 0.3);
}

.product-card .p-add:hover {
    background: var(--dark);
    transform: rotate(90deg);
}

/* ============================================================
   Feature banners / value props
   ============================================================ */
.value-props {
    background: var(--dark);
    color: #fff;
}

.value-props .vp-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
}

.value-props .vp-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.value-props .vp-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.1rem;
    font-size: 0.98rem;
}

.value-props .vp-text {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    margin-bottom: 0;
}

/* ============================================================
   Special offer / CTA sections
   ============================================================ */
.offer-section {
    background: linear-gradient(135deg, #fff4ee 0%, #ffeede 100%);
    position: relative;
    overflow: hidden;
}

.offer-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: #fff;
    padding: 0.45rem 1.1rem;
    border-radius: 50rem;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow-primary);
}

.offer-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2.8rem;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 1rem;
}

.offer-title span {
    color: var(--primary);
}

.offer-desc {
    color: var(--text-muted);
    max-width: 460px;
    margin-bottom: 1.8rem;
}

.offer-img-wrap {
    position: relative;
    text-align: center;
}

.offer-img-wrap img {
    max-width: 420px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    border: 10px solid #fff;
}

.offer-price-badge {
    position: absolute;
    top: 8%;
    right: 6%;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.6rem 1rem;
    text-align: center;
    animation: floaty 4s ease-in-out infinite;
}

.offer-price-badge .old {
    display: block;
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.85rem;
}

.offer-price-badge .now {
    display: block;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1;
}

/* ============================================================
   Testimonial card (used on home)
   ============================================================ */
.testimonial-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.testimonial-card .t-q {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--primary);
    line-height: 0.5;
    margin-bottom: 0.9rem;
}

.testimonial-card .t-stars {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.testimonial-card .t-text {
    color: var(--text);
    font-size: 0.92rem;
}

.testimonial-card .t-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.testimonial-card .t-author img,
.testimonial-card .t-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.testimonial-card .t-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.92rem;
}

.testimonial-card .t-role {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============================================================
   Page header (inner pages)
   ============================================================ */
.page-header {
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 77, 46, 0.12), transparent 30%),
        radial-gradient(circle at 85% 70%, rgba(255, 184, 0, 0.15), transparent 32%),
        var(--bg-alt);
    padding: 3.2rem 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2.6rem;
}

.page-header h1 {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.page-header .breadcrumb {
    margin-bottom: 0;
    background: transparent;
    font-size: 0.85rem;
}

.page-header .breadcrumb .breadcrumb-item a {
    color: var(--text-muted);
}

.page-header .breadcrumb .breadcrumb-item.active {
    color: var(--primary);
    font-weight: 500;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--border-dark);
}

.breadcrumb {
    --bs-breadcrumb-divider-color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary);
}

/* ============================================================
   Filter sidebar / widgets
   ============================================================ */
.filter-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.2rem;
}

.filter-card .fc-head {
    font-weight: 600;
    color: var(--dark);
    padding: 0.9rem 1.15rem;
    background: var(--bg-lightest);
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.filter-card .list-group-flush .list-group-item {
    border-color: var(--border);
    color: var(--text);
    font-size: 0.9rem;
    padding: 0.65rem 1.15rem;
    transition: var(--transition);
}

.filter-card .list-group-flush .list-group-item:hover {
    background: var(--primary-soft);
    color: var(--primary);
    padding-left: 1.4rem;
}

.filter-card .list-group-flush .list-group-item.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ============================================================
   Product detail page
   ============================================================ */
.pd-gallery {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-lightest);
}

.pd-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.pd-thumb {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.pd-thumb:hover, .pd-thumb.active {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.pd-title {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--dark);
    font-size: 2rem;
    line-height: 1.2;
}

.pd-price {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.9rem;
}

.pd-price-old {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 1.1rem;
}

.pd-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pd-qty select, .pd-qty input {
    text-align: center;
}

.trust-row i {
    color: var(--primary);
}

/* ============================================================
   Cart / account sidebar
   ============================================================ */
.account-nav {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.account-nav .an-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1.15rem;
    color: var(--text);
    font-weight: 500;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--border);
    background: #fff;
    transition: var(--transition);
    position: relative;
}

.account-nav .an-item:last-child {
    border-bottom: none;
}

.account-nav .an-item i {
    color: var(--text-muted);
    font-size: 1.05rem;
    width: 20px;
}

.account-nav .an-item:hover {
    background: var(--primary-soft);
    color: var(--primary);
    padding-left: 1.4rem;
}

.account-nav .an-item:hover i {
    color: var(--primary);
}

.account-nav .an-item.active {
    background: var(--primary);
    color: #fff;
}

.account-nav .an-item.active i {
    color: #fff;
}

.account-nav .an-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--dark);
    border-radius: 0 4px 4px 0;
}

/* ============================================================
   Pagination
   ============================================================ */
.pagination .page-link {
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 50rem;
    margin: 0 0.2rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    transition: var(--transition);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.pagination .page-link:hover {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: var(--primary);
}

.pagination .page-item.disabled .page-link {
    color: var(--border-dark);
    background: var(--bg-lightest);
}

/* ============================================================
   Empty states
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 3.5rem 1rem;
}

.empty-state i {
    font-size: 3rem;
    color: var(--secondary);
}

.empty-state h4 {
    color: var(--dark);
    font-weight: 600;
    margin-top: 0.9rem;
}

/* ============================================================
   Footer
   ============================================================ */
.main-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.62);
    padding: 4rem 0 0;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.main-footer h6 {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.main-footer .f-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-footer .f-links li {
    margin-bottom: 0.55rem;
}

.main-footer .f-links a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    transition: var(--transition);
}

.main-footer .f-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.main-footer .f-contact-item {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
    font-size: 0.88rem;
}

.main-footer .f-contact-item i {
    color: var(--secondary);
    font-size: 1.05rem;
    margin-top: 0.2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.footer-brand .f-brand-name {
    font-family: var(--font-display);
    font-weight: 900;
    color: #fff;
    font-size: 1.5rem;
}

.footer-brand .f-brand-name span {
    color: var(--primary);
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.newsletter-input {
    border-radius: 50rem;
    border: none;
    padding: 0.65rem 1.1rem;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.88rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3rem;
    padding: 1.2rem 0;
    font-size: 0.83rem;
}

/* ============================================================
   Back to top
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 1.6rem;
    right: 1.6rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--dark);
    color: var(--secondary);
}

/* ============================================================
   Checkout steps
   ============================================================ */
.checkout-step {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.checkout-step .step-dot {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.checkout-step.active .step-dot {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.checkout-step.done .step-dot {
    background: var(--success);
    color: #fff;
}

.checkout-step .step-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.88rem;
}

.checkout-step:not(.active):not(.done) .step-label {
    color: var(--text-muted);
}

/* ============================================================
   Search overlay (navbar)
   ============================================================ */
#searchOverlay {
    position: fixed;
    inset: 0;
    background: rgba(21, 22, 23, 0.96);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#searchOverlay.open {
    opacity: 1;
    visibility: visible;
}

.so-close {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.so-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.so-box {
    width: 100%;
    max-width: 640px;
    text-align: center;
}

.so-box h4 {
    font-family: var(--font-display);
    color: #fff;
    font-weight: 800;
    font-size: 1.9rem;
    margin-bottom: 1.6rem;
}

.so-form {
    display: flex;
    background: #fff;
    border-radius: 50rem;
    overflow: hidden;
    padding: 0.35rem;
    box-shadow: var(--shadow-lg);
}

.so-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 1.2rem;
    font-size: 1rem;
    color: var(--dark);
    font-family: var(--font-body);
}

.so-form button {
    width: 54px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
}

.so-form button:hover {
    background: var(--dark);
    color: var(--secondary);
}

.so-trends {
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
}

.so-trends p {
    margin-bottom: 0.7rem;
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.so-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.4rem 1.05rem;
    border-radius: 50rem;
    margin: 0.25rem;
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition);
}

.so-tag:hover {
    background: var(--primary);
    color: #fff;
}

/* ============================================================
   Auth pages (account login/register)
   ============================================================ */
.auth-wrap {
    max-width: 460px;
    margin: 0 auto;
}

.auth-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.auth-card .auth-body {
    padding: 2.4rem;
}

.auth-head {
    text-align: center;
    margin-bottom: 1.8rem;
}

.auth-head .auth-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.9rem;
    border-radius: 18px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
}

.auth-head h3 {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--dark);
}

/* ============================================================
   Responsive tweaks
   ============================================================ */
@media (max-width: 767.98px) {
    .section-wrap {
        padding: 3.2rem 0;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .offer-title {
        font-size: 2rem;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-visual {
        margin-top: 2rem;
    }
    .topbar-contact span:nth-child(2),
    .topbar-badge {
        display: none;
    }
    .value-props .vp-item {
        padding: 0.9rem 0;
    }
    .main-footer {
        padding-top: 3rem;
    }
}