:root {
    --primary: #7B1E2E;
    --primary-dark: #5C1622;
    --primary-light: #9B2538;
    --secondary: #1B3558;
    --accent: #C9A84C;
    --accent-dark: #A8872E;
    --bg-light: #FAF8F5;
    --bg-dark: #1A1212;
    --text-dark: #2D2020;
    --text-muted: #6B6060;
    --white: #FFFFFF;
    --border: #E8E0D0;
    --shadow: rgba(123, 30, 46, 0.12);
    --gold-gradient: linear-gradient(135deg, #C9A84C 0%, #E8CB78 50%, #C9A84C 100%);
    --burg-gradient: linear-gradient(135deg, #7B1E2E 0%, #9B2538 100%)
}

*,
*::before,
*::after {
    box-sizing: border-box
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.7;
    margin: 0
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color .2s
}

a:hover {
    color: var(--accent)
}

img {
    max-width: 100%
}

.announcement-bar {
    background: var(--primary);
    color: var(--white);
    padding: 9px 0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .3px
}

.announcement-bar i {
    margin-right: 6px;
    color: var(--accent)
}

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px var(--shadow)
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px
}

.site-logo {
    height: 56px;
    width: auto;
    display: block
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -.3px
}

.logo-sub {
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase
}

.search-form {
    width: 100%
}

.search-input {
    border: 2px solid var(--border);
    border-right: none;
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 6px 0 0 6px
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: none;
    outline: none
}

.search-btn {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    border-radius: 0 6px 6px 0;
    padding: 10px 18px;
    font-size: 16px;
    transition: background .2s
}

.search-btn:hover {
    background: var(--primary-dark);
    color: var(--white)
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-dark);
    padding: 6px 10px;
    position: relative;
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px
}

.icon-btn i {
    font-size: 20px
}

.icon-btn:hover {
    color: var(--primary)
}

.icon-btn .dropdown-toggle::after {
    display: none
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--accent);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px
}

.mobile-search {
    padding: 10px 0;
    border-top: 1px solid var(--border)
}

.site-nav {
    background: var(--primary);
    position: relative;
    z-index: 999
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0
}

.nav-item {
    position: relative
}

.nav-link-item {
    display: block;
    color: var(--white);
    padding: 13px 18px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .2px;
    transition: background .2s, color .2s;
    white-space: nowrap
}

.nav-link-item:hover,
.nav-item.active .nav-link-item {
    color: var(--accent);
    background: rgba(0, 0, 0, .15)
}

.has-dropdown:hover .dropdown-nav {
    display: block
}

.dropdown-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    min-width: 200px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    border-radius: 0 0 6px 6px;
    z-index: 100
}

.dropdown-nav li a {
    display: block;
    padding: 9px 20px;
    font-size: 13.5px;
    color: var(--text-dark);
    transition: background .15s, color .15s
}

.dropdown-nav li a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 26px
}

.mobile-nav {
    display: none;
    background: var(--primary-dark);
    padding: 10px 0
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0 15px
}

.mobile-nav-list li a {
    display: block;
    color: var(--white);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: 14px
}

.mobile-nav-list li a:hover {
    color: var(--accent)
}

.mobile-nav-list ul {
    list-style: none;
    padding-left: 15px;
    margin: 0
}

.mobile-nav-list ul a {
    font-size: 13px;
    opacity: .85
}

.mobile-nav.open {
    display: block
}

.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 40%, var(--secondary) 100%);
    min-height: 520px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 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='%23C9A84C' 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
}

/* ============================================================
   ORDER TRACKING
   ============================================================ */
.tracking-lookup-card {
    border: 1px solid var(--border);
}

.tracking-meta-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
}

.order-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.timeline-step {
    position: relative;
    padding: 14px 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    text-align: center;
}

.timeline-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid #d7cbba;
    color: #7d6e5b;
    background: #fff;
}

