/* Mogamdat responsive styles: all project media queries in original cascade order. */

/* =========================
   RESPONSIVE SOURCE: styles.css
========================= */
@media(max-width:1180px) {
  .topbar-inner {
    grid-template-columns: 190px minmax(320px, 1fr) max-content;
    gap: 16px
  }

  .location-chip {
    display: none
  }

  .main-nav {
    gap: 18px
  }

  .shipping-progress-compact {
    min-width: 250px
  }

  .product-grid-five {
    grid-template-columns: repeat(4, minmax(0, 1fr))
  }

  .product-detail-layout {
    grid-template-columns: minmax(300px, .9fr) minmax(400px, 1.1fr)
  }

  .product-service-card {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 14px
  }

  .product-service-card article {
    border-bottom: 0;
    border-inline-start: 1px solid var(--line);
    padding: 10px 15px
  }

  .product-service-card article:first-child {
    border: 0
  }
}

@media(max-width:980px) {
  :root {
    --mobile-nav-clearance: calc(78px + env(safe-area-inset-bottom));
    --mobile-live-cart-clearance: calc(156px + env(safe-area-inset-bottom));
  }

  .desktop-header {
    display: none
  }

  .mobile-header {
    display: block;
    position: sticky;
    z-index: 80;
    top: 0;
    background: #fff;
    color: #35453d;
    padding: 8px 14px 12px;
    box-shadow: 0 4px 15px rgba(5, 54, 33, .18)
  }

  .mobile-header-row {
    height: 48px;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 80px;
    align-items: center
  }

  .mobile-header-row>#mobileMenuButton {
    justify-self: start
  }

  .mobile-header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 4px
  }

  .mobile-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: #35453d
  }

  .mobile-brand {
    justify-self: center
  }

  .mobile-brand .brand-mark {
    width: 38px;
    height: 33px;
    border-radius: 9px;
    padding: 3px
  }

  .mobile-brand .brand-copy strong {
    font-size: 15px
  }

  .mobile-brand .brand-copy small {
    font-size: 7px;
    margin-top: 2px
  }

  .mobile-location {
    width: 100%;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #35453d;
    font-size: 9px
  }

  .mobile-location svg {
    width: 14px;
    height: 14px;
    color: #2e7d32;
    stroke: #2e7d32;
    stroke-width: 2.2
  }

  .mobile-search {
    position: relative;
    height: 42px;
    border-radius: 12px;
    background: #fff;
    display: flex;
    direction: rtl;
    overflow: visible;
    margin-top: 4px
  }

  .mobile-search>input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 13px;
    direction: rtl;
    text-align: right;
    font-size: 10px;
    color: var(--ink)
  }

  .mobile-search>button {
    order: -1;
    flex: 0 0 46px;
    width: 46px;
    background: var(--lime);
    color: var(--green-950);
    display: grid;
    place-items: center
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 90;
    right: 0;
    left: 0;
    bottom: 0;
    height: calc(67px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -5px 20px rgba(8, 64, 40, .08);
    backdrop-filter: blur(12px)
  }

  .mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #68756e;
    font-size: 8px;
    font-weight: 700
  }

  .mobile-bottom-nav a svg {
    width: 20px;
    height: 20px
  }

  .mobile-bottom-nav a.active {
    color: var(--green-700)
  }

  .mobile-bottom-nav a.active svg {
    stroke-width: 2.2
  }

  .app-shell>main>section[id^="page-"] {
    padding-bottom: var(--mobile-nav-clearance)
  }

  body.has-mobile-live-cart .app-shell>main>section[id^="page-"] {
    padding-bottom: var(--mobile-live-cart-clearance)
  }

  .container {
    width: min(100% - 24px, var(--container))
  }

  .page-pad {
    padding-top: 13px;
    padding-bottom: 20px
  }

  .page-subheader {
    min-height: 66px;
    grid-template-columns: 42px 1fr 42px;
    padding: 9px 13px
  }

  .page-subheader span {
    font-size: 8px
  }

  .page-subheader h1 {
    font-size: 18px
  }

  .back-button,
  .filter-mobile-button,
  .favorite-top,
  .clear-cart-button,
  .add-address-top,
  .notification-button {
    width: 37px;
    height: 37px;
    border-radius: 10px
  }

  .first-order-alert {
    grid-template-columns: auto 1fr auto;
    padding: 8px 10px;
    margin-bottom: 10px
  }

  .first-order-alert>div:nth-child(2) {
    display: block
  }

  .first-order-alert strong {
    font-size: 10px;
    display: block;
    white-space: normal;
    line-height: 1.5
  }

  .first-order-alert span {
    font-size: 8px;
    display: block;
    line-height: 1.5;
    margin-top: 2px
  }

  .copy-pill {
    height: 31px;
    font-size: 8px;
    padding: 0 9px
  }

  .dismiss-alert {
    display: none
  }

  .hero-card {
    border-radius: 16px
  }

  .hero-card::after {
    background: linear-gradient(90deg, rgba(7, 70, 45, .12) 0%, rgba(7, 70, 45, .08) 36%, rgba(4, 43, 28, .06) 54%, rgba(4, 43, 28, .14) 100%)
  }

  .hero-media img {
    aspect-ratio: 202/117;
    object-position: center
  }

  .hero-overlay {
    align-items: center;
    justify-content: flex-end;
    padding: clamp(14px, 2vw, 18px) clamp(12px, 2vw, 18px) clamp(14px, 2vw, 18px) clamp(16px, 2.4vw, 22px)
  }

  .hero-copy {
    width: min(44%, clamp(150px, 23vw, 220px))
  }

  .hero-copy h1 {
    font-size: clamp(20px, 2.9vw, 28px);
    line-height: 1.32;
    white-space: normal
  }

  .hero-copy p {
    display: none
  }

  .hero-actions {
    display: flex;
    margin-top: clamp(10px, 1.4vw, 14px);
    gap: 0;
    justify-content: flex-start
  }

  .hero-secondary {
    display: none
  }

  .hero-primary {
    min-height: clamp(34px, 4.4vw, 42px);
    padding: 0 clamp(14px, 2.1vw, 18px);
    border-radius: 10px;
    font-size: clamp(10px, 1.4vw, 12px)
  }

  .category-rail {
   
    min-height: 100px;
    border-radius: 15px;
    padding: 10px 7px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    overflow: hidden;
  }

  .category-rail button {
    border: 0;
    padding: 4px
  }

  .category-rail .category-rail-item {
    min-height: 75px;
    font-size: 8px;
    line-height: 1.45
  }

  .category-rail .category-rail-item img {
    width: 48px;
    height: 35px
  }

  .category-rail .all-category-button {
    display: none
  }

  .category-rail button:nth-child(n+5) {
    display: none
  }

  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 10px;
    border-radius: 13px
  }

  .trust-strip article {
    min-height: 63px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center
  }

  .trust-strip article>span {
    width: 31px;
    height: 31px;
    border-radius: 10px
  }

  .trust-strip article>span svg {
    width: 17px;
    height: 17px
  }

  .trust-strip strong {
    font-size: 8px
  }

  .trust-strip small {
    font-size: 6px;
    display: none
  }

  .section-block {
    margin-top: 12px;
    border-radius: 15px;
    padding: 12px
  }

  .section-heading {
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-bottom: 10px
  }

  .section-heading h2 {
    font-size: 16px
  }

  .section-heading>.text-link {
    display: none
  }

  .section-heading .countdown {
    grid-column: auto
  }

  .countdown b {
    min-width: 28px;
    height: 29px;
    border-radius: 7px;
    font-size: 10px
  }

  .countdown span {
    font-size: 10px
  }

  .product-grid-four,
  .product-grid-five,
  .product-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px
  }

  .product-card {
    border-radius: 13px;
    padding: 9px
  }

  .product-image {
    height: 96px;
    padding: 5px
  }

  .product-image img {
    max-height: 80px
  }

  .product-card h3 {
    font-size: 10px;
    min-height: 32px
  }

  .product-meta {
    font-size: 7.5px;
    min-height: 23px
  }

  .product-price strong {
    font-size: 11px
  }

  .product-price del {
    font-size: 7px
  }

  .add-product {
    width: 29px;
    height: 29px
  }

  .add-product svg {
    width: 15px;
    height: 15px
  }

  .product-badge {
    top: 7px;
    right: 7px;
    font-size: 7px;
    padding: 3px 6px
  }

  .product-card .favorite-button {
    top: 7px;
    left: 7px;
    width: 27px;
    height: 27px
  }

  .product-moq {
    font-size: 7px;
    padding: 4px 5px
  }

  .bundle-banner {
    margin-top: 11px;
    min-height: 115px;
    grid-template-columns: 90px 1fr auto;
    padding: 12px;
    gap: 10px
  }

  .bundle-visual img {
    height: 49px
  }

  .bundle-copy span {
    font-size: 7px
  }

  .bundle-copy h2 {
    font-size: 13px;
    line-height: 1.5;
    margin: 2px 0
  }

  .bundle-copy p {
    font-size: 7px;
    line-height: 1.6
  }

  .bundle-discount strong {
    font-size: 24px
  }

  .bundle-discount small {
    font-size: 8px
  }

  .bundle-banner>.primary-button {
    grid-column: 1/-1;
    min-height: 37px;
    font-size: 9px
  }

  .category-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px
  }

  .category-page-card {
    min-height: 170px;
    border-radius: 16px;
    padding: 14px
  }

  .category-page-card img {
    left: 10px;
    top: 16px;
    width: 54%;
    height: 105px
  }

  .category-page-card div {
    max-width: 56%
  }

  .category-page-card span {
    font-size: 7px
  }

  .category-page-card h2 {
    font-size: 13px
  }

  .category-page-card p {
    font-size: 7px
  }

  .help-banner {
    min-height: 82px;
    padding: 12px;
    grid-template-columns: auto 1fr;
    border-radius: 14px
  }

  .help-banner>div {
    width: 40px;
    height: 40px
  }

  .help-banner strong {
    font-size: 10px
  }

  .help-banner small {
    font-size: 7px
  }

  .help-banner .secondary-button {
    grid-column: 1/-1;
    min-height: 36px;
    font-size: 9px
  }

  .products-layout {
    display: block
  }

 
  .filter-mobile-button {
    display: grid
  }

  .catalog-toolbar {
    min-height: 50px;
    padding: 8px 10px
  }

  .catalog-toolbar strong {
    font-size: 10px
  }

  .catalog-toolbar span {
    font-size: 7px
  }

  .catalog-toolbar label {
    font-size: 8px
  }

  .catalog-toolbar label::after {
    left: 11px;
    width: 5px;
    height: 5px
  }

  .catalog-toolbar select {
    min-width: 104px;
    height: 33px;
    font-size: 8px;
    padding-left: 28px;
    padding-right: 10px
  }

  .catalog-sort-field {
    gap: 6px;
    font-size: 8px
  }

  .catalog-sort-trigger {
    min-width: 108px;
    height: 34px;
    padding: 0 10px;
    font-size: 9px
  }

  .catalog-sort-options {
    width: 180px
  }

  .catalog-sort-option {
    min-height: 38px;
    font-size: 10px
  }

  .catalog-pagination {
    gap: 10px;
    margin-top: 18px
  }

  .catalog-pagination-controls,
  .catalog-pagination-pages {
    gap: 6px
  }

  .catalog-pagination button {
    width: 36px;
    height: 36px;
    font-size: 10px
  }

  .catalog-pagination p {
    font-size: 9px
  }

  .product-detail-layout {
    display: block
  }

  .product-gallery-card {
    min-height: 285px;
    border-radius: 16px;
    padding: 20px
  }

  .product-gallery-card>img {
    max-height: 205px;
    max-width: 75%
  }

  .product-info-card {
    margin-top: 10px;
    border-radius: 16px;
    padding: 15px
  }

  .product-title-row h1 {
    font-size: 18px
  }

  .detail-price strong {
    font-size: 20px
  }

  .quantity-tier-list {
    display: flex;
    gap: 7px;
    padding-bottom: 4px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin
  }

  .tier-option {
    min-height: 86px;
    flex: 0 0 min(156px, 68vw);
    padding: 9px;
    scroll-snap-align: start
  }

  .tier-option strong {
    font-size: 11px
  }

  .tier-option small {
    font-size: 9px
  }

  .quantity-cart-row {
    gap: 8px
  }

  .product-promotion-progress {
    padding: 12px
  }

  .promotion-progress-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px
  }

  .product-service-card {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 16px;
    padding: 0 13px
  }

  .product-service-card article {
    min-height: 70px;
    border-inline: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px 0
  }

  .product-service-card article:first-child {
    border-bottom: 1px solid var(--line)
  }

  .product-service-card article:last-child {
    border: 0
  }

  .related-wrap {
    padding-top: 0
  }

  .offers-page {
    width: calc(100% - 24px)
  }

  .offers-feature-grid {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-bottom: 14px
  }

  .feature-offer {
    min-height: 125px;
    border-radius: 15px;
    padding: 15px
  }

  .feature-offer h2 {
    font-size: 15px
  }

  .feature-offer p {
    font-size: 8px
  }

  .offer-illustration {
    width: 68px;
    height: 68px
  }

  .offer-list-cards {
    grid-template-columns: 1fr;
    gap: 9px
  }

  .offer-list-cards article {
    min-height: 80px
  }

  .cart-layout,
  .checkout-layout,
  .order-detail-layout,
  .contact-layout {
    display: block
  }

  .cart-main-card,
  .checkout-form-card,
  .profile-form,
  .contact-form-card {
    border-radius: 16px;
    padding: 13px
  }

  .order-summary-card,
  .checkout-summary {
    position: static;
    margin-top: 10px;
    border-radius: 16px;
    padding: 14px
  }

  .cart-line-item {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 8px;
    min-height: 104px
  }

  .cart-line-item img {
    width: 66px;
    height: 61px
  }

  .cart-line-item h3 {
    font-size: 10px
  }

  .cart-line-item .qty-control {
    grid-column: 2/3;
    margin-top: 5px;
    width: max-content
  }

  .cart-line-price {
    grid-column: 3/4;
    grid-row: 1/3
  }

  .remove-line {
    position: static;
    margin: 0
  }

  .promo-code-box label {
    height: 42px
  }

  .promo-code-box button {
    width: 76px
  }

  .checkout-steps {
    gap: 5px
  }

  .checkout-steps i {
    width: 20px
  }

  .checkout-steps span {
    font-size: 8px
  }

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

  .form-grid .wide {
    grid-column: auto
  }

  .fulfillment-options {
    grid-template-columns: 1fr
  }

  .success-page {
    padding-top: 25px
  }

  .success-logo {
    width: 120px;
    height: 110px
  }

  .success-icon {
    width: 62px;
    height: 62px
  }

  .success-page h1 {
    font-size: 22px
  }

  .success-page>p {
    font-size: 9px
  }

  .success-steps article {
    width: 86px
  }

  .success-steps>i {
    width: 25px
  }

  .success-steps article span {
    font-size: 7px
  }

  .success-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr
  }

  .auth-layout {
    min-height: calc(100vh - 169px);
    display: block;
    background: linear-gradient(160deg, #f4faf6, #fff)
  }

  .auth-brand-panel {
    display: none
  }

  .auth-card {
    min-height: calc(100vh - 169px);
    padding: 92px 22px 90px;
    justify-content: flex-start
  }

  .auth-card .auth-icon {
    margin-top: 4px
  }

  .auth-card h1 {
    font-size: 23px
  }

  .auth-card>p {
    font-size: 9px
  }

  .otp-inputs {
    gap: 5px
  }

  .otp-inputs input {
    height: 47px;
    font-size: 16px
  }

  .orders-toolbar {
    display: block
  }

  .order-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr)
  }

  .order-tabs button {
    padding: 0 5px
  }

  .orders-toolbar>label {
    width: 100%;
    margin-top: 9px
  }

  .order-card {
    border-radius: 14px;
    padding: 12px
  }

  .tracking-card {
    padding: 14px;
    border-radius: 16px
  }

  .tracking-head h2 {
    font-size: 13px
  }

  .tracking-timeline {
    grid-template-columns: 1fr;
    gap: 0
  }

  .tracking-timeline article {
    min-height: 65px;
    padding-left: 0
  }

  .tracking-timeline article:not(:last-child)::after {
    top: 34px;
    right: 16px;
    left: auto;
    width: 2px;
    height: 32px
  }

  .order-detail-card,
  .sales-rep-card,
  .delivery-info-card {
    margin-top: 10px;
    border-radius: 16px
  }

  .profile-overview {
    min-height: 130px;
    border-radius: 18px;
    padding: 16px;
    grid-template-columns: auto 1fr
  }

  .profile-avatar {
    width: 60px;
    height: 60px;
    font-size: 22px
  }

  .profile-overview h2 {
    font-size: 17px
  }

  .profile-overview .secondary-button {
    grid-column: 1/-1;
    min-height: 38px;
    font-size: 9px
  }

  .account-stats {
    gap: 7px
  }

  .account-stats article {
    min-height: 66px;
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px
  }

  .account-stats strong {
    font-size: 14px;
    line-height: 1.35;
    white-space: nowrap;
    unicode-bidi: plaintext
  }

  .account-stats span {
    margin-top: 0;
    font-size: 9px;
    line-height: 1.4
  }

  .status-shortcuts {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px
  }

  .status-shortcuts :is(button, a) {
    min-height: 75px
  }

  .status-shortcuts small {
    font-size: 9px;
    line-height: 1.4
  }

  .account-menu {
    padding: 3px 12px;
    border-radius: 15px
  }

  .account-menu>:is(button, a) {
    min-height: 68px
  }

  .account-menu strong {
    font-size: 12px;
    line-height: 1.45
  }

  .account-menu small {
    margin-top: 4px;
    font-size: 9.5px;
    line-height: 1.5
  }

  .address-card {
    border-radius: 14px;
    padding: 11px;
    grid-template-columns: auto 1fr
  }

  .address-card>button {
    grid-column: 2;
    justify-self: end;
    margin-top: -34px
  }

  .contact-hero {
    min-height: 300px;
    border-radius: 17px;
    padding: 25px
  }

  .contact-hero h1 {
    font-size: 22px
  }

  .contact-hero p {
    font-size: 9px
  }

  .contact-form-card {
    margin-top: 10px
  }

  .modal {
    align-items: flex-end;
    padding: 0
  }

  .modal-card {
    width: 100%;
    border-radius: 22px 22px 0 0;
    padding-bottom: calc(20px + env(safe-area-inset-bottom))
  }

  .modal.auth-modal {
    align-items: center;
    padding: 16px
  }

  .auth-modal .auth-modal-card {
    width: min(480px, 100%);
    max-height: calc(100dvh - 32px);
    padding: 0;
    border-radius: 20px
  }

  .auth-modal .auth-layout {
    min-height: 0;
    display: block
  }

  .auth-modal .auth-card {
    min-height: 0;
    padding: 72px 22px calc(32px + env(safe-area-inset-bottom))
  }

  .toast {
    bottom: 82px;
    font-size: 9px
  }
}

