
/* ==============================
MAIN.CSS - CLEANED VERSION
============================== */

/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f8fafc;
    color: #1f2937;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: #f59e0b;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: #1f2937;
}

h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; }
p { margin-bottom: 12px; color: #475569; }


/* ===== BUTTONS ===== */
.btn, .btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: #f59e0b;
    color: #fff;
    padding: 12px 22px;
}

.btn-primary:hover {
    background: #d97706;
}

.btn-secondary {
    background: #1f2937;
    color: #fff;
    padding: 12px 22px;
}

.btn-outline {
    border: 2px solid #1f2937;
    color: #1f2937;
    padding: 10px 20px;
}

/* Add spacing for all buttons */
.btn, .btn-secondary, .btn-primary {
    margin: 8px 8px 8px 0;
    vertical-align: middle;
}

@media(max-width: 768px) {
    .btn, .btn-secondary, .btn-primary {
        display: block;
        width: 100%;
        margin: 8px 0;
    }
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1f2937;
    color: #fff;
    padding: 14px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap;
}
.logo {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
}
.nav-links a {
    color: #fff;
    font-weight: 500;
}
.nav-links a:hover {
    color: #f59e0b;
}

/* CART ICON */
.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}
.cart-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    color: white;
}
.cart-count {
    background: #f59e0b;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
}

/* HAMBURGER MENU */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}

@media(max-width: 768px) {
    .menu-toggle { display: block; }

    .nav-links {
        width: 100%;
        flex-direction: column;
        display: none;
        background: #1f2937;
        margin-top: 10px;
        padding-bottom: 10px;
    }

    .nav-links.show { display: flex; }

    .nav-links li {
        text-align: center;
        padding: 10px 0;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    background: #111827;
    color: #fff;
    padding: 90px 20px;
    text-align: center;
}

.hero h1 { 
    margin-bottom: 10px; 
    font-size: 42px; 
    color: #fff;
}
.hero p { font-size: 18px; margin-bottom: 30px; }

.hero-buttons a { padding: 14px 26px; border-radius: 6px; font-weight: bold; margin: 0 8px; }

/* ===== TRUST BAR ===== */
.trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    background: #f1f5f9;
    padding: 16px;
    font-weight: 600;
}


/* =========================
   2. LAYOUT WRAPPERS
========================= */
.wrapper {
  max-width: 1900px;
  /* margin-inline: auto; */
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.container {
  max-width: 1400px;
  margin-inline: auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
}

/* Mobile layout */
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
  }
}


/* ===== CATEGORY GRID ===== */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 30px;
    padding: 50px 30px;
    max-width: 1200px;
    margin: auto;
}

.category {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.category:hover { transform: translateY(-4px); }

.category img { width: 100%; border-radius: 6px; }

.category h3 { margin: 16px 0; }

/* ===== BULK SECTION ===== */
.bulk {
    background: #1f2937;
    color: #fff;
    text-align: center;
    padding: 70px 20px;
}

.bulk h2 { margin-bottom: 15px; }

.bulk a {
    background: #f59e0b;
    padding: 12px 22px;
    color: white;
    border-radius: 6px;
    font-weight: bold;
}

/* ===== FOOTER ===== */
footer {
    background: #111827;
    color: #cbd5e1;
    padding: 40px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

footer h4 { color: white; margin-bottom: 10px; }

footer a { color: #cbd5e1; }
footer a:hover { color: #f59e0b; }

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #94a3b8;
}

/* ===== IMAGES ===== */
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================
   10. UTILITIES
========================= */
.center-align {
  text-align: center;
}

/* For decimal part of price superscript */
.price .decimals {
  font-size: 0.6em;
  vertical-align: super;
}

/* ===== RESPONSIVE ===== */
@media(max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .trust { gap: 15px; font-size: 14px; }
}


/* =========================
   9. FORMS
========================= */
form {
  background-color: #f2f2f2;
  padding: 16px;
  border-radius: 6px;
  text-align: center;
}

label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
}

input[type="text"],
select {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
}