@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;1,400&display=swap');

:root {
    --bg-dark: #0a0a0a;
    --bg-main: #121212;
    --bg-card: #1c1c1e;
    --bg-card-hover: #262629;
    --gold-primary: #d4af37;
    --gold-light: #f5e4a3;
    --gold-dark: #b8901c;
    --gold-gradient: linear-gradient(135deg, #b8901c 0%, #d4af37 50%, #f5e4a3 100%);
    --gold-glow: rgba(212, 175, 55, 0.3);
    --gold-glow-strong: rgba(212, 175, 55, 0.6);
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-muted: #6e6e73;
    --border-color: rgba(212, 175, 55, 0.2);
    --border-color-heavy: rgba(212, 175, 55, 0.4);
    --success: #30d158;
    --danger: #ff453a;
    --warning: #ff9f0a;
    --sidebar-width: 280px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

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

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

/* Shared Components & Styles */
.text-gold {
    color: var(--gold-primary);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.bg-gold {
    background: var(--gold-gradient);
    color: var(--bg-dark);
}

.gold-border {
    border: 1px solid var(--border-color);
}
.gold-border:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-glow);
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    font-weight: 600;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-shadow: 0 0 1px rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(184, 144, 28, 0.2);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--gold-glow-strong);
    filter: brightness(1.1);
}
.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.glassmorphism {
    background: rgba(28, 28, 30, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
}

/* Public Shop Pages Styling */

/* Header Area */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}
.header-top {
    background: #000;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1a1a1a;
}
.header-top-left span {
    margin-right: 20px;
}
.header-top-right a {
    margin-left: 15px;
}
.header-top-right a:hover {
    color: var(--gold-primary);
}

.main-header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(8px);
    padding: 15px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--border-color);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-img {
    height: 50px;
    width: auto;
}
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}
.logo-subtext {
    font-size: 10px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.search-bar-container {
    flex: 0 1 400px;
    position: relative;
}
.search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    outline: none;
}
.search-input:focus {
    border-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px var(--gold-glow);
}
.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-primary);
    cursor: pointer;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}
.icon-badge-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}
.icon-badge-btn:hover {
    color: var(--gold-primary);
}
.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--gold-gradient);
    color: #000;
    font-size: 10px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-btn {
    background: none;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 8px 16px;
    border-radius: 18px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.auth-btn:hover {
    background: var(--gold-gradient);
    color: #000;
}

.auth-logged-in {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
}
.auth-logged-in:hover {
    border-color: var(--gold-primary);
}
.auth-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    font-size: 12px;
}

/* Category Navigation Dropdown (Left side) */
.shop-sub-nav {
    background: #161618;
    border-bottom: 1px solid #282828;
    padding: 0 4%;
    display: flex;
    align-items: center;
    gap: 30px;
    height: 48px;
}
.category-dropdown {
    position: relative;
    height: 100%;
}
.category-trigger {
    background: var(--gold-gradient);
    color: #000;
    font-weight: 600;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.category-trigger:hover {
    filter: brightness(1.1);
}
.category-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: none;
    z-index: 99;
}
.category-menu.active {
    display: block;
}
.category-item {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}
.category-item:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold-primary);
    padding-left: 25px;
}
.category-item i {
    font-size: 12px;
}

.nav-links {
    display: flex;
    gap: 25px;
    height: 100%;
    align-items: center;
}
.nav-link-item {
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    color: var(--text-secondary);
    position: relative;
    padding: 5px 0;
}
.nav-link-item:hover, .nav-link-item.active {
    color: var(--gold-primary);
}
.nav-link-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition);
}
.nav-link-item:hover::after, .nav-link-item.active::after {
    width: 100%;
}

/* Sliding Hero Banner */
.hero-banner {
    position: relative;
    height: 520px;
    width: 100%;
    overflow: hidden;
    background: #000;
    border-bottom: 1px solid var(--border-color);
}
.slider-container {
    height: 100%;
    width: 100%;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}
