:root {
    --primary: #0b5ed7;
    --primary-dark: #074cae;
    --accent: #ff9800;
    --bg: #ffffff;
    --bg-soft: #f4f6fb;
    --text: #202124;
    --muted: #6b7280;
    --border: #e5e7eb;
    --footer-blue: #0076c8;
    --radius-lg: 18px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: min(1200px, 100% - 3rem);
    margin: 0 auto;
}

main {
    padding-top: 120px; /* header height */
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 24px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: #fff;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
}

.full-width {
    width: 100%;
}

/* Sections */
.section {
    padding: 3.5rem 0;
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.section-header.centered {
    text-align: center;
}

/* Cards */
.product-card,
.category-card,
.blog-card {
    background-color: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

/* WhatsApp floating button */
.whatsapp-btn {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
    z-index: 999;
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background-color: #000;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
}

/* Utilities */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.category-filters,
.collection-tabs,
.tabs-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-btn,
.tab-button {
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--muted);
    transition: all 0.2s ease;
}

.filter-btn.active,
.tab-button.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Responsive */
@media (max-width: 900px) {
    main {
        padding-top: 90px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 2rem, 100%);
    }

    .section {
        padding: 2.5rem 0;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-btn {
        width: 46px;
        height: 46px;
        bottom: 1rem;
        left: 1rem;
    }

    .scroll-top {
        bottom: 1rem;
        right: 1rem;
    }
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: #111827;
  border-radius: 10px;
  padding: 1rem;
  color: #fff;
  text-align: center;
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card img {
  width: 100%;
  border-radius: 10px;
}

.price {
  color: #00c6ff;
  font-weight: 600;
  margin: 0.5rem 0;
}

.btn {
  background: var(--primary, #00c6ff);
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  text-transform: uppercase;
  cursor: pointer;
}
.sale-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: red;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
}
.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 18px;
}
.new-price {
    color: #e63946;
    font-weight: bold;
    font-size: 22px;
}
.product-image {
    position: relative;
}

.sale-badge-small {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #e60023;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 20;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
