/* ---- CSS Variables ---- */
:root {
    --black: #000000;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e8e8e8;
    --gray-300: #cccccc;
    --gray-400: #999999;
    --gray-500: #666666;
    --gray-600: #444444;
    --gray-700: #2a2a2a;
    --gray-800: #1a1a1a;
    --gray-900: #0d0d0d;
    --accent: #ffffff;
    --font-display: 'Rajdhani', sans-serif;
    --font-condensed: 'Rajdhani', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --topbar-h: 40px;
    --header-h: 72px;
    --transition: 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.25);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

.section-pad { padding: 80px 0; }
.bg-dark-alt { background: var(--gray-900); }

/* ---- Section Headers ---- */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-condensed);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 10px;
    border-top: 1px solid var(--gray-600);
    border-bottom: 1px solid var(--gray-600);
    padding: 4px 16px;
}

.section-tag.light { color: var(--gray-300); border-color: rgba(255,255,255,0.3); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 2px;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 700;
}

.section-title span { color: var(--gray-400); }

.title-line {
    width: 60px;
    height: 3px;
    background: var(--white);
    margin: 0 auto;
}

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
    background: var(--black);
    height: var(--topbar-h);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-700);
}

.top-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left a {
    color: var(--gray-300);
    font-size: 12px;
    font-family: var(--font-body);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
}

.top-bar-left a:hover { color: var(--white); }

.top-bar-left a i { font-size: 11px; }

.top-bar-right a {
    color: var(--gray-400);
    font-size: 13px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-700);
    transition: all var(--transition);
    border-radius: 2px;
}

.top-bar-right a:hover {
    color: var(--white);
    border-color: var(--white);
    background: rgba(255,255,255,0.05);
}

/* =============================================
   MAIN HEADER
   ============================================= */
.main-header {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    z-index: 999;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    transition: all 0.4s ease;
}

.main-header.scrolled {
    background: rgba(0,0,0,0.95);
    border-bottom: 1px solid var(--gray-700);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--white);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    clip-path: polygon(10% 0%, 90% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 90%, 0% 10%);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 3px;
    color: var(--white);
    font-weight: 700;
}

.logo-sub {
    font-family: var(--font-condensed);
    font-size: 11px;
    letter-spacing: 5px;
    color: var(--gray-300);
    font-weight: 600;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.nav-link {
    font-family: var(--font-condensed);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    padding: 8px 16px;
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 32px);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.action-btn {
    background: none;
    border: 1px solid transparent;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--white);
    position: relative;
    transition: all var(--transition);
}

.action-btn:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--white);
    color: var(--black);
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background var(--transition);
}

/* Search Bar */
.search-bar-wrap {
    background: var(--gray-900);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.search-bar-wrap.open {
    max-height: 300px;
    padding: 16px 24px;
}

.search-inner {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    gap: 8px;
}

.search-inner input {
    flex: 1;
    background: var(--gray-800);
    border: 1px solid var(--gray-600);
    color: var(--white);
    padding: 10px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition);
}

.search-inner input:focus { border-color: var(--white); }

.search-inner input::placeholder { color: var(--gray-500); }

.search-inner button {
    background: var(--white);
    border: none;
    color: var(--black);
    padding: 10px 20px;
    font-family: var(--font-condensed);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition);
}

.search-inner button:hover { background: var(--gray-300); }

.search-close {
    background: transparent !important;
    border: 1px solid var(--gray-600) !important;
    color: var(--gray-400) !important;
    width: 40px;
    padding: 0 !important;
    flex-shrink: 0;
}

.search-results {
    max-width: 700px;
    margin: 8px auto 0;
    background: var(--gray-800);
    border: 1px solid var(--gray-600);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--white);
    border-bottom: 1px solid var(--gray-700);
    cursor: pointer;
    transition: background var(--transition);
    text-decoration: none;
}

.search-result-item:hover { background: var(--gray-700); }
.search-result-item img { width: 36px; height: 36px; object-fit: cover; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--black);
    padding: 8px 0;
}

.mobile-nav a {
    color: var(--white);
    padding: 12px 24px;
    font-family: var(--font-condensed);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--gray-700);
    transition: background var(--transition);
}

