/* =========================================
   GLOBAL
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;

  background: #f4f8f4;

  color: #1f2937;

  min-height: 100vh;
}

/* =========================================
   HEADER
========================================= */

.main-header {
  background: linear-gradient(135deg, #2f8f46, #4caf50, #65bc69);

  color: white;

  padding: 10px 30px;
}

.header-container {
  max-width: 1180px;

  margin: 0 auto;

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 40px;
}

/* =========================================
   WEBSITE LOGO
========================================= */

.brand-section {
  display: flex;
  align-items: center;
}

.website-logo {
  width: auto;
  height: 145px;
  max-width: 600px;

  display: block;
  object-fit: contain;
}

/* =========================================
   CONTACT HEADER
========================================= */

.contact-section {
  min-width: 310px;

  padding: 15px 18px;

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.11);

  line-height: 1.55;
}

.contact-section h3 {
  margin-bottom: 5px;

  font-size: 17px;
}

.contact-section p {
  font-size: 14px;
}

/* =========================================
   NAVIGATION
========================================= */

.main-nav {
  position: sticky;

  top: 0;

  z-index: 100;

  display: flex;

  justify-content: center;

  align-items: center;

  flex-wrap: wrap;

  gap: 8px;

  background: white;

  padding: 14px 20px;

  border-bottom: 1px solid #e3ebe3;

  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.main-nav button {
  border: none;

  background: transparent;

  color: #374151;

  padding: 10px 13px;

  border-radius: 7px;

  font-size: 14px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.2s ease;
}

.main-nav button:hover {
  background: #ecf8ee;

  color: #2e7d32;
}

/* =========================================
   NOTIFICATION COUNT
========================================= */

.notification-count {
  display: inline-block;

  min-width: 20px;

  margin-left: 4px;

  padding: 2px 6px;

  border-radius: 999px;

  background: #43a047;

  color: white;

  font-size: 11px;

  text-align: center;
}

/* =========================================
   HOME HERO
========================================= */

.home-hero {
  position: relative;

  min-height: 570px;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 55px 20px;

  background-image:
    linear-gradient(rgba(245, 251, 246, 0.78), rgba(245, 251, 246, 0.84)),
    url("images/farm1.jpg");

  background-position: center;

  background-size: cover;

  background-repeat: no-repeat;

  transition: background-image 1.2s ease-in-out;
}

.hero-overlay {
  width: 100%;

  display: flex;

  justify-content: center;
}

.welcome-card {
  width: min(820px, 94%);

  padding: 48px 42px;

  background: rgba(255, 255, 255, 0.82);

  backdrop-filter: blur(7px);

  border: 1px solid rgba(255, 255, 255, 0.75);

  border-radius: 20px;

  text-align: center;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.09);
}

.hero-tag {
  display: inline-block;

  margin-bottom: 12px;

  color: #2e8b44;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}

.welcome-card h2 {
  margin-bottom: 12px;

  color: #17251b;

  font-size: 36px;
}

.hero-main-text {
  margin-bottom: 7px;

  color: #374151;

  font-size: 18px;
}

.hero-sub-text {
  max-width: 610px;

  margin: 0 auto 28px;

  color: #6b7280;

  font-size: 15px;

  line-height: 1.6;
}

.our-services-title {
  margin-bottom: 15px;

  color: #25332a;

  font-size: 17px;

  font-weight: 700;
}

/* =========================================
   HOME SERVICE BUTTONS
========================================= */

.home-service-buttons {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 10px;
}

.home-service-buttons button {
  padding: 12px 18px;

  border: none;

  border-radius: 8px;

  background: #43a047;

  color: white;

  font-size: 14px;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.home-service-buttons button:hover {
  background: #2e7d32;

  transform: translateY(-2px);
}

/* =========================================
   PAGE SECTIONS
========================================= */

.page-section {
  min-height: 540px;

  padding: 50px 20px;
}

.content-section {
  width: min(1050px, 92%);

  min-height: 500px;

  margin: 40px auto;
}

.hidden {
  display: none !important;
}

/* =========================================
   FORM CARD
========================================= */

.form-card {
  width: min(460px, 94%);

  margin: 0 auto;

  padding: 34px;

  border: 1px solid #e2e8e2;

  border-radius: 17px;

  background: white;

  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

.form-card h2 {
  margin: 7px 0 8px;

  font-size: 27px;
}

.form-description {
  margin-bottom: 24px;

  color: #6b7280;

  line-height: 1.5;
}

.section-tag {
  display: inline-block;

  color: #3a9a50;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 1.2px;

  text-transform: uppercase;
}

form label {
  display: block;

  margin: 13px 0 5px;

  color: #374151;

  font-size: 13px;

  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;

  padding: 12px 13px;

  border: 1px solid #d4ddd5;

  border-radius: 8px;

  background: #fbfdfb;

  font-size: 14px;

  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #4caf50;

  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

textarea {
  min-height: 95px;

  resize: vertical;
}

form button {
  width: 100%;

  margin-top: 20px;

  padding: 13px;

  border: none;

  border-radius: 8px;

  background: #43a047;

  color: white;

  font-size: 15px;

  font-weight: 700;

  cursor: pointer;
}

form button:hover {
  background: #2e7d32;
}

/* =========================================
   SECTION HEADER
========================================= */

.section-header {
  margin-bottom: 20px;

  padding: 25px 28px;

  border: 1px solid #e5eae5;

  border-radius: 15px;

  background: white;

  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.045);
}

.section-header h2 {
  margin: 5px 0 6px;

  font-size: 29px;
}

.section-header p {
  color: #6b7280;
}

/* =========================================
   ORDER / PAYMENT CARDS
========================================= */

.order-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));

  gap: 18px;
}

