/*
 * Princess Jewellery - Main Stylesheet
 * Contains design system tokens, typography, layouts, components, and animations.
 */

:root {
    --primary-color: #0b2b26;
    --primary-light: #183e39;
    --primary-dark: #051412;
    --accent-color: #d4af37;
    --accent-light: #f1e2b3;
    --accent-dark: #a88520;
    --text-dark: #121212;
    --text-light: #faf9f6;
    --text-muted: #7f8c8d;
    --bg-light: #faf9f6;
    --bg-white: #ffffff;
    --bg-dark: #081d19;
    --border-color: #eae6df;
    --sale-color: #c8102e;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --modal-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    --gold-glow: 0 0 20px rgba(212, 175, 55, 0.2);
    --border-radius: 8px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease-in-out;
}

/* ==========================================================================
   Base & Reset Styles
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, textarea, select {
    font-family: inherit;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.accent-text {
    color: var(--accent-color);
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.button-primary {
    background-color: var(--accent-color);
    color: var(--primary-dark);
}

.button-primary:hover {
    background-color: var(--accent-dark);
    color: var(--text-light);
    box-shadow: var(--gold-glow);
    transform: translateY(-2px);
}

.button-outline {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--accent-color);
}

.button-outline:hover {
    background-color: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.button-secondary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.button-secondary:hover {
    background-color: var(--primary-light);
}

.badge {
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
}

.sale-badge-top {
    background-color: var(--sale-color);
    color: var(--text-light);
    display: inline-block;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    background-color: rgba(8, 29, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(214, 175, 55, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
}

.custom-logo-link {
    display: block;
    line-height: 0;
}

.custom-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid rgba(214, 175, 55, 0.2);
    transition: var(--transition-smooth);
}

.custom-logo:hover {
    transform: scale(1.03);
    border-color: rgba(214, 175, 55, 0.6);
}

.site-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
}

.site-title span {
    font-weight: 300;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.menu a {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition-fast);
}

.menu a:hover {
    color: var(--accent-color);
}

.menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition-fast);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 18px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
    padding: 5px;
}

.action-btn:hover {
    color: var(--accent-color);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--accent-color);
    color: var(--primary-dark);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--primary-dark);
}

.admin-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 7px;
    background: var(--accent-color);
    color: var(--primary-dark);
    padding: 1px 4px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Search Bar Slider */
