/* =====================================================
   GLOBAL RESET (para walang white gap)
===================================================== */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* =====================================================
   HEADER DESKTOP
===================================================== */
@media screen and (min-width: 601px) {
  header {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    background: #004364;

    /* ✅ full width */
    margin: 0 !important;
    width: 100% !important;
    left: 0;
    right: 0;

    padding: 0.8rem 2rem;
    gap: 1.5rem;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
  }

  .pv-brand img {
    max-width: 120px;
    height: auto;
    display: block;
  }

  .pv-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .pv-nav a {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    line-height: 1;

    /* ✅ remove underline */
    text-decoration: none;
  }

  .pv-nav a:hover { 
    color: #ffd700; 
    text-decoration: none;  /* keep underline removed on hover too */
  }

  .search-cart-group {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 900px;
  }

  .search-form {
    flex: 1;
    display: flex !important;
    align-items: center;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    height: 38px;
  }

  .search-form input {
    flex: 1;
    border: none;
    padding: 0 1rem;
    font-size: 0.95rem;
    outline: none;
  }

  .search-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #5a2dff;
    border: none;
    padding: 0 1.2rem;
    cursor: pointer;
    border-radius: 0 6px 6px 0;
    height: 100%;
  }

  .search-form button svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
  }

  .icon-group,
  .menu-toggle,
  .close-nav { 
    display: none !important; 
  }
}

@media (min-width: 601px) { 
  .mobile-nav { display: none !important; } 
}
/* ========================= END HEADER DESKTOP ========================= */



/* =====================================================
   HEADER MOBILE
===================================================== */
@media screen and (max-width: 600px) {
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #004364;

    /* ✅ sagad sa gilid */
    margin: 0 !important;
    width: 100% !important;
    left: 0;
    right: 0;

    padding: 0.5rem 1rem;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
  }

  header img { max-width: 80px; height: auto; }

  .icon-group {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 0.8rem;
  }
  .icon-group button {
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer; color: #fff;
  }
  .icon-group svg { width: 26px; height: 26px; stroke: #fff; }

  .menu-toggle {
    background: none; border: none;
    font-size: 1.8rem; color: #fff; cursor: pointer;
  }

  .pv-nav, .search-form { display: none !important; }

  header nav {
    position: fixed; top: 0; right: -100%;
    width: 70%; height: 100%;
    background: #00334a;
    display: flex; flex-direction: column;
    padding: 2rem 1rem;
    transition: right 0.3s ease-in-out;
    z-index: 9999;
  }
  header nav.active { right: 0; }

  header nav a {
    color: #fff; font-size: 1.1rem;
    margin: 0.8rem 0; text-decoration: none;
  }

  .close-nav {
    align-self: flex-end;
    font-size: 2rem; color: #fff;
    background: none; border: none;
    margin-bottom: 1.5rem;
    cursor: pointer;
  }
}
/* ========================= END HEADER MOBILE ========================= */


