@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1f3b5b;
  background-color: #f8f9fb;
  background-image:
    radial-gradient(rgba(237, 114, 38, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff 0%, #f8f9fb 45%, #fff4ec 100%);
  background-size: 28px 28px, cover;
}

.top-bar {
  width: 100%;
  height: 23px;
  background: #ED7226;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
}

.top-contact {
  display: flex;
  align-items: center;
  gap: 17px;
}

.navbar {
  width: 100%;
  height: 88px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  background: #ffffff;
}

.logo img {
  width: 180px;
  height: auto;
  display: block;
}

.nav-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    text-decoration: none;
    color: #1f3b5b;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.nav-links a.active {
    background: #ED7226;
    color: white;
    font-weight: 600;
}

.nav-links a:hover {
    border-color: #ED7226;
    background: rgba(237, 114, 38, 0.08);
    color: #ED7226;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 28px;
  position: relative;
  z-index: 9999;
}

.logged-in-only {
  display: none;
}

.login-nav-btn {
  background: #f47a20;
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.account-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.account-btn {
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.25s ease;
}

.account-btn:hover {
  background: #fff3ea;
}

.account-btn img {
  width: 22px;
  height: 22px;
}

/* DROPDOWN */

.dropdown-menu {
  position: fixed; /* fixed instead of absolute so it's never clipped by overflow:hidden parents */
  width: clamp(180px, 55vw, 220px);

  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 16px;

  padding: 8px;

  display: none;

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.12);

  z-index: 99999;

  overflow: hidden;
}

.account-dropdown.active .dropdown-menu {
  display: block;
}

/* ::before bridge removed — dropdown is position:fixed, no overflow gap needed */

/* LINKS */

.dropdown-menu a,
.dropdown-menu button {
  width: 100%;
  display: flex;
  align-items: center;

  padding: 12px 14px;

  border: none;
  background: transparent;

  text-decoration: none;
  text-align: left;

  color: #294868;
  font-size: 14px;
  font-weight: 600;

  border-radius: 10px;

  cursor: pointer;

  transition: all 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
  background: #fff3ea;
  color: #ed7226;
}

/* Divider */

.dropdown-divider {
  height: 1px;
  background: #eeeeee;
  margin: 6px 0;
}

/* Logout */

#logout-btn {
  color: #d9534f;
}

#logout-btn:hover {
  background: #fff1f1;
}

.nav-icons img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.cart-container {
  position: relative;
  display: inline-block;
}

.flying-cart-item {
  position: fixed;
  width: 35px;
  height: 35px;
  z-index: 9999;
  pointer-events: none;
  transition: all 0.8s ease-in-out;
}

.flying-cart-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%)
          invert(55%) sepia(89%)
          saturate(1563%)
          hue-rotate(357deg)
          brightness(101%)
          contrast(98%);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 50%;
  background: #f47a20;
  color: white;
  font-size: 12px;
  font-weight: bold;
  display: none;
  align-items: center;
  justify-content: center;
}

.hero {
  min-height: auto;
padding-top: 20px;
  display: grid;
  grid-template-columns: 62% 38%;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
}

.hero-content {
    padding-left: 80px;
    padding-right: 20px;
    max-width: 800px;
    
}

.hero-content h1 {
    font-size: 84px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -3px;
    margin-bottom: 24px;
    color: #294868;
}

.hero-content h1 span {
  color: #ED7226;
}

.hero-content p {
    font-size: 20px;
    line-height: 1.7;
    max-width: 650px;
    margin-bottom: 32px;
    color: #4f4f4f;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 60px;
}

.btn {
  height: 46px;
  min-width: 200px;
  padding: 0 26px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.btn-primary {
  background: #ED7226;
  color: #ffffff;
  border: 1px solid #ED7226;
}

.btn-primary img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

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

.btn-outline {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ED7226;
  min-width: 183px;
}

.btn-outline img {
    width: 18px;
    height: 18px;
    filter: invert(55%) sepia(78%) saturate(1713%) hue-rotate(347deg) brightness(98%) contrast(90%);
}

.btn-outline:hover {
  background: #fff3ec;
}

.hero-image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 40px;
}

.hero-image img {
  width: 110%;
  max-width: 800px;
  height: 420px;
  object-fit: cover;
  object-position: center;
}

.supply-section {
    padding: 90px 0;
    background: rgba(255, 255, 255, 0.88);
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 56px;
    font-weight: 800;
    color: #294868;
}

.heading-line {
    width: 140px;
    height: 3px;
    background: #ED7226;
    margin: 10px auto 18px;
}

.section-heading p {
    font-size: 24px;
    color: #555;
}

.supply-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.slider-arrow {
    background: transparent;
    border: none;
    font-size: 90px;
    color: #ED7226;
    cursor: pointer;
    transition: 0.3s;
}

.slider-arrow:hover {
    transform: scale(1.1);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.product-grid.slide-out-left {
  transform: translateX(-40px);
  opacity: 0;
}

.product-grid.slide-out-right {
  transform: translateX(40px);
  opacity: 0;
}

.product-grid.slide-in {
  transform: translateX(0);
  opacity: 1;
}


.product-card {
    width: 270px;
    background: white;
    border: 1px solid #cccaca;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    transition: .3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-card img {
    width: 100%;
    display: block;
}

.product-card h3 {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 700;
    color: #294868;
}


#featured-products .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#featured-products .product-card > img {
  height: 240px;
  object-fit: contain;
}

#featured-products .description {
  min-height: 38px;
}

#featured-products .product-meta {
  min-height: 42px;
}

#featured-products .stock-status {
  margin-top: 12px;
}

#featured-products .price {
  margin-top: auto;
}

#featured-products .add-btn {
  margin-top: 14px;
}


.description {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

.product-meta {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #555;
}

.meta-item img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    filter: brightness(0) saturate(100%)
            invert(20%) sepia(19%) saturate(1470%)
            hue-rotate(176deg) brightness(92%) contrast(90%);
}

.stock-status {
    margin-top: 12px;
    font-size: 12px;
    color: #3ea64b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #3ea64b;
    border-radius: 50%;
}

.price {
    margin-top: 10px;
    font-size: 28px;
    font-weight: 700;
    color: #ED7226;
}
.product-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.price span {
    font-size: 18px;
    font-weight: 700;
    color: #002b55;
}

.add-btn {
    width: 100%;
    margin-top: 15px;
    border: none;
    background: #ED7226;
    color: white;
    height: 42px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-btn img {
    width: 16px;
    filter: brightness(0) invert(1);
}

.view-more-wrapper {
    text-align: center;
    margin-top: 40px;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 220px;
    height: 56px;

    background: #ED7226;
    color: white;
    text-decoration: none;

    border-radius: 6px;
    font-size: 24px;
    font-weight: 500;

    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    transition: .3s;
}

.view-more-btn:hover {
    transform: translateY(-3px);
}

.serve-section {
    padding: 90px 0;
    background: rgba(255, 255, 255, 0.88);
}

.serve-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    justify-content: center;
    align-items: start;
    margin-top: 60px;
}

.serve-item {
    position: relative;
    text-align: center;
    padding: 0 20px;
    cursor: pointer;
}

.serve-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25px;
    width: 1px;
    height: 75px;
    background: #d9d9d9;
}

.serve-item img {
    width: 150px;
    height: 110px;
    object-fit: contain;
    transition: all .3s ease;
}

.serve-item span {
    display: block;
    margin-top: 18px;
    font-size: 17px;
    font-weight: 500;
    color: #111;
    line-height: 1.4;
}

.serve-item:hover img {
    transform: translateY(-8px) scale(1.05);
    filter: drop-shadow(0 8px 15px rgba(237,114,38,.25));
}

.serve-item:hover span {
    color: #ED7226;
}

.ordering-section {
  padding: 90px 70px 100px;
  display: grid;
  grid-template-columns: 1fr 590px;
  gap: 80px;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
    background-image:
        radial-gradient(
            rgba(237,114,38,.04) 1px,
            transparent 1px
        );
    background-size: 24px 24px;

    
}

.ordering-left h4 {
  font-size: 40px;
  color: #ED7226;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.ordering-left h2 {
  font-size: 50px;
  line-height: 1.5;
  color: #0b2d52;
  font-weight: 800;
  margin-bottom: 55px;
}

