/* Hivora Market - Main Website Styling */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fffaf0;
    color: #263b2b;
}

/* Website Header */

header {
    background-color: #ffffff;
    padding: 25px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #b7791f;
    font-size: 26px;
    letter-spacing: 2px;
}

nav a {
    text-decoration: none;
    color: #263b2b;
    margin-left: 25px;
    font-weight: bold;
}

/* Main Hero Section */.hero {
    background: none !important;
    min-height: 0 !important;
    padding: 0 !important;
}

.hero::before {
    display: none !important;
}

.hero img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-text {
    padding: 30px 20px 40px;
    text-align: center;
    background: #fffaf0;
}

.hero-text h2 {
    color: #1f3d2b !important;
    font-size: 2rem;
    margin-bottom: 12px;
    text-shadow: none;
}

.hero-text p {
    color: #444 !important;
    max-width: 600px;
    margin: 0 auto 20px;
    text-shadow: none;
}



  

/* Shop Button */

button {
    background-color: #b7791f;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* Product Section */

main section:last-child {
    padding: 70px 7%;
    text-align: center;
}

main section:last-child h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

/* Footer */

footer {
    background-color: #263b2b;
    color: white;
    text-align: center;
    padding: 25px;
}/* Hivora Market - Main Website Styling */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fffaf0;
    color: #263b2b;
}

/* Website Header */

header {
    background-color: #ffffff;
    padding: 25px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #b7791f;
    font-size: 26px;
    letter-spacing: 2px;
}

nav a {
    text-decoration: none;
    color: #263b2b;
    margin-left: 25px;
    font-weight: bold;
}

/* Main Hero Section */

main section:first-child {
    background-color: #f5e6c8;
    padding: 110px 7%;
    text-align: center;
}

main section:first-child h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #294b35;
}

main section:first-child p {
    font-size: 18px;
    margin-bottom: 30px;
}

.shop-btn {
    display: inline-block;
    background-color: #b7791f;
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 5px;
    font-size: 16px;
}

/* Product Section */

main section:last-child {
    padding: 70px 7%;
    text-align: center;
}

main section:last-child h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

/* Footer */

footer {
    background-color: #263b2b;
    color: white;
    text-align: center;
    padding: 25px;
}/* Hivora Market - Main Website Styling */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fffaf0;
    color: #263b2b;
}

/* Website Header */

header {
    background-color: #ffffff;
    padding: 25px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #b7791f;
    font-size: 26px;
    letter-spacing: 2px;
}

nav a {
    text-decoration: none;
    color: #263b2b;
    margin-left: 25px;
    font-weight: bold;
}

/* Main Hero Section */

main section:first-child {
    background-color: #f5e6c8;
    padding: 110px 7%;
    text-align: center;
}

main section:first-child h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #294b35;
}

main section:first-child p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Shop Button */