.timeline-name {
    font-size: 13px;
    font-weight: 600;
    color: #594838;
}

.timeline-step.done {
    background: #f1fbf4;
    border-color: #b6dfc1;
}

.timeline-step.done .timeline-dot {
    background: #1f9c43;
    color: #fff;
    border-color: #1f9c43;
}

.timeline-step.active {
    background: #fef7e6;
    border-color: #efd38c;
}

.timeline-step.active .timeline-dot {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.tracking-info-box {
    height: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    padding: 14px 16px;
}

.tracking-info-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 6px;
}

.tracking-info-value {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.tracking-history {
    border-top: 1px solid var(--border);
    padding-top: 18px;
}

.history-item {
    border-left: 3px solid var(--accent);
    padding: 0 0 14px 14px;
    margin-bottom: 14px;
}

.history-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.history-status {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.history-time {
    font-size: 12px;
    margin-bottom: 5px;
}

.history-detail {
    font-size: 13px;
}

@media (max-width: 767.98px) {
    .order-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.hero-content {
    position: relative;
    z-index: 1
}

.hero-badge {
    display: inline-block;
    background: rgba(201, 168, 76, .2);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2
}

.hero-title span {
    color: var(--accent)
}

.hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, .85);
    max-width: 480px;
    margin-bottom: 28px
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.hero-stat {
    text-align: center
}

.hero-stat strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--accent);
    font-weight: 700
}

.hero-stat span {
    font-size: 12px;
    color: rgba(255, 255, 255, .7);
    text-transform: uppercase;
    letter-spacing: .5px
}

.btn-primary-taj {
    background: var(--accent);
    color: var(--primary-dark);
    border: 2px solid var(--accent);
    padding: 12px 28px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 6px;
    letter-spacing: .3px;
    transition: all .25s;
    display: inline-block;
    cursor: pointer;
    text-transform: uppercase
}

.btn-primary-taj:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(201, 168, 76, .4)
}

.btn-outline-taj {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, .6);
    padding: 12px 28px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    transition: all .25s;
    display: inline-block;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .3px
}

.btn-outline-taj:hover {
    background: rgba(255, 255, 255, .1);
    border-color: var(--white);
    color: var(--white)
}

.btn-burgundy {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    transition: all .25s;
    display: inline-block;
    cursor: pointer
}

.btn-burgundy:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px)
}

.btn-gold {
    background: var(--accent);
    color: var(--primary-dark);
    border: 2px solid var(--accent);
    padding: 10px 24px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 6px;
    transition: all .25s;
    display: inline-block;
    cursor: pointer
}

.btn-gold:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-1px)
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0
}

.section-divider {
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 12px 0 30px;
    border-radius: 2px
}

.section-divider.center {
    margin: 12px auto 30px
}

.feature-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px 20px;
    text-align: center;
    transition: box-shadow .25s, transform .25s
}

.feature-box:hover {
    box-shadow: 0 8px 24px var(--shadow);
    transform: translateY(-2px)
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 24px;
    color: var(--white)
}

.feature-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark)
}

.feature-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0
}

.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform .25s, box-shadow .25s;
    text-decoration: none;
    display: block
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--shadow)
}

.category-card-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative
}