/* =====================================================
   FOOTER DESKTOP
===================================================== */
@media (min-width: 901px) {
  footer {
    background: linear-gradient(135deg, #004364, #0077a8);

    /* ✅ sagad sa gilid */
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box;

    padding: 30px 20px;
  }
  footer .features {
    max-width: 1200px;
    margin: 0 auto 26px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
  footer .feature {
    display: flex; align-items: flex-start;
    gap: 14px; text-align: left; color: #fff;
  }
  footer .feature img {
    width: 36px; height: 36px;
    flex: 0 0 36px; display: block;
    filter: brightness(0) invert(1);
  }
  footer .feature:first-child img { filter: none; }
  footer .feature h4 {
    margin: 0 0 6px; font-size: 1rem;
    font-weight: 700; color: #ffd814;
  }
  footer .feature p {
    margin: 0; font-size: .9rem;
    line-height: 1.4; color: #eee;
  }
  footer .footer-bottom {
    text-align: center; margin-top: 22px;
  }
  footer .footer-bottom p {
    margin: 6px 0; font-size: 0.9rem; color: #fff;
  }
  footer .footer-bottom a {
    color: #ffd814; font-weight: 600; text-decoration: none;
  }
  footer .footer-bottom a:hover { text-decoration: underline; }
}
/* ========================= END FOOTER DESKTOP ========================= */


/* =====================================================
   FOOTER MOBILE
===================================================== */
@media (max-width: 900px) {
  footer {
    background: linear-gradient(135deg, #004364, #0077a8);

    /* ✅ sagad sa gilid */
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box;

    padding: 20px 0; /* tanggalin horizontal padding */
  }

  footer .features {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 0 14px 8px 14px;   /* konting loob lang para di dumikit */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  footer .features::-webkit-scrollbar { display: none; }

  footer .feature {
    flex: 0 0 280px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #fff;
    scroll-snap-align: start;
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 8px;
  }

  footer .feature img {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: block;
    filter: brightness(0) invert(1);
  }
  footer .feature:first-child img { filter: none; }

  footer .feature h4 {
    margin: 0 0 4px;
    font-size: .98rem;
    font-weight: 700;
    color: #ffd814;
  }

  footer .feature p {
    margin: 0;
    font-size: .88rem;
    line-height: 1.4;
    color: #f0f0f0;
  }

  footer .footer-bottom {
    text-align: center;
    margin-top: 14px;
    padding: 0 14px;
  }

  footer .footer-bottom p {
    margin: 6px 0;
    font-size: .9rem;
    color: #fff;
  }

  footer .footer-bottom a {
    color: #ffd814;
    font-weight: 600;
    text-decoration: none;
  }
  footer .footer-bottom a:hover { text-decoration: underline; }
}
/* ========================= END FOOTER MOBILE ========================= */





/* =====================================================
   BANNER SECTION (GLOBAL)
   Purpose: Banner section for both desktop and mobile
===================================================== */
.banner-section {
  width: 100%;
  min-height: 55vh;
  background: url('../assets/images/page-index/hero-bg.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;      /* Always align to the left */
  margin: 0;
  padding: 6% 8% 0 8%;
  color: #000;
  position: relative;
  overflow: hidden;
  background-color: #f4f6f8;
}

.banner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  z-index: 0;
}

.banner-content {
  max-width: 700px;
  position: relative;
  z-index: 1;
  text-align: left;                /* Default: left-aligned text */
}

.banner-content h1 {
  font-size: 2.8rem;               /* Default desktop size */
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.cta-button {
  background: #ffd814;
  color: #000;
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background: #e6c200;
}

/* =====================================================
   MOBILE VIEW (≤600px)
   Purpose: Adjust font size and spacing only
===================================================== */
@media screen and (max-width: 600px) {
  .banner-section {
    min-height: 40vh;
    padding: 12% 6% 0 6%;          /* Slightly tighter padding */
    justify-content: flex-start;   /* Keep content on the left */
  }

  .banner-content h1 {
    font-size: 1.8rem;             /* Smaller font on mobile */
    margin-bottom: 1rem;
  }

  .cta-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}
/* ========================= END BANNER SECTION ========================= */






















































































































































































































/* =====================================================
   CATEGORY TITLE + SHOW MORE ARROW (SVG)
   Applies to both Mobile and Desktop
===================================================== */
.category-title {
  display: flex;
  justify-content: space-between; /* title left, arrow right */
  align-items: center;
  margin: 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ddd;
}

.category-title .show-more {
  display: flex;
  align-items: center;
  margin-left: auto;     /* push arrow sa pinaka kanan */
  text-decoration: none; /* remove underline */
}

.category-title .show-more svg {
  width: 22px;
  height: 22px;
  stroke: #222;          /* arrow color */
  stroke-width: 3;
  fill: none;
  transition: stroke 0.2s, transform 0.2s;
}

.category-title .show-more:hover svg {
  stroke: #ff6600;        /* hover color */
  transform: translateX(3px); /* konting slide kanan */
}







/* =====================================================
   MOBILE VIEW (≤1023px)
   Purpose: Styles apply ONLY for mobile & tablet screens
===================================================== */
@media screen and (max-width: 1023px) {

  /* ----- MAIN CONTAINER ----- */
  .product-mother-container {
    max-width: 100%;
    margin: 1.5rem auto;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  /* ----- CATEGORY BLOCK ----- */
  .category-block {
    margin-bottom: 2rem;
  }
  .category-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.4rem;
  }

  /* ----- PRODUCT CARDS GRID ----- */
  .products-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 🔑 always 2 cards per row */
    gap: 1rem;
  }

  /* ----- PRODUCT CARD ----- */
  .product-card {
    background: transparent;
    border-radius: 8px;
    box-shadow: none;
    padding: 0.5rem;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 200px;
    box-sizing: border-box;

    text-decoration: none;   /* 🔑 REMOVE underline */
    color: inherit;          /* 🔑 Keep text color natural */
  }
  .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .product-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    background: #fff;
  }

  .product-name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0.3rem 0 0;
    color: #222;
  }
}
/* ========== END MOBILE ========== */







/* =====================================================
   DESKTOP VIEW (≥1024px)
   Purpose: Styles apply ONLY for desktop screens
===================================================== */
@media screen and (min-width: 1024px) {

  /* ----- MAIN CONTAINER ----- */
  .product-mother-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
  }

  /* ----- CATEGORY BLOCK ----- */
  .category-block {
    margin-bottom: 3rem;
  }
  .category-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
  }

  /* ----- PRODUCT CARDS GRID ----- */
  .products-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 🔑 always 4 cards per row */
    gap: 1.5rem;
    align-items: stretch; /* pantay lahat ng cards per row */
  }

  /* ----- PRODUCT CARD ----- */
  .product-card {
    background: transparent;
    border-radius: 8px;
    box-shadow: none;
    padding: 0.5rem;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 260px; /* baseline uniform height */
    box-sizing: border-box;

    text-decoration: none;   /* 🔑 REMOVE underline */
    color: inherit;          /* 🔑 Keep text color natural */
  }
  .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    background: #fff;
  }

  .product-name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0.3rem 0 0;
    color: #222;
  }
}
/* ========== END DESKTOP ========== */