/* ===== Root Variables ===== */
:root {
    --primary: #8B1A4A;
    --primary-light: #B83280;
    --primary-dark: #6B1539;
    --secondary: #D4A574;
    --secondary-light: #E8C9A0;
    --accent: #F5E6D3;
    --gold: #C9A84C;
    --dark: #2D2D2D;
    --gray: #6B7280;
    --gray-light: #F3F4F6;
    --white: #FFFFFF;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', 'Segoe UI', sans-serif;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
    --radius: 8px;
}

/* ===== Reset & Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; color: var(--dark); }

/* ===== Announcement Bar ===== */
.announcement-bar {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 8px 0;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== Header ===== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.navbar { padding: 0; }
.navbar-brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.brand-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}
.brand-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 3px solid var(--secondary);
    padding-bottom: 2px;
}
.brand-tagline {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--gray);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    width: 100%;
    margin-top: -5px;
}
.navbar-toggler {
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    padding: 5px 10px;
}
.navbar-toggler:focus { box-shadow: none; }
.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark) !important;
    padding: 10px 18px !important;
    position: relative;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--primary);
}
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 8px 0;
}
.dropdown-item { font-size: 0.9rem; padding: 8px 20px; }
.dropdown-item:hover { background: var(--accent); color: var(--primary); }

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--accent) 0%, #fdf2f8 100%);
    overflow: hidden;
}
.hero-section .hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-section .hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 60px 0;
}
.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
}
.hero-no-image .hero-content h1 { color: var(--dark); text-shadow: none; }
.hero-no-image .hero-content p { color: var(--gray); }
.btn-hero {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
}
.btn-hero:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139,26,74,0.3);
}

/* ===== Section Titles ===== */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 10px auto 0;
}
.section-title p {
    color: var(--gray);
    font-size: 1rem;
}

/* ===== Product Cards ===== */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.product-card .card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--gray-light);
}
.product-card .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    z-index: 2;
}
.badge-new { background: var(--dark); color: var(--white); }
.badge-sale { background: #DC2626; color: var(--white); }
.badge-arrival { background: var(--primary); color: var(--white); }
.badge-soldout { background: var(--gray); color: var(--white); }
.badge-handcrafted { background: var(--gold); color: var(--dark); }

.product-card .card-body {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-card .product-title {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .product-title a {
    color: var(--dark);
}
.product-card .product-title a:hover {
    color: var(--primary);
}
.product-card .product-price {
    margin-top: auto;
}
.price-original {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 0.85rem;
    margin-right: 5px;
}
.price-sale {
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
}
.product-card .sold-out-text {
    color: var(--gray);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 5px;
}

/* ===== Category Cards ===== */
.category-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--gray-light);
    transition: var(--transition);
}
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.category-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.category-card:hover img { transform: scale(1.1); }
.category-card .category-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
}
.category-card .category-overlay h5 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 3px;
}
.category-card .category-overlay span {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ===== Shop Page ===== */
.shop-header {
    background: var(--accent);
    padding: 40px 0;
    text-align: center;
}
.shop-header h1 { font-size: 2.2rem; color: var(--dark); margin-bottom: 5px; }
.shop-header .breadcrumb {
    justify-content: center;
    margin-bottom: 0;
}
.shop-header .breadcrumb-item a { color: var(--primary); }
.shop-header .breadcrumb-item.active { color: var(--gray); }

.filter-bar {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}
.filter-bar .form-select {
    border: 1px solid #ddd;
    font-size: 0.9rem;
    padding: 8px 15px;
    border-radius: var(--radius);
}
.filter-bar .result-count {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 40px;
}

.filter-sidebar .filter-group {
    margin-bottom: 25px;
}
.filter-sidebar .filter-group h6 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.filter-sidebar .filter-group .list-group-item {
    border: none;
    padding: 6px 0;
    font-size: 0.9rem;
}
.filter-sidebar .filter-group .list-group-item a {
    color: var(--gray);
    display: flex;
    justify-content: space-between;
}
.filter-sidebar .filter-group .list-group-item a:hover,
.filter-sidebar .filter-group .list-group-item a.active {
    color: var(--primary);
    font-weight: 500;
}
.filter-sidebar .filter-group .list-group-item .count {
    font-size: 0.8rem;
    color: #aaa;
}

/* ===== Product Detail ===== */
.product-detail { padding: 40px 0; }
.product-detail .product-gallery {
    position: relative;
}
.product-detail .main-image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--gray-light);
    margin-bottom: 15px;
}
.product-detail .main-image img {
    width: 100%; height: 100%; object-fit: cover;
    cursor: zoom-in;
}
.product-detail .thumbnail-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.product-detail .thumbnail-item {
    width: 70px; height: 70px;
    border-radius: 5px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}