.order-card {
  padding: 22px;

  border: 1px solid #e1e7e2;

  border-radius: 14px;

  background: white;

  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.05);
}

.order-top {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 12px;

  margin-bottom: 18px;
}

.order-id {
  color: #18251d;

  font-weight: 700;
}

.status-badge {
  padding: 5px 10px;

  border-radius: 999px;

  font-size: 11px;

  font-weight: 700;
}

.status-pending {
  background: #fff7ed;

  color: #c2410c;
}

.status-paid {
  background: #eafaf0;

  color: #08783d;
}

.status-cancelled {
  background: #fff0f0;

  color: #b42318;
}

.status-delivered {
  background: #eef5ff;

  color: #2055a5;
}

.order-details {
  display: grid;

  gap: 11px;

  margin-bottom: 18px;
}

.order-row {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  padding-bottom: 8px;

  border-bottom: 1px solid #f0f2f0;
}

.order-label {
  color: #6b7280;

  font-size: 13px;
}

.order-value {
  color: #1f2937;

  font-size: 13px;

  font-weight: 600;

  text-align: right;

  overflow-wrap: anywhere;
}

.order-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 9px;
}

.pay-btn,
.cancel-btn,
.mark-read-btn {
  padding: 9px 13px;

  border: none;

  border-radius: 7px;

  font-size: 13px;

  font-weight: 600;

  cursor: pointer;
}

.pay-btn,
.mark-read-btn {
  background: #43a047;

  color: white;
}

.pay-btn:hover,
.mark-read-btn:hover {
  background: #2e7d32;
}

.cancel-btn {
  background: #feeaea;

  color: #b42318;
}

.cancel-btn:hover {
  background: #ffdcdc;
}

/* =========================================
   PROFILE
========================================= */

.profile-section {
  width: min(760px, 92%);
}

.profile-card {
  padding: 32px;

  border: 1px solid #e3e9e3;

  border-radius: 17px;

  background: white;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.065);
}

.profile-avatar {
  width: 72px;

  height: 72px;

  margin-bottom: 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: linear-gradient(135deg, #43a047, #65bc69);

  color: white;

  font-size: 28px;

  font-weight: 700;
}

.profile-heading h2 {
  margin: 5px 0;
}

.profile-heading p {
  margin-bottom: 24px;

  color: #6b7280;
}

.profile-details {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 15px;
}

.profile-item {
  padding: 16px;

  border: 1px solid #e2e8e2;

  border-radius: 10px;

  background: #fafcfb;
}

.profile-label {
  display: block;

  margin-bottom: 6px;

  color: #6b7280;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.6px;

  text-transform: uppercase;
}

.profile-value {
  font-weight: 600;

  overflow-wrap: anywhere;
}

/* =========================================
   NOTIFICATIONS
========================================= */

.notification-list {
  display: flex;

  flex-direction: column;

  gap: 14px;
}

.notification-card {
  display: flex;

  align-items: flex-start;

  gap: 17px;

  padding: 20px;

  border: 1px solid #e0e7e1;

  border-radius: 14px;

  background: white;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.045);
}

.notification-icon {
  min-width: 48px;

  height: 48px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: #e9f9ee;

  font-size: 21px;
}

.notification-content {
  flex: 1;
}

.notification-top {
  display: flex;

  justify-content: space-between;

  gap: 12px;

  margin-bottom: 7px;
}

.notification-top strong {
  color: #17251b;
}

.notification-content p {
  margin-bottom: 10px;

  color: #4b5563;

  line-height: 1.5;
}

.notification-status {
  padding: 4px 8px;

  border-radius: 999px;

  background: #fff3e8;

  color: #c2410c;

  font-size: 10px;

  font-weight: 700;
}

.notification-meta {
  display: flex;

  justify-content: space-between;

  gap: 15px;

  margin-bottom: 8px;

  color: #9ca3af;

  font-size: 11px;
}

/* =========================================
   FOOTER
========================================= */

.main-footer {
  margin-top: 45px;

  background: #276d34;

  color: white;
}

.footer-container {
  max-width: 1180px;

  margin: 0 auto;

  padding: 30px;

  display: grid;

  grid-template-columns: 1.3fr 1fr 1fr;

  gap: 35px;
}

.footer-brand h3,
.footer-info h4,
.footer-contact h4 {
  margin-bottom: 8px;
}

.footer-container p {
  color: rgba(255, 255, 255, 0.86);

  font-size: 13px;

  line-height: 1.6;
}