.ordering-steps {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.step-item {
  width: 140px;
  text-align: center;
}

.step-icon {
  width: 130px;
    height: 130px;
    margin: 0 auto 30px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 18px rgba(0,0,0,.22);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon img {
  width: 85px;
    height: 85px;
    object-fit: contain;
    filter: invert(55%) sepia(86%) saturate(1849%)
            hue-rotate(347deg) brightness(98%) contrast(90%);
}

.step-item h3 {
  color: #0b2d52;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}

.step-item p {
  color: #0b2d52;
  font-size: 12px;
  line-height: 1.25;
}

.step-dots {
  color: #ED7226;
  font-size: 21px;
  font-weight: 800;
  margin-top: 47px;
}

.ordering-line {
  width: 360px;
  height: 4px;
  background: #ED7226;
  margin: 26px 0 0 10px;
}

.reorder-card {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 3px 8px rgba(0,0,0,.25);
}

.reorder-badge {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.reorder-badge img {
    width: 100px;
    height: 100px;
    display: block;
}

.reorder-header {
  position: relative;
  background: #0b2d52;
  color: #fff;
  text-align: center;
  padding: 40px 30px 62px;
  border-radius: 4px 4px 0 0;
  clip-path: polygon(0 0,100% 0,100% 73%,53% 100%,0 73%);
}

.reorder-header h2 {
  font-size: 28px;
  font-weight: 800;
}

.reorder-header div {
  width: 120px;
  height: 2px;
  background: #ED7226;
  margin: 12px auto 18px;
}

.reorder-header p {
  font-size: 15px;
  line-height: 1.2;
}

.schedule-content {
  padding: 25px 22px 24px;
  text-align: center;
}

.schedule-content h3 {
  color: #0b2d52;
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 26px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px 108px;
}

.schedule-grid button {
  height: 63px;
  border: none;
  background: #f7f7f7;
  box-shadow: 0 4px 5px rgba(0,0,0,.28);
  color: #0b2d52;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 15px;
  cursor: pointer;
}

.schedule-grid button:hover {
  background: #fff1e9;
  color: #ED7226;
}

.schedule-grid img {
  
  width: 28px;
    height: 28px;
    object-fit: contain;
    margin-right: 14px;
  filter: invert(55%) sepia(92%) saturate(2375%) hue-rotate(346deg) brightness(98%) contrast(91%);
}

.schedule-line {
  width: 270px;
  height: 2px;
  background: #ED7226;
  margin: 24px auto 20px;
}

.choose-schedule-btn {
  height: 58px;
  width: 380px;
  border: none;
  background: #ff6b15;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  border-radius: 7px;
  box-shadow: 0 4px 7px rgba(0,0,0,.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.choose-schedule-btn img {
  width: 30px;
  filter: brightness(0) invert(1);
}

.schedule-content > p {
  margin-top: 12px;
  color: #0b2d52;
  font-size: 15px;
}

/* ===========================
   REQUEST BUSINESS PRICING
=========================== */

.pricing-section {
    padding: 100px 4%;
}

.pricing-card {
    max-width: 1400px;
    margin: 0 auto;

    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #0B234A;
    box-shadow: 0 20px 50px rgba(0,0,0,.12);

    overflow: hidden;

    display: grid;
    grid-template-columns: 55% 45%;
}

/* LEFT SIDE */

.pricing-left {
    padding: 50px;
}

.pricing-left h2 {
    font-size: 48px;
    font-weight: 800;
    color: #0D2C50;
    margin-bottom: 12px;
}

.pricing-line {
    width: 120px;
    height: 3px;
    background: #ED7226;
    margin-bottom: 25px;
}

.pricing-intro {
    font-size: 18px;
    line-height: 1.7;
    color: #3f3f3f;
    margin-bottom: 30px;
}

/* BENEFITS */

.pricing-benefits {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 40px;
}

.pricing-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-benefit img {
    width: 55px;
    height: 55px;
    object-fit: contain;

    transition: .3s ease;
}

.pricing-benefit:hover img {
    transform: scale(1.08);
}

.pricing-benefit span {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #0D2C50;
}

.benefit-divider {
    width: 1px;
    height: 45px;
    background: #d4d4d4;
}

.pricing-left h3 {
    font-size: 28px;
    font-weight: 800;
    color: #0D2C50;
    margin-bottom: 25px;
}

/* FORM */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.form-left label,
.form-right label,
.notes-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0D2C50;
    margin-bottom: 8px;
}

.form-left input {
    width: 100%;
    height: 48px;

    padding: 0 15px;

    border: 1px solid #d7d7d7;
    border-radius: 8px;

    font-size: 14px;

    margin-bottom: 15px;

    transition: .3s ease;
}

.form-left input:focus {
    outline: none;
    border-color: #ED7226;
}

/* UPLOAD BOX */

.upload-box {
    height: 245px;

    border: 2px dashed #d8d8d8;
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    cursor: pointer;

    transition: .3s ease;
}

.upload-box:hover {
    border-color: #ED7226;
    background: #fff9f5;
}

.upload-box img {
    width: 52px;
    height: 52px;
    margin-bottom: 15px;

    filter: invert(55%) sepia(78%) saturate(1713%)
            hue-rotate(347deg) brightness(98%) contrast(90%);
}

.upload-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0D2C50;
    margin-bottom: 8px;
}

.upload-box p {
    font-size: 14px;
    color: #444;
}

.upload-box span {
    color: #ED7226;
    font-weight: 700;
}

.upload-box small {
    margin-top: 12px;
    color: #999;
}

/* NOTES */

textarea {
    width: 100%;
    height: 120px;

    margin-top: 10px;

    border: 1px solid #d7d7d7;
    border-radius: 8px;

    padding: 15px;

    resize: none;

    font-family: inherit;
    font-size: 14px;
}

textarea:focus {
    outline: none;
    border-color: #ED7226;
}

/* BUTTON */

.quote-btn {
    margin-top: 20px;

    height: 55px;
    padding: 0 30px;

    border: none;
    border-radius: 8px;

    background: #ED7226;
    color: white;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition: .3s ease;
}

.quote-btn:hover {
    background: #d86118;
    transform: translateY(-2px);
}

/* IMAGE */

.pricing-image {
    height: 100%;
}

.pricing-image img {
    width: 100%;
    height: 100%;

    min-height: 750px;

    object-fit: cover;
    display: block;
}

.about-section {
  background: #0d2c50;
  padding: 38px 30px 26px;
  color: #ffffff;
}

.about-wrapper {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 36px;
  align-items: start;
}

.about-left h4 {
  color: #ED7226;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
}

.about-small-line {
  width: 112px;
  height: 2px;
  background: #ED7226;
  margin-bottom: 28px;
}

.about-left h2 {
  font-size: 50px;
  line-height: 1.28;
  font-weight: 800;
  text-shadow: 0 4px 8px rgba(0,0,0,.25);
}

.about-title-line {
  width: 170px;
  height: 3px;
  background: #ED7226;
  margin: 24px 0 24px;
}

.about-left p {
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .3px;
  color: #f1f4f8;
  max-width: 680px;
}

.about-image img {
  width: 100%;
  height: 457px;
  object-fit: cover;
  display: block;
}

.about-features {
  max-width: 1175px;
  margin: 32px auto 0;
  border: 1px solid rgba(255,255,255,.45);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.about-feature {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 40px;
  align-items: center;
  padding: 8px 22px;
}

.about-feature img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.about-feature h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.about-feature p {
  font-size: 16px;
  line-height: 1.85;
  color: #ffffff;
}

.bottom-bar {
  background: #ED7226;
  color: white;
  height: 28px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
}

.bottom-bar div {
  display: flex;
  gap: 22px;
  align-items: center;
}

.catalog-hero {
    background: #ffffff;
    min-height: 270px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 60px 20px;
}

.catalog-content {
    max-width: 1100px;
}

.catalog-content h1 {
    font-family: 'Inter', sans-serif;
    font-size: 72px;
    font-weight: 800;
    color: #ED7226;
    margin-bottom: 25px;
    line-height: 1;
}

.catalog-content h1::after {
    content: "";
    display: block;
    width: 140px;
    height: 3px;
    background: #ED7226;
    margin: 15px auto 0;
}

.catalog-content p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #111;
    max-width: 1050px;
    margin: 0 auto;
}

@media (max-width: 768px) {

    .catalog-hero {
        min-height: 220px;
        padding: 50px 20px;
    }

    .catalog-content h1 {
        font-size: 48px;
    }

    .catalog-content p {
        font-size: 16px;
    }

}

.catalog-main {
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 28px;
  padding: 45px 20px 80px;
  background: #fff;
}

.filter-sidebar {
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  padding: 12px 18px 18px;
  height: fit-content;
  color: #294868;
}

.filter-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.filter-search span {
  font-size: 22px;
  color: #294868;
}

.filter-search input {
  width: 100%;
  height: 18px;
  border: 1px solid #bdbdbd;
  border-radius: 3px;
}

.filter-sidebar h3 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #294868;
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-list label {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
  font-size: 13px;
  color: #294868;
  gap: 8px;
  cursor: pointer;
}

.filter-list input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #294868;
  border-radius: 3px;
  cursor: pointer;
}

.filter-list input[type="checkbox"]:checked {
  background: #ED7226;
  border-color: #ED7226;
  box-shadow: inset 0 0 0 4px #fff;
}

.catalog-main {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 28px;
}

.catalog-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.product-card {
  width: 100%;
  min-width: 0;
  min-height: 415px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  transition: .25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.product-image {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name,
.product-content h3 {
  color: #17375E;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.product-description {
  color: #666;
  font-size: 13px;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2em;
}

.product-bottom {
  margin-top: auto;
  padding-top: 12px;
}

.product-meta,
.product-details {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.meta-item,
.detail-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #17375E;
}

.meta-item img,
.detail-item img {
  width: 14px;
  height: 14px;
}

.stock-status,
.stock-row {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #33b249;
  font-size: 12px;
  margin-bottom: 10px;
}

.dot,
.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #33b249;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 14px;
}

.price {
  color: #ED7226;
  font-size: 24px;
  font-weight: 700;
}

.unit {
  color: #777;
  font-size: 13px;
}

.add-btn {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 4px;
  background: #ED7226;
  color: white;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  transition: .25s ease;
}

.add-btn:hover {
  background: #d85f18;
}

.add-btn img {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
}

.cart-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 70px;
  padding: 60px 40px;
  color: #0d2c50;
  background: #fff;
}

.cart-left h1 {
  font-size: 42px;
  font-weight: 800;
}

.cart-title-line,
.summary-line {
  width: 115px;
  height: 2px;
  background: #ED7226;
  margin: 10px 0 18px;
}

.cart-table {
  border: 1px solid #bfc5cb;
  border-radius: 8px;
  overflow: hidden;
}

.cart-header {
  display: grid;
  grid-template-columns: 2.4fr .8fr 1fr .5fr 1.1fr .8fr .2fr;
  padding: 14px 20px;
  border-bottom: 1px solid #cfd4d9;
  font-size: 12px;
  color: #777;
}

.cart-table {
  border: 1px solid #bfc5cb;
  border-radius: 6px;
  overflow: hidden;
}

.cart-header,
.cart-row {
  display: grid;
  grid-template-columns: 2.4fr 0.8fr 1fr 1.1fr 0.9fr 0.3fr;
  align-items: center;
  gap: 15px;
}

.cart-header {
  padding: 16px 20px;
  border-bottom: 1px solid #d6dce3;
  font-size: 12px;
  color: #5d6875;
}

.cart-items {
  width: 100%;
}

.cart-row {
  padding: 28px 20px;
  border-bottom: 1px solid #eef1f4;
}

.cart-row:last-child {
  border-bottom: none;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 25px;
}

.cart-product img {
  width: 95px;
  height: 70px;
  object-fit: contain;
}

.cart-product h3 {
  font-size: 13px;
  margin-bottom: 8px;
  color: #002b55;
}

.cart-product p {
  font-size: 12px;
  margin-bottom: 7px;
}

.in-stock {
  color: #22b24c;
}

.product-price,
.item-total {
  color: #002b55;
  font-size: 16px;
  font-weight: 500;
}

.qty-box {
  width: 86px;
  height: 24px;
  border: 1px solid #bfc5cb;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.qty-box button,
.trash-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #002b55;
}

.qty-value {
  min-width: 24px;
  text-align: center;
}

.trash-btn img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain;
}

.trash-btn:hover img {
  transform: scale(1.1);
}

.reorder-dropdown {
  height: 28px;
  min-width: 150px;
  border: 1px solid #bfc5cb;
  border-radius: 5px;
  background: #fff;
  color: #0d2c50;
  font-size: 12px;
  font-weight: 600;
  padding: 0 8px;
  cursor: pointer;
}

.reorder-dropdown:hover,
.reorder-dropdown:focus {
  border-color: #ED7226;
  outline: none;
}

.reorder-dropdown.selected {
  background: #ED7226;
  color: #fff;
  border-color: #ED7226;
}

.reorder-dropdown option {
  background: #fff;
  color: #0d2c50;
}

.empty-cart {
  padding: 30px 20px;
  color: #5d6875;
}

.order-summary {
  padding-top: 55px;
}

.order-summary h2 {
  font-size: 28px;
  font-weight: 800;
}

.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  font-size: 14px;
}

.discount strong {
  color: #ED7226;
}

.summary-total {
  margin-top: 22px;
  font-size: 17px;
  font-weight: 800;
}

.order-summary p {
  font-size: 12px;
  color: #596b7a;
}

.checkout-btn {
  width: 100%;
  height: 54px;
  margin: 35px 0;
  background: #ED7226;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: .25s ease;
}

.checkout-btn:hover {
    background: #d85f18;
    transform: translateY(-2px);
}

.summary-benefits {
    display: grid;
    gap: 24px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.benefit-item img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
}

.benefit-item strong {
    display: block;
    color: #17375E;
    font-size: 15px;
    margin-bottom: 4px;
}

.benefit-item p {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

.checkout-page {
  padding: 35px 50px 80px;
  color: #0d2c50;
  background: #fff;
}

.back-link {
  color: #ED7226;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.checkout-page h1 {
  margin-top: 30px;
  font-size: 32px;
  font-weight: 800;
}

.checkout-intro {
  max-width: 420px;
  margin: 25px 0 35px;
  font-size: 14px;
  line-height: 1.4;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 450px;
  gap: 12px;
  align-items: start;
}

.checkout-left {
  display: grid;
  gap: 22px;
}

.checkout-card,
.checkout-summary {
  border: 1px solid #bfc5cb;
  border-radius: 7px;
  background: #fff;
}

.checkout-card {
  padding: 20px 18px;
}

.checkout-card h2 {
  font-size: 22px;
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 30px;
}

.checkout-card label,
.field-title {
  font-size: 13px;
  color: #0d2c50;
}

.checkout-card input,
.checkout-card select {
  width: 100%;
  height: 31px;
  margin-top: 8px;
  padding: 0 8px;
  border: 1px solid #aeb4ba;
  border-radius: 4px;
}

.full-field {
  display: block;
  margin-top: 14px;
}

.address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
}

.checkbox-line input {
  width: 14px;
  height: 14px;
  margin: 0;
}

.order-type-row {
  display: flex;
  gap: 16px;
  margin: 10px 0 18px;
  flex-wrap: wrap;
}

.order-options {
    display: flex;
    gap: 24px;
    align-items: stretch;
    margin-top: 16px;
    margin-bottom: 22px;
    
}

.order-option input {
    display: none;
}

.option-card {
    width: 190px;
    min-height: 66px;

    display: flex;
    align-items: center;
    gap: 20px;

    padding: 14px 12px;
    border: 1px solid #aeb7c2;
    border-radius: 4px;
    background: #fff;

    cursor: pointer;
    transition: all .25s ease;
}

.option-card:hover {
    border-color: #ED7226;
}

.radio-circle {
    width: 12px;
    height: 12px;

    border: 1.5px solid #aeb7c2;
    border-radius: 50%;
    flex-shrink: 0;

    position: relative;
}

.radio-circle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;

    width: 5px;
    height: 5px;

    border-radius: 50%;
    background: #ED7226;

    transform: translate(-50%, -50%) scale(0);
    transition: .2s ease;
}

