/* =============================================
   RIG & DIG INDUSTRIAL SOLUTIONS — E-Commerce Style
   Dark Charcoal | Crimson Red | Silver Metallic
   ============================================= */

:root {
    --red: #9B1C1C;
    --red-dark: #7A1515;
    --red-bright: #C0392B;
    --red-glow: rgba(155,28,28,0.3);
    --silver: #B0B8C4;
    --silver-light: #D4DCE8;
    --silver-bright: #E8EDF5;
    --charcoal: #141414;
    --charcoal-2: #1C1C1C;
    --charcoal-3: #222222;
    --charcoal-4: #2A2A2A;
    --charcoal-5: #333333;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    --text-light: #CCCCCC;
    --text-muted: #777777;
    --border: #2E2E2E;
    --border-light: #3A3A3A;
    --green: #2ECC71;
    /* ─ Backward-compat aliases for older inline styles ─ */
    --red-primary: #9B1C1C;
    --red-light: #C0392B;
    --charcoal-card: #222222;
    --charcoal-light: #2A2A2A;
    --border-dark: #2E2E2E;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
    --shadow: 0 4px 20px rgba(0,0,0,0.5);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);
    --radius-sm: 3px;
    --radius: 6px;
    --radius-lg: 10px;
    --radius-xl: 16px;
    --transition: all 0.25s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--charcoal); color: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ━━━━━━━━━━━ TYPOGRAPHY ━━━━━━━━━━━ */
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }

.section-title { text-align: center; margin-bottom: 56px; }
.section-title .eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(155,28,28,0.15); border: 1px solid rgba(155,28,28,0.4); color: var(--red-bright); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; padding: 5px 14px; border-radius: 20px; margin-bottom: 14px; }
.section-title h2 { color: var(--white); margin-bottom: 12px; }
.section-title h2 em { color: var(--red-bright); font-style: normal; }
.section-title p { color: var(--silver); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ━━━━━━━━━━━ BUTTONS ━━━━━━━━━━━ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.8px; border: 2px solid transparent; transition: var(--transition); white-space: nowrap; }
.btn i { font-size: 0.9em; }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(155,28,28,0.45); }
.btn-outline { background: transparent; color: var(--silver-light); border-color: var(--silver); }
.btn-outline:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: #fff; }
.btn-silver { background: var(--silver-bright); color: var(--charcoal); border-color: var(--silver-bright); }
.btn-silver:hover { background: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.06); color: var(--silver-light); border-color: var(--border-light); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 0.78rem; }
.btn-xs { padding: 5px 11px; font-size: 0.72rem; border-radius: var(--radius-sm); }
.btn-quote { background: var(--red); color: #fff; border-radius: var(--radius); padding: 12px 22px; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; display: inline-flex; align-items: center; gap: 7px; transition: var(--transition); }
.btn-quote:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px var(--red-glow); }

/* ━━━━━━━━━━━ TOP BAR ━━━━━━━━━━━ */
.top-bar { background: #0D0D0D; border-bottom: 1px solid var(--border); padding: 7px 0; font-size: 0.8rem; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.top-contact, .top-right { display: flex; align-items: center; gap: 20px; }
.top-contact a { color: var(--silver); display: flex; align-items: center; gap: 6px; }
.top-contact a:hover { color: var(--red-bright); }
.top-right span { color: var(--silver); display: flex; align-items: center; gap: 6px; font-size: 0.78rem; }
.supplier-badge { color: var(--green) !important; font-weight: 600; }

/* ━━━━━━━━━━━ HEADER / NAV ━━━━━━━━━━━ */
.main-header { background: var(--charcoal-2); border-bottom: 3px solid var(--red); position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 30px rgba(0,0,0,0.7); }
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 20px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 58px; width: auto; object-fit: contain; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: var(--transition); border-radius: 2px; }
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { color: var(--silver-light); font-weight: 500; padding: 9px 14px; border-radius: var(--radius-sm); display: flex; align-items: center; gap: 5px; font-size: 0.9rem; letter-spacing: 0.2px; }
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: #fff; background: rgba(255,255,255,0.06); }
.nav-menu > li > a.active { color: var(--red-bright); }
.nav-menu > li > a i.fa-chevron-down { font-size: 0.65rem; transition: var(--transition); }
.has-dropdown:hover > a i.fa-chevron-down { transform: rotate(180deg); }