.footer-bottom {
  padding: 13px 20px;

  background: #205b2b;

  text-align: center;

  font-size: 12px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 800px) {
  .website-logo {
    width: 400px;
  }
  .header-container {
    flex-direction: column;

    align-items: flex-start;
  }

  .contact-section {
    width: 100%;

    min-width: 0;
  }

  .brand-section h1 {
    font-size: 31px;
  }

  .main-nav {
    position: static;
  }

  .welcome-card {
    padding: 35px 22px;
  }

  .welcome-card h2 {
    font-size: 29px;
  }

  .profile-details {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .website-logo {
    width: 100%;
  }
  .main-header {
    padding: 20px 18px;
  }

  .main-nav {
    padding: 10px;
  }

  .main-nav button {
    padding: 8px 9px;

    font-size: 12px;
  }

  .home-hero {
    min-height: 520px;
  }

  .welcome-card h2 {
    font-size: 25px;
  }

  .order-row {
    flex-direction: column;

    gap: 4px;
  }

  .order-value {
    text-align: left;
  }

  .notification-card {
    flex-direction: column;
  }

  .notification-meta {
    flex-direction: column;

    gap: 3px;
  }
}

/* =========================================
   ABOUT US
========================================= */

.about-section {
  width: min(1100px, 92%);
}

/* MAIN ABOUT CARD */

.about-main-card {
  display: grid;

  grid-template-columns: 1.7fr 0.8fr;

  gap: 25px;

  margin-bottom: 22px;

  padding: 34px;

  background: white;

  border: 1px solid #e1e8e2;

  border-radius: 17px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.about-text h2 {
  margin: 7px 0 15px;

  color: #17251b;

  font-size: 29px;
}

.about-text p {
  margin-bottom: 13px;

  color: #5d6860;

  line-height: 1.7;

  font-size: 15px;
}

/* OWNER */

.owner-card {
  display: flex;

  align-items: center;

  gap: 16px;

  align-self: center;

  padding: 22px;

  background: linear-gradient(135deg, #edf9ef, #f8fcf8);

  border: 1px solid #d8eadb;

  border-radius: 14px;
}

.owner-avatar {
  width: 65px;

  height: 65px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: linear-gradient(135deg, #43a047, #65bc69);

  color: white;

  font-size: 27px;

  font-weight: 700;
}

.owner-label {
  color: #43a047;

  font-size: 11px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 1px;
}

.owner-card h3 {
  margin: 4px 0;

  font-size: 22px;

  color: #17251b;
}

.owner-card p {
  color: #6b7280;

  font-size: 13px;
}

/* VALUES */

.about-values {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 16px;

  margin-bottom: 22px;
}

.value-card {
  padding: 23px;

  background: white;

  border: 1px solid #e1e8e2;

  border-radius: 14px;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.value-icon {
  width: 46px;

  height: 46px;

  margin-bottom: 13px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: #edf9ef;

  font-size: 21px;
}

.value-card h3 {
  margin-bottom: 8px;

  color: #1b2b20;

  font-size: 17px;
}

.value-card p {
  color: #6b7280;

  font-size: 13px;

  line-height: 1.6;
}

/* MISSION */

.mission-card {
  margin-bottom: 22px;

  padding: 32px;

  border-radius: 17px;

  background: linear-gradient(135deg, #2f8f46, #4caf50);

  color: white;
}

.mission-card .section-tag {
  color: #d8f5dd;
}

.mission-card h2 {
  margin: 7px 0 12px;

  font-size: 27px;
}

.mission-card p {
  max-width: 800px;

  color: rgba(255, 255, 255, 0.9);

  line-height: 1.7;
}

/* QUALITY SECTION */

.quality-section {
  display: grid;

  grid-template-columns: 1.3fr 0.8fr;

  gap: 24px;

  padding: 32px;

  background: white;

  border: 1px solid #e1e8e2;

  border-radius: 17px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.quality-content h2 {
  margin: 7px 0 13px;

  color: #17251b;

  font-size: 27px;
}

.quality-content p {
  margin-bottom: 12px;

  color: #626d65;

  line-height: 1.65;
}

.quality-points {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 10px;

  margin-top: 20px;
}

.quality-points span {
  padding: 10px 12px;

  border-radius: 8px;

  background: #edf9ef;

  color: #2d7e3d;

  font-size: 13px;

  font-weight: 600;
}

/* CERTIFICATE */

.certificate-card {
  padding: 18px;

  border: 1px solid #dce5dd;

  border-radius: 13px;

  background: #fafcfb;

  text-align: center;
}

.certificate-card h3 {
  margin-bottom: 13px;

  color: #243129;
}

.certificate-image {
  width: 100%;

  max-height: 340px;

  object-fit: contain;

  background: white;

  border: 1px solid #e5e7eb;

  border-radius: 8px;
}

.certificate-card p {
  margin-top: 11px;

  color: #8a938d;

  font-size: 11px;

  line-height: 1.4;
}

/* ABOUT RESPONSIVE */

@media (max-width: 850px) {
  .about-main-card,
  .quality-section {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .about-values {
    grid-template-columns: 1fr;
  }

  .quality-points {
    grid-template-columns: 1fr;
  }

  .about-main-card,
  .quality-section,
  .mission-card {
    padding: 22px;
  }
}

#dairy-products-section {
  padding: 50px 20px;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 30px auto;
}

.product-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: left;
}

.product-card h3 {
  margin-top: 0;
}

.available {
  font-weight: bold;
}

.unavailable {
  font-weight: bold;
}

/* ==============================
   Dairy Products Navigation
   ============================== */

/* ==============================
   Dairy Products Section
   ============================== */

#dairy-products-section {
  min-height: 100vh;
  padding: 45px 50px 70px;
  background: #f5faf6;
  text-align: center;
}

#dairy-products-section .section-card {
  max-width: 1250px;
  margin: 0 auto;
}

#dairy-products-section h2 {
  font-size: 32px;
  color: #173d26;
  margin-bottom: 8px;
}

#dairy-products-section .section-card > p {
  font-size: 16px;
  color: #65736b;
  margin-bottom: 35px;
}

/* ==============================
   Dairy Product Grid
   ============================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1250px;
  margin: 0 auto;
}

/* ==============================
   Dairy Product Card
   ============================== */

.product-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5eee7;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
}

.product-card h3 {
  font-size: 21px;
  color: #173d26;
  margin: 0 0 12px;
}

.product-card p {
  margin: 6px 0;
  color: #46534b;
  line-height: 1.5;
}

.product-price {
  margin-top: 12px !important;
  font-size: 20px;
  font-weight: 700;
  color: #238636 !important;
}

.available {
  display: inline-block;
  margin-top: 5px;
  padding: 5px 10px;
  background: #e8f5e9;
  color: #20833a;
  border-radius: 20px;
  font-weight: 700;
}

.unavailable {
  display: inline-block;
  margin-top: 5px;
  padding: 5px 10px;
  background: #fdecec;
  color: #c62828;
  border-radius: 20px;
  font-weight: 700;
}

/* ==============================
   Dairy Order Button
   ============================== */

.product-card button {
  width: 100%;
  margin-top: 16px;
  padding: 11px 18px;
  border: none;
  border-radius: 8px;
  background: #3aa94b;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.product-card button:hover {
  background: #2d8d3d;
  transform: translateY(-1px);
}

/* ==============================
   Responsive Dairy Products
   ============================== */

@media (max-width: 768px) {
  #dairy-products-section {
    padding: 30px 18px 50px;
  }

  #dairy-products-section h2 {
    font-size: 26px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   FRESH FARM - DAIRY PRODUCTS PAGE
   ========================================================= */

.dairy-page::before {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(247, 253, 247, 0.2);

  pointer-events: none;
}

.dairy-wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;

  position: relative;
  z-index: 1;
}