.option-content h4 {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: #002b57;
}

.option-content p {
    margin: 0;
    font-size: 11px;
    line-height: 1.25;
    color: #002b57;
}

/* Selected */
.order-option input:checked + .option-card {
    background: #FFF5EE;
    border: 1.5px solid #ED7226;
}

.order-option input:checked + .option-card .radio-circle {
    border-color: #ED7226;
}

.order-option input:checked + .option-card .radio-circle::after {
    transform: translate(-50%, -50%) scale(1);
}

.product-list-title {
  font-size: 13px;
  margin-bottom: 10px;
}

.checkout-product {
  border: 1px solid #bfc5cb;
  border-radius: 6px;
  padding: 18px 12px;
  display: grid;
  grid-template-columns: 90px 1fr 80px 100px 80px 35px;
  align-items: center;
  gap: 14px;
}

.checkout-product img {
  width: 85px;
  height: 60px;
  object-fit: contain;
}

.checkout-product h4 {
  font-size: 13px;
  margin-bottom: 7px;
}

.checkout-product p {
  font-size: 11px;
  margin-bottom: 7px;
}

.checkout-product small {
  color: #22b24c;
  font-size: 10px;
}

.checkout-summary {
  border: 1px solid #cfd4d9;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  color: #002b55;
}

.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid #d7dde3;
}

.add-products-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 165px;
  height: 42px;

  border: 1px solid #ED7226;
  border-radius: 4px;

  color: #ED7226;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;

  transition: .2s ease;
}

.add-products-btn:hover {
  background: #ED7226;
  color: #fff;
}

.estimated-subtotal {
  display: flex;
  align-items: center;
  gap: clamp(16px, 5vw, 60px);
}

.estimated-subtotal span {
  font-size: 13px;
  font-weight: 700;
  color: #002b55;
}

.estimated-subtotal strong {
  font-size: 18px;
  font-weight: 800;
  color: #002b55;
}

.special-instructions {
  margin-top: 10px;
}

.special-instructions label {
  display: block;
  margin-bottom: 8px;

  font-size: 12px;
  color: #002b55;
}

.special-instructions textarea {
  width: 100%;
  min-height: 90px;

  padding: 14px;

  border: 1px solid #cfd4d9;
  border-radius: 8px;

  resize: vertical;

  font-family: inherit;
  font-size: 13px;
}

.special-instructions textarea:focus {
  outline: none;
  border-color: #ED7226;
}

.reorder-frequency-section {
  margin-top: 10px;
  padding: 22px;
  border: 1px solid #cfd4d9;
  border-radius: 8px;
  background: #fff;
}

.reorder-frequency-section h2 {
  margin-bottom: 18px;
  color: #294868;
  font-size: 18px;
  font-weight: 700;
}

.frequency-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.frequency-card {
  width: 126px;
  min-height: 58px;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 12px;

  border: 1px solid #9da8b5;
  border-radius: 4px;
  background: #fff;

  cursor: pointer;
  transition: all .2s ease;
}

.frequency-card:hover {
  border-color: #ED7226;
}

.frequency-card.active {
  border: 1px solid #ED7226;
  background: #FFF5EE;
}

.frequency-card img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;

  filter: invert(12%) sepia(47%) saturate(1657%)
          hue-rotate(196deg) brightness(92%)
          contrast(101%);
}

.frequency-card h4 {
  margin: 0 0 3px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  color: #0B2344;
}

.frequency-card p {
  margin: 0;
  font-size: 9px;
  line-height: 1.2;
  color: #4f6177;
}

.custom-frequency-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 14px;
}

.custom-calendar-box {
  display: none;
  margin-top: 16px;
}

.custom-calendar-box.show {
  display: block;
}

.custom-calendar-box label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #0B2344;
}

.custom-calendar-box input {
  width: 260px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #cfd4d9;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #0B2344;
}

/* Custom Flatpickr Calendar Styling */
.flatpickr-calendar {
  border: 1px solid #cfd4d9 !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 30px rgba(11, 35, 68, 0.12) !important;
  font-family: 'Inter', sans-serif !important;
  overflow: hidden;
}

.flatpickr-months {
  background: #0B2344;
  padding: 10px 0;
}

.flatpickr-current-month,
.flatpickr-current-month input.cur-year,
.flatpickr-current-month .flatpickr-monthDropdown-months {
  color: #fff !important;
  font-weight: 700 !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
  fill: #fff !important;
  color: #fff !important;
  top: 12px !important;
}

.flatpickr-weekdays {
  background: #f7f9fb;
}

span.flatpickr-weekday {
  color: #0B2344 !important;
  font-weight: 700 !important;
}

.flatpickr-day {
  border-radius: 8px !important;
  color: #0B2344;
}

.flatpickr-day:hover {
  background: #FFF5EE !important;
  border-color: #ED7226 !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #ED7226 !important;
  border-color: #ED7226 !important;
  color: #fff !important;
}

.flatpickr-day.today {
  border-color: #0B2344 !important;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: #b7c0ca !important;
}

.standard-frequency-row.hide {
  display: none;
}
.field-group {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
}

.field-group label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #294868;
}

.field-group input {
  font-family: 'Inter', sans-serif;
  height: 38px;
  font-size: 14px;
  font-weight: 500;
  color: #0B2344;
  border: 1px solid #cfd4d9;
  border-radius: 4px;
  padding: 0 12px;
}