.search-trigger-container {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search-form {
    position: absolute;
    right: 35px;
    background: var(--primary-dark);
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    padding: 3px 10px;
    display: flex;
    align-items: center;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.header-search-form.active {
    width: 220px;
    opacity: 1;
}

.header-search-form input {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 12px;
    width: 100%;
}

.header-search-form button {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
}

.mobile-search-bar {
    display: none;
    background: var(--primary-dark);
    padding: 10px 20px;
    border-bottom: 1px solid rgba(214, 175, 55, 0.1);
}

.mobile-search-bar input {
    width: calc(100% - 40px);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 8px 15px;
    border-radius: 20px 0 0 20px;
    color: var(--text-light);
    font-size: 13px;
}

.mobile-search-bar button {
    width: 40px;
    background: var(--accent-color);
    border: none;
    padding: 8px;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 480px;
    overflow: hidden;
}

.hero-slider, .hero-slide {
    width: 100%;
    height: 100%;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: var(--text-light);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: inline-block;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeUp 1s ease-out;
}

.hero-desc {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 35px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ==========================================================================
   Categories Quick Section
   ========================================================================== */
.quick-categories {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.category-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--card-shadow);
}

.cat-icon-container {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: var(--transition-smooth);
}

.category-card h4 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-card:hover, .category-card.active {
    background-color: var(--primary-color);
    border-color: var(--accent-color);
    color: var(--text-light);
}

.category-card:hover .cat-icon-container,
.category-card.active .cat-icon-container {
    color: var(--accent-color);
    transform: translateY(-5px);
}

/* ==========================================================================
   Deals Showcase
   ========================================================================== */
.special-deals-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.deals-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.deals-content {
    flex: 1;
}

.deals-content h2 {
    font-size: 36px;
    line-height: 1.3;
    margin: 15px 0;
}

.deals-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.countdown-timer {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.timer-unit {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(214, 175, 55, 0.3);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 80px;
}

.timer-unit span {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: bold;
    color: var(--accent-color);
    display: block;
}

.timer-unit p {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.deals-image {
    flex: 1;
    overflow: hidden;
    border-radius: var(--border-radius);
    border: 1px solid rgba(214, 175, 55, 0.3);
    box-shadow: var(--gold-glow);
}

.deals-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.deals-image:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   Catalog Styles
   ========================================================================== */
.catalog-section {
    padding: 80px 0;
}

.catalog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.catalog-title-area {
    flex-grow: 1;
}

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

.catalog-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.search-input-wrapper {
    position: relative;
    min-width: 220px;
}

.search-input-wrapper input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 13px;
    transition: var(--transition-fast);
}

.search-input-wrapper input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(214, 175, 55, 0.2);
}

.search-input-wrapper .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.filter-dropdown-wrapper select {
    padding: 10px 30px 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 13px;
    background-color: var(--bg-white);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: var(--transition-fast);
}

.filter-dropdown-wrapper {
    position: relative;
}

.filter-dropdown-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.filter-dropdown-wrapper select:focus {
    border-color: var(--accent-color);
}

/* Catalog Dynamic Loader */
.catalog-loader {
    text-align: center;
    padding: 100px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(11, 43, 38, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.no-products-message {
    text-align: center;
    padding: 80px 0;
    color: var(--text-muted);
}

.no-products-message i {
    font-size: 48px;
    color: var(--border-color);
    margin-bottom: 20px;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: var(--accent-color);
}

.product-image-container {
    position: relative;
    padding-bottom: 100%; /* square ratio */
    overflow: hidden;
    background-color: #f5f5f5;
}

.product-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-image-container img {
    transform: scale(1.08);
}

.card-sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--sale-color);
    color: var(--text-light);
    z-index: 10;
}

/* Admin Catalog Actions Overlay */
.admin-card-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 20;
}

.admin-card-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition-fast);
}

.admin-edit-btn {
    color: var(--primary-color);
}

.admin-edit-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.admin-delete-btn {
    color: var(--sale-color);
}

.admin-delete-btn:hover {
    background-color: var(--sale-color);
    color: var(--text-light);
}

/* Product Hover Quick Action Overlay */
.product-card-hover-actions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 29, 25, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 15;
    transition: var(--transition-smooth);
    opacity: 0;
}

.product-card:hover .product-card-hover-actions {
    opacity: 1;
}

.hover-qv-text {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background-color: rgba(5, 20, 18, 0.9);
    border: 1px solid var(--accent-color);
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: var(--gold-glow);
    transition: var(--transition-smooth);
}

.product-card:hover .hover-qv-text {
    transform: scale(1.05);
}

.card-add-to-cart-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 15px;
    margin-top: 15px;
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.card-add-to-cart-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-dark);
    border-color: var(--accent-color);
    box-shadow: var(--gold-glow);
    transform: translateY(-2px);
}

.card-add-to-cart-btn i {
    font-size: 12px;
}

/* Card details styling */
.product-details-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category-label {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.card-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.card-uid-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--accent-color);
}

.qv-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.qv-uid-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--accent-color);
}

.card-product-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
    font-family: var(--font-body);
}

.card-product-title a:hover {
    color: var(--accent-color);
}

