/**
 * Royal Sheesham Crafts — Master Luxury Theme CSS
 * High-end Solid Wood Aesthetic
 */

:root {
    --sheesham-wood: #8B4513;
    --sheesham-dark: #2D1E18;
    --sheesham-deep: #1A110D;
    --sheesham-warm: #A0522D;
    --gold-accent: #C5A880;
    --gold-light: #DFD3C3;
    --cream-bg: #FAF8F5;
    --cream-card: #FFFFFF;
    --charcoal: #212529;
    --muted-text: #6c757d;
    --border-color: #EAE5DF;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-soft: 0 10px 30px rgba(45, 30, 24, 0.06);
    --shadow-hover: 0 18px 40px rgba(45, 30, 24, 0.12);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--cream-bg);
    color: var(--sheesham-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-serif, .brand-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.2px;
}

/* Announcement Bar */
.top-announcement-bar {
    background: var(--sheesham-deep);
    color: var(--gold-light);
    font-size: 0.82rem;
    padding: 7px 0;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
}

.top-announcement-bar a {
    color: var(--gold-accent);
    text-decoration: none;
    font-weight: 600;
}

/* Header & Navigation */
.navbar-luxury {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(45, 30, 24, 0.05);
    padding: 14px 0;
    transition: var(--transition);
}

.sticky-top-nav {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--sheesham-dark);
}

.brand-logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--sheesham-wood), var(--sheesham-dark));
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.brand-logo-img {
    height: 64px;
    max-height: 68px;
    max-width: 330px;
    object-fit: contain;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .brand-logo-img {
        height: 50px;
        max-width: 240px;
    }
}

.nav-link-custom {
    color: var(--sheesham-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link-custom:hover, .nav-link-custom.active {
    color: var(--sheesham-wood);
    background-color: rgba(139, 69, 19, 0.06);
}

/* Header Actions & Icons */
.header-action-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--cream-bg);
    color: var(--sheesham-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.header-action-btn:hover {
    background: var(--sheesham-wood);
    color: #ffffff;
    border-color: var(--sheesham-wood);
    transform: translateY(-2px);
}

.badge-counter {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--sheesham-wood);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 10px;
    padding: 2px 6px;
    border: 2px solid #ffffff;
}

/* Hero Carousel */
.hero-slider-section {
    position: relative;
    overflow: hidden;
}

.hero-slide-item {
    min-height: 560px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 17, 13, 0.88) 0%, rgba(26, 17, 13, 0.6) 50%, rgba(26, 17, 13, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: #ffffff;
    padding: 60px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(197, 168, 128, 0.25);
    color: var(--gold-accent);
    border: 1px solid var(--gold-accent);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

/* Buttons */
.btn-sheesham {
    background: var(--sheesham-wood);
    color: #ffffff;
    border: 1px solid var(--sheesham-wood);
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-sheesham:hover {
    background: #6e350d;
    color: #ffffff;
    border-color: #6e350d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.25);
}

.btn-gold {
    background: var(--gold-accent);
    color: var(--sheesham-deep);
    border: 1px solid var(--gold-accent);
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
}

.btn-gold:hover {
    background: #b59567;
    color: #fff;
}

.btn-outline-sheesham {
    background: transparent;
    color: var(--sheesham-wood);
    border: 1.5px solid var(--sheesham-wood);
    padding: 11px 26px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
}

.btn-outline-sheesham:hover {
    background: var(--sheesham-wood);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Product Cards */
.product-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold-accent);
}

.product-thumb-box {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: #f8f6f3;
}

.product-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-thumb-img {
    transform: scale(1.06);
}

.badge-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.badge-sale {
    background: #dc3545;
    color: #fff;
}

.badge-heritage {
    background: var(--sheesham-wood);
    color: #fff;
}

.badge-bestseller {
    background: #d4a373;
    color: #2D1E18;
}

.card-quick-actions {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 3;
}

.product-card:hover .card-quick-actions {
    opacity: 1;
    transform: translateY(0);
}

.quick-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--sheesham-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.quick-action-btn:hover {
    background: var(--sheesham-wood);
    color: #ffffff;
}

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

.product-category-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sheesham-wood);
    font-weight: 600;
    margin-bottom: 6px;
}

.product-card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--sheesham-dark);
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-title:hover {
    color: var(--sheesham-wood);
}

.product-pricing {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sheesham-dark);
}

.price-regular {
    font-size: 0.9rem;
    color: var(--muted-text);
    text-decoration: line-through;
}

.discount-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #28a745;
}

/* Category Grid */
.category-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 260px;
    box-shadow: var(--shadow-soft);
    display: block;
    text-decoration: none;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(26, 17, 13, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #ffffff;
}

.category-card-title {
    font-family: 'Futura', 'Jost', 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

/* Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    z-index: 1060;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    z-index: 1070;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.cart-drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    background: #faf8f5;
}

/* Feature Trust Strip */
.trust-strip-section {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 35px 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(139, 69, 19, 0.08);
    color: var(--sheesham-wood);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Footer */
.footer-luxury {
    background: var(--sheesham-deep);
    color: #e0d8cf;
    padding-top: 70px;
    padding-bottom: 30px;
    border-top: 3px solid var(--gold-accent);
}

.footer-heading {
    font-family: 'Futura', 'Jost', 'Plus Jakarta Sans', sans-serif;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.5px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--gold-accent);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #c0b5a8;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: var(--gold-accent);
    transform: translateX(4px);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #9c9184;
}

/* Admin Theme Adjustments */
.admin-sidebar {
    background: var(--sheesham-dark);
    min-height: 100vh;
    color: #fff;
}

.admin-nav-item {
    color: #c9bfb5;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--radius-sm);
    margin: 4px 12px;
    transition: var(--transition);
}

.admin-nav-item:hover, .admin-nav-item.active {
    background: var(--sheesham-wood);
    color: #fff;
}

.kpi-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}