.category-card-bg.cat-1 {
    background: linear-gradient(135deg, #7B1E2E, #A52535)
}

.category-card-bg.cat-2 {
    background: linear-gradient(135deg, #1B3558, #2A4E7A)
}

.category-card-bg.cat-3 {
    background: linear-gradient(135deg, #1A5C3A, #2D7A52)
}

.category-card-bg.cat-4 {
    background: linear-gradient(135deg, #5C3A1B, #7A5228)
}

.category-card-bg.cat-5 {
    background: linear-gradient(135deg, #3A1B5C, #52287A)
}

.category-card-bg.cat-6 {
    background: linear-gradient(135deg, #1B4A5C, #28677A)
}

.cat-icon {
    font-size: 40px;
    color: rgba(255, 255, 255, .9)
}

.category-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, transparent 100%);
    padding: 20px 14px 14px;
    text-align: center
}

.category-card-name {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    display: block
}

.category-card-count {
    font-size: 12px;
    color: var(--accent);
    font-weight: 500
}

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

.product-card:hover {
    box-shadow: 0 10px 28px var(--shadow);
    transform: translateY(-3px)
}

.product-card-img {
    position: relative;
    background: var(--bg-light);
    aspect-ratio: 1;
    overflow: hidden
}

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

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

.badge-sale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .5px
}

.badge-featured {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    text-transform: uppercase
}

.product-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.product-category {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
    flex: 1
}

.product-name a {
    color: inherit
}

.product-name a:hover {
    color: var(--primary)
}

.product-cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px
}

.product-cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    font-weight: 600;
    line-height: 1
}

.product-cert-badge.small {
    font-size: 10px;
    padding: 5px 8px
}

.product-cert-badge.large {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 10px;
    border: 1px solid;
    padding: 10px 12px;
    width: 100%
}

.product-cert-badge .badge-head {
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.product-cert-badge .badge-desc {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.5
}

.product-cert-badge.halal {
    background: #eaf8ef;
    color: #1f6d3d;
    border-color: #b8e0c6
}

.product-cert-badge.authentic {
    background: #fff6ea;
    color: #8a531b;
    border-color: #f2d9b8
}

.product-cert-badge.hajj {
    background: #e8f4ff;
    color: #1f4f80;
    border-color: #c5ddf5
}

.product-detail-certifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary)
}

.price-original {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through
}

.price-save {
    font-size: 11px;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 7px;
    border-radius: 3px;
    font-weight: 600
}

.btn-add-cart {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: background .2s, transform .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px
}

.btn-add-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-1px)
}

.btn-add-cart.added {
    background: var(--accent);
    color: var(--primary-dark)
}

.out-of-stock-btn {
    background: #e0e0e0;
    color: #9e9e9e;
    border: none;
    border-radius: 6px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    cursor: not-allowed
}

.shop-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    position: sticky;
    top: 120px
}

.sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    font-family: 'Playfair Display', serif
}

.filter-link {
    display: block;
    padding: 7px 0;
    font-size: 14px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
    transition: color .15s, padding-left .15s
}

.filter-link:hover,
.filter-link.active {
    color: var(--primary);
    padding-left: 6px
}

.filter-link.active {
    font-weight: 600
}

.shop-toolbar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px
}

.result-count {
    font-size: 14px;
    color: var(--text-muted)
}

.sort-select {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 13px;
    color: var(--text-dark);
    cursor: pointer
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary)
}

.product-detail-img {
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-light);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center
}

.product-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.product-detail-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    margin-bottom: 10px
}

.product-sku {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px
}

.product-detail-price {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px
}

.product-detail-original {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through
}

.product-detail-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 16px 0
}

.qty-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    width: fit-content
}

.qty-btn {
    background: var(--bg-light);
    border: none;
    width: 38px;
    height: 42px;
    font-size: 18px;
    cursor: pointer;
    transition: background .15s
}

.qty-btn:hover {
    background: var(--primary);
    color: var(--white)
}

.qty-input {
    width: 54px;
    height: 42px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    background: var(--white)
}

.qty-input:focus {
    outline: none
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600
}

.stock-badge.in {
    color: #2e7d32
}

.stock-badge.out {
    color: #c62828
}

.cart-table {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden
}

.cart-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px
}

.cart-item-name {
    font-weight: 600;
    font-size: 14px
}

.cart-qty {
    width: 64px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 14px
}

.order-summary-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px
}

.summary-row.total {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    border-bottom: none;
    padding-top: 12px
}

.free-shipping-bar {
    background: var(--bg-light);
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 13px
}

