/* HOOK.PK - Premium E-Commerce Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary: #121212;
    --primary-hover: #262626;
    --accent: #d4af37; /* Luxury Gold */
    --accent-light: #f7edd4;
    --accent-dark: #aa8620;
    --bg-light: #fdfdfd;
    --bg-surface: #ffffff;
    --bg-subtle: #f8f9fa;
    --text-main: #181818;
    --text-muted: #6c757d;
    --text-light: #ffffff;
    --border-color: #eaeaea;
    --border-dark: #2a2a2a;
    --badge-sale: #c92a2a;
    --badge-new: #121212;
    --badge-bestseller: #d4af37;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 36px rgba(0,0,0,0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --radius-full: 9999px;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities & Containers */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 24px;
}

/* Announcement Bar */
.announcement-bar {
    background: #000000;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 0;
    text-align: center;
    letter-spacing: 0.03em;
}

/* Main Header */
.site-header {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-brand .brand-name {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--primary);
    text-transform: uppercase;
}

.logo-brand .brand-dot {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    font-size: 14.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #333333;
    position: relative;
    padding: 6px 0;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.action-btn {
    background: none;
    border: none;
    font-size: 19px;
    cursor: pointer;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--bg-subtle);
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 9999px;
    text-align: center;
    padding: 0 4px;
}

/* Hero Carousel */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: #0f0f0f;
    min-height: 480px;
}

.hero-slides-wrapper {
    position: relative;
    width: 100%;
    min-height: 520px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    min-height: 520px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: scale(1.02);
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.2) 100%);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--accent);
    color: #000;
}

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

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

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 6px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: #ffffff;
    padding: 40px 0;
}

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: #000;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: #2d2e2e;
    color: #ffffff;
}

.btn-gold {
    background: var(--accent);
    color: #000000;
}

.btn-gold:hover {
    background: #e3bc43;
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
}

.btn-whatsapp:hover {
    background: #20b859;
    color: #ffffff;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 15px;
}

/* Feature Icons Bar */
.features-strip {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-box i {
    font-size: 30px;
    color: var(--accent);
}

.feature-box h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.feature-box p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Section Styling */
.section {
    padding: 65px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 40px auto;
}

.section-tag {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 6px;
    display: block;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-muted);
}

/* Category Grid / Bubbles */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.category-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    padding: 16px 12px;
    transition: var(--transition);
    display: block;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #d1d1d1;
}

.category-img-wrap {
    width: 90px;
    height: 90px;
    margin: 0 auto 12px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent);
    padding: 2px;
}

.category-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.category-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

/* Product Cards Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: #d0d0d0;
}

.product-thumb {
    position: relative;
    background: #f7f7f7;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

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

.product-card:hover .product-thumb img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.badge-sale {
    background: var(--badge-sale);
    color: #fff;
}

.badge-bestseller {
    background: var(--badge-bestseller);
    color: #000;
}

.product-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.product-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f59e0b;
    font-size: 12px;
    margin-bottom: 10px;
}

.product-rating span {
    color: var(--text-muted);
    font-size: 11px;
}

.product-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 14px;
}

.price-current {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
}

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

.price-discount {
    font-size: 11px;
    font-weight: 700;
    color: var(--badge-sale);
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: #ffffff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #ffffff;
}

/* Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: var(--bg-surface);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-lg);
}

.cart-drawer.active {
    right: 0;
}

.drawer-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-muted);
}

.drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-subtle);
}

.cart-item-row {
    display: flex;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: #f3f3f3;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-top: 6px;
}

.qty-btn {
    background: #f8f9fa;
    border: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-weight: bold;
}

.qty-val {
    width: 32px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: #0f0f0f;
    color: #e5e5e5;
    padding: 60px 0 20px 0;
    border-top: 1px solid #222;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0a0a0;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #777;
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #dcdcdc;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    background: #ffffff;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(18, 18, 18, 0.08);
}

/* Responsive Navigation & Mobile UI */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    z-index: 1060;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.mobile-menu-drawer.active {
    transform: translateX(0);
}

.mobile-drawer-header {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.mobile-drawer-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-list li a {
    display: block;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-nav-list li a:hover {
    background: #f4f4f5;
    color: var(--primary);
    padding-left: 18px;
}

/* App-Style Bottom Navigation Bar for Mobile */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
    z-index: 990;
    padding: 8px 12px 10px 12px;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-nav-tab i {
    font-size: 20px;
}

.mobile-nav-tab.active, .mobile-nav-tab:hover {
    color: var(--primary);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: inline-flex !important;
    }
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .product-single-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .checkout-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    body {
        padding-bottom: 60px; /* Space for mobile bottom bar */
    }
    .whatsapp-float {
        bottom: 74px !important;
        right: 18px !important;
    }
    .cart-drawer {
        width: 100% !important;
        max-width: 100% !important;
    }
    .header-actions .action-btn:not(.trigger-cart-drawer):not(.trigger-search-modal) {
        display: none;
    }
    .story-bubble {
        min-width: 76px;
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .product-card {
        border-radius: 8px;
    }
    .product-info {
        padding: 12px 10px;
    }
    .product-title {
        font-size: 13.5px;
    }
    .product-price {
        font-size: 14px;
    }
    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding-bottom: 20px;
    }
}