@media(max-width:760px) {
  .modal.auth-modal {
    padding: clamp(10px, 3vw, 16px)
  }

  .auth-modal .auth-modal-card {
    width: min(440px, 100%);
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
    overscroll-behavior: contain
  }

  .auth-modal .auth-card {
    padding: 70px clamp(18px, 6vw, 28px) calc(28px + env(safe-area-inset-bottom))
  }

  .auth-modal .auth-back {
    top: 18px;
    width: 40px;
    height: 40px
  }

  .auth-modal [data-close-modal].auth-back {
    left: 18px
  }

  .auth-modal [data-auth-back].auth-back {
    right: 18px
  }

  .auth-modal .auth-icon {
    width: 58px;
    height: 58px;
    border-radius: 17px
  }

  .auth-modal .auth-icon svg {
    width: 28px;
    height: 28px
  }

  .auth-modal [data-auth-step="otp"] .auth-icon {
    margin-top: 12px
  }

  .auth-modal .auth-card h1 {
    margin-top: 15px;
    font-size: clamp(25px, 7vw, 29px);
    line-height: 1.35
  }

  .auth-modal .auth-card>p {
    margin-bottom: 20px;
    font-size: clamp(13px, 3.6vw, 14px);
    line-height: 1.75
  }

  .auth-modal .auth-card form label>span,
  .auth-modal .auth-security,
  .auth-modal .resend-button {
    font-size: 12px;
    line-height: 1.6
  }

  .auth-modal .phone-input {
    height: 52px
  }

  .auth-modal .phone-input input,
  .auth-modal .auth-card .primary-button {
    font-size: 15px
  }

  .auth-modal .auth-card .primary-button {
    min-height: 48px
  }

  .auth-modal .otp-inputs {
    gap: 7px
  }

  .auth-modal .otp-inputs input {
    height: clamp(50px, 14vw, 56px);
    font-size: 22px
  }

  .auth-modal .auth-security {
    align-items: flex-start;
    text-align: center
  }
}

@media(max-width:430px) {
  .auth-modal .auth-modal-card {
    border-radius: 16px
  }

  .auth-modal .auth-card {
    padding: 64px 18px calc(24px + env(safe-area-inset-bottom))
  }

  .auth-modal .auth-back {
    top: 14px;
    width: 38px;
    height: 38px
  }

  .auth-modal [data-close-modal].auth-back {
    left: 14px
  }

  .auth-modal [data-auth-back].auth-back {
    right: 14px
  }

  .auth-modal .auth-icon {
    width: 54px;
    height: 54px;
    border-radius: 15px
  }

  .auth-modal .auth-icon svg {
    width: 26px;
    height: 26px
  }

  .auth-modal .auth-card h1 {
    font-size: clamp(24px, 7.2vw, 27px)
  }

  .auth-modal .auth-card>p {
    font-size: 13px
  }

  .auth-modal .otp-inputs {
    gap: 6px
  }
}