.checkout-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px
}

.checkout-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    font-family: 'Playfair Display', serif
}

.payment-option {
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    margin-bottom: 10px
}

.payment-option:has(input:checked) {
    border-color: var(--primary);
    background: #FDF5F5
}

.payment-option label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0
}

.payment-logo {
    font-size: 22px
}

.form-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 4px 20px var(--shadow);
    max-width: 500px;
    margin: 0 auto
}

.form-label {
    font-weight: 600;
    font-size: 13.5px;
    color: var(--text-dark);
    margin-bottom: 5px
}

.form-control,
.form-select {
    border: 2px solid var(--border);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color .2s;
    color: var(--text-dark)
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: none;
    outline: none
}

.review-rating-picker {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 6px;
    position: relative;
}

.review-rating-picker input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.review-rating-star {
    color: #d7d1c5;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: color .15s ease, transform .15s ease;
}

.review-rating-star:hover,
.review-rating-star:hover ~ .review-rating-star,
.review-rating-picker input:checked + .review-rating-star,
.review-rating-picker input:checked + .review-rating-star ~ .review-rating-star {
    color: #ffb400;
}

.review-rating-star:hover {
    transform: translateY(-1px);
}

.review-rating-help {
    font-size: 12px;
    margin-top: 8px;
}

.form-divider {
    text-align: center;
    position: relative;
    margin: 18px 0;
    color: var(--text-muted);
    font-size: 13px
}

.form-divider::before,
.form-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: var(--border)
}

.form-divider::before {
    left: 0
}

.form-divider::after {
    right: 0
}

.breadcrumb-section {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 0
}

.breadcrumb {
    margin: 0;
    font-size: 13px
}

.breadcrumb-item a {
    color: var(--primary)
}

.breadcrumb-item.active {
    color: var(--text-muted)
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--text-muted)
}

.page-banner {
    background: var(--burg-gradient);
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C9A84C' fill-opacity='0.06'%3E%3Cpath d='M20 20L0 0h40L20 20zM20 20L0 40h40L20 20z'/%3E%3C/g%3E%3C/svg%3E")
}

.page-banner-title {
    font-size: 30px;
    color: var(--white);
    margin: 0;
    position: relative
}

.page-banner-sub {
    color: rgba(255, 255, 255, .75);
    font-size: 14px;
    margin-top: 4px;
    position: relative
}

.account-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden
}

.account-nav-item {
    display: flex;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
    transition: background .15s, color .15s, padding-left .15s;
    align-items: center;
    gap: 10px
}

.account-nav-item:hover,
.account-nav-item.active {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 26px
}

.account-nav-item.active {
    font-weight: 700;
    border-left: 3px solid var(--primary)
}

.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999
}

.toast-msg {
    background: var(--primary);
    color: var(--white);
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn .3s ease;
    min-width: 260px
}

@keyframes slideIn {
    from {
        transform: translateX(110%);
        opacity: 0
    }

    to {
        transform: translateX(0);
        opacity: 1
    }
}

.toast-msg.success {
    background: #1b5e20
}

.toast-msg.error {
    background: #b71c1c
}

.site-footer {
    background: #1A0D10;
    color: #ccc;
    margin-top: 60px
}

.footer-top {
    padding: 50px 0 30px
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 4px
}

.footer-tagline {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 14px
}

.footer-desc {
    font-size: 13.5px;
    line-height: 1.8;
    color: #aaa;
    margin-bottom: 16px
}

.footer-social {
    display: flex;
    gap: 10px
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 15px;
    transition: background .2s, color .2s
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary)
}

.footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-links li {
    margin-bottom: 8px
}

.footer-links a {
    font-size: 13.5px;
    color: #aaa;
    transition: color .15s, padding-left .15s
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13.5px;
    color: #aaa
}

.footer-contact i {
    color: var(--accent);
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0
}