.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    filter: brightness(0.7) contrast(1.1);
}
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.85) 100%);
}
.slide-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    max-width: 600px;
    z-index: 10;
}
.slide-tagline {
    color: var(--gold-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.slide-tagline::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--gold-primary);
}
.slide-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.slide-desc {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.8);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}
.slider-dot.active {
    background: var(--gold-primary);
    width: 30px;
    border-radius: 6px;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
    color: var(--gold-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    font-size: 18px;
    transition: var(--transition);
}
.slider-arrow:hover {
    background: var(--gold-primary);
    color: #000;
    box-shadow: 0 0 15px var(--gold-glow);
}
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* Home Categories showcase */
.section-container {
    padding: 60px 4%;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
}
.section-title {
    font-size: 28px;
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
}
.section-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Category Grid on Home */
.category-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.category-card {
    position: relative;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-color);
}
.category-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.category-card:hover .category-card-img {
    transform: scale(1.1);
}
.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
}
.category-card-title {
    font-size: 22px;
    margin-bottom: 5px;
}
.category-card-count {
    color: var(--gold-primary);
    font-size: 13px;
    font-weight: 500;
}

/* Products Cards Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}
.product-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px var(--gold-glow);
    border-color: var(--gold-primary);
}
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold-gradient);
    color: #000;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    z-index: 5;
}
.product-card-img-wrap {
    height: 220px;
    width: 100%;
    position: relative;
    background: #1a1a1a;
    overflow: hidden;
}
.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .product-card-img {
    transform: scale(1.05);
}
.product-card-gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: var(--transition);
}
.product-card:hover .product-card-gallery-dots {
    opacity: 1;
}
.gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
}
.gallery-dot.active {
    background: var(--gold-primary);
}

.product-card-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-card-cat {
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.product-card-title {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-desc {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    flex-grow: 1;
}
.product-card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.product-card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-primary);
}
.product-card-add {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--gold-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.product-card-add:hover {
    background: var(--gold-gradient);
    color: #000;
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-glow);
}

/* About Us & Reparing Section Details */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-img-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.collage-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.collage-img:nth-child(3) {
    grid-column: span 2;
    height: 250px;
}
.collage-img:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px var(--gold-glow);
}

.about-features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.feature-badge-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 10px;
}
.feature-badge-icon {
    font-size: 28px;
    color: var(--gold-primary);
    margin-bottom: 12px;
}
.feature-badge-title {
    font-size: 16px;
    margin-bottom: 5px;
}
.feature-badge-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Contact Details Page Map section */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-form-container {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    outline: none;
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-glow);
}
.contact-info-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.info-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}
.info-icon {
    background: rgba(212,175,55,0.1);
    color: var(--gold-primary);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid var(--border-color);
}
.info-title {
    font-size: 18px;
    margin-bottom: 5px;
}
.info-desc {
    color: var(--text-secondary);
    font-size: 14px;
}
.map-iframe-container {
    width: 100%;
    height: 380px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    margin-top: 30px;
}

/* Sliding Cart and Checkout Drawers */
.drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100%;
    background: var(--bg-card);
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.8);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-color);
}
.drawer.open {
    right: 0;
}
.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999;
    display: none;
}
.drawer-backdrop.open {
    display: block;
}
.drawer-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.drawer-close {
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}
.drawer-close:hover {
    color: var(--gold-primary);
}
.drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 25px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding-bottom: 15px;
}
.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    background: #1a1a1a;
}
.cart-item-info {
    flex-grow: 1;
}
.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}
.cart-item-price {
    color: var(--gold-primary);
    font-size: 14px;
    font-weight: 700;
}
.cart-item-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}
.qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
}
.qty-btn {
    background: none;
    border: none;
    color: #fff;
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.qty-btn:hover {
    color: var(--gold-primary);
}
.qty-val {
    padding: 0 10px;
    font-size: 13px;
}
.cart-item-remove {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 13px;
}

.drawer-footer {
    padding: 25px;
    border-top: 1px solid var(--border-color);
    background: #151517;
}
.subtotal-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}
.subtotal-price {
    color: var(--gold-primary);
}