.product-detail .thumbnail-item.active,
.product-detail .thumbnail-item:hover {
    border-color: var(--primary);
}
.product-detail .thumbnail-item img {
    width: 100%; height: 100%; object-fit: cover;
}
.product-detail .product-info h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}
.product-detail .product-info .short-desc {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 15px;
}
.product-detail .product-info .price-block {
    margin-bottom: 20px;
    font-size: 1.3rem;
}
.product-detail .product-info .price-block .price-original {
    font-size: 1.1rem;
}
.product-detail .product-info .price-block .price-sale {
    font-size: 1.4rem;
}
.product-detail .product-info .stock-info {
    color: #16A34A;
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.product-detail .product-info .stock-info.out-of-stock {
    color: #DC2626;
}
.product-detail .product-info .description-block {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}
.product-detail .product-info .description-block h5 {
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 10px;
}
.product-detail .product-info .description-block p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.8;
}
.product-detail .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: var(--transition);
}
.product-detail .btn-whatsapp:hover {
    background: #128C7E;
    color: var(--white);
    transform: translateY(-2px);
}
.related-products { padding: 50px 0; background: var(--gray-light); }

/* ===== Contact Page ===== */
.contact-section { padding: 50px 0; }
.contact-info-card {
    background: var(--accent);
    padding: 30px;
    border-radius: var(--radius);
    height: 100%;
}
.contact-info-card h5 {
    color: var(--primary);
    margin-bottom: 20px;
}
.contact-info-card .info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}
.contact-info-card .info-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 3px;
}
.contact-form .form-control, .contact-form .form-select {
    border: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: var(--radius);
    font-size: 0.95rem;
}
.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(139,26,74,0.15);
}
.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
}
.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 20px;
}
.footer-heading {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--primary);
}
.footer-text { font-size: 0.85rem; line-height: 1.7; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links li a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-links li a:hover { color: var(--white); padding-left: 5px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-contact li i { color: var(--primary-light); }
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 1.1rem;
    margin-right: 8px;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 20px 0; }
.copyright { font-size: 0.85rem; margin-bottom: 0; }
.policy-link {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-left: 15px;
}
.policy-link:hover { color: var(--white); }

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 998;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }
.back-to-top.show { display: flex; }

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}
.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}
.empty-state h4 { color: var(--gray); margin-bottom: 10px; }
.empty-state p { color: #aaa; }

/* ===== Placeholder Image ===== */
.placeholder-img {
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #ccc;
    font-size: 3rem;
}

/* ===== Featured Section ===== */
.featured-section, .new-arrivals-section, .categories-section {
    padding: 60px 0;
}
.categories-section { background: var(--gray-light); }

/* ===== Cart Icon in Header ===== */
.cart-icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ===== Add to Cart Button (Product Card) ===== */
.btn-card-cart {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 7px 10px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.btn-card-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ===== Add to Cart (Product Detail) ===== */
.add-to-cart-section {}
.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    overflow: hidden;
}
.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-light);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover { background: #e5e7eb; }
.qty-input {
    width: 50px;
    height: 36px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.btn-add-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-add-to-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139,26,74,0.3);
}
.btn-add-to-cart.added {
    background: #16A34A;
}