.mobile-nav a:hover { background: var(--gray-800); }

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    margin-top: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active { opacity: 1; z-index: 1; }

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.65) 100%
    );
}

.slide-content {
    position: absolute;
    bottom: 15%;
    left: 8%;
    z-index: 2;
    max-width: 650px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease 0.3s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-tag {
    display: inline-block;
    font-family: var(--font-condensed);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gray-300);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 5px 16px;
    margin-bottom: 16px;
}

.slide-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.95;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.slide-title span {
    color: transparent;
    -webkit-text-stroke: 2px var(--white);
}

.slide-desc {
    font-size: 16px;
    font-weight: 300;
    color: var(--gray-200);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.6;
}

.btn-shop-now {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--black);
    font-family: var(--font-condensed);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 14px 32px;
    border: 2px solid var(--white);
    transition: all var(--transition);
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn-shop-now:hover {
    background: transparent;
    color: var(--white);
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    width: 52px;
    height: 52px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    backdrop-filter: blur(4px);
}

.slider-arrow:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.slider-arrow.prev { left: 32px; }
.slider-arrow.next { right: 32px; }

.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 32px;
    height: 3px;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all var(--transition);
}

.dot.active {
    background: var(--white);
    width: 56px;
}

/* =============================================
   CATEGORIES SECTION
   ============================================= */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    display: block;
    overflow: hidden;
    border: 1px solid var(--gray-700);
    background: var(--gray-900);
    text-decoration: none;
    transition: all var(--transition);
    position: relative;
}

.category-card:hover {
    border-color: var(--white);
    box-shadow: 0 8px 32px rgba(255,255,255,0.08);
    transform: translateY(-4px);
}

.cat-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .cat-img-wrap img {
    transform: scale(1.08);
}

.cat-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    transition: background var(--transition);
}

.category-card:hover .cat-overlay {
    background: rgba(0,0,0,0.05);
}

.cat-info {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gray-900);
    border-top: 1px solid var(--gray-700);
    transition: all var(--transition);
}

.category-card:hover .cat-info {
    background: var(--white);
    border-color: var(--white);
}

.cat-info h3 {
    font-family: var(--font-condensed);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    transition: color var(--transition);
}

.cat-arrow {
    color: var(--gray-400);
    font-size: 13px;
    transition: all var(--transition);
}

.category-card:hover .cat-info h3 { color: var(--black); }
.category-card:hover .cat-arrow { color: var(--black); transform: translateX(4px); }

/* =============================================
   DEALS / PRODUCTS GRID
   ============================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--gray-900);
    border: 1px solid var(--gray-700);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.product-card:hover {
    border-color: var(--white);
    box-shadow: 0 8px 32px rgba(255,255,255,0.08);
    transform: translateY(-4px);
}

.badge-sale {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: var(--white);
    color: var(--black);
    font-family: var(--font-condensed);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 10px;
}

.prod-img-wrap {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: var(--gray-800);
}

.prod-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .prod-img-wrap img {
    transform: scale(1.06);
}

.prod-actions {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    display: flex;
    transition: bottom var(--transition);
}

.product-card:hover .prod-actions {
    bottom: 0;
}

.btn-add-cart, .btn-whatsapp {
    flex: 1;
    padding: 13px 8px;
    border: none;
    font-family: var(--font-condensed);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all var(--transition);
}

.btn-add-cart {
    background: var(--white);
    color: var(--black);
}

.btn-add-cart:hover { background: var(--gray-200); }

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    flex: 0.7;
}

.btn-whatsapp:hover { background: #20b857; }

.prod-info {
    padding: 18px;
}

.prod-cat {
    font-family: var(--font-condensed);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray-400);
    display: block;
    margin-bottom: 6px;
}

.prod-name {
    font-family: var(--font-condensed);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.prod-price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.current-price {
    font-family: var(--font-condensed);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

.old-price {
    font-size: 13px;
    color: var(--gray-500);
    text-decoration: line-through;
}

/* =============================================
   VIDEO SECTION
   ============================================= */
.video-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.video-bg-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.video-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 40px 24px;
}

.video-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 5rem);
    letter-spacing: 3px;
    color: var(--white);
    line-height: 1;
    margin: 16px 0 20px;
}