/* Modals (Google Login Overlay etc.) */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 20px var(--gold-glow);
}
.modal.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    display: none;
}
.modal-backdrop.open {
    display: block;
}
.modal-body {
    padding: 40px 30px;
    text-align: center;
}
.google-auth-logo {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
}
.google-btn {
    width: 100%;
    background: #fff;
    color: #3c4043;
    border: 1px solid #dadce0;
    padding: 12px;
    border-radius: 24px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    transition: var(--transition);
}
.google-btn:hover {
    background: #f8f9fa;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 0 5px rgba(0,0,0,0.05);
}

/* Footer Section */
footer {
    background: #000;
    border-top: 2px solid var(--border-color);
    padding: 60px 4% 30px;
    font-size: 14px;
    color: var(--text-secondary);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}
.footer-logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #fff;
}
.footer-desc {
    line-height: 1.6;
    margin-bottom: 20px;
}
.social-links {
    display: flex;
    gap: 15px;
}
.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    transition: var(--transition);
}
.social-icon:hover {
    background: var(--gold-gradient);
    color: #000;
    box-shadow: 0 0 10px var(--gold-glow);
}
.footer-column h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 25px;
    position: relative;
}
.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-primary);
}
.footer-column-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-column-links a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}
.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

/* Client Tab View control */
.tab-view {
    display: none;
}
.tab-view.active {
    display: block;
}

/* Hide mobile bottom navigation bar on desktop by default */
.mobile-bottom-nav {
    display: none;
}

