:root {
    --primary: darkorange;
    --primary-dark: #cc7000;
    --accent: #e8b923;
    --accent-hover: #d4a91f;
    --danger: #c0392b;
    --text: #2c3e50;
    --text-light: #5d6d7e;
    --bg: #f8f9fa;
    --white: #ffffff;
    --border: #e1e8ed;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --max-width: 1200px;
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    margin-top: 0 !important;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* Utility */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.flex { display: flex; align-items: center; }
.flex-between { justify-content: space-between; }
.flex-center { justify-content: center; }
.grid { display: grid; }
.hidden { display: none !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-accent {
    background: var(--accent);
    color: var(--text);
}
.btn-accent:hover { background: var(--accent-hover); }
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-new { background: var(--primary); color: var(--white); }
.badge-sale { background: var(--danger); color: var(--white); }
.badge-wholesale { background: var(--accent); color: var(--text); }

/* Top Bar */
.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
}
.top-bar a { color: var(--accent); text-decoration: none; font-weight: 600; }
.top-bar .flex { gap: 24px; }

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    padding: 16px 0;
    display: flex;
    align-items: center;
    gap: 24px;
}
.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.search-bar {
    flex: 1;
    max-width: 500px;
    position: relative;
}
.search-bar input {
    width: 100%;
    padding: 12px 44px 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 14px;
    transition: border-color 0.2s;
}
.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
}
.search-bar button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: var(--text);
    font-size: 12px;
    position: relative;
    transition: color 0.2s;
}
.header-action:hover { color: var(--primary); }
.header-action svg {
    width: 24px;
    height: 24px;
}
.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--danger);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation */
.main-nav {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 0;
}
.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list a {
    display: block;
    padding: 14px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}
.nav-list a:hover,
.nav-list a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 16px 0;
    font-size: 13px;
    color: var(--text-light);
}
.breadcrumbs a {
    color: var(--text-light);
    text-decoration: none;
}
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span { margin: 0 8px; }

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
    margin-bottom: 40px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 24px;
}
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-stat strong {
    display: block;
    font-size: 24px;
    color: var(--accent);
}
.hero-stat span {
    font-size: 13px;
    opacity: 0.8;
}
.hero-image {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
}
.hero-image svg {
    width: 200px;
    height: 200px;
    opacity: 0.9;
}

/* Trust Bar */
.trust-bar {
    background: var(--white);
    padding: 24px 0;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
}
.trust-item svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
    flex-shrink: 0;
}
.trust-item strong {
    display: block;
    font-size: 14px;
    color: var(--text);
}
.trust-item span {
    font-size: 12px;
    color: var(--text-light);
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
}
.section-title span {
    color: var(--primary);
}
.section-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.section-link:hover { text-decoration: underline; }

/* Categories */
.categories {
    margin-bottom: 48px;
}
.category-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 12px 4px 16px 4px;
    scrollbar-width: none;
}
.category-grid::-webkit-scrollbar {
    display: none;
}
.category-card {
    flex: 0 0 170px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow);
    transition: all 0.2s;
    border: 2px solid transparent;
}
.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}
.category-card svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
    margin-bottom: 12px;
}
.category-card img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 12px;
}
.category-card strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}
.category-card span {
    font-size: 12px;
    color: var(--text-light);
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}
.product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 2;
    transition: all 0.2s;
}
.product-wishlist:hover { background: var(--danger); color: var(--white); }
.product-wishlist.active { background: var(--danger) !important; color: var(--white) !important; }
.product-wishlist svg { width: 18px; height: 18px; }
.product-image {
    height: 200px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 10px;
}
.product-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s;
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-category {
    font-size: 11px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 12px;
    flex: 1;
}
.product-pricing {
    margin-bottom: 12px;
}
.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.price-current {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}
.price-original {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
}
.price-wholesale {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}
.price-wholesale strong {
    color: var(--primary);
    font-weight: 700;
}
.price-tooltip {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: var(--border);
    border-radius: 50%;
    text-align: center;
    line-height: 16px;
    font-size: 11px;
    cursor: help;
    position: relative;
}
.price-tooltip:hover::after {
    content: attr(data-tip);
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text);
    color: var(--white);
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 10;
}
.product-actions {
    display: flex;
    gap: 8px;
}
.product-actions .btn {
    flex: 1;
    justify-content: center;
}