.video-title span {
    color: transparent;
    -webkit-text-stroke: 2px var(--white);
}

.video-desc {
    color: var(--gray-300);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 36px;
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    font-family: var(--font-condensed);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 14px 36px;
    border: 2px solid var(--white);
    transition: all var(--transition);
}

.btn-view-more:hover {
    background: var(--white);
    color: var(--black);
}

/* =============================================
   REVIEWS SECTION
   ============================================= */
.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    font-size: 14px;
    color: var(--gray-600);
}

.google-badge i { color: #4285F4; font-size: 18px; }

.stars-row { color: #FBBC05; display: flex; gap: 2px; font-size: 13px; }

.reviews-slider-wrap {
    position: relative;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.review-card {
    min-width: calc(33.333% - 16px);
    background: var(--gray-900);
    border: 1px solid var(--gray-700);
    padding: 28px;
    flex-shrink: 0;
    transition: all var(--transition);
}

.review-card:hover {
    border-color: var(--white);
    box-shadow: 0 4px 20px rgba(255,255,255,0.06);
}

.review-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 22px;
    flex-shrink: 0;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-info strong {
    display: block;
    font-family: var(--font-condensed);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    color: var(--white);
}

.stars { color: #FBBC05; font-size: 12px; display: flex; gap: 2px; }

.google-icon {
    margin-left: auto;
    font-size: 20px;
    color: #4285F4;
}

.review-text {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
    font-style: italic;
}

.rev-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: var(--black);
    border: none;
    color: var(--white);
    width: 44px;
    height: 44px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.rev-arrow:hover { background: var(--gray-700); }
.rev-prev { left: -22px; }
.rev-next { right: -22px; }

.rev-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.rev-dot {
    width: 28px;
    height: 3px;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.rev-dot.active { background: var(--black); width: 48px; }

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 8px;
}

.about-text .title-line { margin: 0 0 24px; }

.about-text p {
    color: var(--gray-400);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0;
    padding: 28px 0;
    border-top: 1px solid var(--gray-700);
    border-bottom: 1px solid var(--gray-700);
}

.stat { text-align: center; }

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--gray-400);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.stat-label {
    font-family: var(--font-condensed);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-500);
}

.btn-about {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-condensed);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 14px 32px;
    border: 2px solid var(--black);
    transition: all var(--transition);
    margin-top: 8px;
}

.btn-about:hover {
    background: white;
    color: var(--black);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-card {
    background: var(--gray-900);
    border: 1px solid var(--gray-700);
    padding: 28px 24px;
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255,255,255,0.06);
}

.feature-card i {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 14px;
    display: block;
}

.feature-card h4 {
    font-family: var(--font-condensed);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--white);
}

.feature-card p {
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.6;
}

/* =============================================
   FOOTER
   ============================================= */
.main-footer {
    background: var(--black);
    color: var(--white);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--gray-700);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 28px;
    color: var(--white);
}

.footer-logo span {
    display: block;
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 3px;
    line-height: 1;
}

.footer-logo small {
    font-family: var(--font-condensed);
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--gray-400);
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 14px;
    transition: all var(--transition);
}

.footer-socials a:hover {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-condensed);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-700);
}

.footer-links a {
    display: block;
    color: var(--gray-400);
    font-size: 14px;
    margin-bottom: 10px;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-contact p {
    color: var(--gray-400);
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.footer-contact p i {
    color: var(--gray-500);
    margin-top: 3px;
    flex-shrink: 0;
    width: 14px;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    color: var(--gray-600);
    font-size: 13px;
    letter-spacing: 1px;
}

.developer-credit {
    font-size: 14px;
    color: #888; /* අකුරු වල පාට */
    margin-top: 5px;
}

.developer-credit a {
    color: #ffffff; /* ලින්ක් එකේ පාට */
    text-decoration: none;
    font-weight: bold;
}

.developer-credit a:hover {
    color: #ffcc00; /* මවුස් එක උඩට ගිය විට පාට වෙනස් වීමට */
}

/* =============================================
   CART SIDEBAR
   ============================================= */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    backdrop-filter: blur(2px);
}

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

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100vh;
    background: var(--gray-900);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.6);
}

.cart-sidebar.open { right: 0; }