/* ===== Cart Page ===== */
.cart-section { padding: 40px 0; }
.cart-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-image {
    width: 100px;
    height: 120px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-light);
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { flex: 1; }
.cart-item-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}
.cart-item-title a { color: var(--dark); }
.cart-item-title a:hover { color: var(--primary); }
.cart-item-price { color: var(--gray); font-size: 0.9rem; margin-bottom: 10px; }
.cart-item-actions { display: flex; align-items: center; gap: 15px; }
.cart-item-subtotal {
    text-align: right;
    min-width: 100px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
}
.btn-remove-item {
    background: none;
    border: none;
    color: #DC2626;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 2px 5px;
    transition: var(--transition);
}
.btn-remove-item:hover { text-decoration: underline; }
.cart-summary {
    background: var(--accent);
    border-radius: var(--radius);
    padding: 25px;
}
.cart-summary h5 {
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.cart-summary-row.total {
    font-size: 1.15rem;
    font-weight: 700;
    border-top: 1px solid #ddd;
    padding-top: 12px;
    margin-top: 5px;
    color: var(--primary);
}
.cart-summary .shipping-note {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 15px;
}
.btn-checkout {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.btn-checkout:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}
.cart-empty {
    text-align: center;
    padding: 60px 20px;
}
.cart-empty i { font-size: 4rem; color: #ddd; margin-bottom: 20px; display: block; }
.cart-empty h4 { color: var(--gray); margin-bottom: 10px; }
.cart-empty p { color: #aaa; margin-bottom: 20px; }

/* ===== Checkout Page ===== */
.checkout-section { padding: 40px 0; }
.checkout-form .form-label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 5px;
}
.checkout-form .form-control,
.checkout-form .form-select {
    border: 1px solid #ddd;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 0.95rem;
}
.checkout-form .form-control:focus,
.checkout-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(139,26,74,0.15);
}
.checkout-form .section-heading {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    color: var(--dark);
}
.payment-option {
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 15px 20px;
    background: var(--accent);
}
.payment-option .form-check-label {
    font-weight: 600;
    cursor: pointer;
}
.payment-option small { color: var(--gray); display: block; margin-top: 3px; }
.checkout-summary {
    background: var(--accent);
    border-radius: var(--radius);
    padding: 25px;
    position: sticky;
    top: 100px;
}
.checkout-summary h5 {
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}
.checkout-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    gap: 10px;
}
.checkout-item .item-name { flex: 1; color: var(--dark); }
.checkout-item .item-price { font-weight: 500; white-space: nowrap; }
.checkout-totals {
    border-top: 1px solid #ddd;
    margin-top: 15px;
    padding-top: 15px;
}
.checkout-totals .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.checkout-totals .summary-row.grand-total {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-top: 5px;
}
.btn-place-order {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
}
.btn-place-order:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139,26,74,0.3);
}

/* ===== Order Confirmation ===== */
.order-confirmation { padding: 50px 0; }
.order-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #DEF7EC;
    color: #16A34A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
}
.order-details-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 20px;
}
.order-details-card h6 {
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: var(--primary);
}
.order-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.93rem;
}
.order-info-row .label { color: var(--gray); }
.order-info-row .value { font-weight: 500; }

/* ===== Order Tracking ===== */
.order-track-section { padding: 50px 0; }
.track-form {
    max-width: 500px;
    margin: 0 auto 40px;
}
.track-form .input-group {
    box-shadow: var(--shadow);
    border-radius: 50px;
    overflow: hidden;
}
.track-form .form-control {
    border: 2px solid #eee;
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: 50px 0 0 50px !important;
}
.track-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}
.track-form .btn {
    padding: 14px 30px;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-weight: 600;
    border-radius: 0 50px 50px 0 !important;
}
.track-form .btn:hover { background: var(--primary-dark); }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-section { min-height: 400px; }
    .brand-name { font-size: 1.3rem; }
    .section-title h2 { font-size: 1.6rem; }
}