button {
    background-color: #b7791f;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* Product Section */

main section:last-child {
    padding: 70px 7%;
    text-align: center;
}

main section:last-child h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

/* Footer */

footer {
    background-color: #263b2b;
    color: white;
    text-align: center;
    padding: 25px;
}
/* Product Cards */

.products {
    padding: 70px 7%;
    text-align: center;
    background-color: #fffaf0;
}

.products h2 {
    font-size: 32px;
    color: #294b35;
    margin-bottom: 15px;
}

.products > p {
    margin-bottom: 35px;
    color: #666;
}

.product-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.product-card {
    background-color: white;
    padding: 30px 20px;
    width: 220px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-card h3 {
    color: #b7791f;
    margin-bottom: 15px;
}

.product-card p {
    color: #555;
    line-height: 1.6;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}
.contact {
    background-color: #fffaf0;
    padding: 70px 10%;
    text-align: center;
}

.contact h2 {
    color: #294b35;
    font-size: 32px;
    margin-bottom: 20px;
}

.contact > p {
    color: #555;
    font-size: 17px;
    margin-bottom: 25px;
}

.contact-info p {
    color: #555;
    margin: 12px 0;
    font-size: 16px;
}
.product-card select {
    width: 100%;
    padding: 8px;
    margin: 6px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.9rem;
}

.cart-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
}

.cart-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    background: white;
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.cart-info { flex: 1; min-width: 180px; }
.cart-info span { color: #666; font-size: 0.9rem; }

.cart-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    padding: 4px 12px;
    font-size: 1.1rem;
}

.cart-line { font-weight: bold; color: #2e6b4f; }

.remove-btn {
    background: #8b2e2e;
    padding: 8px 14px;
    font-size: 0.85rem;
}

.cart-total {
    text-align: right;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 25px 0;
}

.cart-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.cart-link {
    color: #2e6b4f;
    font-weight: bold;
    text-decoration: none;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 5px;
    font-weight: bold;
}

.cart-empty { text-align: center; padding: 30px 0; }
pay-info {
    background: #e6f0ea;
    padding: 18px 22px;
    border-radius: 10px;
    margin-top: 25px;
    text-align: left;
}

.pay-info h3 {
    color: #2e6b4f;
    margin-bottom: 8px;
}

.pay-info li {
    margin: 6px 0 6px 20px;
    line-height: 1.5;
}
.pay-info {
    background: #e6f0ea;
    padding: 18px 22px;
    border-radius: 10px;
    margin-top: 25px;
    text-align: left;
}

.pay-info h3 {
    color: #2e6b4f;
    margin-bottom: 8px;
    text-align: left;
}

.pay-info ol {
    padding-left: 20px;
}

.pay-info li {
    margin: 6px 0;
    line-height: 1.5;
    text-align: left;
}

.checkout-form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-top: 25px;
    text-align: left;
}

.checkout-form h3 {
    color: #2e6b4f;
    margin-bottom: 12px;
}

.checkout-form input {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}
.track-page {
    max-width: 500px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
}

.track-page input {
    width: 100%;
    padding: 12px;
    margin: 15px 0 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

#track-result {
    margin-top: 20px;
}

.track-found {
    background: #e6f0ea;
    padding: 18px;
    border-radius: 10px;
}

.track-found strong {
    color: #2e6b4f;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 15px 10px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .product-card {
        width: 90%;
        max-width: 320px;
    }

    .about-points div {
        width: 100%;
    }

    .cart-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-actions {
        justify-content: center;
    }

    .cart-total {
        text-align: center;
    }
}
.checkout-form select {
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

.cart-summary {
    text-align: right;
    margin-top: 20px;
    color: #555;
}
/* ===== HEADER AND NAV ===== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 5%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 50;
}

header h1 {
    margin: 0;
    font-size: 1.6rem;
    color: #b7791f;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

nav a {
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 20px;
    color: #1f3d2b;
    font-weight: bold;
}

nav a:hover {
    background: #fdf0d5;
    color: #8a5a12;
}

/* ===== PAGE BANNER (About, Contact, Track, Cart) ===== */
main section.page-banner {
    background: linear-gradient(135deg, #2e6b4f, #1f3d2b);
    color: #ffffff;
    text-align: center;
    padding: 50px 20px;
}

main section.page-banner h2 {
    color: #ffffff;
    font-size: 2.2rem;
    margin: 0 0 8px;
}

main section.page-banner p {
    color: #e6f0ea;
    margin: 0;
}

/* ===== HOME: FEATURES ===== */
main section.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 50px 5%;
    background: #ffffff;
    text-align: center;
}

.feature {
    flex: 1 1 200px;
    max-width: 250px;
    padding: 25px 15px;
    border-radius: 12px;
    background: #fffaf0;
    border-top: 4px solid #e8a04c;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.icon {
    display: block;
    font-size: 2.6rem;
    margin-bottom: 10px;
}

.feature h3 {
    color: #1f3d2b;
    margin: 0 0 6px;
}

.feature p {
    color: #555;
    margin: 0;
    font-size: 0.95rem;
}

/* ===== HOME: HOW IT WORKS ===== */
main section.steps {
    padding: 50px 5%;
    text-align: center;
    background: #fffaf0;
}

main section.steps h2 {
    color: #1f3d2b;
    margin-bottom: 30px;
}

.steps-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.step {
    flex: 1 1 180px;
    max-width: 220px;
}

.step .icon {
    background: #2e6b4f;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 12px;
    font-size: 1.9rem;
}

.step h3 {
    color: #8a5a12;
    margin: 0 0 6px;
}

.step p {
    color: #555;
    font-size: 0.92rem;
    margin: 0;
}

/* ===== HOME: CALL TO ACTION ===== */
main section.cta {
    background: #2e6b4f;
    color: #ffffff;
    text-align: center;
    padding: 50px 20px;
}

main section.cta h2 {
    color: #ffffff;
    margin: 0 0 10px;
    font-size: 1.8rem;
}

main section.cta p {
    color: #e6f0ea;
    margin-bottom: 20px;
}

/* ===== ABOUT CARD ICONS ===== */
.about-points .icon {
    font-size: 2rem;
    margin-bottom: 6px;
}

/* ===== CONTACT CARDS ===== */
main section.contact-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
}