@media(max-width:760px) and (max-height:620px) {
  .auth-modal .auth-card {
    padding-top: 58px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom))
  }

  .auth-modal .auth-back {
    top: 12px
  }

  .auth-modal .auth-icon {
    width: 48px;
    height: 48px
  }

  .auth-modal .auth-icon svg {
    width: 24px;
    height: 24px
  }

  .auth-modal [data-auth-step="otp"] .auth-icon {
    margin-top: 4px
  }

  .auth-modal .auth-card h1 {
    margin-top: 10px;
    font-size: 24px
  }

  .auth-modal .auth-card>p {
    margin-bottom: 14px;
    line-height: 1.6
  }

  .auth-modal .auth-security,
  .auth-modal .resend-button {
    margin-top: 11px
  }
}

@media(max-width:430px) {
  .mobile-brand .brand-copy small {
    display: none
  }

  .first-order-alert .copy-pill {
    font-size: 0;
    width: 33px;
    padding: 0;
    justify-content: center
  }

  .hero-overlay {
    padding: 12px 10px 12px 14px
  }

  .hero-copy {
    width: min(46%, 132px)
  }

  .hero-copy h1 {
    font-size: clamp(17px, 4.5vw, 20px);
    line-height: 1.28
  }

  .hero-actions {
    margin-top: 9px
  }

  .hero-primary {
    min-height: clamp(31px, 8vw, 36px);
    padding: 0 13px;
    font-size: clamp(8.5px, 2.4vw, 10px)
  }

  .category-page-grid {
    grid-template-columns: 1fr 1fr
  }

  .category-page-card {
    min-height: 154px
  }

  .product-grid-four,
  .product-grid-five,
  .product-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .product-image {
    height: 88px
  }

  .bundle-banner {
    grid-template-columns: 72px 1fr auto
  }

  .bundle-visual img {
    height: 43px
  }

  .cart-line-item {
    position: relative
  }

  .section-heading h2 {
    font-size: 15px
  }

  .countdown b {
    min-width: 26px
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important
  }
}

@media(max-width:760px) {
  .product-card {
    padding: 8px
  }

  .product-image {
    height: auto;
    aspect-ratio: 4/3;
    margin-bottom: 7px;
    padding: 0;
    border-radius: 10px;
  }

  .product-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
  }

  .product-card h3 {
    font-size: 11.5px;
    line-height: 1.5;
    min-height: 0;
  }

  .product-meta {
    font-size: 9px;
    line-height: 1.5;
    min-height: 0;
  }

  .product-price-row {
    padding-top: 7px;
    margin-top: auto
  }

  .product-price strong {
    font-size: 12.5px
  }

  .product-price del {
    font-size: 8.5px
  }

  .product-moq {
    font-size: 8px;
    padding: 4px 5px
  }
}

@media(max-width:430px) {
  .product-image {
    height: auto;
    aspect-ratio: 4/3
  }
}

@media(max-width:760px) {
  .mobile-search {
    z-index: 75
  }

  .search-suggestions {
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    border-radius: 14px;
    max-height: 58vh
  }

  .search-suggestion {
    min-height: 58px;
    grid-template-columns: 44px 1fr 20px;
    padding: 7px
  }

  .search-suggestion>img,
  .search-suggestion>span:first-child {
    width: 44px;
    height: 44px
  }

  .search-suggestion strong {
    font-size: 12px
  }

  .search-suggestion small {
    font-size: 10px
  }

  .section-heading h2 {
    font-size: 17px
  }

  .eyebrow {
    font-size: 10px
  }

  .text-link {
    font-size: 10px
  }

  .first-order-alert strong {
    font-size: 11px
  }

  .first-order-alert span {
    font-size: 9px
  }

  .category-rail .category-rail-item,
  .category-rail .all-category-button {
    font-size: 9px
  }

  .trust-strip strong {
    font-size: 10px
  }

  .trust-strip small {
    font-size: 8px
  }

  .product-card {
    padding: 8px;
    border-radius: 14px
  }

  .product-image {
    aspect-ratio: 4/3;
    margin-bottom: 6px
  }

  .product-promo-line {
    grid-template-columns: 13px auto 1fr;
    gap: 3px;
    padding: 3px 5px;
    min-height: 22px
  }

  .product-promo-line svg {
    width: 12px;
    height: 12px
  }

  .product-promo-line strong {
    font-size: 8px
  }

  .product-promo-line span {
    font-size: 7px
  }

  .product-card h3 {
    font-size: 12.5px;
    line-height: 1.45;
    min-height: 37px
  }

  .product-meta {
    font-size: 10px;
    margin-bottom: 5px
  }

  .product-value-line {
    font-size: 8px;
    gap: 4px
  }

  .product-value-line span {
    padding: 2px 4px
  }

  .product-price strong {
    font-size: 14px
  }

  .product-price del {
    font-size: 9px
  }

  .product-moq {
    font-size: 9px;
    padding: 5px 6px
  }

  .add-product {
    width: 36px;
    height: 36px
  }

  .card-live-qty {
    height: 36px;
    min-width: 86px;
    grid-template-columns: 26px 1fr 26px;
    border-radius: 10px
  }

  .card-live-qty strong span {
    font-size: 11px
  }

  .card-live-qty strong small {
    font-size: 6px
  }

  .live-cart-drawer {
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: min(86vh, 720px);
    border-radius: 24px 24px 0 0;
    transform: translateY(105%);
    grid-template-rows: auto auto 1fr auto
  }

  .live-cart-drawer.open {
    transform: none
  }

  .live-cart-head {
    min-height: 70px;
    padding: 14px 15px 10px
  }

  .live-cart-head h2 {
    font-size: 18px
  }

  .live-cart-shipping {
    min-height: 60px;
    margin: 8px 12px 0
  }

  .live-cart-items {
    padding: 5px 12px 12px
  }

  .live-cart-line {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 8px;
    padding: 9px 0
  }

  .live-cart-line>img {
    width: 62px;
    height: 58px
  }

  .live-cart-line-copy>strong {
    font-size: 14px;
    line-height: 1.45
  }

  .live-cart-line-copy>small {
    font-size: 11px;
    line-height: 1.45
  }

  .live-cart-line-price {
    min-width: 0
  }

  .live-cart-line-price strong {
    font-size: 14px
  }

  .live-cart-line-price small {
    font-size: 11px
  }

  .live-cart-footer {
    padding: 11px 12px calc(14px + env(safe-area-inset-bottom))
  }

  .live-cart-total>strong {
    font-size: 20px
  }

  .live-cart-total span {
    font-size: 14px
  }

  .live-cart-total small {
    font-size: 11px;
    line-height: 1.45
  }

  .mobile-live-cart-bar {
    position: fixed;
    z-index: 104;
    right: 12px;
    left: 12px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    min-height: 57px;
    border-radius: 16px;
    background: linear-gradient(130deg, var(--green-900), var(--green-700));
    color: #fff;
    box-shadow: 0 14px 34px rgba(3, 62, 36, .30);
    padding: 8px 11px;
    display: none;
    grid-template-columns: 38px 1fr auto 18px;
    align-items: center;
    gap: 8px;
    text-align: right
  }

  .mobile-live-cart-bar.visible {
    display: grid
  }

  .mobile-cart-icon {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .12);
    display: grid;
    place-items: center
  }

  .mobile-cart-icon svg {
    width: 21px;
    height: 21px
  }

  .mobile-cart-icon b {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    border-radius: 15px;
    background: var(--danger);
    border: 2px solid var(--green-900);
    font-size: 8px;
    display: grid;
    place-items: center
  }

  .mobile-live-cart-bar>span:nth-child(2) strong,
  .mobile-live-cart-bar>span:nth-child(2) small {
    display: block
  }

  .mobile-live-cart-bar>span:nth-child(2) strong {
    font-size: 10px
  }

  .mobile-live-cart-bar>span:nth-child(2) small {
    font-size: 7px;
    color: #d4eadb;
    margin-top: 1px
  }

  .mobile-live-cart-bar>strong {
    font-size: 11px;
    white-space: nowrap
  }

  .mobile-live-cart-bar .bar-arrow {
    width: 16px;
    height: 16px
  }

  .upsell-modal-card {
    padding: 17px 14px calc(17px + env(safe-area-inset-bottom))
  }

  .upsell-product-summary {
    grid-template-columns: 58px 1fr;
    padding: 8px
  }

  .upsell-product-summary img {
    width: 58px;
    height: 54px
  }

  .upsell-product-summary strong {
    font-size: 12px
  }

  .upsell-product-summary small {
    font-size: 8px
  }

  .upsell-intro {
    font-size: 10px;
    margin: 10px 0
  }

  .upsell-options {
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: 45vh;
    overflow: auto
  }

  .upsell-option {
    min-height: 132px;
    padding: 12px;
    display: grid;
    grid-template-columns: 39px 1fr auto;
    grid-template-rows: auto auto auto;
    gap: 3px 9px
  }

  .upsell-option-icon {
    grid-row: 1/4;
    width: 39px;
    height: 39px;
    margin: 0
  }

  .upsell-option-badge {
    position: static;
    grid-column: 3;
    grid-row: 1;
    font-size: 7px;
    align-self: start
  }

  .upsell-option>strong {
    grid-column: 2;
    grid-row: 1;
    font-size: 11px;
    margin: 0
  }

  .upsell-option>small {
    grid-column: 2/4;
    grid-row: 2;
    font-size: 8px;
    min-height: 0
  }

  .upsell-option>em {
    grid-column: 2;
    grid-row: 3;
    margin: 3px 0 0;
    font-size: 7px
  }

  .upsell-option>b {
    grid-column: 3;
    grid-row: 3;
    margin: 3px 0 0;
    font-size: 12px;
    align-self: center
  }

  .upsell-skip {
    font-size: 9px
  }

  .cart-line-item h3 {
    font-size: 11px
  }

  .cart-line-item p {
    font-size: 8px
  }

  .cart-line-price strong {
    font-size: 12px
  }
}

@media(max-width:980px) {
  .bundle-cards {
    grid-template-columns: 1fr
  }

  .bundle-card-products {
    grid-template-columns: repeat(4, minmax(0, 1fr))
  }

  .bundle-product {
    grid-template-columns: 42px 1fr
  }
}

