/* ============================================
   AK FLEX PRINTING - Main Stylesheet
   Design: Modern Minimal | Fast Loading
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --red: #e8151b;
    --red-dark: #c0111b;
    --red-light: #ff4444;
    --dark: #111111;
    --dark2: #1e1e1e;
    --gray: #555555;
    --gray-light: #888888;
    --border: #e8e8e8;
    --bg: #f8f8f8;
    --white: #ffffff;
    --gold: #f5a623;
    --green: #22c55e;
    --font-main: 'Barlow', sans-serif;
    --font-display: 'Barlow Condensed', sans-serif;
    --shadow: 0 2px 20px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 50px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.25s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-main); color: var(--dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-main); border: none; background: none; }
input, select, textarea { font-family: var(--font-main); }

/* ===== CONTAINER ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ===== FLASH MESSAGE ===== */
.flash-msg { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow-md); animation: slideInRight 0.3s ease; max-width: 400px; }
.flash-success { background: #d4edda; color: #155724; border-left: 4px solid var(--green); }
.flash-error { background: #f8d7da; color: #721c24; border-left: 4px solid var(--red); }
.flash-info { background: #d1ecf1; color: #0c5460; border-left: 4px solid #17a2b8; }
.flash-msg button { background: none; border: none; cursor: pointer; opacity: 0.6; }
@keyframes slideInRight { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ===== HEADER ===== */
.site-header { background: var(--white); box-shadow: 0 2px 15px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; gap: 24px; padding: 14px 20px; }
.header-logo a { display: flex; align-items: center; }
.logo-text { display: flex; gap: 3px; align-items: baseline; font-family: var(--font-display); font-weight: 800; line-height: 1; }
.logo-ak { color: var(--red); font-size: 1.8rem; }
.logo-flex { color: var(--dark); font-size: 1.4rem; }
.logo-print { color: var(--gray); font-size: 0.85rem; letter-spacing: 2px; }

.header-nav { flex: 1; }
.header-nav ul { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
.header-nav ul li a { padding: 8px 14px; font-size: 0.88rem; font-weight: 600; color: var(--dark); border-radius: var(--radius); transition: all var(--transition); text-transform: uppercase; letter-spacing: 0.5px; }
.header-nav ul li a:hover, .header-nav ul li.active a { color: var(--red); background: rgba(232,21,27,0.07); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.btn-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--dark); font-size: 1rem; transition: all var(--transition); position: relative; }
.btn-icon:hover { background: var(--bg); color: var(--red); }
.cart-badge { position: absolute; top: -4px; right: -4px; background: var(--red); color: white; font-size: 0.65rem; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all var(--transition); }

/* Search Bar */
.search-bar-wrap { background: var(--bg); border-top: 1px solid var(--border); padding: 10px 0; }
.search-bar-inner { display: flex; align-items: center; }
.search-form { display: flex; width: 100%; gap: 0; border: 2px solid var(--border); border-radius: 50px; overflow: hidden; background: var(--white); transition: border-color var(--transition); }
.search-form:focus-within { border-color: var(--red); }
.search-input-wrap { flex: 1; display: flex; align-items: center; padding: 0 16px; gap: 10px; }
.search-icon { color: var(--gray-light); font-size: 0.9rem; }
.search-input-wrap input { border: none; outline: none; width: 100%; font-size: 0.9rem; background: transparent; padding: 10px 0; }
.search-cat-wrap { border-left: 1px solid var(--border); padding: 0 16px; display: flex; align-items: center; gap: 8px; min-width: 180px; }
.search-cat-wrap select { border: none; outline: none; background: transparent; font-size: 0.82rem; font-weight: 600; color: var(--gray); cursor: pointer; appearance: none; width: 100%; }
.cat-arrow { color: var(--gray-light); font-size: 0.75rem; pointer-events: none; }
.search-btn { background: var(--red); color: white; padding: 11px 24px; font-weight: 600; font-size: 0.88rem; transition: background var(--transition); border-radius: 0 48px 48px 0; }
.search-btn:hover { background: var(--red-dark); }

/* ===== SLIDER ===== */
.hero-slider { position: relative; overflow: hidden; background: var(--dark); }
.slider-track { display: flex; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.slide { min-width: 100%; height: 460px; position: relative; overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 100%); display: flex; align-items: center; }
.slide-content { padding: 0 80px; color: white; }
.slide-content .sub { font-size: 0.9rem; letter-spacing: 3px; text-transform: uppercase; opacity: 0.8; margin-bottom: 8px; }
.slide-content h2 { font-family: var(--font-display); font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
.slide-content h2 span { color: var(--red); }
.slide-content p { font-size: 1rem; opacity: 0.85; max-width: 480px; margin-bottom: 28px; }
.slide-btn { display: inline-block; background: var(--red); color: white; padding: 13px 32px; border-radius: 50px; font-weight: 700; font-size: 0.9rem; transition: all var(--transition); letter-spacing: 0.5px; }
.slide-btn:hover { background: var(--red-dark); transform: translateY(-2px); }
.slider-prev, .slider-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); color: white; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: all var(--transition); cursor: pointer; z-index: 10; }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-prev:hover, .slider-next:hover { background: var(--red); border-color: var(--red); }
.slider-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all var(--transition); }
.slider-dot.active { background: var(--red); width: 24px; border-radius: 4px; }

/* ===== SECTION TITLES ===== */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.section-title h2 span { color: var(--red); }
.section-title p { color: var(--gray); font-size: 0.95rem; max-width: 500px; margin: 0 auto; }
.title-line { width: 50px; height: 3px; background: var(--red); margin: 10px auto 0; border-radius: 2px; }

section { padding: 60px 0; }
section.bg-alt { background: var(--bg); }

/* ===== OUR SERVICES (Main Grid) ===== */
.services-main { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.service-card { text-align: center; cursor: pointer; padding: 14px 8px; border-radius: var(--radius); transition: all var(--transition); border: 1px solid transparent; }
.service-card:hover { background: var(--bg); border-color: var(--border); transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card img { width: 100%; height: 90px; object-fit: cover; border-radius: var(--radius); margin-bottom: 8px; }
.service-card .placeholder-img { width: 100%; height: 90px; background: linear-gradient(135deg, #f0f0f0, #e0e0e0); border-radius: var(--radius); margin-bottom: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.service-card span { font-size: 0.75rem; font-weight: 600; color: var(--dark); line-height: 1.3; }

/* ===== OTHER SERVICES (Circular Slider) ===== */
.other-services-section { background: linear-gradient(135deg, #c0111b 0%, #8b0000 100%); padding: 50px 0; }
.other-services-section .section-title h2 { color: white; }
.other-services-section .title-line { background: rgba(255,255,255,0.5); }
.other-slider-wrap { position: relative; overflow: hidden; padding: 10px 40px; }
.other-slider-track { display: flex; gap: 40px; transition: transform 0.4s ease; cursor: grab; }
.other-slider-track:active { cursor: grabbing; }
.other-service-item { flex: 0 0 140px; text-align: center; cursor: pointer; }
.other-service-img { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; margin: 0 auto 10px; border: 3px solid rgba(255,255,255,0.4); transition: all var(--transition); background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
.other-service-img img { width: 100%; height: 100%; object-fit: cover; }
.other-service-item:hover .other-service-img { border-color: white; transform: scale(1.08); }
.other-service-item span { color: white; font-size: 0.82rem; font-weight: 600; line-height: 1.3; }
.other-slider-prev, .other-slider-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); color: white; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; transition: all var(--transition); }
.other-slider-prev { left: 0; }
.other-slider-next { right: 0; }
.other-slider-prev:hover, .other-slider-next:hover { background: rgba(255,255,255,0.4); }

/* ===== TRUST BADGES ===== */
.trust-section { background: var(--white); padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-inner { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-icon { width: 38px; height: 38px; background: rgba(232,21,27,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 1rem; }
.trust-text strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--dark); }
.trust-text span { font-size: 0.78rem; color: var(--gray); }

/* ===== PRODUCTS ===== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); background: var(--white); }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.product-thumb { position: relative; overflow: hidden; }
.product-thumb img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-badge { position: absolute; top: 10px; left: 10px; background: var(--red); color: white; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 4px; }
.product-badge.featured { background: var(--gold); color: var(--dark); }
.product-wishlist { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow); transition: all var(--transition); border: none; color: var(--gray); }
.product-wishlist:hover, .product-wishlist.active { color: var(--red); }
.product-info { padding: 16px; }
.product-cat { font-size: 0.75rem; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.product-name { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.stars { color: var(--gold); font-size: 0.8rem; }
.rating-count { font-size: 0.78rem; color: var(--gray); }
.product-price { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.price-current { font-size: 1.1rem; font-weight: 800; color: var(--dark); }
.price-old { font-size: 0.85rem; color: var(--gray); text-decoration: line-through; }
.price-discount { font-size: 0.75rem; background: #e8f5e9; color: #1b5e20; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.btn-add-cart { width: 100%; padding: 10px; background: var(--dark); color: white; border: none; border-radius: var(--radius); font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: all var(--transition); }
.btn-add-cart:hover { background: var(--red); }
.btn-add-cart i { margin-right: 6px; }

/* ===== ABOUT SECTION ===== */
.about-section { background: var(--white); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-content .sub-label { font-size: 0.82rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.about-content h2 { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1.15; color: var(--dark); margin-bottom: 6px; }
.about-divider { width: 50px; height: 4px; background: var(--red); margin: 16px 0; border-radius: 2px; }
.about-content p { color: var(--gray); font-size: 0.95rem; line-height: 1.8; }
.about-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: 400px; object-fit: cover; }
.about-image::before { content: ''; position: absolute; top: -15px; right: -15px; width: 100%; height: 100%; border: 3px solid var(--red); border-radius: var(--radius-lg); z-index: -1; }

/* ===== DEDICATED SECTION ===== */
.dedicated-section { background: var(--bg); }
.dedicated-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dedicated-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; text-align: center; box-shadow: var(--shadow); transition: all var(--transition); }
.dedicated-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.dedicated-icon { height: 200px; display: flex; align-items: center; justify-content: center; }
.dedicated-card:nth-child(1) .dedicated-icon { background: #1e2d4a; }
.dedicated-card:nth-child(2) .dedicated-icon { background: #f5a623; }
.dedicated-card:nth-child(3) .dedicated-icon { background: #22b573; }
.dedicated-icon i { font-size: 4rem; color: white; opacity: 0.9; }
.dedicated-body { padding: 24px 20px; }
.dedicated-body h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--dark); margin-bottom: 6px; }
.dedicated-body p { font-size: 0.85rem; color: var(--gray); font-style: italic; }

/* ===== CART PAGE ===== */
.cart-page { padding: 50px 0; }
.cart-grid { display: grid; grid-template-columns: 1fr 350px; gap: 30px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 14px 16px; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); border-bottom: 2px solid var(--border); }
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-product { display: flex; gap: 14px; align-items: center; }
.cart-product img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius); }
.cart-product-name { font-weight: 600; font-size: 0.9rem; }
.cart-product-cat { font-size: 0.78rem; color: var(--gray); }
.cart-remove { color: var(--gray-light); cursor: pointer; transition: color var(--transition); }
.cart-remove:hover { color: var(--red); }
.order-summary { background: var(--bg); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 100px; }
.order-summary h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.summary-row.total { font-weight: 800; font-size: 1.1rem; border-bottom: none; padding-top: 16px; }
.coupon-form { display: flex; gap: 8px; margin: 16px 0; }
.coupon-form input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.85rem; }
.coupon-form button { padding: 10px 16px; background: var(--dark); color: white; border-radius: var(--radius); font-size: 0.85rem; font-weight: 600; }
.btn-checkout { width: 100%; padding: 14px; background: var(--red); color: white; border-radius: var(--radius); font-weight: 700; font-size: 1rem; margin-top: 16px; transition: background var(--transition); }
.btn-checkout:hover { background: var(--red-dark); }

/* ===== AUTH PAGES ===== */
.auth-page { min-height: calc(100vh - 200px); display: flex; align-items: center; justify-content: center; padding: 50px 20px; background: var(--bg); }
.auth-card { background: white; border-radius: var(--radius-lg); padding: 44px; width: 100%; max-width: 460px; box-shadow: var(--shadow-lg); }
.auth-card h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin-bottom: 6px; }
.auth-card p.sub { color: var(--gray); font-size: 0.9rem; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-group input { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 0.9rem; transition: border-color var(--transition); }
.form-group input:focus { outline: none; border-color: var(--red); }
.form-group .password-wrap { position: relative; }
.form-group .password-wrap input { padding-right: 44px; }
.toggle-pass { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); cursor: pointer; color: var(--gray); }
.btn-auth { width: 100%; padding: 13px; background: var(--red); color: white; border-radius: var(--radius); font-weight: 700; font-size: 1rem; transition: background var(--transition); }
.btn-auth:hover { background: var(--red-dark); }
.auth-links { text-align: center; margin-top: 20px; font-size: 0.88rem; color: var(--gray); }
.auth-links a { color: var(--red); font-weight: 600; }

/* ===== PRODUCT PAGE ===== */
.product-detail { padding: 50px 0; }
.product-detail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.product-gallery-main img { width: 100%; border-radius: var(--radius-lg); }
.product-gallery-thumbs { display: flex; gap: 8px; margin-top: 12px; }
.product-gallery-thumbs img { width: 75px; height: 75px; object-fit: cover; border-radius: var(--radius); cursor: pointer; border: 2px solid transparent; transition: border-color var(--transition); }
.product-gallery-thumbs img:hover, .product-gallery-thumbs img.active { border-color: var(--red); }
.product-breadcrumb { font-size: 0.82rem; color: var(--gray); margin-bottom: 12px; }
.product-breadcrumb a { color: var(--red); }
.product-title { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; margin-bottom: 14px; line-height: 1.2; }
.product-actions { display: flex; gap: 12px; margin-top: 24px; }
.btn-buy { flex: 1; padding: 14px; background: var(--red); color: white; border-radius: var(--radius); font-weight: 700; font-size: 1rem; transition: background var(--transition); }
.btn-buy:hover { background: var(--red-dark); }
.btn-cart-full { flex: 1; padding: 14px; background: var(--dark); color: white; border-radius: var(--radius); font-weight: 700; font-size: 1rem; transition: background var(--transition); }
.btn-cart-full:hover { background: #333; }

/* ===== REVIEWS ===== */
.reviews-section { margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--border); }
.review-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.reviewer { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.reviewer-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.reviewer-name { font-weight: 700; font-size: 0.9rem; }
.reviewer-date { font-size: 0.78rem; color: var(--gray); }
.review-form { background: var(--bg); border-radius: var(--radius-lg); padding: 28px; margin-top: 24px; }
.star-rating { display: flex; gap: 6px; margin-bottom: 16px; }
.star-rating i { font-size: 1.4rem; color: var(--border); cursor: pointer; transition: color var(--transition); }
.star-rating i.active { color: var(--gold); }

/* ===== COREL FILES (Shop) ===== */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-card { border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: all var(--transition); box-shadow: var(--shadow); }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cat-card img { width: 100%; height: 180px; object-fit: cover; transition: transform 0.4s ease; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card-info { background: var(--dark); color: white; padding: 16px; }
.cat-card-info h3 { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.cat-card-info span { font-size: 0.8rem; opacity: 0.6; }

/* ===== ACCOUNT PAGE ===== */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; padding: 50px 0; }
.account-sidebar { background: var(--bg); border-radius: var(--radius-lg); padding: 24px; height: fit-content; }
.account-avatar { text-align: center; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.account-avatar .avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--red); color: white; font-size: 2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.account-avatar strong { display: block; font-size: 0.95rem; }
.account-nav li a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius); color: var(--gray); font-size: 0.88rem; font-weight: 600; transition: all var(--transition); }
.account-nav li a:hover, .account-nav li.active a { color: var(--red); background: rgba(232,21,27,0.06); }
.account-nav li a i { width: 18px; }
.account-content { background: var(--white); border-radius: var(--radius-lg); padding: 28px; }
.account-content h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; margin-bottom: 24px; }
.orders-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.orders-table th { text-align: left; padding: 12px; background: var(--bg); font-weight: 700; }
.orders-table td { padding: 12px; border-bottom: 1px solid var(--border); }
.badge { padding: 3px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }
.badge-success { background: #d4edda; color: #155724; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-danger { background: #f8d7da; color: #721c24; }

/* ===== SEARCH RESULTS ===== */
.search-header { padding: 30px 0 10px; }
.search-header h1 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; }
.search-header p { color: var(--gray); font-size: 0.9rem; }
.search-filters { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.filter-btn { padding: 7px 16px; border: 1.5px solid var(--border); border-radius: 50px; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all var(--transition); }
.filter-btn:hover, .filter-btn.active { border-color: var(--red); color: var(--red); background: rgba(232,21,27,0.06); }

/* ===== FOOTER ===== */
.site-footer { background: #1a1a1a; color: rgba(255,255,255,0.75); margin-top: auto; }
.footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 20px 40px; }
.footer-logo-text { display: flex; gap: 3px; align-items: baseline; font-family: var(--font-display); font-weight: 800; line-height: 1; margin-bottom: 12px; }
.footer-desc { font-size: 0.88rem; line-height: 1.7; margin-bottom: 14px; opacity: 0.7; }
.footer-address, .footer-phone, .footer-email { font-size: 0.82rem; margin-bottom: 6px; opacity: 0.7; }
.footer-address i, .footer-phone i, .footer-email i { width: 18px; color: var(--red); margin-right: 6px; }
.footer-links h4 { color: white; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a { font-size: 0.85rem; opacity: 0.7; transition: opacity var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links ul li a:hover { opacity: 1; color: var(--red); }
.footer-links ul li a i { font-size: 0.7rem; color: var(--red); }
.footer-social h4 { color: white; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.social-icons { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.social-icons a { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: white; transition: all var(--transition); }
.social-fb { background: #1877f2; }
.social-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-yt { background: #ff0000; }
.social-wa { background: #25d366; }
.social-tw { background: #000; }
.social-icons a:hover { transform: translateY(-3px); opacity: 0.85; }
.footer-newsletter p { font-size: 0.82rem; opacity: 0.7; margin-bottom: 10px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { flex: 1; padding: 9px 14px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); color: white; font-size: 0.82rem; }
.newsletter-form input::placeholder { opacity: 0.5; }
.newsletter-form input:focus { outline: none; border-color: var(--red); }
.newsletter-form button { padding: 9px 14px; background: var(--red); color: white; border-radius: var(--radius); transition: background var(--transition); }
.newsletter-form button:hover { background: var(--red-dark); }
.footer-bottom { background: #111; padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.82rem; opacity: 0.6; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.8rem; opacity: 0.5; transition: opacity var(--transition); }
.footer-bottom-links a:hover { opacity: 1; }

/* ===== FLOATS ===== */
.wa-float { position: fixed; bottom: 80px; right: 24px; width: 52px; height: 52px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; z-index: 990; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: all var(--transition); }
.wa-float:hover { transform: scale(1.1); }
.back-to-top { position: fixed; bottom: 24px; right: 24px; width: 42px; height: 42px; background: var(--dark); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; z-index: 990; opacity: 0; pointer-events: none; transition: all var(--transition); box-shadow: var(--shadow); }
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--red); }

/* ===== BREADCRUMB ===== */
.breadcrumb { background: var(--bg); padding: 12px 0; border-bottom: 1px solid var(--border); }
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--gray); }
.breadcrumb-inner a { color: var(--red); }
.breadcrumb-inner i { font-size: 0.65rem; }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.page-btn { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all var(--transition); }
.page-btn:hover, .page-btn.active { border-color: var(--red); color: var(--red); background: rgba(232,21,27,0.06); }

/* ===== 404 PAGE ===== */
.page-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 20px; }
.page-404 h1 { font-family: var(--font-display); font-size: 7rem; font-weight: 800; color: var(--red); line-height: 1; }
.page-404 h2 { font-size: 2rem; font-weight: 700; margin: 10px 0; }
.page-404 p { color: var(--gray); margin-bottom: 28px; }

/* ===== MOBILE OVERLAY ===== */
.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 900; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(6, 1fr); }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-social { grid-column: 1 / -1; }
}
@media (max-width: 992px) {
    .header-nav { display: none; position: fixed; top: 0; left: -280px; width: 280px; height: 100vh; background: white; z-index: 950; padding: 60px 20px 30px; box-shadow: var(--shadow-lg); flex-direction: column; transition: left var(--transition); }
    .header-nav.open { display: flex; left: 0; }
    .header-nav ul { flex-direction: column; justify-content: flex-start; gap: 4px; }
    .hamburger { display: flex; }
    .about-inner { grid-template-columns: 1fr; }
    .about-image::before { display: none; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-grid { grid-template-columns: 1fr; }
    .account-layout { grid-template-columns: 1fr; }
    .product-detail-inner { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
    .slide-content { padding: 0 40px; }
    .slide-content h2 { font-size: 2.5rem; }
}
@media (max-width: 768px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .dedicated-grid { grid-template-columns: 1fr; }
    .trust-inner { gap: 30px; justify-content: flex-start; }
    .search-cat-wrap { display: none; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .slide { height: 300px; }
    .slide-content { padding: 0 24px; }
    .slide-content h2 { font-size: 1.8rem; }
    section { padding: 40px 0; }
}
@media (max-width: 480px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .products-grid { grid-template-columns: 1fr 1fr; }
    .category-grid { grid-template-columns: 1fr 1fr; }
    .auth-card { padding: 28px 20px; }
    .header-inner { padding: 12px 16px; gap: 12px; }
}

/* ===== INLINE FORM STYLES (used in contact page etc) ===== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-control { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--font-main); font-size: .9rem; transition: border-color var(--transition); background: white; }
.form-control:focus { outline: none; border-color: var(--red); }