.submit-order-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.submit-order-btn {
  width: 305px;
  height: 48px;

  border: none;
  border-radius: 8px;

  background: #ED7226;
  color: #fff;

  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.submit-order-btn:hover {
  opacity: .9;
}

.security-note {
  font-size: 12px;
  color: #294868;
}

.summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px;
  border-bottom: 1px solid #cfd4d9;
}

.summary-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

#summary-count {
  font-size: 13px;
}

#summary-items {
  padding: 26px;
}

.summary-item-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 26px;
}

.summary-item-row:last-child {
  margin-bottom: 0;
}

.summary-item-row h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: #002b55;
}

.summary-item-row p {
  margin: 0;
  font-size: 11px;
  color: #002b55;
}

.summary-item-row span {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.summary-item-row span small {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 500;
}

.summary-item-row strong {
  font-size: 15px;
  font-weight: 800;
  color: #002b55;
  white-space: nowrap;
}

.summary-price {
  padding: 20px 26px;
  border-top: 1px solid #cfd4d9;
}

.summary-price p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 14px;
  font-size: 11px;
}

.summary-price p:last-child {
  margin-bottom: 0;
}

.summary-price strong {
  font-size: 15px;
  font-weight: 800;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 22px 26px 10px;
  border-top: 1px solid #cfd4d9;
  font-size: 15px;
  font-weight: 800;
}

.summary-note {
  padding: 0 26px 22px;
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
}

.login-section {
    min-height: 100vh;
    background: #f7f8fa;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;
}

.login-container {
    width: 100%;
    max-width: 1180px;
    min-height: 650px;

    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 8px;

    overflow: hidden;

    display: grid;
    grid-template-columns: 420px 1fr;
}

/* LEFT */

.login-form {
    padding: 48px 40px;
}

.login-form h1 {
    font-size: 40px;
    font-weight: 800;
    color: #17375E;
    margin-bottom: 8px;
}

.login-form > p {
    font-size: 15px;
    margin-bottom: 45px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;

    font-size: 14px;
    font-weight: 600;
    color: #17375E;
}

.input-group {
    position: relative;
    margin-bottom: 28px;

    display: flex;
    align-items: center;

    width: 100%;
    height: 55px;

    padding: 0 16px;

    border: 1px solid #d9d9d9;
    border-radius: 10px;

    background: white;
}

/* LEFT LOCK ICON */
.input-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* INPUT */
.input-group input {
    flex: 1;
    height: 100%;

    border: none;
    outline: none;
    background: transparent;

    padding: 0 12px;

    font-size: 14px;
}

/* RIGHT EYE ICON */
.eye-icon {
    width: 18px;
    height: 18px;

    cursor: pointer;
    flex-shrink: 0;

    transition: opacity 0.2s ease;
}

.eye-icon:hover {
    opacity: 0.7;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 28px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-options a {
    color: #ED7226;
    text-decoration: none;
}

.signin-btn {
    width: 100%;
    height: 52px;

    border: none;
    border-radius: 6px;

    background: #ED7226;
    color: white;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
}

.divider {
    position: relative;
    text-align: center;
    margin: 28px 0;
}

.divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;

    border-top: 1px solid #d8d8d8;
}

.divider span {
    position: relative;
    background: white;
    padding: 0 12px;
    color: #999;
}

.create-account-btn {
    width: 100%;
    height: 52px;

    border: 1px solid #bfbfbf;
    border-radius: 6px;

    background: white;

    font-weight: 700;
    cursor: pointer;
}

.terms {
    margin-top: 28px;

    font-size: 10px;
    line-height: 1.4;

    color: #777;
}

.terms a {
    color: #ED7226;
    font-size: inherit;
    text-decoration: underline;
}

/* RIGHT */

.login-banner {
    background:
        linear-gradient(
            rgba(0,0,0,.35),
            rgba(0,0,0,.35)
        ),
        url("hallway.png");

    background-size: cover;
    background-position: center;

    color: white;

    display: flex;
    align-items: center;
}

.banner-overlay {
    padding: 60px;
}

.banner-overlay h2 {
    font-size: 52px;
    margin-bottom: 18px;
}

.banner-overlay > p {
    font-size: 20px;
    line-height: 1.4;
    max-width: 600px;

    margin-bottom: 50px;
}

.banner-feature {
    display: flex;
    align-items: center;
    gap: 24px;

    margin-bottom: 34px;
}

.banner-feature img {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

.banner-feature h3 {
    font-size: 25px;
    margin-bottom: 6px;
}

.banner-feature p {
    font-size: 20px;
    line-height: 1.5;
}

.product-page {
  background: #f6f8fb;
  padding: 28px 48px 60px;
  color: #0d2c50;
}

.breadcrumbs {
  font-size: 13px;
  color: #5f6b7a;
  margin-bottom: 35px;
}

.product-layout {
  display: grid;
  grid-template-columns: 440px minmax(0, 1fr) 330px;
  gap: 38px;
  align-items: start;
}

.product-gallery {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(13,44,80,.06);
}

.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #ED7226;
  color: white;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 12px;
  border-radius: 4px;
}

.main-product-img {
  width: 100%;
  height: 330px;
  object-fit: contain;
}

.gallery-arrow {
  position: absolute;
  top: 42%;
  width: 34px;
  height: 34px;
  border: 1px solid #d9dfe6;
  background: white;
  border-radius: 50%;
  color: #0d2c50;
  font-size: 24px;
  cursor: pointer;
}

.gallery-arrow.left {
  left: 20px;
}

.gallery-arrow.right {
  right: 20px;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.thumb {
  height: 58px;
  object-fit: contain;
  border: 1px solid #d9dfe6;
  border-radius: 5px;
  padding: 6px;
  background: #fff;
  cursor: pointer;
}

.thumb.active {
  border-color: #ED7226;
}

.product-info {
  padding-top: 10px;
}

.brand {
  color: #1e5a9c;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.product-info h1 {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 14px;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
  color: #4d5c6f;
  margin-bottom: 20px;
}

.stars {
  color: #ED7226;
  font-size: 19px;
  margin-bottom: 20px;
}

.stars span {
  color: #1e5a9c;
  font-size: 14px;
  margin-left: 8px;
}

.product-desc {
  font-size: 15px;
  line-height: 1.75;
  color: #111827;
  max-width: 620px;
}

.read-more {
  border: none;
  background: transparent;
  color: #ED7226;
  font-weight: 700;
  margin: 12px 0 28px;
  cursor: pointer;
}

.pricing-tier-cards{
  display:flex;
  gap:16px;
  margin-top:24px;
}

.tier-card{
  flex:1;
  min-width:0;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:18px 16px 22px;
  text-align:center;
  transition:.3s ease;
  cursor:pointer;

  display:flex;
  flex-direction:column;
  align-items:center;
}

.tier-card:hover{
  transform:translateY(-4px);
  border-color:#ED7226;
  box-shadow:0 8px 20px rgba(237,114,38,.15);
}

.tier-badge{
  display:inline-block;
  background:#f3f4f6;
  color:#294868;
  font-size:11px;
  font-weight:700;
  letter-spacing:.5px;
  padding:5px 10px;
  border-radius:20px;
  margin-bottom:14px;
}

.best-value{
  background:#ED7226;
  color:#fff;
}

.tier-card img{
  width:48px;
  height:48px;
  margin-bottom:14px;
}

.tier-card h4{
  margin:0 0 8px;
  color:#294868;
  font-size:18px;
}

.tier-card span{
  display:block;
  font-size:24px;
  font-weight:700;
  color:#ED7226;
}

.tier-card p{
  margin-top:8px;
  font-size:13px;
  color:#6b7280;
}

.buy-box {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(13,44,80,.12);
  overflow: hidden;
}

.pricing-box,
.qty-section,
.delivery-info {
  padding: 24px;
  border-bottom: 1px solid #dfe4ea;
}

.delivery-info {
  border-bottom: none;
}

.pricing-box {
  text-align: center;
  padding: 28px 24px;
}

.price-label {
  display: inline-block;
  background: #FFF3EA;
  color: #ED7226;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.pricing-box h2 {
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  color: #1f3b5b;
  margin-bottom: 8px;
}

.pricing-box p {
  font-size: 15px;
  font-weight: 700;
  color: #294868;
  margin-bottom: 0;
}

.pricing-box button,
.add-order-btn {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 5px;
  background: #ED7226;
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.qty-section label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}

.qty-control {
  display: grid;
  grid-template-columns: 42px 1fr 42px 35px;
  align-items: center;
  height: 42px;
  margin-bottom: 18px;
}

.qty-control button {
  height: 42px;
  border: 1px solid #d0d7df;
  background: #fff;
  color: #0d2c50;
  font-size: 20px;
  cursor: pointer;
}

.qty-control span {
  height: 42px;
  border-top: 1px solid #d0d7df;
  border-bottom: 1px solid #d0d7df;
  border-right: 1px solid #d0d7df;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.add-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.add-order-btn img {
  width: 16px;
  filter: brightness(0) invert(1);
}

.reorder-program-btn {
  width: 100%;
  height: 42px;
  margin-top: 12px;
  border: 1px solid #ED7226;
  color: #ED7226;
  background: white;
  border-radius: 5px;
  font-weight: 800;
  cursor: pointer;
}

.delivery-info div {
  margin-bottom: 22px;
}

.delivery-info strong {
  font-size: 14px;
}

.delivery-info p {
  margin-top: 7px;
  font-size: 14px;
}

.stock {
  color: #22b24c;
}

.details-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr;
  gap: 22px;
  margin-top: 34px;
}

.detail-card {
  background: white;
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(13,44,80,.05);
}

.tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid #dfe4ea;
  margin: -22px -22px 18px;
  padding: 0 22px;
}

.tabs button {
  border: none;
  background: none;
  padding: 18px 0 12px;
  font-weight: 800;
  color: #0d2c50;
  cursor: pointer;
}

.tabs button.active {
  color: #ED7226;
  border-bottom: 2px solid #ED7226;
}

.detail-card h3 {
  margin-bottom: 14px;
  margin-top: 14px;
  font-size: 16px;
}