@media(max-width:760px) {

  html,
  body {
    max-width: 100%;
    overflow-x: hidden
  }

  .offers-page>* {
    min-width: 0;
    max-width: 100%
  }

  .feature-offer>div {
    min-width: 0
  }

  .demo-data-notice {
    margin-top: 11px;
    min-height: 52px;
    padding: 8px 10px;
    border-radius: 11px
  }

  .demo-data-notice>svg {
    width: 20px;
    height: 20px
  }

  .demo-data-notice strong {
    font-size: 12px
  }

  .demo-data-notice small {
    font-size: 10px
  }

  .product-brand {
    font-size: 7px;
    min-height: 18px;
    gap: 4px
  }

  .product-brand img {
    max-width: 34px;
    max-height: 15px
  }

  .product-english-name {
    font-size: 7px;
    margin-bottom: 4px
  }

  .choose-product {
    min-width: 58px;
    height: 34px;
    padding: 0 7px;
    font-size: 8px
  }

  .product-gallery-card {
    padding-bottom: 76px
  }

  .product-gallery-thumbs-shell {
    right: 10px;
    left: 10px;
    bottom: 10px
  }

  .product-gallery-thumbs {
    gap: 5px
  }

  .product-gallery-thumbs button {
    width: 48px;
    height: 48px;
    border-radius: 8px
  }

  .product-option-group h3 {
    font-size: 10px
  }

  .product-option-group button {
    min-height: 31px;
    padding: 0 9px;
    font-size: 8px
  }

  .bundle-offers-section {
    margin-bottom: 18px
  }

  .bundle-cards {
    gap: 10px
  }

  .bundle-card {
    padding: 11px;
    border-radius: 15px
  }

  .bundle-card-products {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .bundle-product {
    grid-template-columns: 40px 1fr;
    min-height: 62px
  }

  .bundle-product>img {
    width: 40px;
    height: 46px
  }

  .bundle-card-copy h3 {
    font-size: 13px
  }

  .bundle-card>footer {
    flex-direction: column;
    align-items: stretch
  }

  .bundle-card>footer>div {
    align-self: flex-start
  }

  .bundle-card>footer strong {
    font-size: 15px
  }

  .bundle-card>footer button {
    width: 100%;
    min-height: 36px;
    font-size: 8px;
    padding: 0 8px;
    justify-content: center;
    white-space: normal
  }

  .offer-list-cards {
    grid-template-columns: 1fr
  }

  .cart-bundle-images {
    width: 64px;
    height: 64px
  }

  .live-cart-bundle-images {
    width: 62px;
    height: 58px
  }
}

@media(min-width:761px) {
  .category-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto
  }
}

@media(max-width:760px) {
  .category-visual {
    width: 72px;
    height: 44px;
    border-radius: 12px
  }

  .category-visual .image-1 {
    height: 40px !important
  }

  .category-visual .image-2 {
    height: 41px !important
  }

  .category-visual .image-3 {
    height: 36px !important
  }

  .category-page-card .category-card-visual {
    left: 4px;
    top: 12px;
    width: 57%;
    height: 116px
  }

  .category-page-card .category-card-visual .category-visual {
    width: 100%;
    height: 100%;
    border-radius: 20px
  }

  .category-page-card .category-card-visual .image-1 {
    height: 96px !important;
    top: 13px !important
  }

  .category-page-card .category-card-visual .image-2 {
    height: 102px !important;
    top: 1px !important
  }

  .category-page-card .category-card-visual .image-3 {
    height: 90px !important;
    top: 18px !important
  }

  .category-page-card .category-page-copy {
    max-width: 57%
  }

  .choose-product.in-cart {
    min-width: 78px
  }

  .choose-product.in-cart span {
    display: none
  }

  .product-tier-nudge {
    min-height: 29px;
    padding: 5px;
    font-size: 7px;
    gap: 4px;
    border-radius: 7px
  }

  .product-tier-nudge svg {
    width: 12px;
    height: 12px
  }
}

@media(max-width:760px) {
  .hero-card {
    aspect-ratio: 1122/1402;
    border-radius: 18px
  }

  .hero-card::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, transparent 42%)
  }

  .hero-card[data-hero-theme="light"]::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, .18) 0%, transparent 42%)
  }

  .hero-overlay {
    align-items: flex-start;
    justify-content: center;
    padding: clamp(54px, 13vw, 68px) 24px 120px
  }

  .hero-copy {
    width: min(92%, 380px);
    text-align: center
  }

  .hero-copy h1 {
    font-size: clamp(24px, 7.4vw, 34px);
    line-height: 1.3;
    white-space: normal
  }

  .hero-copy p {
    display: block;
    margin-top: 8px;
    font-size: clamp(11px, 3.2vw, 14px);
    line-height: 1.7
  }

  .hero-copy p span {
    display: inline
  }

  .hero-copy p span+span::before {
    content: " — "
  }

  .hero-actions {
    justify-content: center;
    margin-top: 14px
  }

  .hero-secondary,
  .hero-arrow {
    display: none
  }

  .hero-primary {
    min-height: 42px;
    padding: 0 20px;
    border-radius: 11px;
    font-size: 12px
  }

  .hero-dots {
    top: 14px;
    bottom: auto
  }
}

@media(max-width:430px) {
  .hero-overlay {
    padding: 54px 18px 105px
  }

  .hero-copy {
    width: 100%
  }

  .hero-copy h1 {
    font-size: clamp(22px, 7.2vw, 29px)
  }

  .hero-copy p {
    font-size: clamp(10px, 3vw, 12px)
  }

  .hero-actions {
    margin-top: 11px
  }

  .hero-primary {
    min-height: 39px;
    padding: 0 17px;
    font-size: 11px
  }
}

@media (max-width: 760px) {
  .offer-list-cards { grid-template-columns: 1fr; }
  .offer-list-cards .fluent-native-offer-row { grid-template: "media copy" auto "actions actions" auto / 92px minmax(0, 1fr); }
  .fluent-native-offer-row > img { width: 92px; height: 92px; }
  .fluent-offer-row-actions { width: 100%; }
  .fluent-offer-detail { grid-template-columns: 1fr; }
  .fluent-offer-detail-media, .fluent-offer-detail-icon { min-height: 260px; }
  .fluent-offer-detail-media img { height: 200px; }
  .fluent-offer-conditions ul { grid-template-columns: 1fr; }
}

@media(max-width:760px) and (orientation:portrait) {
  .home-hero-shell {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    height: calc(100vh - 143px - 67px - 13px - env(safe-area-inset-bottom));
    height: calc(100dvh - 143px - 67px - 13px - env(safe-area-inset-bottom))
  }

  .home-hero-shell .hero-card {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto
  }

  .home-hero-shell .hero-slide {
    background: #082f23
  }

  .home-hero-shell #hero-slide-2 {
    background: #f6efe5
  }

  .home-hero-shell #hero-slide-3 {
    background: #f7f8f6
  }

  .home-hero-shell .hero-media img {
    object-fit: contain;
    object-position: center bottom
  }

  .home-hero-shell .category-rail {
    width: 100%
  }
}

@media(max-width:760px) {
  .product-in-cart-action {
    min-width: 96px;
    height: 36px;
    padding: 0 6px;
    gap: 4px;
    font-size: 8px
  }

  .product-in-cart-action b {
    min-width: 19px;
    height: 19px;
    font-size: 8px
  }

  .cart-edit-modal {
    align-items: flex-end;
    padding: 0
  }

  .cart-edit-modal-card {
    width: 100%;
    max-height: min(88dvh, 760px);
    padding: 17px 14px calc(17px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0
  }

  .cart-edit-offer-actions {
    grid-template-columns: 1fr 1fr
  }

  .cart-edit-line {
    padding: 9px
  }

  .cart-edit-stepper {
    width: 112px;
    height: 39px;
    grid-template-columns: 34px 1fr 34px
  }

  .cart-edit-footer {
    grid-template-columns: 1fr
  }

  .cart-edit-remove {
    order: 2
  }
}

@media(prefers-reduced-motion:reduce) {
  .app-shell>main>section[id^="page-"] .page-subheader,
  .app-shell>main>section[id^="page-"] .section-heading,
  .app-shell>main>section[id^="page-"] .bundle-banner,
  .app-shell>main>section[id^="page-"] .offers-feature-grid,
  .app-shell>main>section[id^="page-"] .catalog-layout,
  .app-shell>main>section[id^="page-"] .product-detail-layout,
  .product-grid .product-card,
  .bundle-cards .bundle-card,
  .category-grid .category-page-card,
  .modal.open,
  .modal.open .modal-card,
  .product-in-cart-action svg {
    animation: none !important
  }

  .product-image img,
  .add-product,
  .choose-product,
  .product-in-cart-action,
  .cart-edit-offer-action {
    transition: none !important
  }
}

@media(max-width: 430px) {
  .product-card h3 {
    min-height: 3em;
  }

  .product-image {
    min-height: 88px;
    max-height: 150px;
  }
}

@media(max-width: 760px) {
  .home-limited-offers .section-heading {
    grid-template-columns: 1fr auto;
  }

  .home-limited-offers-layout {
    grid-template-columns: 1fr;
  }

  .limited-offer-promo-card {
    min-height: 400px;
  }

  .limited-offer-promo-product-front {
    inset-inline-end: 22%;
  }

  .limited-offer-promo-product-back {
    inset-inline-start: 22%;
  }
}

@media(max-width: 760px) {
  #page-cart .cart-line-item {
    position: relative;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    min-height: 0;
    padding: 16px 0;
  }

  #page-cart .cart-line-item > img,
  #page-cart .cart-line-item > .cart-bundle-images {
    grid-column: 1;
    grid-row: 1;
    width: 72px;
    height: 72px;
  }

  #page-cart .cart-line-details {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  #page-cart .cart-line-actions {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 10px;
  }

  #page-cart .cart-line-buttons {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  #page-cart .cart-line-price {
    min-width: 0;
    grid-column: auto;
    grid-row: auto;
    text-align: start;
  }

  #page-cart .cart-line-item .qty-control {
    grid-column: auto;
    width: max-content;
    margin: 0;
  }

  #page-cart .remove-line {
    position: static;
    flex: 0 0 auto;
    margin: 0;
  }
}

/* =========================
   RESPONSIVE SOURCE: shared-loader.css
========================= */
@media (prefers-reduced-motion: reduce) {

      .storefront-loader,
      .storefront-loader__mark i,
      .storefront-loader__logo,
      .storefront-loader__visual::before,
      .storefront-loader__visual::after,
      .storefront-loader__visual>span,
      .storefront-loader__progress i,
      .app-shell,
      .storefront-action-spinner,
      .storefront-inline-loading::before,
      .storefront-cart-updated {
        animation: none !important;
        transition-duration: .01ms !important;
      }

      .storefront-loader__mark i {
        opacity: 1;
        transform: none;
      }
    }

/* =========================
   RESPONSIVE SOURCE: shared-overrides.css
========================= */
@media (max-width: 1024px) {
      #page-order-detail .page-subheader {
        grid-template-columns: 42px minmax(0, 1fr) auto;
      }

      #page-order-detail .status-badge {
        white-space: nowrap;
        min-width: max-content;
      }
    }