/* Product Details Modal Grid */
.product-details-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
@media (max-width: 768px) {
    /* Hide top bar on mobile */
    .header-top {
        display: none !important;
    }
    
    /* ============================================
       MOBILE APP-LIKE HEADER REDESIGN
       ============================================ */

    /* Completely override main-header for mobile */
    .main-header {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 14px !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
    }

    /* Logo stays compact and left-aligned */
    .logo-container {
        justify-content: flex-start !important;
        flex-shrink: 0 !important;
        gap: 8px !important;
    }

    .logo-img {
        height: 36px !important;
        width: auto !important;
        display: block !important;
    }

    .logo-text {
        font-size: 18px !important;
    }

    .logo-subtext {
        display: none !important;
    }

    /* Hide the search bar by default on mobile - shown via toggle */
    .search-bar-container {
        display: none !important;
    }

    /* Mobile search bar expanded state */
    .search-bar-container.mobile-search-open {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 99999 !important;
        background: #09090b !important;
        padding: 12px 14px !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.8) !important;
        box-sizing: border-box !important;
    }

    .search-bar-container.mobile-search-open .search-input {
        flex: 1 !important;
    }

    /* Nav controls row - icons on the right */
    .nav-controls {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
    }

    /* Show search icon on mobile */
    .mobile-search-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: none;
        background: rgba(255,255,255,0.06);
        color: var(--text-secondary);
        border-radius: 50%;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.2s;
    }

    .mobile-search-toggle:hover {
        background: rgba(212,175,55,0.15);
        color: var(--gold-primary);
    }

    /* Auth button compact */
    .auth-btn {
        font-size: 12px !important;
        padding: 6px 10px !important;
    }

    /* Icon badge buttons compact */
    .icon-badge-btn {
        font-size: 18px !important;
        padding: 4px !important;
    }

    /* Hide desktop sub navigation */
    .shop-sub-nav {
        display: none !important;
    }
    
    /* Layout paddings for mobile */
    .section-container {
        padding: 30px 15px !important;
    }
    
    /* 2-Columns grid for products on mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .product-card {
        padding: 10px !important;
    }
    
    .product-card-img-wrap {
        height: 120px !important;
    }
    
    .product-card-title {
        font-size: 13px !important;
        height: auto !important;
        margin: 5px 0 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .product-card-desc {
        display: none !important; /* Hide description on mobile to keep clean product card grid */
    }
    
    .product-card-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-top: 8px;
    }
    
    .product-card-price {
        font-size: 13px !important;
    }
    
    .product-card-add {
        width: 100% !important;
        justify-content: center;
        padding: 6px !important;
    }
    
    /* Hero slider */
    .hero-banner {
        height: 250px !important;
    }
    
    .slide-content {
        padding: 20px !important;
    }
    
    .slide-title {
        font-size: 18px !important;
        margin: 5px 0 !important;
    }
    
    .slide-tagline {
        font-size: 9px !important;
    }
    
    .slide-desc {
        font-size: 11px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 10px !important;
    }
    
    /* Home Highlight features */
    .about-features {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    /* Category showcase */
    .category-showcase-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .category-card {
        height: 130px !important;
    }
    
    /* About Us page responsiveness */
    .about-split {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .about-img-collage {
        grid-template-columns: repeat(3, 1fr) !important;
        height: 120px !important;
    }
    
    .collage-img {
        height: 100% !important;
    }
    
    /* Contact page responsiveness */
    .contact-split {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .map-iframe-container {
        height: 220px !important;
    }
    
    /* Shop sidebar page splits */
    #shop-view > .section-container > div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Footer responsiveness */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
        text-align: center;
    }
    
    .footer-logo > div {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-column h4::after {
        left: 50% !important;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    /* Drawers full screen on mobile */
    .drawer {
        width: 100% !important;
        right: -100% !important;
    }
    .drawer.open {
        right: 0 !important;
    }
    
    /* Product Details modal responsive */
    .product-details-modal-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    #detail-modal-main-img {
        height: 200px !important;
    }
    
    /* Mobile Bottom Tab Bar display */
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 60px !important;
        background: #09090b !important;
        border-top: 1px solid var(--border-color) !important;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.6) !important;
        z-index: 9999 !important;
        justify-content: space-around !important;
        align-items: center !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .mobile-nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--text-secondary) !important;
        font-size: 11px !important;
        cursor: pointer !important;
        transition: var(--transition) !important;
        gap: 4px !important;
        flex: 1 !important;
        height: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .mobile-nav-item i {
        font-size: 18px !important;
        display: block !important;
    }

    .mobile-nav-item:hover, .mobile-nav-item.active {
        color: var(--gold-primary) !important;
        text-shadow: 0 0 5px var(--gold-glow) !important;
    }
    
    /* Layout paddings for mobile */
    .section-container {
        padding: 30px 15px !important;
    }

    /* ============================================
       PREMIUM APP BOTTOM NAVIGATION BAR
       ============================================ */
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 65px !important;
        background: rgba(9, 9, 11, 0.97) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-top: 1px solid rgba(212,175,55,0.18) !important;
        box-shadow: 0 -8px 30px rgba(0,0,0,0.7) !important;
        z-index: 9999 !important;
        justify-content: space-around !important;
        align-items: center !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .mobile-nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        color: rgba(255,255,255,0.35) !important;
        font-size: 10px !important;
        font-weight: 500 !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        gap: 4px !important;
        flex: 1 !important;
        height: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
        position: relative !important;
        padding-top: 4px !important;
        letter-spacing: 0.3px !important;
    }

    /* Gold top indicator line for active tab */
    .mobile-nav-item.active::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 28px !important;
        height: 2.5px !important;
        background: var(--gold-primary) !important;
        border-radius: 0 0 3px 3px !important;
        box-shadow: 0 0 8px var(--gold-glow) !important;
    }

    .mobile-nav-item i {
        font-size: 20px !important;
        display: block !important;
        transition: transform 0.2s ease !important;
    }

    .mobile-nav-item.active {
        color: var(--gold-primary) !important;
    }

    .mobile-nav-item.active i {
        transform: scale(1.15) !important;
        filter: drop-shadow(0 0 6px var(--gold-glow)) !important;
    }

    .mobile-nav-item:active i {
        transform: scale(0.9) !important;
    }

    /* Make body padding bottom so navigation doesn't overlap contents */
    body {
        padding-bottom: 65px !important;
    }

    
    /* Category menu as bottom sheet modal drawer on mobile */
    .category-menu {
        position: fixed !important;
        bottom: -100% !important;
        left: 0 !important;
        width: 100% !important;
        max-height: 60vh !important;
        background: #0d0d0f !important;
        border-top: 2px solid var(--gold-primary) !important;
        border-radius: 20px 20px 0 0 !important;
        z-index: 10000 !important;
        transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        padding: 20px !important;
        box-shadow: 0 -10px 30px rgba(0,0,0,0.8) !important;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        overflow-y: auto;
    }
    
    .category-menu.active {
        bottom: 60px !important;
        pointer-events: auto !important;
        opacity: 1 !important;
    }
}
.details-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}
.details-thumb:hover, .details-thumb.active {
    border-color: var(--gold-primary);
    transform: scale(1.05);
}