.detail-card p,
.detail-card li,
.detail-card td {
  font-size: 13px;
  line-height: 1.6;
}

.ideal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #ED7226;
  font-size: 13px;
}

.specs-card table {
  width: 100%;
  border-collapse: collapse;
}

.specs-card td {
  padding: 7px 0;
  border-bottom: 1px solid #e5eaf0;
}

.specs-card td:first-child {
  font-weight: 800;
}

.specs-card button {
  margin-top: 12px;
  border: none;
  background: transparent;
  color: #ED7226;
  font-weight: 800;
}

.features-card ul {
  list-style: none;
  padding: 0;
}

.features-card li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  font-size: 13px;
}

.features-card li::before {
  content: "✓";
  position: absolute;
  gap: 20px;
  left: 0;
  color: #ED7226;
  font-size: 18px;
  font-weight: 800;
}

.also-need {
  margin-top: 26px;
}

.also-need h2 {
  font-size: 24px;
  margin-bottom: 18px;
}

.also-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

.mini-card {
  background: white;
  border: 1px solid #dfe4ea;
  border-radius: 7px;
  padding: 12px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
}

.mini-card img {
  width: 70px;
  height: 80px;
  object-fit: contain;
}

.mini-card small {
  color: #1e5a9c;
  font-weight: 800;
}

.mini-card h4 {
  font-size: 12px;
  line-height: 1.25;
  margin: 4px 0 10px;
}

.mini-card strong {
  color: #ED7226;
  font-size: 17px;
}

.mini-card strong span {
  color: #777;
  font-size: 12px;
}

.mini-card button {
  margin-top: 10px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid #ED7226;
  color: #ED7226;
  background: white;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
}

.pricing-btn {
    width: 100%;
    height: 44px;

    background: #ED7226;
    color: white;

    border-radius: 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    font-weight: 800;

    transition: .25s ease;
}

.pricing-btn:hover {
    background: #d85f18;
}

.thumb {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid #d7dce2;
    border-radius: 5px;
    padding: 6px;
    cursor: pointer;
    background: #fff;
}

.thumb.active {
  border-color: #ED7226;
}



.payment-page {
  background: #f5f7fa;
  padding: 60px 40px;
  color: #002b5c;
  overflow-x: hidden;
}

.payment-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 32px;
  max-width: 1450px;
  width: 100%;
  margin: 0 auto;
}

.payment-main,
.payment-summary {
  min-width: 0;
}

.payment-main h1 {
  font-size: 42px;
  margin-bottom: 8px;
}

.payment-subtitle {
  margin-bottom: 28px;
  color: #4b5b70;
}

/* BREADCRUMB */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  font-size: 14px;
  font-weight: 600;
  color: #6f7c8d;
}

.breadcrumb a {
  color: #6f7c8d;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #002b5c;
}

.breadcrumb span {
  color: #9aa6b2;
}

.breadcrumb strong {
  color: #002b5c;
  font-weight: 800;
}

/* PROGRESS STEPS */

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 22px 0 45px;
  width: 100%;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7a8493;
  font-weight: 700;
  white-space: nowrap;
}

.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #dfe5ec;
  color: #294868;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
}

.progress-step.completed .step-circle {
  background: #002b5c;
  color: #fff;
}

.progress-step.completed span {
  color: #002b5c;
}

.progress-step.active .step-circle {
  background: #ed7226;
  color: #fff;
}

.progress-step.active span {
  color: #ed7226;
}

.step-line {
  width: 80px;
  height: 1px;
  background: #cfd8e3;
  margin: 0 18px;
}

/* PAYMENT FORM */

.payment-card,
.payment-summary .summary-card,
.payment-summary .secure-box,
.payment-summary .help-box,
.payment-actions {
  background: #fff;
  border: 1px solid #d9e0e8;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 43, 92, 0.06);
}

.payment-card {
  padding: 26px;
}

.payment-card h2,
.payment-summary .summary-card h2 {
  margin-bottom: 20px;
}

.payment-option {
  display: grid;
  grid-template-columns: 24px 50px minmax(0, 1fr);
  gap: 18px;
  align-items: flex-start;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  cursor: pointer;
}

.payment-option.selected {
  border-color: #ed7226;
  background: #fff7f2;
}

.payment-option input {
  margin-top: 8px;
  accent-color: #ed7226;
}

.payment-icon {
  font-size: 30px;
  line-height: 1;
}

.payment-option h3 {
  margin-bottom: 6px;
}

.payment-option h3 span {
  display: inline-block;
  background: #ffe5d6;
  color: #ed7226;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 20px;
  margin-left: 8px;
}

.payment-option p {
  color: #4b5b70;
  margin-bottom: 15px;
}

.card-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 15px;
}

.card-fields.two {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.card-fields .full {
  grid-column: 1 / -1;
}

.card-fields label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
}

.card-fields input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 13px;
  border: 1px solid #cfd6df;
  border-radius: 6px;
}

.secure-note {
  margin-top: 18px;
  color: #4b5b70;
}

.payment-actions {
  margin-top: 25px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.payment-page .back-link {
  color: #ed7226;
  text-decoration: none;
  font-weight: 700;
}

.review-btn {
  background: #ed7226;
  color: #fff;
  text-decoration: none;
  padding: 16px 55px;
  border-radius: 7px;
  font-weight: 800;
  white-space: nowrap;
}

/* RIGHT SUMMARY COLUMN */

.payment-summary {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.payment-summary .summary-card {
  padding: 25px;
}

.payment-summary .summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 0 20px;
  border-bottom: 1px solid #e1e6ec;
  margin-bottom: 24px;
}

.payment-summary .summary-head h2 {
  margin: 0;
  line-height: 1;
}

.payment-summary .summary-head a {
  color: #ed7226;
  font-size: 14px;
  white-space: nowrap;
  line-height: 1;
}

/* SUMMARY ITEMS */

.payment-summary-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.payment-summary-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.payment-summary-item h4 {
  font-size: 14px;
  margin: 0 0 4px;
  line-height: 1.3;
  color: #002b5c;
}

.payment-summary-item p {
  font-size: 12px;
  color: #4b5b70;
  margin: 0;
}

.payment-summary-item strong {
  font-size: 14px;
  white-space: nowrap;
  color: #002b5c;
}

.payment-summary-line,
.payment-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  background: transparent !important;
}

.payment-summary-line {
  border-top: 1px solid #e1e6ec;
}

.payment-summary-total {
  border-top: 2px solid #d9e0e8;
  font-size: 20px;
  font-weight: 800;
}

.payment-summary-line span,
.payment-summary-line strong,
.payment-summary-total span,
.payment-summary-total strong {
  background: transparent !important;
}

.payment-summary-total strong {
  color: #ed7226;
  font-size: 28px;
  white-space: nowrap;
}

/* SECURE CHECKOUT */

.secure-box {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
}

.secure-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eef3fa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.secure-icon img {
  width: 28px;
  height: 28px;
}

.secure-content strong {
  display: block;
  color: #002b5c;
  margin-bottom: 6px;
  font-size: 16px;
}

.secure-content p {
  margin: 0;
  color: #506176;
  line-height: 1.45;
  font-size: 14px;
}

/* HELP BOX */

.help-box {
  padding: 28px 26px;
}

.help-box h3 {
  margin: 0 0 26px;
  color: #002b5c;
  font-size: 20px;
}

.help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.help-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e1e6ec;
  text-align: left;
}

.help-item:last-child {
  border-bottom: none;
}

.help-item img {
  width: 24px;
  height: 24px;
}

.help-item strong {
  color: #002b5c;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.help-item span {
  color: #506176;
  font-size: 14px;
  line-height: 1.4;
}


.profile-page {
  background: #f5f7fa;
  min-height: 100vh;
  color: #0b2344;
}

.profile-hero {
  background: #ffffff;
  padding: 70px 6%;
  border-bottom: 1px solid #e5eaf0;
}

.profile-label {
  color: #ed7226;
  font-weight: 800;
  margin-bottom: 10px;
}

.profile-hero h1 {
  font-size: 56px;
  margin: 0 0 16px;
  color: #294868;
}

.profile-hero p {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.7;
  color: #4b5563;
}

.profile-container {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  max-width: 1250px;
  margin: 0 auto;
  padding: 50px 24px;
}

.profile-sidebar,
.profile-content {
  min-width: 0;
}

.profile-card,
.profile-content {
  background: #ffffff;
  border: 1px solid #e4eaf1;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(11, 35, 68, 0.06);
}

.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.user-card {
  padding: 28px;
  text-align: center;
  margin-bottom: 8px;
}

.user-avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #ed7226;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 24px;
}

.user-card h3 {
  margin: 0 0 6px;
  color: #294868;
}

.user-card p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.profile-tab,
.profile-logout {
  width: 100%;
  border: none;
  background: #ffffff;
  color: #294868;
  padding: 17px 20px;
  border-radius: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  border: 1px solid #e4eaf1;
  transition: 0.2s ease;
}

.profile-tab:hover,
.profile-tab.active {
  background: #294868;
  color: #ffffff;
}

.profile-logout {
  color: #dc2626;
}

.profile-logout:hover {
  background: #fee2e2;
}

.profile-content {
  padding: 36px;
}

.profile-panel {
  display: none;
}

.profile-panel.active {
  display: block;
}

.profile-panel h2 {
  font-size: 32px;
  margin: 0 0 28px;
  color: #294868;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.info-box {
  background: #f8fafc;
  border: 1px solid #e4eaf1;
  border-radius: 18px;
  padding: 22px;
}

.info-box.wide {
  grid-column: 1 / -1;
}

.info-box span {
  display: block;
  font-size: 13px;
  color: #6b7280;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-box strong {
  display: block;
  color: #0b2344;
  font-size: 17px;
}

.order-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-card {
  border: 1px solid #e4eaf1;
  background: #f8fafc;
  border-radius: 18px;
  padding: 20px;
}

.order-card h4 {
  margin: 0 0 8px;
  color: #294868;
}