.cart-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.cart-header h3 {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 700;
}

.cart-header button {
    background: none;
    border: 1px solid var(--gray-600);
    color: var(--white);
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 14px;
    transition: all var(--transition);
}

.cart-header button:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-400);
}

.cart-empty i { font-size: 48px; margin-bottom: 16px; display: block; }

.cart-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-700);
    align-items: center;
}

.cart-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border: 1px solid var(--gray-700);
}

.cart-item-name {
    font-family: var(--font-condensed);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    color: var(--white);
}

.cart-item-price {
    font-size: 13px;
    color: var(--gray-400);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.cart-item-qty button {
    width: 24px;
    height: 24px;
    border: 1px solid var(--gray-300);
    background: none;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.cart-item-qty button:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.cart-item-qty span { font-size: 14px; font-weight: 600; min-width: 20px; text-align: center; }

.remove-item {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: color var(--transition);
}

.remove-item:hover { color: #cc0000; }

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--gray-700);
    flex-shrink: 0;
    background: var(--gray-900);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 16px;
}

.cart-total strong {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 1px;
}

.btn-checkout {
    width: 100%;
    background: var(--black);
    color: var(--white);
    border: 2px solid var(--black);
    padding: 14px;
    font-family: var(--font-condensed);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition);
}

.btn-checkout:hover { background: transparent; color: var(--black); }

/* =============================================
   ORDER MODAL
   ============================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    backdrop-filter: blur(3px);
    padding: 20px;
}

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

.modal-box {
    background: var(--gray-900);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px;
    position: relative;
    border-top: 3px solid var(--white);
    transform: translateY(20px);
    transition: transform 0.4s ease;
    color: var(--white);
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: 1px solid var(--gray-600);
    color: var(--white);
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 14px;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.modal-box h3 {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 700;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-family: var(--font-condensed);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--gray-600);
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition);
    background: var(--gray-800);
    color: var(--white);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.order-summary-box {
    background: var(--gray-800);
    border: 1px solid var(--gray-600);
    padding: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--white);
}

.order-summary-box h5 {
    font-family: var(--font-condensed);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 13px;
}

.order-summary-total {
    border-top: 1px solid var(--gray-300);
    padding-top: 8px;
    margin-top: 8px;
    font-weight: 700;
    font-size: 15px;
}

.btn-place-order {
    width: 100%;
    background: var(--black);
    color: var(--white);
    border: 2px solid var(--black);
    padding: 14px;
    font-family: var(--font-condensed);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition);
    margin-top: 8px;
}

.btn-place-order:hover { background: transparent; color: var(--black); }

.order-success {
    text-align: center;
    padding: 20px 0;
}

.order-success i {
    font-size: 56px;
    color: #27ae60;
    margin-bottom: 16px;
    display: block;
}

.order-success h4 {
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.order-success p {
    color: var(--gray-600);
    margin-bottom: 8px;
}

/* =============================================
   SCROLL TO TOP
   ============================================= */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 900;
    background: var(--black);
    color: var(--white);
    border: none;
    width: 48px;
    height: 48px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    clip-path: polygon(50% 0%, 100% 30%, 100% 100%, 0% 100%, 0% 30%);
}

.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--gray-700); transform: translateY(-4px); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
    .categories-grid { grid-template-columns: repeat(4, 1fr); }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .about-grid { gap: 40px; }
}

@media (max-width: 900px) {
    .main-nav { display: none; }
    .hamburger { display: flex; }
    .mobile-nav.open { display: flex; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-features { grid-template-columns: 1fr 1fr; }
    .review-card { min-width: calc(50% - 12px); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    :root { --topbar-h: 36px; --header-h: 64px; }
    .top-bar-left a:not(:first-child) { display: none; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .slide-title { font-size: 2.8rem; }
    .cart-sidebar { width: 100%; right: -100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .review-card { min-width: calc(100%); }
    .about-features { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(3, 1fr); }
    .section-pad { padding: 56px 0; }
    .logo-main { font-size: 18px; }
    .logo-sub { font-size: 9px; }
    .rev-prev { left: -16px; }
    .rev-next { right: -16px; }
}

@media (max-width: 400px) {
    .products-grid { grid-template-columns: 1fr; }
}