/* --- 1. GLOBAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body { background-color: #ffffff; color: #333; }

/* --- 2. HEADER TOP --- */
.main-header {
    width: 100%;
    background-color: #ffffff;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo { font-size: 26px; font-weight: 800; color: #222; cursor: pointer; }
.logo a { text-decoration: none; color: inherit; }

.search-bar { display: flex; flex: 0 1 500px; margin: 0 20px; }
.search-bar input {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 25px 0 0 25px; 
    outline: none;
    font-size: 14px;
    background: #fcfcfc;
}
.search-bar button {
    padding: 0 25px;
    background: #222;
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}
.search-bar button:hover { background: #007bff; }

.user-menu { display: flex; gap: 20px; align-items: center; }
.user-menu a { text-decoration: none; color: #444; font-size: 14px; font-weight: 600; }
.user-menu a.cart { background: #f0f0f0; padding: 8px 15px; border-radius: 20px; }

/* --- 3. CASCADING NAVIGATION MENU (FULL EDGE-TO-EDGE) --- */
.nav-categories { 
    background-color: #990000; 
    border-top: 1px solid #7a0000; 
    border-bottom: 1px solid #7a0000; 
    width: 100%; 
}

.nav-categories ul { 
    list-style: none; 
    display: flex; 
    justify-content: center; 
    gap: 50px; 
    margin: 0 auto; 
    padding: 0; 
    max-width: 1400px; 
}

.nav-categories li { 
    position: relative; 
    padding: 16px 0; 
}

.nav-categories > ul > li > a { 
    color: #ffffff; 
    font-size: 15px; 
    font-weight: 700; 
    text-decoration: none;
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-categories > ul > li > a:hover { 
    color: #ffcccc; 
}

/* Dropdown Sub-menus positioning adjustments */
.nav-categories .dropdown-menu {
    position: absolute; 
    top: 100%; 
    left: 50%;
    transform: translateX(-50%); 
    background-color: #ffffff; 
    min-width: 260px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12); 
    border: 1px solid #eaeaea; 
    display: none !important; 
    flex-direction: column; 
    z-index: 1000; 
    padding: 10px 0; 
    margin: 0;
}
.nav-categories .dropdown:hover > .dropdown-menu { display: flex !important; }

.nav-categories .dropdown-menu li { padding: 0; width: 100%; display: block; }
.nav-categories .dropdown-menu li a {
    padding: 12px 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    color: #444; 
    font-size: 14px; 
    font-weight: 600; 
    text-transform: none; 
    transition: 0.2s; 
    text-decoration: none;
}
.nav-categories .dropdown-menu li a:hover { background-color: #f8faff; color: #990000; }

.nav-categories .submenu {
    position: absolute; top: -1px; left: 100%; background-color: #ffffff; min-width: 240px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); border: 1px solid #eaeaea; border-radius: 8px;
    display: none !important; 
    flex-direction: column; z-index: 1001; padding: 10px 0; margin: 0;
}
.nav-categories .dropdown-submenu:hover > .submenu { display: flex !important; }

/* --- 4. ANNOUNCEMENT BAR --- */
.announcement-bar { background-color: #000000; color: #ffffff; text-align: center; padding: 12px 20px; font-size: 14px; font-weight: 500; }

/* --- 5. HERO SLIDER SECTION (ORIGINAL RESTORED) --- */
.hero-section { 
    width: 100%; 
    max-width: 100%; 
    margin: 0 auto; 
    padding: 0; /* Keeps it naturally aligned within your main page constraints */
    overflow: hidden; 
    background: #ffffff;
}

.slider-container { 
    width: 100%; 
    position: relative; 
    overflow: hidden; 
    border-radius: 0; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.1); 
}

.slides-wrapper { 
    display: flex; 
    width: 400%; /* Matches your 4 slides loop structure perfectly */
    transition: transform 0.8s ease-in-out; 
}

.slide { 
    width: 25%; /* Keeps your 4 distinct horizontal slider tracks organized */
    flex-shrink: 0; 
}

.hero-banner { 
    width: 100%; 
    height: auto; 
    display: block; 
    object-fit: cover; 
}

.slider-dots { 
    position: absolute; 
    bottom: 20px; 
    width: 100%; 
    text-align: center; 
    z-index: 10;
}

.dot { 
    cursor: pointer; 
    height: 12px; 
    width: 12px; 
    margin: 0 6px; 
    background-color: rgba(255, 255, 255, 0.5); 
    border-radius: 50%; 
    display: inline-block; 
    transition: background-color 0.3s ease, transform 0.2s ease; 
}

.dot.active, .dot:hover { 
    background-color: #007bff; 
    transform: scale(1.2); 
}

/* --- 6. FEATURES SECTION --- */
.features-section { display: flex; justify-content: space-between; align-items: center; padding: 50px 5% 20px; max-width: 1400px; margin: 0 auto; }
.feature-box { display: flex; align-items: center; gap: 20px; }
.feature-box i { font-size: 55px; color: #222; }
.feature-box p { font-size: 18px; color: #444; }
.feature-box strong { color: #000; font-size: 20px; }

/* --- 7. SHOP BY CATEGORIES --- */
.shop-categories { text-align: center; padding: 40px 5% 80px; max-width: 1400px; margin: 0 auto; }
.shop-categories h2 { font-size: 32px; margin-bottom: 50px; font-weight: 800; text-transform: uppercase; }
.category-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.cat-item { display: flex; flex-direction: column; align-items: center; width: 180px; cursor: pointer; }
.cat-item .circle { 
    width: 160px; 
    height: 160px; 
    background-color: #e1e1e1; 
    border-radius: 50%; 
    margin-bottom: 20px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* CRITICAL: Keeps your new category images perfectly round! */
}
.cat-item:hover .circle { transform: translateY(-8px); box-shadow: 0 12px 20px rgba(153, 0, 0, 0.15); }
.cat-item p { font-size: 17px; font-weight: 700; line-height: 1.4; transition: color 0.3s ease; }
.cat-item:hover p { color: #990000; }

/* --- 8. TOP CHOICE --- */
.top-choice { display: flex; padding: 50px 5%; max-width: 1400px; margin: 0 auto; gap: 50px; align-items: center; }
.top-choice-header h2 { font-size: 36px; font-weight: 800; line-height: 1.1; }
.product-row { display: flex; gap: 20px; flex: 1; }
.product-card { flex: 1; display: flex; flex-direction: column; }
.product-card .square { 
    width: 100%; 
    aspect-ratio: 1 / 1; 
    background-color: #e1e1e1; 
    margin-bottom: 15px; 
    overflow: hidden; /* CRITICAL: Clips images cleanly into the card squares */
}
.product-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 5px; line-height: 1.2; }
.product-card p { font-size: 14px; color: #444; }

/* --- 9. SPLIT BANNER --- */
.split-banner { display: flex; max-width: 100%; height: 300px; margin-top: 50px; }
.banner-img { flex: 1; background-color: #e1e1e1; }
.banner-text { flex: 1; background-color: #2b2b2b; color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.banner-text h3 { font-size: 22px; font-weight: 600; line-height: 1.4; }

/* --- 10. DESIGN CTA --- */
.design-cta { text-align: center; padding: 80px 20px; background-color: #ffffff; }
.design-cta h3 { font-size: 20px; font-weight: 700; margin-bottom: 25px; line-height: 1.4; }
.btn-design { display: inline-block; padding: 12px 40px; background-color: #e1e1e1; color: #000; text-decoration: none; border-radius: 25px; font-weight: 700; font-size: 15px; transition: background-color 0.3s; }
.btn-design:hover { background-color: #d1d1d1; }

/* --- 11. BREADCRUMB NAVIGATION --- */
.breadcrumb { max-width: 1400px; margin: 20px auto; padding: 0 5%; font-size: 14px; color: #666; }
.breadcrumb a { color: #007bff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb strong { color: #333; }

/* --- 12. NEW PRODUCT DETAILS PAGE (CONFIGURATION COLUMN) --- */
.product-wrapper { display: flex; max-width: 1300px; margin: 0 auto 80px; padding: 20px 5%; gap: 40px; }
.product-gallery { flex: 1; min-width: 0; }
.main-image-box { position: relative; width: 100%; aspect-ratio: 1 / 1; background-color: #cceeff; margin-bottom: 15px; }
.arrow-left, .arrow-right { position: absolute; top: 50%; transform: translateY(-50%); background: white; width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.1); color: #00a8ff; }
.arrow-left { left: 15px; } .arrow-right { right: 15px; }
.thumbnail-row { display: flex; gap: 10px; }
.thumb-box { width: 80px; height: 60px; background-color: #cceeff; border: 1px solid #ddd; cursor: pointer; }
.thumb-box.active { border: 2px solid #00a8ff; }
.product-options { flex: 1; }
.product-title { font-size: 26px; font-weight: 500; margin-bottom: 20px; color: #333; }
.product-title span { color: #888; font-size: 18px; }
.options-header { background-color: #00a8ff; color: white; padding: 15px 25px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.share-btn { cursor: pointer; font-weight: bold; }
.options-form { border: 1px solid #eaeaea; border-top: none; padding: 30px; background: #fff; }
.form-row { display: flex; align-items: center; margin-bottom: 25px; }
.form-row > label { flex: 0 0 160px; font-weight: 600; font-size: 14px; color: #333; }
.form-row select { flex: 1; padding: 10px 15px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; outline: none; background: white; cursor: pointer; }
.image-selector-row { align-items: flex-start; }
.image-options { display: flex; gap: 15px; flex: 1; }
.img-option { display: flex; flex-direction: column; align-items: center; cursor: pointer; text-align: center; font-size: 12px; color: #555; width: 90px; }
.img-option input[type="radio"] { display: none; }
.img-box { width: 100%; height: 80px; border: 1px solid #ddd; margin-bottom: 8px; transition: 0.2s; }
.img-option input[type="radio"]:checked + .img-box { border: 2px solid #00a8ff; }
.price-footer { background-color: #f5f5f5; padding: 20px 30px; margin: 30px -30px -30px -30px; display: flex; justify-content: flex-end; align-items: center; gap: 20px; border-top: 1px solid #eaeaea; }
.price-text { text-align: right; }
.price-text h3 { font-size: 20px; font-weight: 700; color: #111; margin-bottom: 5px; }
.price-text p { font-size: 12px; color: #666; }
.btn-whatsapp { background-color: #25D366; color: white; border: none; width: 50px; height: 50px; border-radius: 50%; font-size: 26px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); transition: transform 0.2s; }
.btn-whatsapp:hover { transform: scale(1.05); }

/* --- 13. CATEGORY HERO BANNER (HUB PAGES) --- */
.category-hero { background-color: #111111; color: #ffffff; text-align: center; padding: 70px 20px; }
.category-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 10px; }
.category-hero p { font-size: 18px; color: #cccccc; }
.category-intro { max-width: 1400px; margin: 10px auto 40px; padding: 0 5%; font-size: 15px; color: #444; line-height: 1.7; }

/* --- 14. PRODUCT INFO TABS --- */
.product-tabs-section { max-width: 1300px; margin: 0 auto 80px; padding: 0 5%; }
.tabs-header { display: flex; border-bottom: 1px solid #ddd; margin-bottom: 30px; }
.tab-btn { background: none; border: none; padding: 15px 30px; font-size: 16px; font-weight: 600; color: #666; cursor: pointer; transition: color 0.3s; border-bottom: 3px solid transparent; }
.tab-btn:hover { color: #990000; }
.tab-btn.active { color: #990000; border-bottom: 3px solid #990000; }
.tab-content { color: #444; font-size: 14px; line-height: 1.8; }
.tab-content h3 { font-size: 18px; color: #222; margin-bottom: 15px; margin-top: 10px; }
.benefit-list { list-style: none; margin-bottom: 25px; }
.benefit-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.tab-content p { margin-bottom: 15px; }
.btn-download { display: inline-block; padding: 12px 24px; background: #f5f5f5; border: 1px solid #ddd; border-radius: 4px; margin-right: 10px; cursor: pointer; font-weight: 600; color: #333; transition: 0.3s; }
.btn-download:hover { background: #e1e1e1; border-color: #ccc; }

/* --- 15. MODERN PRODUCT GRID (PREMIUM MINIMALIST THEME) --- */
.modern-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 60px auto 100px;
    padding: 0 5%;
}
.modern-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.03);
}
.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(153, 0, 0, 0.08); 
}
.modern-img-wrapper { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.modern-img { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1); }
.modern-card:hover .modern-img { transform: scale(1.08); }
.modern-info { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.modern-info h3 { font-size: 22px; font-weight: 800; color: #111; margin-bottom: 12px; }
.modern-info .desc { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 30px; flex: 1; }
.modern-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f0f0f0; padding-top: 20px; }
.modern-footer .price { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
.modern-footer .price strong { font-size: 20px; color: #990000; font-weight: 800; display: block; margin-top: 2px; }
.modern-btn { color: #222; font-size: 14px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; transition: color 0.3s ease; }
.modern-btn i { color: #990000; font-size: 16px; transition: transform 0.3s ease; }
.modern-card:hover .modern-btn { color: #990000; }
.modern-card:hover .modern-btn i { transform: translateX(6px); }

/* --- 16. CATEGORY TREE LINKS INSIDE CARDS --- */
.category-tree { list-style: none; padding: 0; margin: 0 0 25px 0; }
.category-tree li { margin-bottom: 10px; border-bottom: 1px dashed #eaeaea; padding-bottom: 8px; }
.category-tree li:last-child { border-bottom: none; }
.category-tree a { text-decoration: none; color: #444; font-size: 15px; font-weight: 600; transition: color 0.3s ease, padding-left 0.3s ease; display: flex; align-items: center; }
.category-tree a i { color: #bbb; font-size: 12px; margin-right: 10px; transition: color 0.3s ease; }
.category-tree a:hover { color: #990000; padding-left: 6px; }
.category-tree a:hover i { color: #990000; }

/* --- 17. MODERN FROSTED GLASS LOGIN ARCHITECTURE --- */
.login-body { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; overflow-x: hidden; }
.login-bg-overlay-content { position: fixed; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 1; pointer-events: none; opacity: 0.85; background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modern-login-container { position: relative; z-index: 10; background: rgba(255, 255, 255, 0.95); width: 100%; max-width: 1050px; min-height: 650px; border-radius: 24px; overflow: hidden; display: flex; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.2); }
.login-graphic-panel { flex: 1; background: linear-gradient(135deg, #1e1e1e 0%, #111111 100%); position: relative; padding: 60px; display: flex; align-items: center; color: #ffffff; }
.login-graphic-panel::before { content: ''; position: absolute; top: -20%; right: -20%; width: 350px; height: 350px; background: radial-gradient(circle, rgba(153, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 70%); border-radius: 50%; }
.panel-content { position: relative; z-index: 2; }
.panel-logo-container { display: flex; align-items: center; gap: 15px; margin-bottom: 40px; }
.login-panel-logo { height: 45px; width: auto; object-fit: contain; }
.panel-logo-text { font-size: 26px; font-weight: 800; letter-spacing: 0.5px; color: #ffffff; }
.panel-logo-text span { color: #990000; }
.login-graphic-panel h2 { font-size: 34px; font-weight: 800; line-height: 1.3; margin-bottom: 20px; }
.login-graphic-panel p { color: #aaaaaa; font-size: 15px; line-height: 1.7; margin-bottom: 40px; }
.panel-features { display: flex; flex-direction: column; gap: 15px; }
.p-feature { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #dddddd; }
.p-feature i { color: #990000; }
.login-form-panel { flex: 1.1; display: flex; align-items: center; justify-content: center; padding: 60px; background: transparent; }
.form-box { width: 100%; max-width: 400px; }
.form-header { margin-bottom: 35px; }
.form-header h2 { font-size: 28px; font-weight: 800; color: #111111; margin-bottom: 8px; }
.form-header p { color: #777777; font-size: 14px; }
.input-group { margin-bottom: 22px; }
.input-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: #333333; text-transform: uppercase; letter-spacing: 0.5px; }
.input-wrapper { position: relative; display: flex; align-items: center; }
.input-wrapper i { position: absolute; left: 16px; color: #aaa; font-size: 16px; transition: color 0.3s; }
.input-wrapper input { width: 100%; padding: 14px 16px 14px 46px; border: 1.5px solid #eaeaea; border-radius: 12px; font-size: 15px; outline: none; background-color: #fafafa; transition: all 0.3s ease; }
.input-wrapper input:focus { border-color: #990000; background-color: #ffffff; box-shadow: 0 4px 12px rgba(153, 0, 0, 0.04); }
.input-wrapper input:focus + i { color: #990000; }
.form-options { display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin-bottom: 30px; }
.remember-me { display: flex; align-items: center; gap: 8px; cursor: pointer; color: #555; }
.remember-me input { accent-color: #990000; width: 16px; height: 16px; }
.forgot-link { color: #990000; text-decoration: none; font-weight: 600; }
.forgot-link:hover { text-decoration: underline; }
.btn-modern-login { width: 100%; padding: 15px; background-color: #111111; color: #ffffff; border: none; border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: background-color 0.3s, transform 0.2s; }
.btn-modern-login:hover { background-color: #990000; }
.btn-modern-login:active { transform: scale(0.98); }
.signup-redirect { text-align: center; margin-top: 25px; font-size: 14px; color: #666; }
.signup-redirect a { color: #990000; text-decoration: none; font-weight: 700; }
.signup-redirect a:hover { text-decoration: underline; }

/* --- 19. MODERN ACCESS PROFILE SETTINGS HUBS --- */
.clean-account-body {
    background-color: #f4f6f9 !important;
}

.settings-portal-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 5% 100px;
}

/* Header Banner Styling */
.settings-profile-hero {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.identity-flex-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-avatar-badge {
    width: 60px;
    height: 60px;
    background: #990000; /* Signature Deep Red Brand Tone */
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.identity-meta-text h1 {
    font-size: 24px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 4px;
}

.identity-meta-text p {
    font-size: 13px;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.membership-badge {
    background: rgba(153, 0, 0, 0.06);
    color: #990000;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.btn-portal-signout {
    text-decoration: none;
    color: #666666;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    background: #ffffff;
}

.btn-portal-signout:hover {
    background-color: #fff5f5;
    color: #b71c1c;
    border-color: #fbcfe8;
}

/* Workspace Grid Splitting */
.settings-layout-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 30px;
    align-items: flex-start;
}

.main-cards-column {
    display: flex;
    flex-direction: column;
}

.sidebar-cards-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Master Cards Formatting Blueprint */
.settings-card-panel {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.settings-card-panel.secondary-panel {
    padding: 30px;
}

.panel-card-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
}

.panel-card-header h2 {
    font-size: 18px;
    font-weight: 800;
    color: #111111;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-card-header h2 i {
    color: #990000;
}

.panel-card-header p {
    font-size: 13px;
    color: #777777;
    margin-top: 4px;
}

/* Form fields Layout blueprints */
.form-grid-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-input-block {
    display: flex;
    flex-direction: column;
}

.form-input-block label {
    font-size: 12px;
    font-weight: 700;
    color: #444444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.form-req-star {
    color: #ef4444;
    font-weight: bold;
}

.form-input-block input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #333333;
    outline: none;
    background-color: #f8fafc;
    transition: all 0.25s ease;
}

.form-input-block input:focus {
    border-color: #990000;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(153, 0, 0, 0.04);
}

.form-action-bar {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    text-align: right;
}

.btn-settings-save {
    background-color: #111111;
    color: #ffffff;
    border: none;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-settings-save:hover {
    background-color: #990000;
}

.btn-new-order {
    background-color: #111111;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s ease;
}

.btn-new-order:hover {
    background-color: #990000;
}

/* Modern Centered Viewer Empty State Card */
.portal-empty-card {
    padding: 40px 20px;
    text-align: center;
}

.empty-icon-box {
    width: 65px;
    height: 65px;
    background-color: rgba(153, 0, 0, 0.04);
    color: #990000;
    font-size: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.portal-empty-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 6px;
}

.portal-empty-card p {
    font-size: 13px;
    color: #666666;
    max-width: 450px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Address Elements layout blueprints */
.address-status-box {
    text-align: center;
    padding: 10px 0 5px;
}

.address-empty-state {
    color: #94a3b8;
    margin-bottom: 20px;
}

.address-empty-state i {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
}

.address-empty-state p {
    font-size: 13px;
    font-weight: 500;
}

.btn-address-action {
    width: 100%;
    background: none;
    border: 1.5px dashed #cbd5e1;
    padding: 12px;
    border-radius: 10px;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-address-action:hover {
    border-color: #990000;
    color: #990000;
    background-color: rgba(153, 0, 0, 0.01);
}

/* Structural adjustments across medium scaled laptop displays */
@media (max-width: 1050px) {
    .settings-layout-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .settings-profile-hero { flex-direction: column; text-align: center; gap: 20px; }
    .identity-flex-box { flex-direction: column; }
    .form-grid-inner { grid-template-columns: 1fr; }
}

/* --- 20. MOBILE RESPONSIVENESS ADJUSTMENTS --- */
@media (max-width: 950px) {
    .dashboard-wrapper { flex-direction: column; }
    .dashboard-sidebar { width: 100%; flex: none; }
    .product-wrapper { flex-direction: column; gap: 40px; }
    .form-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .form-row > label { flex: 0 0 auto; }
}
@media (max-width: 850px) {
    .login-graphic-panel { display: none; }
    .modern-login-container { max-width: 500px; min-height: auto; }
    .login-form-panel { padding: 40px; }
}

/* --- 21. CUSTOM HEADER PROFILE RENDERING --- */
.user-profile-link {
    text-decoration: none;
    color: #333333;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.user-profile-link i {
    font-size: 18px;
    color: #990000; /* Subtle deep red accent tint */
}

.user-profile-link:hover {
    color: #990000;
}

/* Sidebar Logout List Item Animation */
.menu-item.side-logout-btn:hover {
    background-color: rgba(153, 0, 0, 0.04) !important;
    color: #b71c1c !important;
}

/* --- 22. INTERACTIVE PORTAL FORM FIELD ALIGNMENT --- */
.portal-sidebar-card button.portal-link {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    outline: none;
}

.portal-tab-content {
    animation: fadeInTab 0.4s ease;
}

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

/* Reference Form Box Layout Architecture */
.reference-profile-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
}

.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 20px; /* 25px vertical row gap, 20px horizontal gap */
    margin-bottom: 30px;
}

.profile-field-group {
    display: flex;
    flex-direction: column;
}

.profile-field-group.full-width-field {
    grid-column: span 2; /* Spans across both layout column spaces */
}

.profile-field-group label {
    font-size: 13px;
    font-weight: 700;
    color: #444444;
    margin-bottom: 8px;
}

.required-star {
    color: #ff4d4d;
    font-weight: bold;
    margin-left: 2px;
}

.profile-field-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dcdde1;
    border-radius: 8px;
    font-size: 14px;
    color: #2f3640;
    outline: none;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.profile-field-group input:focus {
    border-color: #00a8ff; /* Clean operational blue focal glow */
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 168, 255, 0.05);
}

/* Radio Choice Matrix Component */
.invoice-preferences-block {
    border-top: 1px solid #f1f2f6;
    padding-top: 25px;
    margin-bottom: 35px;
}

.block-main-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 15px;
}

.radio-options-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.profile-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #4f5165;
}

.profile-radio-label input[type="radio"] {
    accent-color: #00a8ff; /* Centers blue highlight selection color */
    width: 18px;
    height: 18px;
}

/* Form Action Buttons Wrapper layout */
.profile-form-footer {
    display: flex;
    gap: 15px;
}

.btn-profile-submit {
    background-color: #00a8ff; /* Solid operational blue */
    color: #ffffff;
    border: none;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-profile-submit:hover {
    background-color: #008ecc;
}

.btn-profile-reset {
    background: none;
    border: none;
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 12px 20px;
}

.btn-profile-reset:hover {
    color: #333333;
    text-decoration: underline;
}

/* Structural stacking for phone displays */
@media(max-width: 700px) {
    .profile-form-grid { grid-template-columns: 1fr; }
    .profile-field-group.full-width-field { grid-column: span 1; }
    .radio-options-row { flex-direction: column; gap: 15px; }
}
/* ==========================================================================
   STYLING SCHEMA FOR LOCATION & CONTACT ROW GRID ELEMENTS
   ========================================================================== */
.location-contact-section {
    background-color: #ffffff;
    padding: 80px 5%;
    font-family: system-ui, -apple-system, sans-serif;
    border-top: 1px solid #f1f5f9;
}

.location-contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

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

.section-column-title {
    font-size: 32px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 35px;
    letter-spacing: -0.5px;
}

/* Location Card Container Frame */
.location-card {
    background: #f8fafc;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
    max-width: 440px;
}

.location-card-banner {
    background: #2e2e2e; /* Dark slate gray background matching your wireframe mockup tint block */
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-card-banner i {
    font-size: 54px;
    color: rgba(255, 255, 255, 0.3);
}

.location-card-body {
    padding: 30px;
    text-align: left;
}

.location-card-body h3 {
    font-size: 22px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 8px;
}

.location-pitch {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Button UI Rules */
.action-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.btn-location-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, filter 0.2s;
}

.btn-location-action:hover {
    transform: translateY(-1px);
    filter: brightness(0.95);
}

.btn-blue-dir {
    background-color: #3b82f6; /* Premium business blue primary */
    color: #ffffff;
}

.btn-green-wa {
    background-color: #25d366; /* WhatsApp active green brand accent */
    color: #ffffff;
}

/* Meta Data List Row */
.location-meta-list {
    list-style: none;
    padding: 0; margin: 0;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.location-meta-list li {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.location-meta-list li i {
    color: #64748b;
    margin-top: 2px;
}

/* Right Section Callouts Alignment Styles */
.contact-align-center {
    align-items: center;
    text-align: center;
}

.contact-callout-node {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.callout-icon-frame {
    font-size: 44px;
    color: #111111;
    margin-bottom: 15px;
}

.contact-callout-node h3 {
    font-size: 24px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 12px;
}

.phone-numbers-block p {
    font-size: 16px;
    color: #111111;
    font-weight: 700;
    margin-bottom: 6px;
}

.phone-numbers-block p span {
    color: #64748b;
    font-weight: 500;
    font-size: 14px;
}

.email-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.email-block a {
    font-size: 16px;
    color: #111111;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.email-block a:hover {
    color: #990000; /* Signature hover red */
    text-shadow: 0px 0px 1px rgba(0,0,0,0.1);
}

/* Responsive adjustments for midsize screens & mobile preview windows */
@media (max-width: 768px) {
    .location-contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .location-card {
        max-width: 100%;
    }
}

/* ==========================================================================
   UPDATED MOBILE SIDE-DRAWER NAVIGATION OVERLAYS (SITS ON TOP)
   ========================================================================== */
@media (max-width: 992px) {
    /* ... Keep your existing .header-top, .logo, and .user-menu-wrapper rules the same ... */

    /* RE-ENGINEERED: Now acts as a fixed side overlay panel */
    .nav-categories {
        display: block !important; /* Always active for transition animation handling */
        position: fixed !important;
        top: 0;
        right: -300px; /* Hidden completely off-screen to the right by default */
        width: 300px; /* Clean, standard smartphone drawer width profile */
        height: 100vh; /* Stretches the full height of the device screen view window */
        background: #990000;
        z-index: 9999 !important; /* Sits completely on top of all images and banners */
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.25);
        transition: right 0.3s ease-in-out; /* Smooth slide-in effect animation */
        overflow-y: auto; /* Allows independent scrolling inside the drawer menu list */
    }

    /* Triggered active class rule shifted via JavaScript toggle mechanics */
    .nav-categories.mobile-active {
        right: 0 !important; /* Slides out smoothly into immediate viewport focus */
    }

    .nav-categories ul {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 70px 0 20px 0 !important; /* Generates top space so links don't hide under header icons */
        margin: 0 !important;
    }

    .nav-categories ul li a {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 16px 8% !important;
        color: #ffffff !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
        font-size: 15px !important;
        text-decoration: none;
    }

    /* Nesting dropdown layouts inside the sidebar frame */
    .dropdown-menu, .submenu {
        position: static !important;
        display: none;
        width: 100% !important;
        background: rgba(0, 0, 0, 0.2) !important;
        box-shadow: none !important;
        padding: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .dropdown-menu li a { padding-left: 14% !important; font-size: 14px !important; }
    .submenu li a { padding-left: 20% !important; font-size: 13px !important; }
}

/* Center alignment utility rule for footer sections */
.footer-centered-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-centered-column .location-card {
    margin: 0 auto;
    text-align: left; /* Keeps the inner description texts clean and easy to read */
}

.waze-btn-big {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: #33ccff; /* Waze signature blue */
    color: #ffffff;
    padding: 18px 36px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(51, 204, 255, 0.4);
    transition: all 0.3s ease;
}

.waze-btn-big i {
    font-size: 28px; /* Makes the Waze icon bigger */
}

.waze-btn-big:hover {
    background-color: #24b3e0;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(51, 204, 255, 0.6);
}