/* =========================
   RESPONSIVE SOURCE: mogamdat-brand.css
========================= */
@media (max-width: 760px) {
  .mogamdat-header-logo {
    width: 142px;
    height: 46px;
  }

  .home-hero-shell {
    height: auto !important;
  }

  .mogamdat-classic-interface {
    grid-template-columns: 1fr;
  }

  .mogamdat-classic-promos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
}

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

  .promotions-showcase-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  #page-promotions .promotion-campaign-compact {
    min-height: 210px;
  }

  #page-promotions .promotion-campaign-compact .promotion-campaign-copy h2 {
    font-size: 19px;
  }

  #page-promotions .promotion-campaign-compact .promotion-campaign-copy p,
  #page-promotions .promotion-campaign-compact .promotion-campaign-copy > strong {
    font-size: 10.5px;
    line-height: 1.7;
  }

  #page-promotions .promotion-campaign-compact .promotion-campaign-copy > a,
  #page-promotions .promotions-saving-grid a {
    min-height: 42px;
    font-size: 10.5px;
  }

  .promotions-saving-grid {
    grid-template-columns: 1fr;
  }

  .promotions-saving-grid article {
    min-height: 190px;
  }

  #page-promotions .promotions-saving-grid h3 {
    font-size: 16px;
  }

  #page-promotions .promotions-saving-grid p,
  #page-promotions .promotions-saving-grid strong {
    font-size: 10.5px;
  }

  .promotions-newsletter {
    grid-template-columns: 1fr;
  }

  #page-promotions .promotions-newsletter input,
  #page-promotions .promotions-newsletter button {
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  #page-promotions .page-subheader {
    min-height: 72px;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    padding-inline: 12px;
  }

  #page-promotions .page-subheader h1 {
    font-size: 20px;
    line-height: 1.4;
  }

  #page-promotions .page-subheader > div > span {
    font-size: 10px;
  }

  #page-promotions .back-button {
    width: 40px;
    height: 40px;
  }

  #page-promotions .promotions-page {
    width: calc(100% - 24px);
    gap: 38px;
    padding-top: 18px;
  }

  #page-promotions .promotions-showcase,
  #page-promotions .promotions-showcase-stack {
    gap: 12px;
  }

  #page-promotions .promotions-showcase-stack {
    grid-template-columns: 1fr;
  }

  #page-promotions .promotion-campaign {
    border-radius: 15px;
  }

  #page-promotions .promotion-campaign-featured {
    min-height: 420px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  #page-promotions .promotion-campaign-featured .promotion-campaign-copy {
    padding: 27px 22px 0;
  }

  #page-promotions .promotion-campaign-copy > span {
    margin-bottom: 9px;
    font-size: 10.5px;
  }

  #page-promotions .promotion-campaign-featured .promotion-campaign-copy h2 {
    max-width: 360px;
    margin-bottom: 10px;
    font-size: clamp(24px, 7.2vw, 28px);
    line-height: 1.42;
    text-wrap: balance;
  }

  #page-promotions .promotion-campaign-featured .promotion-campaign-copy p {
    margin-bottom: 13px;
    font-size: 11.5px;
    line-height: 1.85;
  }

  #page-promotions .promotion-campaign-featured .promotion-campaign-copy > strong {
    margin-bottom: 17px;
    font-size: 11.5px;
  }

  #page-promotions .promotion-campaign-copy > a {
    min-height: 44px;
    padding-inline: 16px;
    font-size: 11px;
  }

  #page-promotions .promotion-campaign-featured .promotion-campaign-visual {
    position: absolute;
    width: 58%;
    height: 46%;
    left: 1%;
    bottom: 0;
  }

  #page-promotions .promotion-campaign-compact {
    min-height: 218px;
    grid-template-columns: minmax(0, 1fr) 112px;
  }

  #page-promotions .promotion-campaign-compact .promotion-campaign-copy {
    padding: 23px 19px;
  }

  #page-promotions .promotion-campaign-compact .promotion-campaign-copy h2 {
    margin-bottom: 7px;
    font-size: 19px;
    line-height: 1.45;
  }

  #page-promotions .promotion-campaign-compact .promotion-campaign-copy p {
    margin-bottom: 8px;
    font-size: 10.5px;
    line-height: 1.75;
  }

  #page-promotions .promotion-campaign-compact .promotion-campaign-copy > strong {
    margin-bottom: 13px;
    font-size: 10.5px;
    line-height: 1.6;
  }

  #page-promotions .promotion-campaign-compact .promotion-campaign-copy > a {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 11px;
  }

  #page-promotions .promotion-campaign-compact .promotion-campaign-visual img {
    width: 100%;
    height: 86%;
    inset-inline-end: 0;
  }

  #page-promotions .promotion-code-strip {
    min-height: 132px;
    margin-top: 16px;
    border-radius: 14px;
    padding: 17px 15px;
    grid-template-columns: auto 1fr;
    gap: 11px 12px;
  }

  #page-promotions .promotion-code-icon {
    width: 44px;
    height: 44px;
  }

  #page-promotions .promotion-code-strip div strong {
    font-size: 12px;
  }

  #page-promotions .promotion-code-strip div small {
    margin-top: 5px;
    font-size: 10.5px;
    line-height: 1.7;
  }

  #page-promotions .promotion-code-strip > b,
  #page-promotions .promotion-code-strip > button {
    grid-row: 2;
    min-height: 42px;
  }

  #page-promotions .promotion-code-strip > b {
    grid-column: 1 / 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 12px;
    font-size: 10.5px;
  }

  #page-promotions .promotion-code-strip > button {
    grid-column: 2 / 3;
    width: 100%;
    justify-self: stretch;
    font-size: 11px;
  }

  #page-promotions .promotions-saving-section {
    margin-top: 40px;
    padding: 38px 12px 42px;
  }

  #page-promotions .promotions-saving-header {
    margin-bottom: 24px;
    align-items: start;
    gap: 14px;
  }

  #page-promotions .promotions-section-intro > span,
  #page-promotions .promotions-newsletter > div > span {
    font-size: 10.5px;
  }

  #page-promotions .promotions-saving-all {
    flex: 0 0 auto;
    min-height: 38px;
    padding-top: 0;
    font-size: 10.5px;
  }

  #page-promotions .promotions-section-intro h2,
  #page-promotions .promotions-newsletter h2 {
    margin-top: 9px;
    font-size: clamp(24px, 7vw, 27px);
    line-height: 1.45;
    text-wrap: balance;
  }

  #page-promotions .promotions-section-intro p,
  #page-promotions .promotions-newsletter p {
    font-size: 11px;
    line-height: 1.75;
  }

  #page-promotions .promotions-saving-grid {
    gap: 12px;
  }

  #page-promotions .promotions-saving-grid article {
    min-height: 218px;
    border-radius: 14px;
    grid-template-columns: 104px minmax(0, 1fr);
  }

  #page-promotions .promotions-saving-grid article > div {
    padding: 23px 18px;
  }

  #page-promotions .promotions-saving-visual i {
    width: 60px;
    height: 60px;
  }

  #page-promotions .promotions-saving-product img {
    width: 94px;
    height: 124px;
  }

  #page-promotions .promotions-saving-grid h3 {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.5;
  }

  #page-promotions .promotions-saving-grid p {
    min-height: 0;
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1.75;
  }

  #page-promotions .promotions-saving-grid strong {
    margin-bottom: 14px;
    font-size: 11px;
    line-height: 1.6;
  }

  #page-promotions .promotions-saving-grid a {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 11px;
  }

  #page-promotions .promotions-newsletter {
    min-height: 0;
    margin-top: 40px;
    gap: 22px;
    padding: 34px 12px 38px;
  }

  #page-promotions .promotions-newsletter form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #page-promotions .promotions-newsletter input,
  #page-promotions .promotions-newsletter button {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 12px;
  }

  #page-promotions .promotions-newsletter button {
    font-weight: 900;
  }

  .page-promotions-body .fluent-modern-footer {
    margin-top: 0;
  }
}

@media (max-width: 390px) {
  #page-promotions .promotions-saving-header {
    display: grid;
  }

  #page-promotions .promotions-saving-all {
    justify-self: start;
  }

  #page-promotions .promotion-campaign-compact {
    grid-template-columns: minmax(0, 1fr) 94px;
  }

  #page-promotions .promotions-saving-grid article {
    grid-template-columns: 92px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .promotion-campaign-visual img {
    transition: none;
  }

  .promotions-saving-grid a {
    transition: none;
  }
}