/* ==========================================================================
   Admin Dashboard & POS Styles (admin.html)
   ========================================================================== */
.admin-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.admin-sidebar {
    width: var(--sidebar-width);
    background: #0d0d0f;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}
.admin-sidebar-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}
.admin-sidebar-menu {
    list-style: none;
    padding: 20px 10px;
    flex-grow: 1;
    overflow-y: auto;
}
.admin-menu-item {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}
.admin-menu-item:hover {
    background: rgba(255,255,255,0.02);
    color: #fff;
}
.admin-menu-item.active {
    background: rgba(212,175,55,0.1);
    color: var(--gold-primary);
    border: 1px solid rgba(212,175,55,0.2);
}
.admin-menu-item i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.admin-content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--bg-dark);
}
.admin-topbar {
    height: 70px;
    background: #111113;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    flex-shrink: 0;
}
.admin-view-title {
    font-size: 20px;
    font-weight: 600;
}
.admin-topbar-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}
.branch-selector-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    padding: 6px 15px;
    border-radius: 20px;
}
.branch-select {
    background: none;
    border: none;
    color: var(--gold-primary);
    font-weight: 600;
    outline: none;
    cursor: pointer;
}
.branch-select option {
    background: var(--bg-card);
    color: #fff;
}

.admin-main-view {
    flex-grow: 1;
    padding: 30px;
    overflow-y: auto;
}

.admin-panel-section {
    display: none;
}
.admin-panel-section.active {
    display: block;
}

/* Dashboard Summary Cards */
.summary-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.summary-card:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-glow);
}
.summary-card-val {
    font-size: 26px;
    font-weight: 700;
    margin-top: 5px;
}
.summary-card-label {
    font-size: 13px;
    color: var(--text-secondary);
}
.summary-card-icon {
    font-size: 32px;
    color: var(--gold-primary);
    background: rgba(212,175,55,0.08);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

/* POS Screen Styles */
.pos-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    height: calc(100vh - 160px);
}
.pos-billing-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.pos-camera-view-container {
    height: 160px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #000;
    margin-bottom: 20px;
}
.pos-webcam-feed {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pos-camera-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--gold-primary);
    animation: scanner-pulse 2s infinite ease-in-out;
    pointer-events: none;
}
.pos-camera-scanner-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--gold-primary);
    box-shadow: 0 0 8px var(--gold-primary);
    top: 0;
    animation: scanner-sweep 2s infinite linear;
}
@keyframes scanner-sweep {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}
@keyframes scanner-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.pos-search-wrapper {
    position: relative;
    margin-bottom: 20px;
}
.pos-cart-items-table-wrapper {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 20px;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.admin-table th {
    padding: 12px 15px;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
}
.admin-table td {
    padding: 14px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    vertical-align: middle;
}
.admin-table tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

.pos-summary-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pos-field-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}
.pos-field-label {
    color: var(--text-secondary);
}
.pos-field-val {
    font-weight: bold;
}
.pos-field-val.grand-total {
    font-size: 24px;
    color: var(--gold-primary);
}

/* Dashboard Charts / Customer Summaries */
.charts-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
.chart-container-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 16px;
    height: 380px;
    position: relative;
}
.chart-title-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Custom Chart Draw logic (uses simple CSS flexbars) */
.custom-bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 240px;
    padding: 10px 20px;
    border-bottom: 1px solid var(--border-color);
}
.chart-bar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45px;
}
.chart-bar {
    width: 100%;
    background: var(--gold-gradient);
    border-radius: 4px 4px 0 0;
    transition: height 1s ease-out;
    box-shadow: 0 0 10px var(--gold-glow);
    position: relative;
}
.chart-bar:hover {
    filter: brightness(1.2);
}
.chart-bar-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: var(--gold-primary);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    border: 1px solid var(--gold-primary);
    opacity: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.chart-bar:hover .chart-bar-tooltip {
    opacity: 1;
}
.chart-bar-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60px;
    text-align: center;
}