/* =========================================================
   HEADING
   ========================================================= */

.dairy-heading {
  text-align: center;

  margin: 0 auto 30px;

  padding: 18px 30px;

  max-width: 750px;

  background: rgba(255, 255, 255, 0.6);

  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);

  border-radius: 18px;

  animation: dairyHeadingFade 0.7s ease both;
}

.dairy-heading h2 {
  margin: 0;

  font-size: 28px;
  font-weight: 700;

  color: #155b2c;
}

.dairy-heading p {
  margin: 8px 0 0;

  color: #58685e;

  font-size: 15px;
}

/* =========================================================
   DECORATIVE TITLE DIVIDER
   ========================================================= */

.title-divider {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  margin: 13px auto 8px;
}

.title-divider span:not(.leaf) {
  width: 90px;
  height: 1px;

  background: linear-gradient(90deg, transparent, #48a85d);
}

.title-divider span:last-child {
  background: linear-gradient(90deg, #48a85d, transparent);
}

.title-divider .leaf {
  font-size: 18px;

  animation: leafFloat 2.5s ease-in-out infinite;
}

/* =========================================================
   PRODUCT GRID
   ========================================================= */

.products-grid {
  display: grid;

  grid-template-columns: repeat(5, minmax(0, 1fr));

  gap: 20px;

  width: 100%;
}

/* =========================================================
   PRODUCT CARD
   ========================================================= */

.product-card {
  background: rgba(255, 255, 255, 0.94);

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  border-radius: 18px;

  border: 1px solid rgba(31, 120, 61, 0.12);

  box-shadow: 0 8px 24px rgba(28, 88, 43, 0.13);

  overflow: hidden;

  min-height: 410px;

  display: flex;
  flex-direction: column;

  opacity: 0;
  transform: translateY(20px);

  animation: productCardEnter 0.6s ease forwards;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.01);

  border-color: rgba(45, 167, 73, 0.3);

  box-shadow: 0 16px 34px rgba(32, 105, 54, 0.17);
}

/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.product-image-wrapper {
  height: 150px;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;

  margin: 14px 14px 0;

  border-radius: 50%;

  background: radial-gradient(circle, #f4fbf4 0%, #edf8ef 58%, transparent 60%);

  overflow: hidden;
}

.product-image {
  width: 135px;
  height: 125px;

  object-fit: contain;

  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.product-card:hover .product-image {
  transform: scale(1.08) rotate(-1deg);

  filter: drop-shadow(0 9px 10px rgba(0, 0, 0, 0.12));
}

/* fallback when image missing */

.image-fallback::after {
  content: "🥛";

  font-size: 64px;

  animation: productFallbackFloat 2.4s ease-in-out infinite;
}

/* =========================================================
   PRODUCT CONTENT
   ========================================================= */

.product-content {
  padding: 12px 18px 18px;

  display: flex;
  flex-direction: column;

  flex-grow: 1;
}

.product-content h3 {
  margin: 0 0 9px;

  text-align: center;

  font-size: 19px;

  line-height: 1.2;

  color: #104f26;

  font-weight: 700;
}

.product-category {
  font-size: 13px;

  color: #3e4d44;

  margin: 3px 0;
}

.product-description {
  font-size: 13px;

  color: #67736c;

  margin: 5px 0 10px;

  line-height: 1.4;

  min-height: 36px;
}

/* =========================================================
   PRICE
   ========================================================= */

.product-price {
  color: #138534;

  font-size: 18px;

  font-weight: 700;

  margin: 4px 0 8px;
}

.product-price span {
  font-size: 15px;
  font-weight: 700;
}

/* =========================================================
   STATUS
   ========================================================= */

.product-status {
  margin-bottom: 12px;
}

.available {
  display: inline-block;

  background: linear-gradient(135deg, #e6f7e9, #d7f1dc);

  color: #21823a;

  padding: 5px 11px;

  border-radius: 30px;

  font-size: 12px;

  font-weight: 700;
}

.unavailable {
  display: inline-block;

  background: #fde7e7;

  color: #c0392b;

  padding: 5px 11px;

  border-radius: 30px;

  font-size: 12px;

  font-weight: 700;
}

/* =========================================================
   ORDER BUTTON
   ========================================================= */

.dairy-order-btn {
  margin-top: auto;

  width: 100%;

  border: none;

  border-radius: 8px;

  padding: 11px 12px;

  background: linear-gradient(135deg, #25a944, #178f34);

  color: #ffffff;

  font-weight: 700;

  font-size: 14px;

  cursor: pointer;

  box-shadow: 0 5px 12px rgba(31, 155, 62, 0.2);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.dairy-order-btn:hover {
  transform: translateY(-2px);

  background: linear-gradient(135deg, #2ab94c, #159136);

  box-shadow: 0 8px 18px rgba(31, 155, 62, 0.3);
}

.dairy-order-btn:active {
  transform: scale(0.98);
}

.cart-icon {
  margin-right: 5px;
}

.dairy-order-btn.disabled {
  cursor: not-allowed;

  background: #a8b0aa;

  box-shadow: none;
}

/* =========================================================
   LOADING / ERROR
   ========================================================= */

.products-loading,
.products-error {
  grid-column: 1 / -1;

  text-align: center;

  padding: 50px;

  font-size: 16px;

  color: #607067;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes productCardEnter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dairyHeadingFade {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes leafFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }

  50% {
    transform: translateY(-4px) rotate(5deg);
  }
}

@keyframes productFallbackFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 950px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .dairy-page {
    padding: 30px 18px 50px;
  }

  .dairy-heading h2 {
    font-size: 25px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   FINAL DAIRY PRODUCTS BACKGROUND
   Keep this at the VERY END of style.css
   ========================================================= */

#dairy-products-section.dairy-page {
  min-height: 100vh;

  padding: 38px 28px 70px;

  position: relative;

  background-image: url("./images/dairy-background.png");

  background-size: cover;

  background-position: center top;

  background-repeat: no-repeat;

  background-attachment: fixed;

  text-align: center;
}

/* Very light overlay so text/cards stay readable */

#dairy-products-section.dairy-page::before {
  content: "";

  position: absolute;

  inset: 0;

  background: rgba(248, 253, 248, 0.08);

  pointer-events: none;

  z-index: 0;
}

/* Keep actual content above background */

#dairy-products-section .dairy-wrapper {
  width: 100%;

  max-width: 1280px;

  margin: 0 auto;

  position: relative;

  z-index: 1;
}

/* Heading glass panel */

#dairy-products-section .dairy-heading {
  max-width: 750px;

  margin: 0 auto 30px;

  padding: 18px 30px;

  text-align: center;

  background: rgba(255, 255, 255, 0.72);

  border: 1px solid rgba(255, 255, 255, 0.8);

  border-radius: 18px;

  backdrop-filter: blur(4px);

  -webkit-backdrop-filter: blur(4px);

  box-shadow: 0 8px 25px rgba(34, 91, 48, 0.08);
}

/* Product cards */

#dairy-products-section .product-card {
  background: rgba(255, 255, 255, 0.94);

  backdrop-filter: blur(4px);

  -webkit-backdrop-filter: blur(4px);

  border: 1px solid rgba(40, 130, 65, 0.13);

  box-shadow: 0 9px 25px rgba(32, 90, 48, 0.13);
}

nav a {
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  line-height: normal;
  text-decoration: none;
}

/* Keep Dairy Products navigation identical to other menu items */
nav a,
nav a:link,
nav a:visited,
nav a:active {
  color: #374151;
  text-decoration: none;
}

nav a:hover {
  color: #2f8f46;
}

/* =========================================================
   RESPONSIVE V1.1 OVERRIDES
   Desktop + laptop + tablet + mobile
   ========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

.main-header {
  padding-inline: clamp(16px, 4vw, 30px);
}

.header-container {
  width: 100%;
}

.website-logo {
  width: min(100%, 600px);
  height: auto;
  max-height: 145px;
}

.contact-section {
  max-width: 100%;
}

/* Navigation */
.main-nav {
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 12px 18px;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-links button,
.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 10px 13px;
  background: transparent;
  color: #374151;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.nav-links button:hover,
.nav-links a:hover {
  background: #ecf8ee;
  color: #2e7d32;
}

.mobile-nav-bar {
  display: none;
}

.mobile-menu-toggle {
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid #dce8de;
  border-radius: 10px;
  background: #f7fbf8;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 99px;
  background: #256b36;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Fluid typography and spacing */
.welcome-card h2,
.section-header h2,
.about-text h2,
.quality-content h2,
.mission-card h2,
.dairy-heading h2 {
  font-size: clamp(24px, 4vw, 36px);
}

.hero-main-text {
  font-size: clamp(16px, 2vw, 18px);
}

.home-hero {
  min-height: clamp(500px, 68vh, 650px);
  padding: clamp(30px, 6vw, 55px) 16px;
}

.welcome-card {
  width: min(820px, 100%);
  padding: clamp(26px, 5vw, 48px) clamp(18px, 5vw, 42px);
}

.page-section {
  padding: clamp(30px, 6vw, 50px) 16px;
}

.content-section,
.about-section,
.profile-section {
  width: min(1050px, calc(100% - 32px));
}

.form-card {
  width: min(460px, 100%);
  padding: clamp(22px, 5vw, 34px);
}

input,
textarea,
select {
  min-height: 46px;
  font-size: 16px;
}

textarea {
  min-height: 110px;
}

form button,
.pay-btn,
.cancel-btn,
.mark-read-btn,
.dairy-order-btn {
  min-height: 44px;
}

/* Prevent cards/content from forcing horizontal overflow */
.order-grid,
.products-grid,
.profile-details,
.about-main-card,
.about-values,
.quality-section,
.footer-container {
  min-width: 0;
}

.order-card,
.product-card,
.profile-card,
.notification-card,
.about-main-card,
.value-card,
.quality-section,
.certificate-card {
  min-width: 0;
}

.order-value,
.profile-value,
.notification-content,
.contact-section p,
.footer-container p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Product grid: large desktop 5, laptop 4, tablet 2, phone 1 */
.products-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Touch devices should not depend on hover animation */
@media (hover: none) {
  .product-card:hover,
  .home-service-buttons button:hover {
    transform: none;
  }
}

/* Laptop / small desktop */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .header-container {
    gap: 24px;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .main-header {
    padding: 16px 20px;
  }

  .header-container {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .brand-section {
    justify-content: center;
  }

  .website-logo {
    width: min(430px, 100%);
    margin-inline: auto;
  }

  .contact-section {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .mobile-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .mobile-nav-title {
    color: #245f32;
    font-size: 16px;
    font-weight: 800;
  }

  .nav-links {
    display: none;
    width: 100%;
    padding-top: 10px;
  }

  .nav-links.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-links button,
  .nav-links a {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    background: #f7faf7;
    border: 1px solid #e6eee7;
    text-align: center;
  }

  .about-main-card,
  .quality-section {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-contact {
    grid-column: 1 / -1;
  }

  #dairy-products-section.dairy-page {
    background-attachment: scroll;
  }
}

/* Phone */
@media (max-width: 600px) {
  .main-header {
    padding: 12px 14px;
  }

  .website-logo {
    width: min(300px, 100%);
    max-height: 105px;
  }

  .contact-section {
    padding: 12px 14px;
  }

  .contact-section h3 {
    font-size: 15px;
  }

  .contact-section p {
    font-size: 12px;
  }

  .nav-inner {
    padding: 8px 12px;
  }

  .nav-links.is-open {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 8px;
  }

  .home-hero {
    min-height: 480px;
    padding: 28px 12px;
  }

  .welcome-card {
    border-radius: 15px;
    padding: 26px 16px;
  }

  .hero-tag {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .hero-sub-text {
    margin-bottom: 20px;
  }

  .home-service-buttons {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .home-service-buttons button {
    width: 100%;
    min-height: 46px;
  }

  .content-section,
  .about-section,
  .profile-section {
    width: calc(100% - 24px);
    margin: 24px auto;
  }

  .page-section {
    min-height: auto;
    padding: 28px 12px;
  }

  .form-card,
  .profile-card,
  .section-header,
  .about-main-card,
  .mission-card,
  .quality-section {
    padding: 20px 16px;
    border-radius: 13px;
  }

  .section-header {
    margin-bottom: 14px;
  }

  .order-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .order-card {
    padding: 17px 15px;
  }

  .order-top {
    align-items: flex-start;
  }

  .order-row {
    flex-direction: column;
    gap: 4px;
  }

  .order-value {
    width: 100%;
    text-align: left;
  }

  .order-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .order-actions button {
    width: 100%;
  }

  .profile-details {
    grid-template-columns: 1fr;
  }

  .notification-card {
    flex-direction: column;
    gap: 12px;
    padding: 17px 15px;
  }

  .notification-content {
    width: 100%;
  }

  .notification-top,
  .notification-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .about-values,
  .quality-points,
  .products-grid,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-container {
    padding: 26px 18px;
    gap: 22px;
    text-align: center;
  }

  #dairy-products-section,
  #dairy-products-section.dairy-page {
    padding: 28px 12px 45px;
  }

  .dairy-heading {
    padding: 16px 12px;
    margin-bottom: 20px;
  }

  .title-divider span:not(.leaf) {
    width: 55px;
  }

  .product-card {
    min-height: 0;
  }

  .product-image-wrapper {
    height: 145px;
  }

  .certificate-image {
    max-height: 280px;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .mobile-nav-title {
    font-size: 14px;
  }

  .welcome-card h2 {
    font-size: 23px;
  }

  .status-badge {
    max-width: 130px;
    white-space: normal;
    text-align: center;
  }

  .profile-avatar {
    width: 62px;
    height: 62px;
  }
}

/* =========================================================
   FRESH FARM MILK
   PREMIUM MOBILE UI - V1.2
   Paste at VERY END of style.css
   ========================================================= */

@media (max-width: 600px) {
  /* =========================================
     GLOBAL MOBILE
     ========================================= */

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    background: #f5f8f5;
  }

  /* =========================================
     HEADER
     ========================================= */

  .main-header {
    padding: 12px 14px;
  }

  .header-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .brand-section {
    width: 100%;
    justify-content: center;
  }

  .website-logo {
    width: 100%;
    max-width: 270px;
    height: auto;
    max-height: 95px;
    object-fit: contain;
  }

  .contact-section {
    width: 100%;
    min-width: 0;

    padding: 12px 14px;

    text-align: center;

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.14);
  }

  .contact-section h3 {
    margin-bottom: 6px;

    font-size: 15px;
  }

  .contact-section p {
    margin: 2px 0;

    font-size: 12px;

    line-height: 1.45;
  }

  /* =========================================
     MOBILE NAVIGATION
     ========================================= */

  .main-nav {
    position: sticky;

    top: 0;

    z-index: 9999;

    background: rgba(255, 255, 255, 0.98);

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  }

  .nav-inner {
    padding: 8px 12px;
  }

  .mobile-nav-bar {
    min-height: 48px;

    display: flex;

    align-items: center;

    justify-content: space-between;
  }

  .mobile-nav-title {
    color: #205f31;

    font-size: 17px;

    font-weight: 800;

    letter-spacing: 0.2px;
  }

  .mobile-menu-toggle {
    width: 43px;

    height: 43px;

    padding: 10px;

    border: none;

    border-radius: 10px;

    background: #edf8ef;
  }

  /* MOBILE MENU */

  .nav-links.is-open {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 7px;

    max-height: 70vh;

    overflow-y: auto;

    padding: 8px 0 10px;
  }

  .nav-links button,
  .nav-links a {
    min-height: 43px;

    padding: 9px 8px;

    border: 1px solid #e0ebe2;

    border-radius: 9px;

    background: #f7faf7;

    color: #34413a;

    font-size: 12px;

    font-weight: 700;

    text-align: center;
  }

  .nav-links button:active,
  .nav-links a:active {
    background: #e3f3e6;

    transform: scale(0.98);
  }

  /* =========================================
     HERO
     ========================================= */

  .home-hero {
    min-height: auto;

    padding: 28px 12px 35px;

    background-position: center;
  }

  .hero-overlay {
    width: 100%;
  }

  .welcome-card {
    width: 100%;

    max-width: 100%;

    padding: 24px 16px;

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.93);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.09);
  }

  .hero-tag {
    font-size: 10px;

    letter-spacing: 1.3px;
  }

  .welcome-card h2 {
    margin-top: 10px;

    font-size: 24px;

    line-height: 1.2;
  }

  .hero-main-text {
    margin-top: 10px;

    font-size: 15px;

    line-height: 1.5;
  }

  .hero-sub-text {
    margin-top: 7px;

    margin-bottom: 20px;

    font-size: 13px;

    line-height: 1.6;
  }

  .our-services-title {
    margin-bottom: 12px;

    font-size: 17px;
  }

  /* =========================================
     HERO SERVICE BUTTONS
     ========================================= */

  .home-service-buttons {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 9px;
  }

  .home-service-buttons button {
    width: 100%;

    min-height: 44px;

    margin: 0;

    padding: 10px 7px;

    border-radius: 9px;

    font-size: 12px;

    font-weight: 600;

    box-shadow: 0 4px 9px rgba(46, 125, 50, 0.13);
  }

  .home-service-buttons button:last-child {
    grid-column: 1 / -1;
  }

  /* =========================================
     GENERAL SECTIONS
     ========================================= */

  .content-section,
  .about-section,
  .profile-section {
    width: calc(100% - 20px);

    margin: 20px auto;
  }

  .page-section {
    min-height: auto;

    padding: 25px 10px;
  }

  .section-header {
    margin-bottom: 16px;

    padding: 20px 14px;

    border-radius: 15px;
  }

  .section-header h2 {
    font-size: 24px;

    line-height: 1.25;
  }

  .section-header p {
    font-size: 13px;

    line-height: 1.55;
  }

  /* =========================================
     FORMS
     ========================================= */

  .form-card {
    width: 100%;

    max-width: 100%;

    padding: 22px 16px;

    border-radius: 16px;
  }

  .form-card h2 {
    font-size: 24px;
  }

  .form-description {
    font-size: 13px;
  }

  input,
  select,
  textarea {
    width: 100%;

    min-height: 47px;

    font-size: 16px;

    border-radius: 9px;
  }

  textarea {
    min-height: 100px;
  }

  form button {
    width: 100%;

    min-height: 47px;

    border-radius: 9px;
  }

  /* =========================================
     ORDER / PAYMENT CARDS
     ========================================= */

  .order-grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 13px;
  }

  .order-card {
    width: 100%;

    padding: 16px;

    border-radius: 14px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
  }

  .order-top {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 8px;

    margin-bottom: 13px;
  }

  .order-id {
    font-size: 14px;
  }

  .status-badge {
    max-width: 135px;

    padding: 5px 8px;

    font-size: 10px;

    text-align: center;

    white-space: normal;
  }

  .order-row {
    display: grid;

    grid-template-columns: 1fr;

    gap: 3px;

    padding: 8px 0;
  }

  .order-label {
    font-size: 11px;
  }

  .order-value {
    width: 100%;

    text-align: left;

    font-size: 13px;

    overflow-wrap: anywhere;
  }

  .order-actions {
    display: grid;

    grid-template-columns: 1fr;

    gap: 8px;

    margin-top: 12px;
  }

  .order-actions button {
    width: 100%;

    min-height: 44px;
  }

  /* =========================================
     PROFILE
     ========================================= */

  .profile-card {
    padding: 22px 15px;

    border-radius: 16px;
  }

  .profile-avatar {
    width: 65px;

    height: 65px;

    font-size: 25px;
  }

  .profile-heading h2 {
    font-size: 22px;
  }

  .profile-details {
    display: grid;

    grid-template-columns: 1fr;

    gap: 9px;
  }

  .profile-item {
    padding: 12px;
  }

  .profile-value {
    overflow-wrap: anywhere;
  }

  /* =========================================
     NOTIFICATIONS
     ========================================= */

  .notification-card {
    display: flex;

    flex-direction: column;

    gap: 10px;

    padding: 15px;

    border-radius: 14px;
  }

  .notification-content {
    width: 100%;
  }

  .notification-top {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 5px;
  }

  .notification-meta {
    display: flex;

    flex-direction: column;

    gap: 4px;
  }

  .mark-read-btn {
    width: 100%;

    min-height: 42px;
  }

  /* =========================================
     ABOUT
     ========================================= */

  .about-main-card,
  .quality-section {
    display: grid;

    grid-template-columns: 1fr;

    gap: 16px;

    padding: 19px 15px;
  }

  .about-text h2,
  .quality-content h2 {
    font-size: 23px;
  }

  .about-values {
    display: grid;

    grid-template-columns: 1fr;

    gap: 11px;
  }

  .value-card {
    padding: 18px;
  }

  .owner-card {
    padding: 16px;
  }

  .owner-avatar {
    width: 55px;

    height: 55px;

    font-size: 22px;
  }

  .mission-card {
    padding: 21px 16px;
  }

  .mission-card h2 {
    font-size: 23px;
  }

  .quality-points {
    grid-template-columns: 1fr;
  }

  .certificate-card {
    padding: 13px;
  }

  .certificate-image {
    width: 100%;

    height: auto;

    max-height: 260px;
  }

  /* =========================================
     DAIRY PAGE
     ========================================= */

  #dairy-products-section,
  #dairy-products-section.dairy-page {
    width: 100%;

    min-height: auto;

    padding: 22px 10px 40px;

    background-attachment: scroll;
  }

  .dairy-wrapper {
    width: 100%;
  }

  .dairy-heading {
    width: 100%;

    margin-bottom: 18px;

    padding: 18px 12px;

    border-radius: 15px;
  }

  .dairy-heading h2 {
    font-size: 24px !important;

    line-height: 1.25;
  }

  .dairy-heading p {
    margin-top: 8px;

    font-size: 13px;

    line-height: 1.5;
  }

  .title-divider {
    margin: 10px auto 7px;
  }

  .title-divider span:not(.leaf) {
    width: 55px;
  }

  /* =========================================
     DAIRY PRODUCT GRID
     ========================================= */

  .products-grid {
    width: 100%;

    display: grid;

    grid-template-columns: 1fr;

    gap: 14px;

    margin: 0 auto;
  }

  /* =========================================
     DAIRY PRODUCT CARD
     ========================================= */

  .product-card {
    width: 100%;

    min-height: 0;

    border-radius: 17px;

    overflow: hidden;

    box-shadow: 0 6px 20px rgba(27, 94, 45, 0.1);
  }

  .product-image-wrapper {
    width: 100%;

    height: 155px;

    margin: 10px 0 0;

    border-radius: 0;

    background: radial-gradient(
      circle,
      #f1faf2 0%,
      #edf8ef 50%,
      transparent 70%
    );
  }

  .product-image {
    width: 145px;

    height: 135px;

    object-fit: contain;
  }

  .product-content {
    padding: 8px 17px 17px;
  }

  .product-content h3 {
    margin-bottom: 9px;

    font-size: 19px;
  }

  .product-category {
    font-size: 12px;
  }

  .product-description {
    min-height: 0;

    margin: 5px 0 9px;

    font-size: 12px;

    line-height: 1.45;
  }

  .product-price {
    margin: 5px 0 7px !important;

    font-size: 18px;
  }

  .product-price span {
    font-size: 13px;
  }

  .available,
  .unavailable {
    padding: 5px 10px;

    font-size: 11px;
  }

  .product-status {
    margin-bottom: 9px;
  }

  .dairy-order-btn {
    min-height: 44px;

    margin-top: 6px;

    border-radius: 9px;

    font-size: 13px;
  }

  /* =========================================
     FOOTER
     ========================================= */

  .footer-container {
    display: grid;

    grid-template-columns: 1fr;

    gap: 20px;

    padding: 25px 16px;

    text-align: center;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-brand h3 {
    font-size: 19px;
  }

  .footer-container p {
    font-size: 12px;

    line-height: 1.5;
  }

  .footer-bottom {
    padding: 13px 10px;

    font-size: 11px;
  }
}

/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {
  .mobile-nav-title {
    font-size: 15px;
  }

  .nav-links.is-open {
    grid-template-columns: 1fr;
  }

  .welcome-card h2 {
    font-size: 22px;
  }

  .home-service-buttons {
    grid-template-columns: 1fr;
  }

  .home-service-buttons button:last-child {
    grid-column: auto;
  }

  .dairy-heading h2 {
    font-size: 22px !important;
  }

  .product-image {
    width: 130px;

    height: 120px;
  }
}