@media (max-width: 520px) {
  .home-hero-shell {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mogamdat-classic-interface,
  .mogamdat-classic-promos {
    display: contents;
  }

  .mogamdat-classic-main {
    order: 1;
  }

  .home-hero-shell .category-rail {
    order: 2;
    margin: 0;
  }

  .mogamdat-classic-promo:first-child {
    order: 3;
  }

  .mogamdat-classic-promo:last-child {
    order: 4;
  }

  .mogamdat-classic-interface {
    --classic-main-aspect-ratio: 4 / 3;
  }

  .classic-hero-navigation {
    top: 8px;
    left: 8px;
    gap: 6px;
  }

  .mogamdat-classic-main .classic-hero-arrow {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 760px) {

  .page-hero::after,
  .page-heading::after,
  .reference-logistics-banner::after,
  .closing-cta::after,
  .help-banner::after,
  .bundle-banner::after {
    opacity: .07;
    transform: translateY(-50%) scale(.72);
    transform-origin: center right;
  }
}

@media (max-width: 1100px) {
  .product-grid-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reference-logistics-banner {
    grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  }

  .reference-logistics-banner .logistics-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fluent-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .mobile-drawer .drawer-search {
    width: 100%;
    margin: 18px 0 0;
    border: 1px solid #e1e8e3;
    box-shadow: 0 4px 14px rgba(13, 45, 77, .06);
  }

  .mobile-drawer .drawer-search + nav {
    margin-top: 12px;
  }
}

@media (max-width: 760px) {
  html[data-storefront-theme="fluent"] body .mobile-header {
    border-radius: 0 !important;
  }

  .product-grid-four,
  .product-grid-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fluent-logistics-section {
    margin-top: 34px;
    margin-bottom: 30px;
  }

  .reference-logistics-banner {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .reference-logistics-banner .logistics-image {
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }

  .reference-logistics-banner .logistics-image::after {
    background: linear-gradient(180deg, transparent 72%, #0d2d4d 100%);
  }

  .reference-logistics-banner .logistics-content {
    padding: 24px 20px 28px;
  }

  .fluent-modern-footer {
    padding-bottom: 118px;
  }

  .fluent-footer-grid {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 30px 20px;
    text-align: center;
  }

  .fluent-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .fluent-footer-brand p {
    margin-inline: auto;
    font-size: 11.5px;
    line-height: 1.8;
    text-align: center;
  }

  .fluent-footer-grid>div:not(.fluent-footer-brand) {
    align-items: center;
  }

  .fluent-footer-grid h3 {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
  }

  .fluent-footer-grid :is(button, a) {
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
  }

  .fluent-footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
  }
}

@media (max-width: 430px) {

  .product-grid-four,
  .product-grid-five {
    grid-template-columns: 1fr;
  }

  .fluent-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


}

@media (max-width: 760px) {
  #page-home .category-rail {
    width: calc(100% + 24px);
    min-height: 96px;
    margin: 10px -12px 0;
    padding: 6px 12px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82px;
    grid-template-columns: none;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    border: 0;
    border-radius: 0 !important;
    background: #fff;
    box-shadow: none;
  }

  #page-home .category-rail::-webkit-scrollbar {
    display: none;
  }

  #page-home .category-rail button:nth-child(n),
  #page-home .category-rail .all-category-button {
    display: flex;
  }

  #page-home .category-rail .category-rail-item,
  #page-home .category-rail .all-category-button {
    min-width: 0;
    min-height: 82px;
    padding: 5px 2px;
    scroll-snap-align: start;
    border: 0;
    border-radius: 0 !important;
    background: transparent;
    box-shadow: none;
    font-size: 9px;
    line-height: 1.4;
  }

  #page-home .category-rail .category-visual {
    width: 76px;
    height: 52px;
    border: 0;
    background: transparent;
  }

  #page-home .category-rail .category-visual::before {
    display: none;
  }

  #page-home .category-rail .category-visual-image {
    border: 0 !important;
    outline: 0 !important;
  }

  #page-home .category-rail .all-category-button {
    flex-direction: column;
    gap: 7px;
    color: #2e7d32;
    text-align: center;
    white-space: normal;
  }

  #page-home .bundle-banner {
    min-height: 0;
    margin-top: 16px;
    padding: 16px;
    display: grid;
    direction: ltr;
    grid-template: "copy visual" auto "action action" auto / minmax(0, 1fr) 68px;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #eef8f0, #f8fcf8);
    box-shadow: 0 5px 16px rgba(13, 45, 77, .06);
  }

  #page-home .bundle-visual {
    grid-area: visual;
  }

  #page-home .bundle-visual img {
    width: 100%;
    height: 58px;
    border: 0;
    outline: 0;
    object-fit: contain;
  }

  #page-home .bundle-copy {
    grid-area: copy;
    min-width: 0;
    direction: rtl;
    text-align: right;
  }

  #page-home .bundle-copy span {
    font-size: 8px;
  }

  #page-home .bundle-copy h2 {
    margin: 2px 0 4px;
    font-size: 16px;
    line-height: 1.45;
  }

  #page-home .bundle-copy p {
    margin: 0;
    color: #66756d;
    font-size: 9px;
    line-height: 1.65;
  }

  #page-home .bundle-discount {
    display: none;
  }

  #page-home .bundle-banner > .primary-button {
    grid-area: action;
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 8px !important;
    font-size: 11px;
  }

  #page-home .large-countdown {
    justify-content: center;
  }

}

@media (max-width: 760px) {
  :root {
    --mobile-section-space: 14px;
  }

  .catalog-toolbar strong {
    font-size: 12px;
  }

  .catalog-toolbar span {
    font-size: 9px;
    line-height: 1.5;
  }

  .catalog-toolbar label,
  .catalog-toolbar select {
    font-size: 10px;
  }

  main>section[id^="page-"],
  body.has-mobile-live-cart main>section[id^="page-"] {
    padding-bottom: 0;
  }

  main>section[id^="page-"]>.page-pad {
    padding-top: var(--mobile-section-space);
    padding-bottom: 0;
  }

  #page-home .home-page>*+*,
  .offers-page>*+*,
  #page-categories .page-pad>.help-banner,
  :is(.product-detail-layout, .cart-layout, .checkout-layout, .order-detail-layout, .contact-layout, .account-layout)>*+* {
    margin-top: var(--mobile-section-space);
  }

  #page-home .home-page>*,
  .offers-page>* {
    margin-bottom: 0;
  }

  .fluent-logistics-section {
    margin-top: var(--mobile-section-space);
    margin-bottom: var(--mobile-section-space);
  }

  .fluent-modern-footer {
    margin-top: var(--mobile-section-space);
  }

  .contact-hero>div {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .contact-hero>div>button {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    gap: 6px;
    font-size: 12px;
  }

  .page-subheader>div>span {
    font-size: 10px;
  }

  .address-card strong {
    font-size: 14px;
  }

  .address-card b {
    font-size: 9px;
  }

  .address-card p {
    font-size: 11px;
    line-height: 1.6;
  }

  .address-card small {
    font-size: 9px;
    line-height: 1.5;
  }

  #page-account .status-shortcuts :is(button, a) {
    min-height: 94px;
    padding: 7px 5px;
    display: grid;
    grid-template-rows: 24px 25px auto;
    align-content: center;
    justify-items: center;
    gap: 4px;
  }

  #page-account .status-shortcuts :is(button, a)>span {
    position: static;
    justify-self: start;
    margin-inline-start: 4px;
  }

  .help-banner strong {
    font-size: 12px;
  }

  .help-banner small {
    font-size: 9px;
    line-height: 1.6;
  }

  .help-banner .secondary-button {
    font-size: 10px;
  }

  .category-page-card {
    min-height: 0;
    height: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 5px;
  }

  .category-page-card .category-card-visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: 120px;
    max-width: none;
    flex: 0 0 120px;
  }

  .category-page-card .category-card-visual .category-visual {
    width: 100%;
    height: 100%;
  }

  .category-page-card .category-page-copy {
    width: 100%;
    max-width: none;
    padding: 7px 2px 3px;
  }

  .category-page-card .category-page-copy span {
    font-size: 9px;
  }

  .category-page-card .category-page-copy h2 {
    margin: 4px 0;
    font-size: 15px;
    line-height: 1.45;
  }

  .category-page-card .category-page-copy p {
    font-size: 9.5px;
    line-height: 1.65;
  }

  .mobile-bottom-nav a {
    font-size: 10px;
  }

  .mobile-live-cart-bar>span:nth-child(2) strong {
    font-size: 12px;
  }

  .mobile-live-cart-bar>span:nth-child(2) small {
    font-size: 9px;
  }

  .mobile-live-cart-bar>strong {
    font-size: 13px;
  }

  .mobile-live-cart-bar .mobile-cart-icon b {
    font-size: 9px;
  }

  .product-card h3 {
    font-size: 13.5px;
  }

  .product-card .product-brand,
  .product-card .product-english-name,
  .product-card .product-promo-line span,
  .product-card .product-tier-nudge {
    font-size: 8px;
  }

  .product-card .product-promo-line strong,
  .product-card .product-value-line,
  .product-card .choose-product,
  .product-card .product-in-cart-action {
    font-size: 9px;
  }

  .product-card .product-badge {
    font-size: 8px;
  }

  .product-card .product-meta {
    font-size: 11px;
  }

  .product-card .product-moq,
  .product-card .product-price del {
    font-size: 10px;
  }

  .product-card .product-price strong {
    font-size: 15px;
  }
}

@media (min-width: 761px) {
  .catalog-toolbar strong {
    font-size: 15px;
  }

  .catalog-toolbar span {
    font-size: 11px;
    line-height: 1.5;
  }

  .catalog-toolbar label {
    font-size: 12px;
  }

  .catalog-toolbar select {
    font-size: 13px;
  }

  #page-home .category-rail {
    grid-template-columns: repeat(4, minmax(120px, 1fr)) minmax(130px, .8fr);
    overflow: visible;
  }

  #page-home .category-rail .all-category-button {
    display: flex;
  }
}

@media (max-width: 760px) {
  #page-home .category-rail {
    width: 100%;
    min-height: 116px;
    margin: 0;
    padding: 0;
    grid-auto-columns: 98px;
    gap: 8px;
    direction: rtl;
    scroll-padding-inline-start: 16px;
    border: none;
    background: transparent;
    box-shadow:none;
  }

  #page-home .category-rail::before {
    display: none;
  }

  #page-home .category-rail .category-rail-item,
  #page-home .category-rail .all-category-button {
    min-height: 96px;
    padding: 7px 5px;
    border: 1px solid #e1e9e3;
    box-shadow: 0 2px 8px rgba(13, 45, 77, .04);
    scroll-snap-align: start;
  }

  #page-home .category-rail .category-rail-item {
    background: #fff;
  }

  #page-home .category-rail .category-rail-item:first-child {
    scroll-margin-inline-start: 16px;
  }

  #page-home .category-rail .category-visual {
    width: 82px;
    height: 58px;
  }

  #page-home .category-rail .category-rail-label,
  #page-home .category-rail .all-category-button {
    font-size: 10px;
  }

  #page-home .category-rail .all-category-button {
    min-height: auto;
    padding: 8px;
    flex-direction: row;
    align-self: center;
    gap: 7px;
    border: 0;
    color: var(--green-700);
    background: transparent;
    box-shadow: none;
    font-weight: 850;
    white-space: nowrap;
    transition: color .2s ease;
  }

  #page-home .category-rail .all-category-button svg {
    order: 0;
    width: 19px;
    height: 19px;
    padding: 0;
    color: currentColor;
    background: transparent;
  }

  #page-home .category-rail .all-category-button:hover,
  #page-home .category-rail .all-category-button:focus-visible {
    color: var(--green-900);
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  #page-home .category-rail .all-category-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
  }
}

@media (min-width: 1181px) {
  #page-home .home-limited-offers-layout {
    grid-template-columns: minmax(230px, 260px) minmax(0, 1fr);
  }

  #page-home .home-limited-offers-layout > .home-product-swiper {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  #page-home .home-limited-offers-layout > .home-product-swiper > .product-grid {
    display: grid !important;
    width: 100% !important;
    height: auto !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    transform: none !important;
  }

  #page-home .home-limited-offers-layout > .home-product-swiper .swiper-slide {
    width: auto !important;
    min-width: 0;
    height: auto;
    margin: 0 !important;
  }
}

@media (max-width: 760px) {
  #page-offers .countdown {
    gap: 5px;
  }

  #page-offers .countdown b {
    min-width: 36px;
    height: 38px;
    font-size: 12px;
    line-height: 1;
  }

  #page-offers .countdown span {
    font-size: 12px;
  }
}