/* Mega Dropdown */
.mega-dropdown { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); background: var(--charcoal-3); border: 1px solid var(--border-light); border-top: 3px solid var(--red); border-radius: var(--radius-lg); width: 700px; padding: 24px; opacity: 0; visibility: hidden; transition: var(--transition); box-shadow: var(--shadow-lg); }
.has-dropdown:hover .mega-dropdown { opacity: 1; visibility: visible; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mega-col h5 { color: var(--red-bright); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.mega-col a { display: flex; align-items: center; gap: 8px; padding: 7px 10px; color: var(--silver); font-size: 0.87rem; border-radius: var(--radius-sm); margin-bottom: 2px; }
.mega-col a i { color: var(--red); width: 16px; font-size: 0.85rem; }
.mega-col a:hover { background: rgba(155,28,28,0.12); color: #fff; }

/* Simple dropdown */
.dropdown { position: absolute; top: calc(100% + 10px); left: 0; background: var(--charcoal-3); border: 1px solid var(--border-light); border-top: 3px solid var(--red); border-radius: var(--radius); min-width: 220px; padding: 8px 0; opacity: 0; visibility: hidden; transition: var(--transition); box-shadow: var(--shadow); z-index: 10; }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; }
.dropdown li a { display: flex; align-items: center; gap: 9px; padding: 9px 18px; color: var(--silver); font-size: 0.88rem; }
.dropdown li a i { color: var(--red); width: 15px; }
.dropdown li a:hover { background: rgba(155,28,28,0.12); color: #fff; }

/* Quote CTA nav button */
.btn-nav-quote { background: var(--red) !important; color: #fff !important; padding: 9px 18px !important; border-radius: var(--radius) !important; font-weight: 700 !important; font-size: 0.82rem !important; text-transform: uppercase; letter-spacing: 0.5px; border: 2px solid var(--red) !important; }
.btn-nav-quote:hover { background: var(--red-dark) !important; border-color: var(--red-dark) !important; }

/* ━━━━━━━━━━━ HERO ━━━━━━━━━━━ */
.hero { position: relative; min-height: 95vh; display: flex; align-items: center; background: var(--charcoal); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #080808 0%, #141414 35%, #1A0808 70%, #0D0D0D 100%); }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 65% 50%, rgba(155,28,28,0.18) 0%, transparent 55%), radial-gradient(ellipse at 10% 10%, rgba(155,28,28,0.07) 0%, transparent 40%); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.012) 40px, rgba(255,255,255,0.012) 41px), repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.012) 40px, rgba(255,255,255,0.012) 41px); }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(155,28,28,0.15); border: 1px solid rgba(155,28,28,0.45); color: var(--red-bright); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; padding: 5px 14px; border-radius: 20px; margin-bottom: 22px; }
.hero h1 { color: #fff; margin-bottom: 8px; }
.hero h1 em { color: var(--red-bright); font-style: normal; position: relative; }
.hero-subtitle { font-size: 1.1rem; color: var(--silver); font-weight: 400; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 22px; }
.hero p { color: var(--text-light); font-size: 1.05rem; line-height: 1.8; max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 44px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 7px; color: var(--silver); font-size: 0.82rem; }
.trust-item i { color: var(--red-bright); }
.hero-right { display: flex; flex-direction: column; gap: 14px; }
.hero-card { background: var(--charcoal-3); border: 1px solid var(--border-light); border-left: 4px solid var(--red); border-radius: var(--radius-lg); padding: 22px; }
.hero-card .card-icon { width: 44px; height: 44px; background: rgba(155,28,28,0.15); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--red-bright); margin-bottom: 12px; }
.hero-card h4 { color: #fff; font-size: 0.95rem; margin-bottom: 5px; }
.hero-card p { color: var(--silver); font-size: 0.85rem; margin: 0; line-height: 1.5; }

/* ━━━━━━━━━━━ STATS ━━━━━━━━━━━ */
.stats-bar { background: linear-gradient(135deg, var(--red-dark), var(--red), var(--red-dark)); padding: 28px 0; position: relative; overflow: hidden; }
.stats-bar::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(0,0,0,0.05) 20px, rgba(0,0,0,0.05) 21px); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 10px 16px; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 2.2rem; font-weight: 900; color: #fff; line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.8px; display: block; margin-top: 4px; }

/* ━━━━━━━━━━━ SECTIONS ━━━━━━━━━━━ */
section { padding: 88px 0; }
.section-dark { background: var(--charcoal); }
.section-darker { background: #0D0D0D; }
.section-mid { background: var(--charcoal-2); }
.section-card { background: var(--charcoal-3); }

/* ━━━━━━━━━━━ INDUSTRY SECTORS ━━━━━━━━━━━ */
.sectors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sector-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; cursor: pointer; background: var(--charcoal-3); border: 1px solid var(--border); aspect-ratio: 3/4; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; transition: var(--transition); }
.sector-card:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: 0 12px 40px rgba(155,28,28,0.3); }
.sector-img { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; opacity: 0.35; transition: all 0.5s ease; }
.sector-card:hover .sector-img { opacity: 0.5; transform: scale(1.04); }
.sector-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.95) 30%, rgba(0,0,0,0.3) 70%, transparent 100%); }
.sector-content { position: relative; z-index: 2; padding: 24px; }
.sector-icon { width: 48px; height: 48px; background: var(--red); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #fff; margin-bottom: 14px; }
.sector-content h3 { color: #fff; font-size: 1.15rem; margin-bottom: 6px; }
.sector-content p { color: var(--text-light); font-size: 0.82rem; line-height: 1.5; margin-bottom: 14px; }
.sector-count { display: inline-flex; align-items: center; gap: 5px; background: rgba(155,28,28,0.25); border: 1px solid rgba(155,28,28,0.5); color: var(--red-bright); font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 12px; }
.sector-link { color: var(--silver); font-size: 0.82rem; font-weight: 600; display: flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.sector-card:hover .sector-link { color: var(--red-bright); gap: 10px; }

/* ━━━━━━━━━━━ CATEGORY BROWSE ━━━━━━━━━━━ */
.categories-browse { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-browse-card { background: var(--charcoal-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 18px; transition: var(--transition); display: flex; flex-direction: column; gap: 12px; cursor: pointer; }
.cat-browse-card:hover { border-color: var(--red); background: rgba(155,28,28,0.06); transform: translateY(-3px); }
.cat-browse-icon { width: 40px; height: 40px; background: rgba(155,28,28,0.12); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--red-bright); font-size: 1rem; }
.cat-browse-card h4 { color: var(--silver-light); font-size: 0.88rem; font-weight: 600; line-height: 1.3; }
.cat-browse-card .arrow { color: var(--red); font-size: 0.75rem; margin-top: auto; }

/* ━━━━━━━━━━━ PRODUCT CARDS (e-commerce) ━━━━━━━━━━━ */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.products-grid-4 { grid-template-columns: repeat(4, 1fr); }
.product-card { background: var(--charcoal-3); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.product-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: 0 10px 35px rgba(0,0,0,0.4); }
.product-thumb { position: relative; overflow: hidden; background: var(--charcoal-4); aspect-ratio: 4/3; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-thumb .no-img { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; color: rgba(155,28,28,0.3); }
.product-badge { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; font-size: 0.68rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.product-badge-featured { background: #d4790a; }
.product-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-cat-tag { display: inline-block; background: rgba(155,28,28,0.12); color: var(--red-bright); font-size: 0.7rem; padding: 3px 9px; border-radius: 20px; border: 1px solid rgba(155,28,28,0.3); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; margin-bottom: 9px; }
.product-body h3 { color: #fff; font-size: 0.95rem; margin-bottom: 8px; line-height: 1.35; }
.product-body p { color: var(--silver); font-size: 0.83rem; line-height: 1.6; margin-bottom: 14px; flex: 1; }
.product-sku { color: var(--text-muted); font-size: 0.72rem; margin-bottom: 10px; }
.product-price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.price-tag { display: inline-flex; align-items: center; gap: 5px; background: rgba(155,28,28,0.1); border: 1px solid rgba(155,28,28,0.25); color: var(--silver-light); font-size: 0.78rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.price-tag i { color: var(--red-bright); }

/* ━━━━━━━━━━━ PRODUCT DETAIL PAGE ━━━━━━━━━━━ */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-gallery .main-img { background: var(--charcoal-3); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.product-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery .no-img-large { font-size: 8rem; color: rgba(155,28,28,0.25); }
.product-info-panel { position: sticky; top: 100px; }
.product-info-panel .prod-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.product-info-panel h1 { color: #fff; font-size: 1.9rem; margin-bottom: 10px; line-height: 1.2; }
.product-info-panel .prod-sku { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 18px; }
.prod-quote-box { background: var(--charcoal-4); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 22px; }
.prod-quote-box .quote-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 6px; }
.prod-quote-box .quote-cta-text { color: var(--silver-light); font-size: 0.92rem; margin-bottom: 16px; line-height: 1.5; }
.prod-quote-box .btn-quote-lg { width: 100%; justify-content: center; padding: 15px 24px; font-size: 0.92rem; letter-spacing: 1px; }
.prod-quote-box .btn-contact { width: 100%; justify-content: center; padding: 12px 24px; font-size: 0.88rem; background: transparent; border: 2px solid var(--border-light); color: var(--silver); border-radius: var(--radius); display: flex; align-items: center; gap: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 10px; }
.prod-quote-box .btn-contact:hover { border-color: var(--silver); color: #fff; }
.prod-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.prod-benefit { display: flex; align-items: flex-start; gap: 8px; color: var(--silver); font-size: 0.82rem; }
.prod-benefit i { color: var(--green); margin-top: 2px; flex-shrink: 0; }

.prod-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 28px; }
.prod-tab { padding: 12px 22px; color: var(--silver); font-size: 0.88rem; font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; text-transform: uppercase; letter-spacing: 0.5px; transition: var(--transition); }
.prod-tab.active { color: var(--red-bright); border-bottom-color: var(--red-bright); }
.prod-tab-content { display: none; }
.prod-tab-content.active { display: block; }
.prod-description { color: var(--silver); line-height: 1.8; font-size: 0.95rem; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr:nth-child(even) td { background: rgba(255,255,255,0.025); }
.specs-table td { padding: 11px 16px; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
.specs-table td:first-child { color: var(--silver-light); font-weight: 600; width: 40%; }
.specs-table td:last-child { color: var(--silver); }

/* ━━━━━━━━━━━ PAGE HERO ━━━━━━━━━━━ */
.page-hero { background: #0D0D0D; padding: 70px 0 52px; border-bottom: 3px solid var(--red); text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, rgba(155,28,28,0.12) 0%, transparent 60%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero h1 em { color: var(--red-bright); font-style: normal; }
.page-hero p { color: var(--silver); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.breadcrumb { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--text-muted); font-size: 0.8rem; margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { color: var(--silver); }
.breadcrumb a:hover { color: var(--red-bright); }
.breadcrumb i { font-size: 0.55rem; }

/* ━━━━━━━━━━━ PRODUCTS LISTING PAGE ━━━━━━━━━━━ */
.listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.sidebar { background: var(--charcoal-3); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; position: sticky; top: 90px; }
.sidebar-header { background: var(--red); padding: 14px 18px; color: #fff; font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }
.sidebar-section { padding: 16px 0; border-bottom: 1px solid var(--border); }
.sidebar-section:last-child { border-bottom: none; }
.sidebar-section-title { color: var(--text-muted); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; padding: 0 18px; margin-bottom: 10px; }
.sidebar-menu li a { display: flex; align-items: center; gap: 9px; padding: 9px 18px; color: var(--silver); font-size: 0.87rem; transition: var(--transition); }
.sidebar-menu li a i { color: var(--red); width: 16px; }
.sidebar-menu li a:hover, .sidebar-menu li a.active { background: rgba(155,28,28,0.1); color: #fff; padding-left: 22px; }
.sidebar-menu li a.active { color: var(--red-bright); border-left: 3px solid var(--red); }

.listing-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.listing-count { color: var(--silver); font-size: 0.88rem; }
.listing-count strong { color: #fff; }
.search-bar { display: flex; gap: 10px; flex: 1; max-width: 400px; }
.search-bar input { flex: 1; background: var(--charcoal-4); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 10px 14px; color: #fff; font-size: 0.88rem; font-family: inherit; }
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar input:focus { outline: none; border-color: var(--red); }
.sort-select { background: var(--charcoal-4); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 10px 14px; color: var(--silver); font-size: 0.88rem; font-family: inherit; cursor: pointer; }
.sort-select:focus { outline: none; border-color: var(--red); }

/* ━━━━━━━━━━━ CATEGORIES GRID ━━━━━━━━━━━ */
.all-categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.industry-section { margin-bottom: 60px; }
.industry-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--border); }
.industry-header-icon { width: 52px; height: 52px; background: var(--red); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; flex-shrink: 0; }
.industry-header h2 { color: #fff; font-size: 1.5rem; }
.industry-header p { color: var(--silver); font-size: 0.9rem; margin: 0; }
.subcat-card { background: var(--charcoal-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; transition: var(--transition); display: block; }
.subcat-card:hover { border-color: var(--red); background: rgba(155,28,28,0.06); transform: translateY(-3px); }
.subcat-card .icon { width: 38px; height: 38px; background: rgba(155,28,28,0.12); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--red-bright); font-size: 0.95rem; margin-bottom: 12px; }
.subcat-card h4 { color: var(--silver-light); font-size: 0.9rem; margin-bottom: 6px; }
.subcat-card p { color: var(--text-muted); font-size: 0.78rem; line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.subcat-card .link { color: var(--red-bright); font-size: 0.75rem; font-weight: 600; display: flex; align-items: center; gap: 5px; margin-top: 10px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ━━━━━━━━━━━ WHY CHOOSE ━━━━━━━━━━━ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { background: var(--charcoal-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 26px; transition: var(--transition); }
.why-card:hover { border-color: var(--red); transform: translateY(-4px); }
.why-icon { width: 54px; height: 54px; background: rgba(155,28,28,0.12); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--red-bright); margin-bottom: 18px; }
.why-card h3 { color: #fff; margin-bottom: 10px; font-size: 1.05rem; }
.why-card p { color: var(--silver); font-size: 0.88rem; line-height: 1.75; }

/* ━━━━━━━━━━━ CTA ━━━━━━━━━━━ */
.cta-section { background: linear-gradient(135deg, #0D0D0D 0%, #1A0505 50%, #0D0D0D 100%); padding: 88px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(155,28,28,0.18) 0%, transparent 70%); }
.cta-section::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 25px, rgba(255,255,255,0.012) 25px, rgba(255,255,255,0.012) 26px); }
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: var(--silver); max-width: 560px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ━━━━━━━━━━━ CONTACT ━━━━━━━━━━━ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-info h2 { color: #fff; margin-bottom: 14px; }
.contact-info p { color: var(--silver); line-height: 1.8; margin-bottom: 28px; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-detail .icon { width: 44px; height: 44px; background: rgba(155,28,28,0.12); border: 1px solid rgba(155,28,28,0.3); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--red-bright); flex-shrink: 0; }
.contact-detail h4 { color: var(--silver-light); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 3px; }
.contact-detail a, .contact-detail p { color: var(--silver); font-size: 0.9rem; margin: 0; }
.contact-detail a:hover { color: var(--red-bright); }
.form-box { background: var(--charcoal-3); border: 1px solid var(--border); border-top: 4px solid var(--red); border-radius: var(--radius-xl); padding: 40px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; color: var(--silver-light); font-size: 0.82rem; font-weight: 600; margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group label em { color: var(--red-bright); font-style: normal; }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: var(--charcoal-4); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 12px 14px; color: #fff; font-size: 0.9rem; font-family: inherit; transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(155,28,28,0.12); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group select option { background: var(--charcoal-4); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ━━━━━━━━━━━ ABOUT ━━━━━━━━━━━ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-text h2 { color: #fff; margin-bottom: 16px; }
.about-text p { color: var(--silver); line-height: 1.8; margin-bottom: 18px; }

/* ━━━━━━━━━━━ ALERTS ━━━━━━━━━━━ */
.alert { padding: 13px 18px; border-radius: var(--radius); margin-bottom: 18px; font-size: 0.88rem; display: flex; align-items: flex-start; gap: 10px; }
.alert-success { background: rgba(46,204,113,0.1); border: 1px solid rgba(46,204,113,0.35); color: #6fcf97; }
.alert-error { background: rgba(235,87,87,0.1); border: 1px solid rgba(235,87,87,0.35); color: #eb5757; }
.alert-info { background: rgba(33,150,243,0.1); border: 1px solid rgba(33,150,243,0.35); color: #90caf9; }
.alert-warning { background: rgba(242,153,74,0.1); border: 1px solid rgba(242,153,74,0.35); color: #f2994a; }

/* ━━━━━━━━━━━ ADMIN ━━━━━━━━━━━ */
.admin-body { background: #0D0D0D; }
.admin-sidebar { width: 240px; background: var(--charcoal-2); border-right: 1px solid var(--border); min-height: 100vh; position: fixed; top: 0; left: 0; z-index: 100; display: flex; flex-direction: column; }
.admin-sidebar-header { padding: 18px 20px; border-bottom: 1px solid var(--border); }
.admin-sidebar-header img { height: 40px; }
.admin-nav { padding: 14px 0; flex: 1; overflow-y: auto; }
.admin-nav a { display: flex; align-items: center; gap: 11px; padding: 11px 20px; color: var(--silver); font-size: 0.87rem; transition: var(--transition); }
.admin-nav a:hover, .admin-nav a.active { background: rgba(155,28,28,0.15); color: #fff; border-left: 3px solid var(--red); }
.admin-nav a i { width: 16px; color: var(--red-bright); }
.admin-main { margin-left: 240px; padding: 28px; min-height: 100vh; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.admin-topbar h1 { font-size: 1.3rem; color: #fff; }
.admin-card { background: var(--charcoal-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 22px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.admin-stat { background: var(--charcoal-3); border: 1px solid var(--border); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 18px; }
.admin-stat strong { display: block; font-size: 1.9rem; color: #fff; font-weight: 800; }
.admin-stat span { color: var(--silver); font-size: 0.82rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 11px 15px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.admin-table th { color: var(--text-muted); font-weight: 700; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.8px; }
.admin-table td { color: var(--text-light); }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.badge { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.3px; }
.badge-active { background: rgba(46,204,113,0.12); color: #6fcf97; border: 1px solid rgba(46,204,113,0.3); }
.badge-inactive { background: rgba(235,87,87,0.12); color: #eb5757; border: 1px solid rgba(235,87,87,0.3); }
.badge-new { background: rgba(33,150,243,0.12); color: #90caf9; border: 1px solid rgba(33,150,243,0.3); }
.badge-read { background: rgba(255,255,255,0.04); color: var(--text-muted); border: 1px solid var(--border); }
.action-btns { display: flex; gap: 6px; }
.btn-action { padding: 4px 10px; font-size: 0.75rem; border-radius: var(--radius-sm); border: 1px solid; cursor: pointer; font-weight: 600; font-family: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.btn-edit { background: rgba(33,150,243,0.1); color: #90caf9; border-color: rgba(33,150,243,0.3); }
.btn-delete { background: rgba(235,87,87,0.1); color: #eb5757; border-color: rgba(235,87,87,0.3); }
.btn-view { background: rgba(46,204,113,0.1); color: #6fcf97; border-color: rgba(46,204,113,0.3); }
.btn-warn { background: rgba(242,153,74,0.1); color: #f2994a; border-color: rgba(242,153,74,0.3); }

/* ━━━━━━━━━━━ FOOTER ━━━━━━━━━━━ */
.main-footer { background: #0D0D0D; border-top: 3px solid var(--red); }
.footer-top { padding: 64px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 52px; margin-bottom: 18px; }
.footer-brand p { color: var(--silver); font-size: 0.87rem; line-height: 1.75; margin-bottom: 14px; }
.supplier-notice { background: rgba(155,28,28,0.08); border: 1px solid rgba(155,28,28,0.25); border-radius: var(--radius); padding: 12px 14px; font-size: 0.8rem; color: var(--silver-light); margin-top: 14px; }
.footer-col h4 { color: #fff; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: var(--silver); font-size: 0.87rem; display: flex; align-items: center; gap: 7px; }
.footer-col ul li a:hover { color: var(--red-bright); padding-left: 4px; }
.footer-col ul li a i { color: var(--red); font-size: 0.65rem; flex-shrink: 0; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; color: var(--silver); font-size: 0.87rem; }
.footer-contact-list li i { color: var(--red-bright); margin-top: 2px; flex-shrink: 0; width: 14px; }
.footer-contact-list li a { color: var(--silver); }
.footer-contact-list li a:hover { color: var(--red-bright); }
.footer-bottom { background: #090909; border-top: 1px solid var(--border); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; margin: 0; }

/* ━━━━━━━━━━━ EMPTY STATE ━━━━━━━━━━━ */
.empty-state { text-align: center; padding: 72px 24px; background: var(--charcoal-3); border: 1px solid var(--border); border-radius: var(--radius-xl); }
.empty-state i { font-size: 4rem; color: rgba(155,28,28,0.3); margin-bottom: 18px; display: block; }
.empty-state h3 { color: var(--silver-light); margin-bottom: 10px; }
.empty-state p { color: var(--text-muted); margin-bottom: 24px; font-size: 0.9rem; }

/* ━━━━━━━━━━━ PAGINATION ━━━━━━━━━━━ */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.page-link { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--charcoal-3); border: 1px solid var(--border); color: var(--silver); font-size: 0.85rem; font-weight: 500; transition: var(--transition); }
.page-link:hover, .page-link.active { background: var(--red); border-color: var(--red); color: #fff; }

/* ━━━━━━━━━━━ RESPONSIVE ━━━━━━━━━━━ */
@media (max-width: 1100px) {
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .all-categories-grid { grid-template-columns: repeat(3, 1fr); }
    .categories-browse { grid-template-columns: repeat(3, 1fr); }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    .hero .container { grid-template-columns: 1fr; }
    .hero-right { display: none; }
}

@media (max-width: 900px) {
    .product-detail-grid { grid-template-columns: 1fr; }
    .product-info-panel { position: static; }
    .listing-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .contact-grid, .about-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .all-categories-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-browse { grid-template-columns: repeat(2, 1fr); }
    .mega-dropdown { width: 100%; left: 0; transform: none; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--charcoal-2); border-top: 1px solid var(--border); padding: 12px; flex-direction: column; gap: 2px; }
    .nav-menu.open { display: flex; }
    .nav-menu > li > a { width: 100%; }
    .mega-dropdown, .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: rgba(255,255,255,0.04); border-radius: var(--radius); padding: 8px 0; }
    .mega-grid { grid-template-columns: 1fr; }
    .main-header { position: relative; }
    .top-bar { display: none; }
    .form-row { grid-template-columns: 1fr; }
    section { padding: 60px 0; }
    .sectors-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
    .admin-sidebar { display: none; }
    .admin-main { margin-left: 0; }
    .hero { min-height: auto; }
}

@media (max-width: 540px) {
    .sectors-grid, .why-grid, .products-grid, .all-categories-grid, .categories-browse { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .prod-benefits { grid-template-columns: 1fr; }
}