@media (max-width: 768px) {
    .announcement-bar { font-size: 0.7rem; padding: 6px 0; }
    .hero-content { padding: 40px 0; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 0.95rem; }
    .btn-hero { padding: 12px 30px; font-size: 0.9rem; }
    .section-title h2 { font-size: 1.4rem; }
    .product-detail .product-info h1 { font-size: 1.4rem; }
    .shop-header h1 { font-size: 1.6rem; }
    .featured-section, .new-arrivals-section, .categories-section { padding: 40px 0; }
    .site-footer { padding: 40px 0 15px; }
    .filter-sidebar { margin-bottom: 20px; }
    .cart-item { flex-wrap: wrap; }
    .cart-item-image { width: 80px; height: 100px; }
    .cart-item-subtotal { min-width: auto; text-align: left; width: 100%; margin-top: 5px; }
    .cart-section { padding: 25px 0; }
    .checkout-section { padding: 25px 0; }
    .checkout-summary { position: static; margin-top: 25px; }
    .order-confirmation { padding: 30px 0; }
}

@media (max-width: 576px) {
    .brand-name { font-size: 1.1rem; }
    .hero-content h1 { font-size: 1.5rem; }
    .product-card .card-body { padding: 10px; }
    .product-card .product-title { font-size: 0.82rem; }
    .price-sale { font-size: 0.9rem; }
    .price-original { font-size: 0.78rem; }
    .whatsapp-float { width: 48px; height: 48px; font-size: 1.4rem; bottom: 20px; right: 20px; }
    .back-to-top { bottom: 75px; right: 22px; }
}

/* ===== Auth Pages (Login / Signup / OTP) ===== */
.auth-section {
    padding: 50px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.auth-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 35px;
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
}
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}
.auth-header h3 {
    font-family: var(--font-heading);
    color: var(--dark);
    margin: 10px 0 5px;
}
.auth-header p {
    color: var(--gray);
    font-size: 0.9rem;
}
.auth-form .form-label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 5px;
}
.auth-form .form-control {
    border: 1px solid #ddd;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 0.95rem;
}
.auth-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(139,26,74,0.15);
}
.btn-auth {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.btn-auth:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139,26,74,0.3);
}
.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--gray);
}
.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* ===== Account Page ===== */
.account-section {
    padding: 40px 0;
    min-height: 60vh;
}
.account-sidebar {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
    overflow: hidden;
}
.account-user-info {
    text-align: center;
    padding: 25px 15px 20px;
    background: var(--accent);
    border-bottom: 1px solid #eee;
}
.user-avatar i {
    font-size: 3rem;
    color: var(--primary);
}
.account-user-info h6 {
    margin: 10px 0 2px;
    font-family: var(--font-body);
    font-weight: 600;
}
.account-nav {
    padding: 10px 0;
}
.account-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.account-nav a:hover,
.account-nav a.active {
    background: var(--accent);
    color: var(--primary);
    border-left-color: var(--primary);
}
.account-content-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
    padding: 25px;
}
.account-content-card h5 {
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== Order History Cards ===== */
.order-history-card {
    border: 1px solid #eee;
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}
.order-history-card:hover {
    box-shadow: var(--shadow);
}
.order-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: var(--gray-light);
    border-bottom: 1px solid #eee;
}
.order-number {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    margin-right: 12px;
}
.order-date {
    color: var(--gray);
    font-size: 0.8rem;
}
.order-history-items {
    padding: 10px 18px;
}
.order-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.88rem;
    border-bottom: 1px solid #f5f5f5;
}
.order-history-item:last-child {
    border-bottom: none;
}
.item-name {
    flex: 1;
    color: var(--dark);
}
.item-qty {
    color: var(--gray);
    margin: 0 15px;
    font-size: 0.82rem;
}
.item-price {
    font-weight: 600;
    white-space: nowrap;
}
.order-history-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: #fafafa;
    border-top: 1px solid #eee;
}

/* ===== Auth & Account Responsive ===== */
@media (max-width: 768px) {
    .auth-card { padding: 30px 20px; }
    .auth-section { padding: 30px 0; }
    .account-section { padding: 25px 0; }
    .account-content-card { padding: 18px; }
    .order-history-header { flex-direction: column; align-items: flex-start; gap: 5px; }
    .order-history-footer { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 576px) {
    .auth-card { padding: 25px 15px; }
    .order-history-item { font-size: 0.82rem; }
}