.footer-contact a {
    color: #aaa;
    transition: color .15s
}

.footer-contact a:hover {
    color: var(--accent)
}

.footer-payments {
    font-size: 12px;
    color: #888
}

.footer-payments i {
    color: var(--accent);
    margin-right: 3px
}

.footer-newsletter {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
}

.footer-newsletter-title {
    font-size: 13px;
    color: #fff;
    margin: 0 0 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.footer-newsletter-text {
    font-size: 12.5px;
    color: #bbb;
}

.footer-newsletter-form .form-control {
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.footer-newsletter-form .form-control::placeholder {
    color: #c7c7c7;
}

.footer-newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border-color: var(--accent);
    box-shadow: none;
}

.footer-newsletter-form .btn {
    font-weight: 600;
}

.footer-bottom {
    background: rgba(0, 0, 0, .3);
    padding: 16px 0;
    font-size: 12.5px;
    color: #777;
    border-top: 1px solid rgba(255, 255, 255, .05)
}

.pagination .page-link {
    color: var(--primary);
    border-color: var(--border);
    padding: 8px 14px;
    font-size: 14px
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white)
}

.pagination .page-link:hover {
    background: var(--bg-light);
    color: var(--primary)
}

.section-pad {
    padding: 56px 0
}

.section-pad-sm {
    padding: 36px 0
}

.bg-light-cream {
    background: var(--bg-light)
}

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

.text-accent {
    color: var(--accent) !important
}

.border-accent {
    border-color: var(--accent) !important
}

.divider {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 24px 0
}

.badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 9px
}

@media (max-width:991.98px) {
    .site-nav .nav-list {
        display: none
    }

    .hero-section {
        min-height: 380px;
        text-align: center;
        padding: 40px 0
    }

    .hero-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto
    }

    .hero-buttons {
        justify-content: center
    }

    .hero-stat {
        margin-top: 16px
    }

    .shop-sidebar {
        position: static;
        margin-bottom: 16px
    }
}

@media (max-width:767.98px) {
    .form-box {
        padding: 24px 20px
    }

    .checkout-box {
        padding: 20px
    }

    .section-pad {
        padding: 36px 0
    }

    .section-pad-sm {
        padding: 24px 0
    }

    .logo-main {
        font-size: 18px
    }

    /* Hero */
    .hero-section {
        min-height: auto;
        padding: 32px 0
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center
    }

    .hero-buttons .btn-primary-taj,
    .hero-buttons .btn-outline-taj {
        width: 100%;
        max-width: 280px;
        text-align: center
    }

    .hero-stat strong {
        font-size: 22px
    }

    /* Page banner */
    .page-banner {
        padding: 24px 0
    }

    .page-banner-title {
        font-size: 22px
    }

    /* Product detail */
    .product-detail-price {
        font-size: 24px
    }

    /* Cart */
    .cart-item-img {
        width: 52px;
        height: 52px
    }

    .cart-item-name {
        font-size: 13px
    }

    /* Order summary */
    .order-summary-box {
        padding: 16px
    }

    /* Remove sticky on mobile so summary appears naturally below checkout form */
    .order-summary-box[style*="sticky"] {
        position: static !important;
        top: auto !important
    }

    /* Account sidebar — horizontal scrollable tabs */
    .account-sidebar {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        border-radius: 8px
    }

    .account-nav-item {
        border-bottom: none;
        border-right: 1px solid var(--border);
        padding: 10px 14px;
        flex-shrink: 0;
        font-size: 13px
    }

    .account-nav-item:hover,
    .account-nav-item.active {
        padding-left: 14px
    }

    .account-nav-item.active {
        border-left: none;
        border-bottom: 3px solid var(--primary)
    }

    /* Shop toolbar */
    .shop-toolbar {
        flex-direction: column;
        align-items: flex-start
    }

    .sort-select {
        width: 100%
    }

    /* Toast — full width on mobile */
    .toast-container {
        bottom: 12px;
        right: 12px;
        left: 12px
    }

    .toast-msg {
        min-width: unset;
        width: 100%
    }

    /* Footer */
    .site-footer {
        margin-top: 40px
    }

    .footer-top {
        padding: 32px 0 16px
    }

    /* Pagination */
    .pagination .page-link {
        padding: 6px 10px;
        font-size: 13px
    }
}