/* QR Code & Barcode Studio Sizing (1.5" x 1.5") */
.barcode-studio-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 35px;
}
.barcode-preview-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.barcode-print-size-box {
    width: 1.5in;
    height: 1.5in;
    background: #fff;
    color: #000;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 2px solid #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin: 25px 0;
}
.barcode-print-title {
    font-size: 8px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.barcode-print-qr {
    width: 60px;
    height: 60px;
}
.barcode-print-price {
    font-size: 10px;
    font-weight: 800;
}
.barcode-print-code {
    font-size: 7px;
    color: #555;
}

/* ==========================================================================
   Print Formats (@media print)
   ========================================================================== */
@media print {
    /* Hide everything on the page by default */
    body * {
        visibility: hidden;
        background: transparent !important;
        box-shadow: none !important;
    }
    
    html, body {
        background: #fff !important;
        color: #000 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100%;
        height: 100%;
    }

    /* Print Invoice Target container */
    #invoice-print-container, #invoice-print-container * {
        visibility: visible;
    }
    #invoice-print-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100% !important;
        height: 100% !important;
        background: #fff !important;
        color: #000 !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* Print Barcode Sheet Target container */
    #barcode-print-container, #barcode-print-container * {
        visibility: visible;
    }
    #barcode-print-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100% !important;
        height: auto !important;
        background: #fff !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    #barcode-print-container.barcode-print-a4-sheet {
        display: grid !important;
    }

    /* Set print page size to A5 portrait and occupy full sheet */
    @page {
        size: A5 portrait;
        margin: 4mm 6mm;
    }
}

/* Styling the printable Invoice Container for Screen & Print alignment */
.invoice-print-box {
    width: 100%;
    max-width: 100%;
    background: #fff;
    color: #000;
    padding: 15px;
    font-family: Arial, sans-serif;
    border-radius: 0px;
    border: none;
    box-shadow: none;
    margin: 0 auto;
    font-size: 10.5px;
    display: flex;
    flex-direction: column;
    min-height: 182mm;
    box-sizing: border-box;
}
.invoice-print-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
    margin-bottom: 8px;
}
.invoice-print-logo-details {
    display: flex;
    align-items: center;
    gap: 12px;
}
.invoice-print-logo-img {
    height: 46px;
    width: auto;
}
.invoice-print-store-name {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    color: #000;
}
.invoice-print-store-tag {
    font-size: 9.5px;
    color: #0066cc;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.invoice-print-header-details {
    text-align: right;
    font-size: 9.5px;
    color: #000;
    font-weight: bold;
    line-height: 1.4;
}

.invoice-print-title-banner {
    text-align: center;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 6px;
    margin: 8px 0;
    padding: 6px 0;
    border-bottom: 2px solid #000;
    border-top: none;
    color: #e5a900;
    text-transform: uppercase;
}

.invoice-print-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 12px;
}
.invoice-print-info-column h3 {
    border-bottom: 2px solid #0066cc;
    padding-bottom: 4px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #000;
    text-transform: none;
    font-weight: bold;
}
.invoice-print-info-row {
    font-size: 11px;
    margin-bottom: 4px;
    display: flex;
    align-items: flex-start;
}
.invoice-print-info-label {
    width: 110px;
    font-weight: bold;
    color: #333;
    display: inline-block;
    flex-shrink: 0;
}
.invoice-print-info-val {
    flex-grow: 1;
    color: #000;
    padding-left: 5px;
    font-weight: 500;
}

/* Beautiful Border-free professional table */
.invoice-print-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    border: none;
    table-layout: fixed;
}
.invoice-print-table th {
    background: #000 !important;
    color: #ffd700 !important;
    font-weight: bold;
    text-transform: uppercase;
    padding: 6px 8px;
    font-size: 10.5px;
    border: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}