/* Sections */
.section { margin-bottom: 48px; }

/* Offers Banner */
.offers-banner {
    background: linear-gradient(90deg, #fff9e6 0%, #fff 50%, #fff9e6 100%);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 48px;
    text-align: center;
}
.offers-banner h2 {
    font-size: 28px;
    color: var(--text);
    margin-bottom: 8px;
}
.offers-banner h2 span { color: var(--danger); }
.offers-banner p {
    color: var(--text-light);
    margin-bottom: 20px;
}
.countdown {
    display: inline-flex;
    gap: 16px;
    margin-bottom: 20px;
}
.countdown-item {
    background: var(--white);
    padding: 12px 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 60px;
}
.countdown-item strong {
    display: block;
    font-size: 24px;
    color: var(--danger);
}
.countdown-item span {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-light);
}

/* Wholesale CTA */
.wholesale-cta {
    background: var(--text);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}
.wholesale-cta h3 {
    font-size: 24px;
    margin-bottom: 8px;
}
.wholesale-cta p {
    opacity: 0.8;
    margin-bottom: 16px;
}
.wholesale-benefits {
    display: flex;
    gap: 24px;
    margin-top: 16px;
}
.wholesale-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.wholesale-benefit svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.info-card svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
    margin-bottom: 12px;
}
.info-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}
.info-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}
.info-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: var(--white);
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: all 0.2s;
}
.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
    width: 24px;
    height: 24px;
}

/* Cart Drawer */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: var(--white);
    z-index: 201;
    transform: translateX(100%);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}
.cart-overlay.active + .cart-drawer,
.cart-drawer.active { transform: translateX(0); }
.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cart-header h3 { font-size: 18px; }
.cart-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}
.cart-close:hover { background: var(--bg); }
.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}
.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}
.cart-empty svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.3;
}
.cart-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.cart-item-image {
    width: 60px;
    height: 60px;
    background: var(--bg);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cart-item-image svg { width: 30px; height: 30px; opacity: 0.4; }
.cart-item-info { flex: 1; }
.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}
.cart-item-price {
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
}
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.cart-item-qty button {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.cart-item-qty span {
    font-size: 14px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}
.cart-item-remove {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 12px;
    text-decoration: underline;
    padding: 0;
}
.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}
.cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}
.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}
.cart-note {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
    text-align: center;
}
.cart-footer .btn { width: 100%; justify-content: center; }

/* Toast */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toast {
    background: var(--text);
    color: var(--white);
    padding: 14px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
    max-width: 320px;
}
.toast.success { background: var(--primary); }
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Footer */
.footer {
    background: var(--text);
    color: var(--white);
    padding: 60px 0 24px;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}
.footer-brand .logo-icon { background: var(--primary); }
.footer-brand p {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 16px;
}
.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: var(--radius);
    font-size: 12px;
    margin-bottom: 8px;
}
.footer-badge svg { width: 16px; height: 16px; }
.footer h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--accent);
}
.footer-links {
    list-style: none;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.8;
}
.footer-contact-item svg {
    width: 18px;
    height: 18px;
    opacity: 0.6;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0.6;
}
.footer-payments {
    display: flex;
    gap: 12px;
    align-items: center;
}
.payment-icon {
    background: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
}

/* Responsive */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .category-grid { grid-template-columns: repeat(4, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .trust-grid { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .wholesale-cta { grid-template-columns: 1fr; text-align: center; }
    .wholesale-benefits { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .header-inner { flex-wrap: wrap; }
    .search-bar { order: 3; max-width: 100%; width: 100%; margin-top: 12px; }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-stats { flex-direction: column; gap: 16px; }
}