.order-card p {
  margin: 4px 0;
  color: #4b5563;
}

.empty-profile-message {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  padding: 28px;
  border-radius: 18px;
  color: #6b7280;
}

.reorder-status-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e4eaf1;
  border-radius: 18px;
  padding: 28px;
}

.reorder-status-card span {
  color: #6b7280;
  font-weight: 700;
  font-size: 13px;
}

.reorder-status-card strong {
  display: block;
  font-size: 24px;
  color: #294868;
  margin: 6px 0 10px;
}

.profile-action-btn {
  background: #ed7226;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.order-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.order-modal.show {
  display: flex;
}

.order-modal-content {
  background: white;
  width: 500px;
  max-width: 90%;
  border-radius: 18px;
  padding: 40px;
  text-align: center;
}

.success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #22c55e;
  color: white;
  font-size: 32px;
  font-weight: 700;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-number {
  margin: 20px 0;
  color: #294868;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.modal-btn {
  background: #ed7226;
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
}

.modal-btn.secondary {
  background: #294868;
}

.profile-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.edit-profile-btn {
  border: none;
  background: #ed7226;
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.editable-grid .info-box input {
  display: none;
  margin-top: 8px;
  width: 100%;
  border: none;
  background: transparent;
  color: #002b5c;
  font-size: 18px;
  font-weight: 700;
  outline: none;
}

.editable-grid.editing .info-box strong {
  display: none;
}

.editable-grid.editing .info-box input {
  display: block;
}

.profile-save-row {
  display: none;
  gap: 12px;
  margin-top: 25px;
}

.profile-save-row.show {
  display: flex;
}

.save-profile-btn,
.cancel-profile-btn {
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.save-profile-btn {
  background: #ed7226;
  color: white;
}

.cancel-profile-btn {
  background: #e8eef5;
  color: #002b5c;
}

.cart-row {
  display: grid;
  grid-template-columns:
    2.2fr   /* Product */
    0.8fr   /* Price */
    0.9fr   /* Qty */
    1.7fr   /* Reorder + Calendar */
    0.8fr   /* Total */
    40px;   /* Trash */
  align-items: center;
  column-gap: 16px;
}

.reorder-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reorder-wrapper .reorder-dropdown {
  width: 220px;
  flex: none;
}

.cart-calendar-btn {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid #d6dee8;
  background: #fff;
  color: #002b5c;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-calendar-btn.show {
  display: flex;
}

.cart-calendar-btn:hover {
  border-color: #ed7226;
  color: #ed7226;
}

.cart-calendar-btn img,
.cart-calendar-btn svg {
  width: 18px;
  height: 18px;
}

.cart-calendar-hidden-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

@media (max-width: 900px) {
  .profile-container {
    grid-template-columns: 1fr;
  }

  .profile-hero h1 {
    font-size: 42px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .reorder-status-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* RESPONSIVE */

@media (max-width: 1100px) {
  .payment-container {
    grid-template-columns: 1fr;
  }

  .payment-summary {
    max-width: 600px;
  }
}

@media (max-width: 700px) {
  .payment-page {
    padding: 40px 20px;
  }

  .progress-steps {
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .payment-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .review-btn {
    text-align: center;
  }

  .help-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
@media (max-width: 1100px) {
  .payment-container {
    grid-template-columns: 1fr;
  }

  .checkout-steps {
    flex-wrap: wrap;
  }

  .step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 700px) {
  .payment-page {
    padding: 35px 18px;
  }

  .payment-main h1 {
    font-size: 34px;
  }

  .payment-option {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .payment-icon {
    display: none;
  }

  .card-fields,
  .card-fields.two {
    grid-template-columns: 1fr;
  }

  .payment-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .review-btn {
    text-align: center;
  }
}

@media (max-width: 1100px) {
  .product-layout,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .buy-box {
    max-width: 430px;
  }
}

/* RESPONSIVE */

@media (max-width: 992px) {

    .login-container {
        grid-template-columns: 1fr;
    }

    .login-banner {
        min-height: 500px;
    }

}

@media (max-width: 1000px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-product {
    overflow-x: auto;
    min-width: 750px;
  }

  .checkout-card {
    overflow-x: auto;
  }
}

@media (max-width: 1000px) {
  .cart-page {
    grid-template-columns: 1fr;
  }

  .cart-table {
    overflow-x: auto;
  }

  .cart-header,
  .cart-items {
    min-width: 900px;
  }

  .order-summary {
    padding-top: 0;
  }
}

@media (max-width: 1000px) {
  .about-wrapper {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .bottom-bar {
    height: auto;
    padding: 8px 15px;
    flex-direction: column;
    gap: 5px;
  }
}

/* RESPONSIVE */

@media (max-width: 1200px) {

    .pricing-card {
        grid-template-columns: 1fr;
    }

    .pricing-image {
        order: -1;
    }

    .pricing-image img {
        min-height: 450px;
    }
}

@media (max-width: 768px) {

    .pricing-left {
        padding: 30px;
    }

    .pricing-left h2 {
        font-size: 36px;
    }

    .pricing-benefits {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: flex-start;
    }

    .benefit-divider {
        display: none;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .pricing-image img {
        min-height: 300px;
    }
}

@media (max-width: 1100px) {
  .ordering-section {
    grid-template-columns: 1fr;
    padding: 70px 30px;
  }

  .reorder-card {
    max-width: 620px;
    margin: 0 auto;
  }
}



@media (max-width: 1100px) {
  .pricing-content {
    grid-template-columns: 1fr;
  }

  .pricing-image img {
    height: auto;
  }
}

@media (max-width: 768px) {
  .pricing-left h2 {
    font-size: 38px;
  }

  .pricing-benefits,
  .pricing-form {
    flex-direction: column;
    display: flex;
  }

  .pricing-separator {
    display: none;
  }
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: 100%;
        padding: 50px 40px;
        text-align: center;
    }

    .hero-content p {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        padding: 0 40px 50px;
    }

    .hero-image img {
        max-width: 700px;
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 36px 20px 24px;
    }

    .hero-content h1 {
        font-size: 48px;
        line-height: 1.05;
        letter-spacing: -2px;
    }

    .hero-content p {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .btn {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 28px 16px 20px;
    }

    .hero-content h1 {
        font-size: 36px;
        line-height: 1.1;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-image {
        padding: 0 16px 28px;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 30px;
        letter-spacing: -0.5px;
    }

    .hero-content p {
        font-size: 14px;
    }
}

@media (max-width: 1200px) {
    .serve-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px 20px;
    }

    .serve-item::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .serve-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .serve-item img {
        width: 120px;
    }
}

/* =========================================================
   RESPONSIVE ADDITIONS — mobile navbar, catalog, grid fixes
   ========================================================= */

/* ── Top-bar: hide contact info on very small screens ── */
@media (max-width: 480px) {
  .top-bar {
    justify-content: center;
    font-size: 11px;
  }
  .top-contact { display: none; }
}

/* ── Hamburger button ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #294868;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav dropdown (in normal flow, below header) ── */
.mobile-nav {
  display: none;
  flex-direction: column;
  width: 100%;
  background: #ffffff;
  border-top: 2px solid #ED7226;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  z-index: 8999;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  text-decoration: none;
  color: #1f3b5b;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-bottom: 1px solid #f2f2f2;
  transition: background 0.15s;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a.active { background: #fff4ec; color: #ED7226; }

/* ── Show hamburger & hide desktop nav at ≤768px ── */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: nowrap;
    height: auto;
    min-height: 64px;
    padding: 0 16px;
    gap: 12px;
    align-items: center;
  }
  .nav-links { display: none; }
  .nav-hamburger {
    display: flex;
    margin-left: 4px;
    flex-shrink: 0;
  }
  .nav-icons {
    margin-left: auto;
    gap: 10px;
  }
  .logo { flex-shrink: 0; }
  .login-nav-btn {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    height: 36px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .navbar { padding: 0 12px; gap: 8px; }
  .logo img { width: 130px; }
  .login-nav-btn {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .nav-icons { gap: 8px; }
}

/* ── Catalog: stack sidebar above product grid on mobile ── */
@media (max-width: 768px) {
  .catalog-main {
    grid-template-columns: 1fr;
    padding: 24px 16px 60px;
    gap: 20px;
  }
  .filter-sidebar {
    width: 100%;
  }
  .filter-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
  }
}
@media (max-width: 480px) {
  .filter-list {
    grid-template-columns: 1fr;
  }
  .catalog-products {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }
  .product-image { height: 150px; }
}

/* ── Featured products grid: expand to fill slider flex container ── */
.product-grid {
  flex: 1;
  min-width: 0;
}

/* ── Featured products grid: responsive columns ── */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ── Supply section: reduce excess padding on mobile ── */
@media (max-width: 768px) {
  .supply-section { padding: 50px 0; }
  .supply-slider { gap: 10px; }
  .slider-arrow { font-size: 52px; }
  .section-heading h2 { font-size: 36px; }
  .section-heading p { font-size: 16px; }
  .heading-line { width: 80px; }
}
@media (max-width: 480px) {
  .supply-section { padding: 36px 0; }
  .slider-arrow { font-size: 36px; }
  .section-heading h2 { font-size: 26px; }
  .section-heading p { font-size: 14px; }
}

/* ── Ordering section: font sizes and step stacking ── */
@media (max-width: 768px) {
  .ordering-left h4 { font-size: 22px; }
  .ordering-left h2 { font-size: 32px; margin-bottom: 32px; }
  .ordering-line { width: 100%; max-width: 260px; }
  .step-item { width: 120px; }
  .step-icon { width: 100px; height: 100px; }
  .step-icon img { width: 60px; height: 60px; }
  .choose-schedule-btn { width: 100%; font-size: 16px; }
  .schedule-grid { gap: 11px 30px; }
}
@media (max-width: 540px) {
  .ordering-steps {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .step-dots { display: none; }
  .step-item { width: 100%; max-width: 220px; }
  .ordering-left h4 { font-size: 18px; }
  .ordering-left h2 { font-size: 26px; margin-bottom: 24px; }
  .schedule-grid { grid-template-columns: 1fr; gap: 10px; }
  .schedule-grid button { justify-content: flex-start; }
}

/* ── Pricing section: reduce padding and font size on mobile ── */
@media (max-width: 768px) {
  .pricing-section { padding: 60px 16px; }
  .pricing-left { padding: 28px 20px; }
  .pricing-left h2 { font-size: 30px; }
}

/* ── About section ── */
@media (max-width: 768px) {
  .about-wrapper { padding: 0 16px; }
}

/* ── Bottom bar ── */
@media (max-width: 480px) {
  .bottom-bar { flex-direction: column; gap: 4px; padding: 10px 16px; font-size: 12px; }
}

/* =========================================================
   COMPREHENSIVE MOBILE FIX PASS — all pages
   ========================================================= */

/* ── Top bar: always center on small screens ── */
@media (max-width: 360px) {
  .top-bar { font-size: 10px; padding: 0 8px; }
}

/* ── Cart page ── */
@media (max-width: 768px) {
  .cart-page { padding: 30px 16px; gap: 30px; }
  .cart-left h1 { font-size: 28px; }
}
@media (max-width: 480px) {
  .cart-page { padding: 20px 12px; }
  .cart-left h1 { font-size: 24px; }
  .order-summary { padding: 20px 14px; }
}

/* ── Checkout page ── */
@media (max-width: 768px) {
  .checkout-page { padding: 30px 16px; }
}
@media (max-width: 480px) {
  .checkout-page { padding: 20px 12px; }
  .checkout-product { min-width: 600px; }
}

/* ── Login page ── */
@media (max-width: 768px) {
  .login-section { padding: 30px 16px; }
  .login-form { padding: 30px 20px; }
  .banner-overlay { padding: 30px 20px; }
  .banner-overlay h2 { font-size: 32px; }
  .banner-overlay > p { font-size: 16px; margin-bottom: 28px; }
  .banner-feature img { width: 70px; height: 70px; }
  .banner-feature h3 { font-size: 18px; }
}
@media (max-width: 480px) {
  .login-form h1 { font-size: 28px; }
  .login-section { padding: 20px 12px; }
}

/* ── Product detail page ── */
@media (max-width: 768px) {
  .product-page { padding: 20px 16px 40px; }
  .pricing-tier-cards { flex-direction: column; gap: 12px; }
}
@media (max-width: 480px) {
  .product-page { padding: 16px 12px 30px; }
  .main-product-img { height: 220px; }
  .buy-box { padding: 16px; }
}

/* ── Payment page ── */
@media (max-width: 480px) {
  .progress-steps { gap: 6px; }
  .step-label { font-size: 11px; }
}

/* ── Profile page ── */
@media (max-width: 480px) {
  .profile-hero { padding: 36px 16px; }
  .profile-hero h1 { font-size: 32px; }
}

/* ── Catalog hero ── */
@media (max-width: 480px) {
  .catalog-hero { min-height: 140px; padding: 30px 16px; }
  .catalog-content h1 { font-size: 32px; }
  .catalog-content p { font-size: 14px; }
}

/* ── Serve grid: 2-col on all mobiles ── */
@media (max-width: 480px) {
  .serve-section { padding: 40px 16px; }
  .serve-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .serve-item img { width: 90px; }
}

/* ── Pricing / quote form ── */
@media (max-width: 480px) {
  .pricing-section { padding: 40px 12px; }
  .pricing-left { padding: 20px 14px; }
  .pricing-left h2 { font-size: 24px; }
  .pricing-benefits { gap: 16px; }
  .pricing-benefit span { font-size: 12px; }
  .upload-box { padding: 20px 12px; }
  .quote-btn { width: 100%; font-size: 14px; padding: 14px; }
  .pricing-image { display: none; }
}

/* ── About section ── */
@media (max-width: 480px) {
  .about-section { padding: 40px 16px; }
  .about-left h4 { font-size: 13px; }
  .about-left h2 { font-size: 28px; }
  .about-features { flex-direction: column; gap: 20px; }
  .about-feature img { width: 44px; height: 44px; }
}

/* ── Prevent any horizontal overflow globally ── */
html, body { max-width: 100%; overflow-x: hidden; }

/* ── Touch-friendly minimum tap targets ── */
@media (max-width: 768px) {
  .add-btn, .btn, .choose-schedule-btn, .quote-btn,
  .view-more-btn, .slider-arrow {
    min-height: 44px;
  }
  .nav-icons a, .nav-icons button { min-height: 40px; min-width: 40px; }
  .nav-hamburger { min-height: 44px; min-width: 44px; }
}

/* ═══════════════════════════════════════════════════════════
   FLUID ADAPTIVE DESIGN — replaces all brittle px breakpoints
   Every value scales continuously with viewport width using
   clamp(min, preferred, max) and auto-fill grids.
   No device-specific px required.
   ═══════════════════════════════════════════════════════════ */

/* ── Global overflow guard ── */
html { overflow-x: clip; }
*, *::before, *::after { max-width: 100%; }
img, video, svg { max-width: 100%; height: auto; }

/* ── Navbar: fluid padding + logo ── */
.navbar {
  padding: 0 clamp(12px, 3vw, 32px);
  min-height: clamp(56px, 8vh, 88px);
}
.logo img { width: clamp(120px, 14vw, 180px); }

/* ── Top-bar: scale font, hide contact below ~420px ── */
.top-bar { font-size: clamp(10px, 1.5vw, 12px); padding: 0 clamp(8px, 2vw, 12px); }
@media (max-width: 420px) { .top-contact { display: none; } }

/* ── Hero: fluid typography & spacing ── */
.hero-content {
  padding:
    clamp(24px, 5vw, 60px)
    clamp(16px, 4vw, 40px)
    clamp(24px, 5vw, 60px)
    clamp(16px, 6vw, 80px);
}
.hero-content h1 {
  font-size: clamp(26px, 4.5vw + 1rem, 84px);
  letter-spacing: clamp(-1px, -0.25vw, -3px);
  line-height: 1.05;
  margin-bottom: clamp(16px, 2.5vw, 24px);
}
.hero-content p {
  font-size: clamp(14px, 1.2vw + 0.5rem, 20px);
  margin-bottom: clamp(20px, 3vw, 32px);
  line-height: 1.65;
}
.hero-buttons {
  gap: clamp(10px, 2.5vw, 60px);
  flex-wrap: wrap;
}
.btn {
  min-width: clamp(120px, 16vw, 200px);
  min-height: 44px;
}

/* ── Section headings: fluid everywhere ── */
.section-heading h2 { font-size: clamp(20px, 3vw + 0.8rem, 56px); }
.section-heading p  { font-size: clamp(13px, 1.2vw + 0.3rem, 24px); }

/* ── Supply / featured slider section ── */
.supply-section { padding: clamp(32px, 5vw, 90px) 0; }
.supply-slider { gap: clamp(6px, 1.5vw, 30px); }
.slider-arrow { font-size: clamp(32px, 5vw, 90px); }

/* ── Featured product grid: truly adaptive columns ── */
.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  justify-content: center;
  gap: clamp(14px, 2vw, 40px);
}

/* ── Serve section ── */
.serve-section { padding: clamp(36px, 5vw, 90px) clamp(12px, 3vw, 60px); }
.serve-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(130px, 42%), 1fr));
  justify-content: center;
  gap: clamp(16px, 3vw, 60px) clamp(8px, 1.5vw, 20px);
  margin-top: clamp(24px, 4vw, 60px);
}
.serve-item img { width: clamp(80px, 10vw, 150px); height: auto; }
.serve-item span { font-size: clamp(12px, 1.2vw + 0.2rem, 17px); margin-top: clamp(8px, 1.5vw, 18px); }

/* ── Ordering / How it Works section ── */
.ordering-section {
  padding: clamp(36px, 6vw, 90px) clamp(14px, 5vw, 70px);
  gap: clamp(24px, 5vw, 80px);
}
.ordering-left h4 { font-size: clamp(15px, 2.2vw + 0.3rem, 40px); margin-bottom: clamp(10px, 1.5vw, 18px); }
.ordering-left h2 { font-size: clamp(20px, 2.8vw + 0.6rem, 50px); line-height: 1.3; margin-bottom: clamp(20px, 3.5vw, 55px); }

/* Steps: auto-wrap instead of fixed width */
.ordering-steps { flex-wrap: wrap; justify-content: center; gap: clamp(12px, 2.5vw, 28px); }
.step-item { flex: 1 1 clamp(90px, 15vw, 140px); max-width: 160px; min-width: 0; width: auto; }
.step-icon { width: clamp(70px, 10vw, 130px); height: clamp(70px, 10vw, 130px); }
.step-icon img { width: clamp(40px, 6vw, 85px); height: clamp(40px, 6vw, 85px); }
.step-item h3 { font-size: clamp(12px, 1.1vw + 0.2rem, 16px); }
.step-dots { margin-top: clamp(24px, 4vw, 47px); font-size: clamp(14px, 2vw, 21px); flex-shrink: 0; }
.ordering-line { width: min(360px, 100%); }

/* Schedule card */
.reorder-header h2 { font-size: clamp(16px, 1.8vw + 0.4rem, 28px); }
.schedule-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr));
  gap: clamp(8px, 1.5vw, 11px);
}
.schedule-grid button { height: clamp(48px, 6vw, 63px); font-size: clamp(12px, 1.2vw + 0.2rem, 15px); gap: clamp(8px, 1.5vw, 22px); }
.choose-schedule-btn { width: min(380px, 100%); font-size: clamp(14px, 1.5vw + 0.3rem, 21px); height: clamp(48px, 6vw, 58px); }
.schedule-line { width: min(270px, 80%); }

/* ── Pricing / quote section ── */
.pricing-section { padding: clamp(36px, 6vw, 100px) clamp(12px, 4vw, 60px); }
.pricing-left { padding: clamp(20px, 4vw, 50px); }
.pricing-left h2 { font-size: clamp(20px, 2.8vw + 0.5rem, 48px); }
.pricing-benefits { flex-wrap: wrap; gap: clamp(10px, 2vw, 20px); }
.upload-box { padding: clamp(16px, 3vw, 40px) clamp(12px, 2vw, 24px); }
.quote-btn { width: 100%; max-width: min(320px, 100%); font-size: clamp(13px, 1.2vw + 0.2rem, 16px); }

/* ── About section ── */
.about-section { padding: clamp(28px, 4vw, 38px) clamp(14px, 3vw, 30px) clamp(16px, 3vw, 26px); }
.about-wrapper { gap: clamp(20px, 3vw, 36px); }
.about-left h4 { font-size: clamp(14px, 1.5vw + 0.2rem, 24px); }
.about-left h2 { font-size: clamp(24px, 3vw + 0.5rem, 50px); }
.about-left p { font-size: clamp(13px, 1.1vw + 0.3rem, 16px); }
.about-features {
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  margin-top: clamp(16px, 2.5vw, 32px);
}
.about-feature { grid-template-columns: clamp(50px, 7vw, 95px) 1fr; gap: clamp(12px, 2vw, 40px); padding: clamp(8px, 1.5vw, 8px) clamp(10px, 2vw, 22px); }
.about-feature img { width: clamp(40px, 5vw, 80px); height: clamp(40px, 5vw, 80px); }
.about-feature h3 { font-size: clamp(13px, 1.1vw + 0.2rem, 16px); }
.about-feature p { font-size: clamp(12px, 1vw + 0.2rem, 16px); }

/* ── Catalog hero ── */
.catalog-content h1 { font-size: clamp(26px, 4.5vw + 0.8rem, 80px); }
.catalog-content p  { font-size: clamp(13px, 1.2vw + 0.3rem, 20px); }
.catalog-hero { padding: clamp(28px, 5vw, 80px) clamp(14px, 4vw, 40px); }

/* ── Catalog layout: fluid sidebar that auto-collapses ── */
.catalog-main {
  grid-template-columns: clamp(180px, 19vw, 245px) minmax(0, 1fr);
  padding: clamp(20px, 4vw, 45px) clamp(12px, 3vw, 20px) clamp(40px, 7vw, 80px);
  gap: clamp(14px, 2.5vw, 28px);
}
/* Collapse sidebar when screen is narrower than ~640px */
@media (max-width: 640px) {
  .catalog-main { grid-template-columns: 1fr; }
  .filter-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(140px, 48%), 1fr)); gap: 8px; }
}

/* ── Catalog product cards grid ── */
.catalog-products {
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
}

/* ── Product card internals ── */
.product-image { height: clamp(130px, 18vw, 210px); }
.product-name, .product-content h3 { font-size: clamp(13px, 1.2vw + 0.2rem, 16px); }
.product-description { font-size: clamp(11px, 1vw + 0.15rem, 13px); }
.price { font-size: clamp(18px, 2vw + 0.5rem, 24px); }

/* ── Login page banner ── */
.banner-overlay { padding: clamp(20px, 5vw, 60px); }
.banner-overlay h2 { font-size: clamp(20px, 3vw + 0.5rem, 52px); }
.banner-overlay > p { font-size: clamp(13px, 1.2vw + 0.3rem, 20px); margin-bottom: clamp(20px, 4vw, 50px); }
.banner-feature img { width: clamp(60px, 8vw, 110px); height: clamp(60px, 8vw, 110px); }
.banner-feature h3 { font-size: clamp(14px, 1.5vw + 0.3rem, 25px); }

/* ── Cart/checkout ── */
.cart-page { padding: clamp(24px, 4vw, 60px) clamp(14px, 3vw, 40px); }
.cart-left h1 { font-size: clamp(24px, 3vw + 0.8rem, 42px); }
.checkout-page { padding: clamp(20px, 4vw, 50px) clamp(14px, 3vw, 40px); }

/* ── Product detail page ── */
.product-page { padding: clamp(16px, 3vw, 40px) clamp(12px, 3vw, 30px) clamp(40px, 6vw, 60px); }
.main-product-img { height: clamp(200px, 25vw, 330px); }

/* ── Profile page ── */
.profile-hero { padding: clamp(28px, 5vw, 60px) clamp(14px, 4vw, 40px); }
.profile-hero h1 { font-size: clamp(28px, 4vw + 0.5rem, 64px); }

/* ── Payment page ── */
.payment-page { padding: clamp(28px, 5vw, 60px) clamp(14px, 4vw, 40px); }

/* ── All touch targets: universally accessible ── */
button, a, [role="button"] { touch-action: manipulation; }
.add-btn, .btn, .choose-schedule-btn, .quote-btn, .view-more-btn { min-height: 44px; }
.nav-hamburger, .account-btn { min-height: 44px; min-width: 44px; }

/* ── Hero layout collapse: only 1 structural breakpoint needed ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-content { text-align: center; max-width: 100%; }
  .hero-content p { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-image { padding: 0 clamp(16px, 5vw, 40px) clamp(20px, 4vw, 50px); justify-content: center; }
  .hero-image img { max-width: min(600px, 100%); height: auto; }
}

/* ── Ordering section: collapse side-by-side when narrow ── */
@media (max-width: 860px) {
  .ordering-section { grid-template-columns: 1fr; }
  .reorder-card { max-width: min(560px, 100%); margin: 0 auto; }
  .ordering-left { text-align: center; }
  .ordering-steps { justify-content: center; }
  .ordering-line { margin: 26px auto 0; }
}

/* ── About section: collapse at narrow widths ── */
@media (max-width: 720px) {
  .about-wrapper { grid-template-columns: 1fr; }
  .about-image img { height: clamp(180px, 35vw, 300px); }
}

/* ── Login container: collapse banner at narrow widths ── */
@media (max-width: 820px) {
  .login-container { grid-template-columns: 1fr; }
  .login-banner { min-height: clamp(200px, 35vw, 500px); }
}

/* ── Cart/Checkout: collapse at narrow widths ── */
@media (max-width: 860px) {
  .cart-page { grid-template-columns: 1fr; }
  .cart-header, .cart-items { min-width: 700px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-product { min-width: 640px; overflow-x: auto; }
}

/* ── Product detail: collapse 3-col at narrow ── */
@media (max-width: 960px) {
  .product-layout { grid-template-columns: 1fr; }
  .buy-box { max-width: min(480px, 100%); }
  .details-grid { grid-template-columns: 1fr; }
}

/* ── Pricing card: collapse image at narrow ── */
@media (max-width: 900px) {
  .pricing-card { grid-template-columns: 1fr; }
  .pricing-image { order: -1; }
  .pricing-image img { max-height: clamp(180px, 30vw, 300px); width: 100%; object-fit: cover; }
}

/* ── Bottom bar ── */
.bottom-bar { flex-wrap: wrap; gap: 4px; padding: clamp(6px, 1.5vw, 8px) clamp(12px, 2vw, 13px); height: auto; font-size: clamp(11px, 1.2vw, 14px); }

/* ── Pricing benefits: left-align when stacked ── */
@media (max-width: 768px) {
  .pricing-benefits { align-items: flex-start; }
  .pricing-benefit { width: 100%; }
}

/* ── Checkout order type: wrap so cards stack on narrow screens ── */
.order-type-row { flex-wrap: wrap; }
.order-type-label { flex: 1 1 clamp(180px, 40%, 300px); min-width: 0; }

/* Order options (the actual class used in checkout.html) */
.order-options { flex-wrap: wrap; }
.order-option { flex: 1 1 clamp(160px, 40%, 260px); }
.option-card { width: auto; min-width: 0; }

/* Submit row: stack button + security note on mobile */
@media (max-width: 700px) {
  .submit-order-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .submit-order-actions { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
  .submit-order-btn { width: 100%; max-width: 100%; height: auto; padding: 14px 20px; font-size: 16px; }
  .security-note { text-align: center; font-size: 12px; }
}

/* ── Cart: card-style rows on mobile (replaces overflowing table) ── */
@media (max-width: 700px) {
  /* Nuke the fixed-width table layout */
  .cart-table { overflow-x: visible; border: none; background: transparent; box-shadow: none; }
  .cart-header { display: none; }
  .cart-items { min-width: 0 !important; width: 100%; }

  /* Each cart row becomes a self-contained card */
  .cart-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 12px;
    padding: 14px;
    border: 1px solid #d6dce3;
    border-radius: 10px;
    margin-bottom: 12px;
    background: #fff;
    min-width: 0;
    /* clear the 6-col grid */
    grid-template-columns: none !important;
  }

  /* Product image + info: fill top row */
  .cart-product {
    flex: 1 1 100%;
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }
  .cart-product img { width: 70px; height: 60px; object-fit: contain; flex-shrink: 0; }
  .cart-product h3 { font-size: 14px; margin-bottom: 4px; }
  .cart-product p, .cart-product small { font-size: 12px; }

  /* Price, qty, reorder, total, trash all wrap into the bottom row */
  .product-price { font-size: 15px; font-weight: 700; flex: 0 0 auto; align-self: center; }
  .qty-box { flex: 0 0 auto; align-self: center; }
  .reorder-wrapper { flex: 1 1 auto; min-width: 0; align-self: center; }
  .reorder-dropdown { width: 100%; max-width: 160px; font-size: 13px; }
  .item-total { font-size: 14px; font-weight: 700; flex: 0 0 auto; align-self: center; }
  .trash-btn { flex: 0 0 auto; align-self: center; margin-left: auto; }
}

/* ── Checkout product rows: card on mobile ── */
@media (max-width: 700px) {
  .checkout-product {
    display: flex !important;
    flex-wrap: wrap;
    min-width: 0 !important;
    gap: 10px;
    padding: 14px;
  }
  .checkout-product img { flex: 0 0 70px; width: 70px; height: 55px; object-fit: contain; }
  .checkout-product h4 { font-size: 13px; }
  .checkout-product > *:not(img) { flex: 1 1 auto; min-width: 0; }
}