.contact-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: 25px;
}

.contact-card {
    flex: 1 1 200px;
    max-width: 260px;
    background: #ffffff;
    padding: 25px 15px;
    border-radius: 12px;
    text-decoration: none;
    color: #1f3d2b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 4px solid #e8a04c;
}

.contact-card:hover {
    transform: translateY(-4px);
}

.contact-card .icon {
    font-size: 2.4rem;
}

.contact-card h3 {
    margin: 0 0 4px;
}

.contact-card p {
    margin: 0;
    color: #555;
    font-size: 0.92rem;
}

/* ===== TRACK PAGE ===== */
.track-page {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    margin-bottom: 30px;
}

#track-btn {
    width: 100%;
    padding: 12px;
    font-size: 1.05rem;
}

/* ===== CART POLISH ===== */
.cart-row {
    border-left: 5px solid #e8a04c;
}

.cart-total {
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.whatsapp-btn {
    font-size: 1.05rem;
    padding: 14px 26px;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    nav {
        justify-content: center;
    }

    main section.page-banner h2 {
        font-size: 1.7rem;
    }
}nav a {
  text-decoration: none;
  color: #5a3a1e;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 20px;
  transition: 0.3s;
}

nav a:hover {
  background: #f2b632;
  color: #fff;
}

/* current page highlight */
nav a.active {
  background: #8b4a2b;
  color: #fff;
}

/* cart stands out */
nav a.cart {
  background: #2e7d4f;
  color: #fff;
}

nav a.cart:hover {
  background: #246340;
}.contact { padding: 40px 20px; text-align: center; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 30px auto 0;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px 15px;
  text-decoration: none;
  color: #5a3a1e;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.contact-card i {
  font-size: 34px;
  color: #fff;
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
  margin-bottom: 12px;
}

.contact-card h3 { margin: 8px 0 4px; }
.contact-card p { margin: 0; color: #777; }

.whatsapp i  { background: #25d366; }
.phone i     { background: #f2b632; }
.facebook i  { background: #1877f2; }
.instagram i { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.tiktok i    { background: #000; }
nav a {
  background: #fff3d6;   /* soft honey background for all links */
}

nav a:nth-child(1) { background: #f2b632; color: #fff; }   /* Home */
nav a:nth-child(2) { background: #c9861a; color: #fff; }   /* Shop */
nav a:nth-child(4) { background: #d2691e; color: #fff; }   /* Contact */
nav a:nth-child(5) { background: #6b8e23; color: #fff; }   /* Track Order */

/* keep these two as they are */
nav a.active { background: #8b4a2b; color: #fff; }
nav a.cart   { background: #2e7d4f; color: #fff; }

/* hover effect for all */
nav a:hover {
  background: #5a3a1e;
  color: #fff;
}
/* ===== ABOUT PAGE ===== */
.about-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 110px 20px 50px;   /* top space so the header doesn't cover the title */
  text-align: center;
}

.about-hero h2 {
  font-size: 36px;
  color: #1f6f66;
  margin: 0 0 10px;
}

.about-hero .tagline {
  font-size: 18px;
  color: #8b4a2b;
  font-weight: 600;
  margin: 0 0 30px;
}

.about-story {
  background: #fff;
  border-radius: 16px;
  padding: 25px 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.7;
  color: #444;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  margin-bottom: 45px;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.feature-card i {
  font-size: 28px;
  color: #fff;
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: 50%;
  background: #f2b632;
  margin-bottom: 12px;
}

.feature-card:nth-child(2) i { background: #8b4a2b; }
.feature-card:nth-child(3) i { background: #2e7d4f; }
.feature-card:nth-child(4) i { background: #1f6f66; }

.feature-card h3 { margin: 8px 0; color: #5a3a1e; }
.feature-card p  { margin: 0; color: #666; }

.about-contact {
  background: #fff3d6;
  border-radius: 16px;
  padding: 30px 20px;
}

.about-contact h3 { margin: 0 0 6px; color: #5a3a1e; font-size: 24px; }
.about-contact p  { margin: 0 0 18px; color: #555; }

.social-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.social {
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  transition: transform 0.3s;
}

.social:hover { transform: scale(1.15); }

.social.facebook  { background: #1877f2; }
.social.instagram { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.social.whatsapp  { background: #25d366; }
.social.tiktok    { background: #000; }

.call-line a {
  color: #8b4a2b;
  font-weight: 700;
  text-decoration: none;
}

.call-line i { color: #2e7d4f; margin-right: 6px; }
/* ===== SHOP ===== */
.products { max-width: 1200px; margin: 0 auto; padding: 110px 20px 50px; text-align: center; }
.products h2 { font-size: 34px; color: #1f6f66; margin: 0 0 8px; }
.products > p { color: #666; margin: 0 0 35px; }

.product-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.product-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}
.product-card h3 { margin: 0 0 6px; color: #8b4a2b; }
.product-card p { margin: 0 0 12px; color: #666; font-size: 14px; flex-grow: 1; }

.product-card select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #e3d3b0;
  border-radius: 10px;
  background: #fffaf0;
  color: #5a3a1e;
  font-size: 14px;
}

.product-card .price {
  font-size: 22px;
  font-weight: 700;
  color: #2e7d4f;
  margin: 4px 0 12px;
  flex-grow: 0;
}

.add-to-cart, .btn {
  display: inline-block;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 25px;
  background: #f2b632;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}
.add-to-cart:hover, .btn:hover { background: #c9861a; transform: scale(1.03); }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translate(-50%, 20px);
  background: #2e7d4f; color: #fff;
  padding: 12px 24px; border-radius: 25px;
  opacity: 0; transition: all 0.3s; z-index: 999;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ===== CART ===== */
.cart-page { max-width: 900px; margin: 0 auto; padding: 110px 20px 50px; }
.cart-page h2 { text-align: center; color: #1f6f66; font-size: 34px; margin-bottom: 25px; }

.cart-item {
  display: flex; align-items: center; gap: 15px;
  background: #fff; border-radius: 16px; padding: 14px;
  margin-bottom: 14px; box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; }
.cart-info { flex: 1; }
.cart-info h3 { margin: 0 0 4px; color: #8b4a2b; font-size: 18px; }
.cart-info p { margin: 0; color: #666; font-size: 14px; }
.cart-info .unit { color: #999; }

.qty { display: flex; align-items: center; gap: 10px; }
.qty button {
  width: 32px; height: 32px; border: none; border-radius: 50%;
  background: #f2b632; color: #fff; font-size: 18px; cursor: pointer;
}
.qty button:hover { background: #c9861a; }

.line-total { font-weight: 700; color: #2e7d4f; min-width: 90px; text-align: right; }
.remove { border: none; background: none; color: #c0392b; font-size: 18px; cursor: pointer; }

#cart-summary { background: #fff3d6; border-radius: 16px; padding: 22px; margin-top: 20px; }
.total-row { display: flex; justify-content: space-between; font-size: 22px; margin-bottom: 16px; color: #5a3a1e; }
#checkout { background: #25d366; }
#checkout:hover { background: #1ebe5b; }
.continue { display: block; text-align: center; margin-top: 14px; color: #8b4a2b; text-decoration: none; font-weight: 600; }

.cart-empty { text-align: center; padding: 50px 20px; background: #fff; border-radius: 16px; }
.cart-empty .btn { max-width: 220px; margin-top: 10px; }

@media (max-width: 600px) {
  .cart-item { flex-wrap: wrap; }
  .line-total { text-align: left; }
}/* ===== ORDER DONE PANEL ===== */
.hidden { display: none !important; }
.order-done {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  display: flex; align-items: center; justify-content: center;
  padding: 16px; z-index: 2000; overflow-y: auto;
}
.done-card {
  background: #fff; border-radius: 20px; padding: 26px 22px;
  width: 100%; max-width: 420px; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.done-tick {
  width: 60px; height: 60px; line-height: 60px; margin: 0 auto 8px;
  border-radius: 50%; background: #2e7d4f; color: #fff; font-size: 30px;
}
.done-card h3 { margin: 0 0 6px; color: #1f6f66; font-size: 24px; }
.done-card p { margin: 4px 0; color: #555; }
.code-box {
  font-size: 26px; font-weight: 800; letter-spacing: 2px; color: #8b4a2b;
  background: #fff3d6; border: 2px dashed #f2b632; border-radius: 12px;
  padding: 12px; margin: 8px 0; word-break: break-all;
}
.done-note { font-size: 14px; }
.done-card .whatsapp-btn, .done-btn {
  display: block; margin-top: 12px; padding: 13px; border-radius: 25px;
  font-weight: 700; text-decoration: none; text-align: center;
}
.done-btn { background: #1f6f66; color: #fff; }
.done-close {
  margin-top: 12px; background: none; border: none;
  color: #888; font-size: 15px; cursor: pointer;
}

/* ===== TRACK PAGE ===== */
.track-box { max-width: 560px; margin: 0 auto; padding: 20px 16px 50px; }
.track-form, .track-result {
  background: #fff; border-radius: 16px; padding: 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08); margin-bottom: 18px;
}
.track-form input {
  width: 100%; padding: 12px; margin-bottom: 12px; font-size: 16px;
  border: 1px solid #e3d3b0; border-radius: 10px; background: #fffaf0;
  box-sizing: border-box;
}
.track-result h3 { margin: 0 0 4px; color: #8b4a2b; }
.track-result p { margin: 6px 0; color: #444; }
.track-result .muted { color: #888; font-size: 14px; }
.track-total { font-weight: 700; color: #2e7d4f; font-size: 18px; }
.track-note { background: #fff3d6; padding: 10px; border-radius: 10px; }
.badge-cancel { background: #c0392b; color: #fff; padding: 10px; border-radius: 10px; font-weight: 700; margin: 10px 0; }
.steps { list-style: none; padding: 0; margin: 16px 0; }
.steps li {
  position: relative; padding: 8px 0 8px 34px; color: #999; font-weight: 600;
}
.steps li::before {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 16px; height: 16px; border-radius: 50%; background: #ddd;
}
.steps li.done { color: #2e7d4f; }
.steps li.done::before { background: #2e7d4f; }
.steps li.current { color: #8b4a2b; }
.steps li.current::before { background: #f2b632; box-shadow: 0 0 0 4px rgba(242,182,50,.3); }

/* ===== PHONE FIXES ===== */
img { max-width: 100%; height: auto; }
.product-card img { aspect-ratio: 1 / 1; object-fit: cover; background: #f5ead2; }

@media (max-width: 768px) {
  html, body { overflow-x: hidden; }
  *, *::before, *::after { box-sizing: border-box; }

  header {
    position: relative !important;
    flex-direction: column; align-items: center; gap: 8px;
    padding: 12px 10px; text-align: center;
  }
  header h1 { font-size: 22px; margin: 0; letter-spacing: 1px; }
  nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
  nav a { padding: 6px 10px; font-size: 14px; }

  .about-page, .products, .page-banner, .contact,
  .cart-page, .track-box, .admin { padding-top: 18px !important; }
  .about-page, .products, .contact, .cart-page { padding-left: 14px; padding-right: 14px; }

  .about-hero h2, .products h2, .page-banner h2, .contact h2 { font-size: 26px; }
  .about-story { padding: 18px 16px; }

  .product-container { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card { padding: 10px; }
  .product-card h3 { font-size: 16px; }
  .product-card p { font-size: 13px; }
  .product-card select { font-size: 13px; padding: 8px; }
  .product-card .price { font-size: 18px; }
  .add-to-cart { padding: 10px; font-size: 14px; }

  .about-features, .contact-grid { grid-template-columns: 1fr; }
  .cart-item { flex-wrap: wrap; gap: 10px; }
  .cart-item img { width: 64px; height: 64px; }
  .line-total { text-align: left; min-width: 0; }
  .checkout-form input, .checkout-form select { font-size: 16px; }
  .cart-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .whatsapp-btn, .remove-btn { width: 100%; text-align: center; }
}

@media (max-width: 400px) {
  .product-container { grid-template-columns: 1fr; }
}
/* ===== DARK MODE ===== */
#theme-toggle {
  border: none; background: rgba(0,0,0,.08); cursor: pointer;
  width: 38px; height: 38px; border-radius: 50%; font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .3s, transform .2s;
}
#theme-toggle:hover { transform: scale(1.1); }

body.dark { background: #14110d !important; color: #eee5d8; }
body.dark header { background: #1c1712 !important; box-shadow: 0 2px 10px rgba(0,0,0,.5); }
body.dark header h1 { color: #f2b632 !important; }
body.dark nav a { background: #2a231b; color: #f0e6d6; }
body.dark nav a:hover { background: #f2b632; color: #1a1510; }
body.dark nav a.active { background: #8b4a2b; color: #fff; }
body.dark nav a.cart { background: #2e7d4f; color: #fff; }
body.dark #theme-toggle { background: rgba(255,255,255,.12); }

body.dark h2, body.dark h3 { color: #f2b632; }
body.dark p, body.dark li, body.dark label { color: #d8cdbd; }
body.dark a { color: #f2b632; }

/* cards and boxes */
body.dark .about-story, body.dark .feature-card, body.dark .about-contact,
body.dark .contact-card, body.dark .product-card, body.dark .cart-item,
body.dark .pay-info, body.dark .checkout-form, body.dark .cart-summary,
body.dark .cart-empty, body.dark .track-form, body.dark .track-result,
body.dark .order, body.dark .login-card, body.dark .done-card {
  background: #211b14; box-shadow: 0 4px 14px rgba(0,0,0,.5);
}
body.dark .pay-info, body.dark .about-contact, body.dark .track-note { background: #2b2216; }
body.dark .feature-card p, body.dark .contact-card p,
body.dark .product-card p, body.dark .cart-info p { color: #b9ad9b; }
body.dark .product-card h3, body.dark .cart-info h3,
body.dark .order h3, body.dark .track-result h3 { color: #f2b632; }
body.dark .contact-card { color: #eee5d8; }

/* form fields */
body.dark input, body.dark select, body.dark textarea {
  background: #2a231b !important; color: #f0e6d6 !important;
  border-color: #4a3d2c !important;
}
body.dark input::placeholder { color: #8f8372; }

/* prices, totals, misc */
body.dark .product-card .price, body.dark .line-total,
body.dark .track-total, body.dark .cart-summary .cart-total { color: #5ad08a; }
body.dark .cart-summary .cart-total { border-top-color: #4a3d2c; }
body.dark .code-box { background: #2b2216; color: #f2b632; }
body.dark .order .controls { border-top-color: #4a3d2c; }
body.dark .remove-btn { background: transparent; }
body.dark .steps li { color: #8f8372; }
body.dark .steps li.done { color: #5ad08a; }
body.dark .steps li.current { color: #f2b632; }
body.dark .about-hero .tagline { color: #e0a070; }
body.dark .about-hero h2, body.dark .products h2,
body.dark .page-banner h2, body.dark .contact h2 { color: #f2b632; }
body.dark .product-card img { background: #2a231b; }
body.dark footer { background: #0e0c09; }