@media (max-width: 1180px) {
  #page-home .home-product-swiper {
    width: 100%;
    padding: 2px 1px 24px;
    overflow: hidden;
  }

  #page-home .home-limited-offers-layout > .limited-offer-promo-card {
    align-self: start;
    height: calc(100% - 26px);
    min-height: 0;
  }

  #page-home .home-product-swiper>.swiper-wrapper {
    display: flex;
    align-items: stretch;
    gap: 0;
    direction: rtl;
  }

  #page-home .home-product-swiper .swiper-slide {
    width: auto;
    min-width: 0;
    height: auto;
  }

  #page-home .home-product-swiper:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 calc(76.923% - 2.4px);
    margin-inline-end: 10px;
  }

  #page-home .home-product-swiper>.swiper-pagination {
    bottom: 2px;
    display: flex;
    justify-content: center;
    gap: 4px;
  }

  #page-home .home-product-swiper .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 !important;
    background: #9eb5a5;
    opacity: .55;
  }

  #page-home .home-product-swiper .swiper-pagination-bullet-active {
    width: 20px;
    background: #2e7d32;
    opacity: 1;
  }
}

@media (max-width: 760px) {
  #page-home .home-limited-offers-layout > .limited-offer-promo-card {
    height: auto;
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  html[data-storefront-theme="fluent"] .storefront-loader__panel {
    padding: 28px 22px 23px;
  }

  html[data-storefront-theme="fluent"] .storefront-loader__visual {
    width: 138px;
    height: 116px;
  }

  html[data-storefront-theme="fluent"] .storefront-loader__logo {
    width: 118px;
    height: 100px;
  }

  html[data-storefront-theme="fluent"] .storefront-loader__panel strong {
    font-size: 15px;
  }

  html[data-storefront-theme="fluent"] .storefront-loader__meta {
    gap: 6px;
    font-size: 8px;
  }
}

/* Moved responsive rules from style.css. */

@media (min-width: 761px) and (min-height: 560px) {
  #page-product .product-detail-layout > .product-gallery-card {
    position: sticky;
    top: 16px;
    align-self: start;
  }
}

@media (max-width: 600px) {
  .product-flash-sale-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }

  .product-flash-sale-timer {
    min-width: 0;
  }

  .product-flash-sale-timer > span {
    text-align: right;
  }

  .product-flash-sale-countdown {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .product-special-offer > header {
    flex-wrap: wrap;
    padding: 9px 11px;
  }

  .product-special-offer-copy {
    padding: 8px 11px;
    font-size: 12px;
  }

  .product-special-offer-price {
    padding: 0 11px 10px;
  }

  .product-special-offer > header > b {
    font-size: 11px;
  }

  .product-special-offer .product-flash-sale-title strong {
    font-size: 13px;
  }

  .product-special-offer .product-special-offer-price > small {
    font-size: 11px;
  }

  .product-special-offer .product-special-offer-price > strong {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  #page-product .quantity-tier-swiper {
    overflow: hidden;
    padding-bottom: 26px;
  }

  #page-product #tierPrices.swiper-wrapper {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    overflow: visible;
    overscroll-behavior-inline: auto;
    scroll-snap-type: none;
  }

  #page-product #tierPrices .tier-option {
    flex: 0 0 auto;
  }

  #page-product .quantity-tier-swiper .swiper-pagination {
    display: block;
    bottom: 0;
  }

  #page-product .quantity-tier-swiper .swiper-pagination-bullet-active {
    background: var(--green-700, #287c36);
  }
}

@media (min-width: 761px) {
  #page-offers .offer-list-cards strong {
    font-size: 14px;
  }

  #page-offers .offer-list-cards small,
  #page-offers .offer-list-cards :is(button, a) {
    font-size: 10px;
  }
}

@media (min-width: 761px) {
  #page-account .account-stats strong {
    font-size: 19px;
  }

  #page-account .account-stats span {
    font-size: 13px;
    line-height: 1.5;
  }

  #page-account .account-orders-preview .status-shortcuts :is(button, a)>span {
    font-size: 13px;
  }

  #page-account .status-shortcuts small {
    font-size: 13px;
    line-height: 1.5;
  }

  #page-account .account-menu strong {
    font-size: 16px;
  }

  #page-account .account-menu small {
    font-size: 13px;
  }
}

@media (max-width: 760px) {
  .bundle-addon-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .bundle-addon-card {
    gap: 10px 12px;
    padding: 38px 11px 11px;
  }

  .bundle-addon-products {
    grid-column: 1 / -1;
  }

  .bundle-addon-product {
    gap: 8px;
  }

  .bundle-addon-product img {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .bundle-addon-product strong {
    font-size: 14px;
  }

  .bundle-addon-product small {
    font-size: 11px;
  }

  .bundle-addon-product-description {
    font-size: 12px;
  }

  .bundle-addon-product small.bundle-addon-product-unit {
    font-size: 10px;
  }

  .bundle-addon-badge {
    min-height: 23px;
    padding: 3px 6px;
    font-size: 11px;
  }

  .bundle-addon-prices {
    min-width: 0;
    gap: 6px;
  }

  .bundle-addon-prices del {
    font-size: 11px;
  }

  .bundle-addon-prices strong {
    font-size: 16px;
  }

  .bundle-addon-actions button {
    min-height: 40px;
    padding-inline: 9px;
    font-size: 13px;
  }

}

@media (max-width: 600px) {
  .frequently-bought-together-products {
    gap: 10px;
  }

  .fbt-product-card {
    flex-basis: min(76vw, 230px);
  }

  .fbt-selection-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Keep product details usable on tablets and narrow screens. */
@media (max-width: 860px) {
  #page-product .product-detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  #page-product .product-detail-layout > *,
  #page-product .product-info-column,
  #page-product .product-info-card {
    min-width: 0;
    max-width: 100%;
  }

  #page-product .product-detail-layout > .product-gallery-card {
    position: relative;
    top: auto;
    align-self: stretch;
    min-height: clamp(280px, 58vw, 420px);
    padding: 20px 18px 92px;
  }

  #page-product .product-gallery-card > img {
    max-width: min(82%, 430px);
    max-height: min(48vw, 320px);
  }

  #page-product .product-info-column {
    min-width: 0;
  }
}

@media (max-width: 600px) {
  #page-product .page-subheader {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 8px;
    padding-inline: 14px;
  }

  #page-product .product-detail-layout {
    gap: 12px;
  }

  #page-product .product-info-card {
    padding: 16px;
    border-radius: 14px;
  }

  #page-product .product-info-card > * {
    min-width: 0;
    max-width: 100%;
  }

  #page-product .product-title-row h1 {
    font-size: clamp(20px, 5.5vw, 24px);
    overflow-wrap: anywhere;
  }

  #page-product .product-description p {
    overflow-wrap: anywhere;
  }

  #page-product .detail-price {
    flex-wrap: wrap;
    gap: 8px;
  }

  #page-product .stock-line {
    flex-wrap: wrap;
    gap: 8px;
  }

  #page-product .quantity-cart-row {
    min-width: 0;
    gap: 8px;
  }

  #page-product .quantity-cart-row .qty-control {
    flex: 0 0 auto;
  }

  #page-product .quantity-cart-row .qty-control button {
    width: 34px;
  }

  #page-product .quantity-cart-row .qty-control input {
    width: 44px;
  }

  #page-product .quantity-cart-row .primary-button {
    min-width: 0;
    padding-inline: 8px;
    font-size: 14px;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #page-product .bundle-addon-products {
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
  }

  #page-product .bundle-addon-product {
    width: 100%;
    flex: 1 1 auto;
  }

  #page-product .bundle-addon-plus {
    align-self: center;
    line-height: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .instapay-review-dialog {
    animation: none;
  }
}

/* ===== Improved Checkout Mobile Responsiveness ===== */
@media (max-width: 900px) {
  #page-checkout .page-subheader h1 {
    font-size: 18px;
  }

  .checkout-form-card {
    border-radius: 16px;
    padding: 16px;
  }

  .checkout-steps span b {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  .checkout-steps span {
    font-size: 10px;
  }

  .checkout-form-card legend {
    font-size: 13px;
  }

  .checkout-form-card input,
  .checkout-form-card select {
    height: 46px;
    font-size: 13px;
    border-radius: 11px;
  }

  .checkout-form-card textarea {
    font-size: 13px;
  }

  .checkout-form-card label > span {
    font-size: 12px;
  }

  .fulfillment-options label {
    padding: 14px;
    border-radius: 12px;
  }

  .fulfillment-options strong {
    font-size: 13px;
  }

  .fulfillment-options small {
    font-size: 10px;
  }

  .sales-confirmation-note {
    padding: 13px;
    border-radius: 12px;
  }

  .sales-confirmation-note strong {
    font-size: 12px;
  }

  .sales-confirmation-note small {
    font-size: 10px;
  }

  .checkout-summary {
    position: static;
    margin-top: 14px;
    border-radius: 16px;
    padding: 16px;
  }

  .checkout-summary h2 {
    font-size: 15px;
  }

  .checkout-summary-item strong {
    font-size: 12px;
  }

  .checkout-summary-item small {
    font-size: 10px;
  }

  .checkout-summary-total {
    padding-top: 13px;
    margin-top: 13px;
  }

  .checkout-summary-total span {
    font-size: 12px;
  }

  .checkout-summary-total strong {
    font-size: 18px;
  }

  .primary-button.full {
    height: 50px;
    font-size: 14px;
    border-radius: 13px;
  }
}

/* ===== InstaPay Payment Page — Full Mobile Responsiveness ===== */

/* Ensure the section itself has proper padding for mobile nav */
@media (max-width: 980px) {
  #page-instapay-payment {
    padding-bottom: var(--mobile-nav-clearance);
  }

  /* Hero: stack vertically */
  .instapay-payment-hero,
  .instapay-v2 .instapay-payment-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 16px;
  }

  .instapay-v2 .payment-order-meta {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Summary card: unstick */
  .instapay-v2 .instapay-order-summary {
    position: static;
  }

  /* Layout: single column */
  .instapay-payment-layout,
  .instapay-v2 .instapay-payment-layout {
    grid-template-columns: 1fr !important;
  }

  /* Heading: wrap progress below title */
  .instapay-v2 .instapay-payment-heading {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 760px) {
  .filter-mobile-button {
    display: grid;
    cursor: pointer;
  }

  .products-layout {
    display: block;
  }

  .filters-panel {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1201;
    width: min(360px, 88vw);
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    border: 0;
    border-radius: 18px 0 0 18px;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
    box-shadow: -12px 0 32px rgba(10, 35, 22, .18);
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .25s ease, visibility .25s ease;
  }

  .filters-panel.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .filters-panel .filter-title > div {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .filters-panel .filter-close-button {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    background: #f2f6f3;
    color: var(--green-800);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }

  .filter-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(12, 25, 18, .42);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
  }

  .filter-scrim.open {
    opacity: 1;
    visibility: visible;
  }
}

/* Stack the product choice action below the minimum order on narrow catalog cards. */
@media (max-width: 500px) {
  #page-products .product-card .product-card-actions {
    flex-wrap: wrap;
  }

  #page-products .product-card .product-card-actions .choose-product {
    flex: 1 0 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

/* Let product titles and descriptions share card space so prices and actions align. */
#page-products .product-card .product-card-copy > h3,
#page-products .product-card .product-card-copy > .product-card-description {
  flex: 1;
  min-height: 0;
}