.card-pricing-box {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-pricing-box .price-current {
    font-weight: 600;
    font-size: 16px;
    color: var(--primary-color);
}

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

/* ==========================================================================
   Single Product Detail Page Layout
   ========================================================================== */
.product-detail-page-container {
    max-width: 1200px;
    margin: 40px auto 80px;
    padding: 0 20px;
}

.jewelry-breadcrumbs {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.jewelry-breadcrumbs a {
    color: var(--text-muted);
}

.jewelry-breadcrumbs a:hover {
    color: var(--accent-color);
}

.jewelry-breadcrumbs .divider {
    margin: 0 10px;
    font-size: 10px;
}

.jewelry-breadcrumbs .current-crumb {
    color: var(--primary-color);
    font-weight: 500;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.product-gallery-column {
    position: relative;
}

.main-image-viewport {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    padding-bottom: 100%;
}

.main-image-viewport img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-sale-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--sale-color);
    color: var(--text-light);
    font-size: 12px;
    padding: 6px 15px;
}

.product-info-column {
    display: flex;
    flex-direction: column;
}

.product-detail-cat {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.product-detail-title {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.product-detail-price-box {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-detail-price-box .current-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
}

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

.product-detail-description {
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    margin-bottom: 30px;
}

.product-detail-description h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.description-text {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

.product-specifications {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 35px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.spec-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-row:first-child {
    padding-top: 0;
}

.spec-row span:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

.spec-row i {
    margin-right: 5px;
    color: var(--accent-color);
}

.product-detail-actions-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.qty-control-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qty-control-wrapper label {
    font-size: 13px;
    font-weight: 600;
}

.qty-selector {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    width: 120px;
}

.qty-btn {
    width: 35px;
    height: 35px;
    background-color: var(--bg-light);
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: var(--transition-fast);
}

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

.qty-selector input {
    width: 50px;
    height: 35px;
    border: none;
    text-align: center;
    font-weight: 600;
    background: transparent;
}

.action-buttons-wrapper {
    display: flex;
    gap: 15px;
}

.action-buttons-wrapper button,
.action-buttons-wrapper a {
    flex: 1;
}

.whatsapp-inquiry-btn {
    border-color: #25D366;
    color: #25D366;
}

.whatsapp-inquiry-btn:hover {
    background-color: #25D366;
    color: #fff;
    border-color: #25D366;
}

/* Related Products */
.related-products-section {
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.related-product-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.card-image-box {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
}

.card-image-box img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.related-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--sale-color);
    color: var(--text-light);
}

.card-info-box {
    padding: 15px;
}

.card-info-box .card-title {
    font-size: 13px;
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 5px;
}

.card-info-box .card-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

/* ==========================================================================
   Shopping Cart Drawer
   ========================================================================== */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(2px);
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background-color: var(--bg-white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

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

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

.cart-drawer-header h3 {
    font-size: 16px;
    font-family: var(--font-body);
}

.cart-drawer-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cart-drawer-close:hover {
    color: var(--accent-color);
}

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

.cart-items-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-title {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.cart-qty-control {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.cart-qty-btn {
    width: 25px;
    height: 25px;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    font-size: 12px;
}

.cart-qty-val {
    width: 30px;
    height: 25px;
    border: none;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--sale-color);
    cursor: pointer;
    font-size: 12px;
}

.cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
}

.cart-empty-state i {
    font-size: 48px;
    color: var(--border-color);
    margin-bottom: 15px;
}

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

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cart-subtotal span:last-child {
    color: var(--accent-dark);
}

.checkout-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.checkout-btn:hover {
    background-color: var(--primary-light);
}

/* ==========================================================================
   Modals Structure (General Checkout / Quickview / Admin)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    position: relative;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--modal-shadow);
    transform: translateY(30px);
    transition: var(--transition-smooth);
    border: 1px solid rgba(214, 175, 55, 0.2);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition-fast);
    z-index: 50;
}

.modal-close:hover {
    color: var(--accent-color);
}

/* Form Styles inside Modals */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(214, 175, 55, 0.2);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.required {
    color: var(--sale-color);
}

/* Checkout Modal details */
.checkout-modal-container {
    max-width: 950px;
}

.checkout-modal-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding: 40px;
}

.checkout-form-column h3,
.checkout-summary-column h3 {
    margin-bottom: 25px;
    font-size: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    color: var(--primary-color);
}

.payment-method-info {
    background-color: var(--bg-light);
    border: 1px dashed var(--accent-color);
    border-radius: 4px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    font-size: 12px;
}

.payment-method-info i {
    font-size: 20px;
    color: var(--accent-color);
}

.checkout-summary-column {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.checkout-items-list {
    max-height: 240px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 5px;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.checkout-totals {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-bottom: 25px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.total-row.grand-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.total-row.grand-total span:last-child {
    color: var(--accent-dark);
}

.submit-order-btn {
    width: 100%;
    background-color: #25D366;
    border-color: #25D366;
    color: #fff;
    font-size: 14px;
}

.submit-order-btn:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: #fff;
}

.form-disclaimer {
    font-size: 10px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
}

/* Quickview Modal detail */
.quickview-container {
    max-width: 850px;
}

.quickview-body {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    padding: 40px;
}

.quickview-image-area {
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: #f9f9f9;
}

.quickview-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quickview-content-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qv-categories {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.qv-title {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.qv-price-area {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.qv-price-area .qv-sale-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.qv-price-area .qv-regular-price {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.qv-sale-badge {
    background-color: var(--sale-color);
    color: var(--text-light);
}

.qv-description {
    font-size: 13px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
}

.qv-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Admin modal detail */
.admin-modal-container {
    max-width: 700px;
    background-color: #fdfdfd;
}

.admin-modal-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 20px 40px;
    border-bottom: 1px solid var(--accent-color);
}

.admin-modal-body {
    padding: 30px 40px;
}

.flex-2 {
    flex: 2;
}

.flex-1 {
    flex: 1;
}

.align-checkbox {
    display: flex;
    align-items: flex-end;
    padding-bottom: 12px;
}

.checkbox-label-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    color: var(--primary-color);
}

.checkbox-label-container input {
    display: none;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    background-color: #fff;
    transition: var(--transition-fast);
}

.checkbox-label-container input:checked + .custom-checkbox {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-label-container input:checked + .custom-checkbox::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: var(--primary-dark);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.image-uploader-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.image-or {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.image-preview-container {
    margin-top: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #fff;
}

.image-preview-container img {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.remove-image-btn {
    background: none;
    border: none;
    color: var(--sale-color);
    cursor: pointer;
    font-size: 16px;
}

.admin-form-actions {
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    text-align: right;
}

/* ==========================================================================
   Floating WhatsApp Live Support Widget
   ========================================================================== */
.whatsapp-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-trigger-btn {
    background-color: #25D366;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
}

.whatsapp-trigger-btn i {
    font-size: 22px;
}

.whatsapp-trigger-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Pulse Animation overlay */
.pulse-notification {
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border: 2px solid #25D366;
    border-radius: 30px;
    opacity: 0;
    animation: widgetPulse 2s infinite;
    pointer-events: none;
}

/* Chat box modal overlay */
.whatsapp-chat-box {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 320px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    display: none;
    flex-direction: column;
    border: 1px solid var(--border-color);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.whatsapp-chat-box.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.chat-box-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.agent-avatar {
    position: relative;
    width: 45px;
    height: 45px;
}

.agent-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.online-dot {
    width: 10px;
    height: 10px;
    background-color: #25D366;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: absolute;
    bottom: 2px;
    right: 2px;
}

.agent-info h4 {
    font-size: 13px;
    font-family: var(--font-body);
}

.agent-info p {
    font-size: 10px;
    color: rgba(255,255,255,0.7);
}

.agent-info .badge {
    background-color: rgba(37, 211, 102, 0.2);
    color: #25D366;
    padding: 1px 4px;
    border-radius: 3px;
}

.chat-box-close {
    background: none;
    border: none;
    color: var(--text-light);
    margin-left: auto;
    cursor: pointer;
    font-size: 16px;
}

.chat-box-body {
    background-color: #efeae2; /* WhatsApp background chat color */
    padding: 15px;
    height: 180px;
    overflow-y: auto;
}

.chat-message {
    background: #fff;
    padding: 10px 12px;
    border-radius: 0 10px 10px 10px;
    max-width: 90%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
}

.msg-sender {
    font-size: 9px;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 3px;
}

.msg-text {
    font-size: 11px;
    color: #333;
    line-height: 1.4;
}

.msg-time {
    font-size: 8px;
    color: #999;
    text-align: right;
    display: block;
    margin-top: 3px;
}

.chat-box-footer {
    padding: 15px;
    background-color: var(--bg-white);
}

.whatsapp-chat-btn-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: #25D366;
    color: #fff;
    padding: 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.whatsapp-chat-btn-link:hover {
    background-color: #128C7E;
    color: #fff;
}

/* ==========================================================================
   About us / Brand Story Section Styling
   ========================================================================== */
.about-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 90px 0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius);
    z-index: 1;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.about-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 2;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.about-image:hover img {
    transform: translate(10px, 10px);
}

.about-image:hover::before {
    transform: translate(-10px, -10px);
}

.about-content {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-content .section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 12px;
    display: inline-block;
}

.about-content .section-title {
    font-size: 34px;
    margin-bottom: 25px;
    text-align: left;
    padding-bottom: 15px;
    position: relative;
}

.about-content .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

.about-content p {
    font-size: 15px;
    color: #4f5b59;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    width: 100%;
    flex-wrap: wrap;
}

.about-features .feature-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 12px 22px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.about-features .feature-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.about-features .feature-item i {
    font-size: 16px;
    color: var(--accent-color);
}

.about-features .feature-item span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
}

/* ==========================================================================
   Footer Section & Widget Columns Styling
   ========================================================================== */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    border-top: 1px solid rgba(214, 175, 55, 0.2);
    padding: 90px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.2fr;
    gap: 60px;
}

.footer-widget {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background-color: var(--accent-color);
}

.brand-widget .brand-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: var(--gold-glow);
}

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

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

.links-widget a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    display: inline-block;
    transition: var(--transition-fast);
}

.links-widget a:hover {
    color: var(--accent-color);
    transform: translateX(6px);
}

.contact-widget p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-widget p i {
    font-size: 16px;
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.contact-widget p a {
    transition: var(--transition-fast);
}

.contact-widget p a:hover {
    color: var(--accent-color);
}

.footer-bottom-bar {
    background-color: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
}

.bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.admin-login-link {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.admin-login-link:hover {
    color: var(--accent-color);
}

/* ==========================================================================
   Keyframes & Animations
   ========================================================================== */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes widgetPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

/* ==========================================================================
   Responsive / Screen Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 38px;
    }
    
    .product-detail-wrapper {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 10px 0;
    }
    
    .custom-logo {
        height: 45px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-container {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        border-bottom: 2px solid var(--accent-color);
        max-height: 0;
        overflow: hidden;
        transition: var(--transition-smooth);
        z-index: 99;
    }
    
    .menu-container.active {
        max-height: 300px;
    }
    
    .menu {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    .menu li {
        margin-bottom: 15px;
    }
    
    .menu a {
        display: block;
        padding: 5px 0;
    }
    
    .hero-section {
        height: 55vh;
    }
    
    .hero-title {
        font-size: 30px;
    }
    
    .hero-desc {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .deals-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .deals-image img {
        height: 250px;
    }
    
    .countdown-timer {
        justify-content: center;
    }
    
    .catalog-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .catalog-controls {
        flex-direction: column;
    }
    
    .checkout-modal-body {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .quickview-body {
        grid-template-columns: 1fr;
        padding: 25px;
    }
    
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .about-image img {
        height: 320px;
    }

    .about-content {
        align-items: center;
    }

    .about-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-features {
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }

    .contact-widget p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-drawer {
        max-width: 100%;
        right: -100%;
    }
    
    .site-title {
        font-size: 16px;
    }
    
    .trigger-text {
        display: none;
    }
    
    .whatsapp-trigger-btn {
        padding: 12px;
        border-radius: 50%;
    }
}

/* ==========================================================================
   Visual Customizer Editor Styles
   ========================================================================== */

/* Dash outlines for editable items when editor is active */
body.edit-mode-active [data-editable] {
    position: relative;
    transition: outline 0.2s ease, box-shadow 0.2s ease;
}

body.edit-mode-active [data-editable="text"]:hover,
body.edit-mode-active [data-editable="text"]:focus {
    outline: 2px dashed var(--accent-color) !important;
    outline-offset: 4px;
    cursor: text;
    background-color: rgba(214, 175, 55, 0.05);
}

body.edit-mode-active [data-editable="link"]:hover {
    outline: 2px dashed #3498db !important;
    outline-offset: 4px;
    cursor: pointer;
    background-color: rgba(52, 152, 219, 0.05);
}

body.edit-mode-active [data-editable="image"]:hover {
    outline: 2px dashed #e74c3c !important;
    outline-offset: 4px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.3);
}

/* Hover overlay label tags for image and link editables */
body.edit-mode-active [data-editable="image"]::after {
    content: '📷 Click to Change Image';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(231, 76, 60, 0.9);
    color: #fff;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 3px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
    font-family: var(--font-body);
}

body.edit-mode-active [data-editable="image"]:hover::after {
    opacity: 1;
}

body.edit-mode-active [data-editable="link"]::after {
    content: '🔗 Click to Edit Link';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(52, 152, 219, 0.9);
    color: #fff;
    padding: 3px 6px;
    font-size: 9px;
    font-weight: bold;
    border-radius: 3px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
    white-space: nowrap;
    font-family: var(--font-body);
}

body.edit-mode-active [data-editable="link"]:hover::after {
    opacity: 1;
}

/* Floating customizer control bar styling */
.customizer-control-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.95);
    border-top: 2px solid var(--accent-color);
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    padding: 15px 0;
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

body.edit-mode-active .customizer-control-bar.active {
    bottom: 0;
}

.customizer-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.customizer-status {
    color: var(--text-light);
    font-size: 13px;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 8px;
}

.customizer-status i {
    color: var(--accent-color);
    font-size: 16px;
}

.customizer-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.customizer-actions button {
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-fast);
}

/* Hide admin cards/actions by default. Show only in edit-mode-active */
.admin-card-actions {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 15;
    gap: 5px;
}

body.edit-mode-active .admin-card-actions {
    display: flex;
}

.admin-card-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: var(--transition-fast);
}

.admin-edit-btn {
    background-color: var(--accent-color);
    color: var(--primary-dark);
}

.admin-edit-btn:hover {
    background-color: #fff;
    transform: scale(1.1);
}

.admin-delete-btn {
    background-color: var(--sale-color);
    color: #fff;
}

.admin-delete-btn:hover {
    background-color: #ff3333;
    transform: scale(1.1);
}

/* Admin login specific updates */
.login-modal-container {
    background-color: #121212 !important;
    border: 2px solid var(--accent-color) !important;
    box-shadow: 0 10px 40px rgba(214, 175, 55, 0.15) !important;
}

.login-modal-container h3 {
    color: var(--text-light);
    font-family: var(--font-display);
    letter-spacing: 1px;
}

.login-modal-container label {
    color: var(--accent-color) !important;
}

/* Add custom border for customizer elements to indicate save/dirty status */
.customizer-dirty {
    outline: 2px dashed #e67e22 !important;
}

/* Header Admin Action Dropdown Styling */
.admin-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background-color: #121212;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.6);
    z-index: 10000;
    min-width: 170px;
    overflow: hidden;
}

.admin-dropdown-menu.active {
    display: block;
    animation: fadeUp 0.2s ease;
}

.hdr-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
    text-align: left;
    font-family: var(--font-body);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hdr-dropdown-item:last-child {
    border-bottom: none;
}

.hdr-dropdown-item:hover {
    background-color: var(--accent-color);
    color: var(--primary-dark) !important;
    text-decoration: none;
}

.hdr-dropdown-item i {
    font-size: 14px;
    width: 16px;
    text-align: center;
}