@media (max-width:480px) {
    /* Already has chatWindow width */

    /* Hero stats */
    .hero-stat strong {
        font-size: 20px
    }

    /* Page banner */
    .page-banner-title {
        font-size: 18px
    }

    /* Feature boxes */
    .feature-box {
        padding: 16px 14px
    }

    /* Chat widget */
    #chatWidget {
        bottom: 16px;
        right: 16px
    }

    #chatBubble {
        width: 50px;
        height: 50px;
        font-size: 20px
    }
}

/* ============================================================
   AI LIVE CHAT WIDGET
   ============================================================ */
#chatWidget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px
}

#chatBubble {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--burg-gradient);
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(123, 30, 46, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s, box-shadow .2s;
    position: relative
}

#chatBubble:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 28px rgba(123, 30, 46, .55)
}

#chatBubble::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: .5
}

#chatWindow {
    width: 340px;
    max-height: 480px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
    display: none;
    flex-direction: column;
    overflow: hidden
}

#chatWindow.open {
    display: flex
}

#chatHeader {
    background: var(--burg-gradient);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px
}

.chat-avatar {
    width: 36px;
    height: 36px;
    background: rgba(201, 168, 76, .25);
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--accent);
    flex-shrink: 0
}

.chat-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    font-family: 'Playfair Display', serif
}

.chat-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, .7)
}

#chatClose {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, .8);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color .15s
}

#chatClose:hover {
    color: var(--white)
}

#chatMessages {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--bg-light);
    scroll-behavior: smooth
}

#chatMessages::-webkit-scrollbar {
    width: 4px
}

#chatMessages::-webkit-scrollbar-track {
    background: transparent
}

#chatMessages::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px
}

.chat-msg {
    display: flex;
    align-items: flex-end;
    gap: 8px
}

.chat-msg.bot {
    justify-content: flex-start
}

.chat-msg.user {
    justify-content: flex-end
}

.chat-bubble {
    max-width: 82%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.55;
    word-break: break-word
}

.chat-msg.bot .chat-bubble {
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,.06)
}

.chat-msg.user .chat-bubble {
    background: var(--primary);
    color: var(--white);
    border-bottom-right-radius: 4px
}

.chat-msg.typing .chat-bubble {
    background: var(--white);
    border: 1px solid var(--border)
}

.chat-typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
    height: 18px
}

.chat-typing-dots span {
    width: 7px;
    height: 7px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: chatDot 1.2s infinite ease-in-out
}

.chat-typing-dots span:nth-child(2) {
    animation-delay: .2s
}

.chat-typing-dots span:nth-child(3) {
    animation-delay: .4s
}

@keyframes chatDot {
    0%, 80%, 100% { transform: scale(.7); opacity: .5 }
    40% { transform: scale(1); opacity: 1 }
}

#chatInputArea {
    padding: 10px 12px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 8px;
    align-items: center;
    background: var(--white);
    flex-shrink: 0
}

#chatInput {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 13px;
    outline: none;
    transition: border-color .2s;
    font-family: 'Inter', sans-serif;
    background: var(--bg-light)
}

#chatInput:focus {
    border-color: var(--primary)
}

#chatSend {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: var(--white);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .15s;
    flex-shrink: 0
}

#chatSend:hover {
    background: var(--primary-dark);
    transform: scale(1.08)
}

#chatSend:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none
}

@media (max-width: 480px) {
    #chatWindow {
        width: calc(100vw - 32px);
        max-height: 420px
    }
}