/* Improve standalone login and OTP readability without changing the modal. */
#page-login .auth-card h1,
#page-otp .auth-card h1 {
  font-size: clamp(24px, 2.6vw, 27px);
  line-height: 1.35;
}

#page-login .auth-card > p,
#page-otp .auth-card > p {
  font-size: 13px;
  line-height: 1.7;
}

#page-login .auth-card form label > span {
  font-size: 12px;
}

#page-login .auth-security,
#page-otp .auth-security {
  font-size: 11px;
  line-height: 1.6;
}

#page-otp .auth-card > p b {
  font-size: 12px;
}

#page-otp .resend-button {
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

/* Standalone auth pages use a centered logo instead of the storefront header. */
.auth-entry-brand {
  display: grid;
  height: 76px;
  flex: 0 0 76px;
  place-items: center;
  padding: 8px 16px;
  background: #fff;
  position: absolute;
  right: 0;
  left: 0;
}

.auth-entry-brand a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-entry-brand img {
  display: block;
  width: min(190px, 70vw);
  max-height: 58px;
  object-fit: contain;
}

#page-login.auth-entry-layout,
#page-otp.auth-entry-layout {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
  background: linear-gradient(160deg, #f4faf6, #fff);
}

#page-login.auth-entry-layout .auth-card,
#page-otp.auth-entry-layout .auth-card {
  width: min(520px, 100%);
  min-height: 0;
  padding: 42px clamp(24px, 5vw, 55px);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(10, 70, 43, .08);
}

@media (max-width: 760px) {
  #page-login.auth-entry-layout,
  #page-otp.auth-entry-layout {
    min-height: 100vh;
    padding: 18px 16px 28px;
  }

  #page-login.auth-entry-layout .auth-card,
  #page-otp.auth-entry-layout .auth-card {
    min-height: 0;
    padding: 62px 22px 28px;
    justify-content: center;
  }
}

/* Space the OTP card icon below its back button. */
#page-otp.auth-entry-layout .auth-card {
  padding-top: 88px;
}

/* Improve address card text readability. */
#page-addresses .address-card strong {
  font-size: 16px;
}

#page-addresses .address-card b {
  font-size: 10px;
}

#page-addresses .address-card p {
  font-size: 13px;
  line-height: 1.6;
}

#page-addresses .address-card small {
  font-size: 11px;
  line-height: 1.5;
}


/* Keep compact card promotion messages readable on narrow product grids. */
@media (max-width: 500px) {
  .product-card-promotion {
    top: 8px;
    right: 8px;
    width: calc(100% - 48px)
  }

  .product-card-promotion .product-badge {
    gap: 3px;
    padding: 4px 6px;
    font-size: 9px
  }

  .product-card.swiper-slide .product-badge.tier {
    top: 8px;
    right: 8px;
    max-width: calc(100% - 56px);
    padding: 4px 7px;
    font-size: 8px;
  }
}




@media (max-width: 760px) {
  .product-card {
    min-height: 340px;
  }

  .product-card .product-card-copy > h3,
  #page-products .product-card .product-card-copy > h3 {
    min-height: 3em;
  }
}

@media (max-width: 430px) {
  .product-card {
    min-height: 320px;
  }
}

#page-products .product-card .product-card-copy > h3 {
  flex: 0 0 auto;
  min-height: 40px;
}

#page-products .product-card .product-card-copy > .product-card-description {
  flex: 0 0 auto;
  min-height: 2.6em;
}

@media (max-width: 760px) {
  #page-products .product-card .product-card-copy > h3 {
    min-height: 3em;
  }
}


@media (max-width: 760px) {
  #page-products .product-card .product-card-copy > .product-card-actions {
    flex-basis: 78px;
    min-height: 78px;
  }

  .product-card .product-min-order {
    font-size: 12px;
    line-height: 1.4;
  }

  .product-card .product-min-order svg {
    width: 17px;
    height: 17px;
  }

  .product-card .product-card-actions .choose-product,
  .product-card .product-in-cart-action {
    font-size: 12px;
    line-height: 1.4;
  }
}


/* Keep product sale badges readable on compact cards. */
@media (max-width: 760px) {
  .product-card .product-badge {
    top: 8px;
    right: 8px;
    max-width: calc(100% - 52px);
    min-height: 26px;
    padding: 4px 8px;
    font-size: 9px;
  }
}

@media (max-width: 430px) {
  .product-card .product-badge {
    max-width: calc(100% - 48px);
    min-height: 24px;
    gap: 5px;
    padding: 4px 7px;
    font-size: 8px;
  }
}

/* Keep product option and card supporting text readable on desktop. */
@media (min-width: 761px) {
  .product-card .product-card-copy > h3 {
    font-size: 18px;
    line-height: 1.45;
  }

  .product-card .product-card-copy > .product-brand {
    font-size: 13px;
    line-height: 1.5;
  }

  .product-option-group h3 {
    font-size: 16px;
    line-height: 1.5;
  }

  .product-option-group button {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .product-card .product-min-order {
    font-size: 13px;
    line-height: 1.5;
  }

  .product-card .product-card-description {
    font-size: 14px;
    line-height: 1.55;
  }
}

@media (max-width: 760px) {
  /* Hero: tighter on small screens */
  .instapay-payment-hero {
    padding: 16px;
    gap: 14px;
    border-radius: 15px;
  }

  /* Hero copy: keep row layout but smaller */
  .instapay-hero-copy {
    align-items: flex-start;
    gap: 12px;
  }

  .instapay-hero-mark {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .instapay-hero-mark svg {
    width: 22px;
    height: 22px;
  }

  .instapay-hero-copy h2 {
    font-size: 17px;
    margin: 3px 0 4px;
  }

  .instapay-hero-copy p {
    font-size: 9.5px;
    line-height: 1.7;
  }

  .instapay-kicker {
    font-size: 8.5px;
  }

  /* Payment order meta: 3 columns for v2 */
  .instapay-v2 .payment-order-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 12px;
    gap: 8px;
  }

  .instapay-v2 .payment-order-meta > div {
    padding: 4px 8px;
  }

  .instapay-v2 .payment-order-meta span {
    font-size: 8px;
  }

  .instapay-v2 .payment-order-meta strong {
    font-size: 11px;
  }

  .instapay-v2 .payment-order-meta .payment-total-meta strong {
    font-size: 13px;
  }

  /* Card and summary borders */
  .instapay-v2 .instapay-payment-card,
  .instapay-v2 .instapay-order-summary {
    border-radius: 16px;
  }

  /* Payment card heading */
  .instapay-v2 .instapay-payment-heading {
    padding: 14px 16px;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .instapay-v2 .instapay-payment-heading div > span {
    font-size: 8.5px;
  }

  .instapay-v2 .instapay-payment-heading h2 {
    font-size: 15px;
  }

  /* Payment body */
  .instapay-payment-body {
    padding: 14px 16px;
  }

  /* Stage headings */
  .instapay-stage-heading > span {
    width: 32px;
    height: 32px;
    font-size: 9px;
  }

  .instapay-stage-heading h3 {
    font-size: 13px;
  }

  .instapay-stage-heading p {
    font-size: 8.5px;
  }

  /* Bank details grid: single column */
  .instapay-v2 .bank-details-grid {
    grid-template-columns: 1fr;
  }

  .instapay-v2 .bank-details-grid .bank-account-number,
  .instapay-v2 .bank-details-grid .bank-payment-amount {
    grid-column: auto;
  }

  /* Bank account accent */
  .bank-account-accent {
    padding: 12px 14px;
    min-height: 64px;
    gap: 10px;
  }

  .bank-account-accent > svg {
    width: 36px;
    height: 36px;
    padding: 8px;
  }

  /* Receipt upload */
  .instapay-v2 .instapay-receipt-upload > label {
    min-height: 120px;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .instapay-v2 .instapay-receipt-upload > label > b {
    width: 100%;
    margin-inline-start: 0;
    text-align: center;
  }

  /* Order summary */
  .instapay-order-summary {
    margin-top: 14px;
    border-radius: 16px;
  }

  .instapay-order-items {
    max-height: none;
    padding: 4px 13px;
  }

  .instapay-order-summary > header {
    padding: 13px;
  }

  .instapay-order-summary > header h2 {
    font-size: 13px;
  }

  .instapay-totals {
    padding: 10px 13px 13px;
  }

  .instapay-grand-total dd {
    font-size: 14px;
  }

  /* Progress bar */
  .instapay-progress {
    width: 100%;
  }

  .instapay-progress i {
    flex: 1;
  }

  /* Review status */
  .instapay-review-status {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .instapay-review-status .secondary-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  /* Confirm button */
  .instapay-confirm-button {
    width: 100%;
    min-width: 0;
  }

  /* Bank detail cards: reset absolute button layout on mobile */
  .instapay-v2 .bank-details-grid .bank-account-number,
  .instapay-v2 .bank-details-grid .bank-payment-amount {
    padding-left: 12px;
    min-height: auto;
    height: auto;
  }

  .instapay-v2 .bank-details-grid .bank-account-number button,
  .instapay-v2 .bank-details-grid .bank-payment-amount button {
    position: static;
    width: 100%;
    min-height: 38px;
    margin-top: 8px;
  }

  /* Review dialog */
  .instapay-review-dialog {
    border-radius: 20px;
    padding: 28px 18px 22px;
  }
}

@media (max-width: 430px) {
  /* Hero: smaller text */
  .instapay-hero-copy {
    align-items: flex-start;
  }

  .instapay-hero-copy h2 {
    font-size: 15px;
  }

  .instapay-hero-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  /* Payment meta: 1 column */
  .instapay-v2 .payment-order-meta {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .instapay-v2 .payment-order-meta > div {
    padding: 9px 0;
    border-inline-end: 0;
  }

  .instapay-v2 .payment-order-meta > div + div {
    border-top: 1px solid var(--line);
  }

  .instapay-v2 .payment-order-meta .payment-total-meta {
    grid-column: auto;
    border-top: 1px solid var(--line);
  }

  /* Bank card accent: hide label */
  .bank-account-accent > b {
    display: none;
  }

  /* Receipt preview */
  .instapay-v2 .instapay-receipt-preview {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  .instapay-v2 .instapay-receipt-preview img {
    width: 48px;
    height: 48px;
  }

  /* Order items */
  .instapay-order-item {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .instapay-order-item img {
    width: 40px;
    height: 40px;
  }

  .instapay-order-item > span {
    grid-column: 2;
    margin-top: -4px;
  }

  /* Payment option check */
  .payment-option-check {
    width: 18px;
    height: 18px;
  }

  /* Review actions */
  .instapay-review-actions {
    grid-template-columns: 1fr;
  }
}