.invoice-print-table td {
    padding: 4px 8px;
    border-bottom: 1px solid #eee;
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: 10.5px;
    overflow: hidden;
}
.invoice-print-item-name {
    display: block;
    font-weight: bold;
    font-size: 10.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    color: #000;
}
.invoice-print-item-warranty {
    display: block;
    font-size: 8.5px;
    color: #555;
    margin-top: 1px;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
.invoice-print-total-tr td {
    border-top: 2px solid #000 !important;
    border-bottom: 2px solid #000 !important;
    font-weight: bold;
    font-size: 10.5px;
    background: #fff !important;
    color: #000 !important;
    padding: 8px 8px !important;
}

.invoice-print-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
}
.invoice-print-footer-left {
    font-size: 9.5px;
    line-height: 1.4;
}
.invoice-print-bank-box {
    border: 1.5px dashed #666;
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
    background: #fff !important;
}
.invoice-print-bank-title {
    font-weight: bold;
    margin-bottom: 6px;
    text-transform: uppercase;
    font-size: 11px;
}

.invoice-print-totals-box {
    display: flex;
    flex-direction: column;
}
.invoice-print-total-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 11px;
    font-weight: bold;
    color: #333;
}
.invoice-print-total-row.grand-total {
    background: #f2b705 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    color: #000 !important;
    font-weight: 900;
    font-size: 15px;
    padding: 8px 12px;
    margin: 8px 0 0 0;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
}

/* Layout for repeating labels grid on A4 prints */
.barcode-print-a4-sheet {
    display: grid;
    grid-template-columns: repeat(5, 1.5in);
    gap: 0.12in;
    padding: 0.4in;
    justify-content: center;
    background: #fff;
}
.barcode-print-a4-cell {
    width: 1.5in;
    height: 1.8in;
    background: #fff;
    color: #000;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Utility layout screens */
.badge-status {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}
.badge-status.success {
    background: rgba(48,209,88,0.15);
    color: var(--success);
}
.badge-status.danger {
    background: rgba(255,69,58,0.15);
    color: var(--danger);
}
.badge-status.warning {
    background: rgba(255,159,10,0.15);
    color: var(--warning);
}

/* Force HTML5 QR Code video feed to fill the scanner preview container */
#qr-reader {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}
#qr-reader video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* ==========================================================================
   Admin Mobile Responsive & Premium UI Enhancements
   ========================================================================== */

/* Mobile Sidebar Backdrop */
.admin-sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.admin-sidebar-backdrop.open {
    display: block;
    opacity: 1;
}

@media (max-width: 992px) {
    /* Overall Layout */
    .admin-layout {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    /* Fixed Premium Sliding Sidebar */
    .admin-sidebar {
        position: fixed;
        top: 0;
        left: -280px; /* Hide off-screen */
        width: 280px;
        height: 100vh;
        z-index: 10000;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.7);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background: #0d0d0f;
    }
    .admin-sidebar.open {
        left: 0; /* Slide in! */
    }

    /* Topbar Adjustment */
    .admin-topbar {
        position: sticky;
        top: 0;
        z-index: 999;
        height: 65px;
        padding: 0 15px;
        background: #111113;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }
    
    /* Show Hamburger Menu Toggle */
    #admin-menu-toggle {
        display: flex !important;
    }

    /* Content Wrapper */
    .admin-content-wrapper {
        width: 100%;
        height: auto;
        overflow: visible;
    }

    /* Main view spacing */
    .admin-main-view {
        padding: 15px;
        height: auto;
        overflow-y: visible;
    }

    /* Automatically stack all side-by-side grids */
    .admin-panel-section > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* POS Layout specific grid stacking */
    .pos-layout {
        grid-template-columns: 1fr !important;
        height: auto !important;
        gap: 20px !important;
    }
    
    /* Make tables horizontally scrollable on mobile to prevent squishing layout */
    .admin-main-view table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        white-space: nowrap;
    }

    /* Hide text labels on mobile to make header clean and compact */
    .hide-mobile {
        display: none !important;
    }

    /* Premium responsive adjustments for topbar controls */
    .admin-topbar-controls {
        gap: 8px;
    }
    .branch-selector-wrap {
        padding: 5px 8px;
        gap: 5px;
    }
    
    /* Dashboard context banner wrap */
    .admin-main-view > div > div[style*="display:flex"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        padding: 15px !important;
    }
}
