.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--primary);
  color: white;
  font-size: 22px;
  box-shadow: 0 10px 22px rgba(255, 107, 44, 0.35);
}

.brand strong {
  display: block;
  font-size: 16px;
  line-height: 1.1;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
}

.pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(60, 40, 20, 0.06);
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: white;
  min-height: 230px;
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "🥟";
  position: absolute;
  right: -8px;
  bottom: -24px;
  font-size: 138px;
  transform: rotate(-14deg);
  opacity: 0.24;
}

.hero-badge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 700;
}

h1 {
  margin: 16px 0 10px;
  font-size: 30px;
  line-height: 0.98;
  letter-spacing: -0.7px;
}

.hero p {
  margin: 0;
  max-width: 260px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 16px;
  font-weight: 800;
  font-size: 14px;
}

.btn-primary {
  background: white;
  color: var(--primary-dark);
}

.btn-soft {
  background: rgba(255, 255, 255, 0.16);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;

  scrollbar-width: none;

  scroll-behavior: smooth;

  -webkit-overflow-scrolling: touch;

  position: relative;

  mask-image: linear-gradient(
    to right,
    black 0%,
    black 88%,
    transparent 100%
  );
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.cat {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 11px 14px;
  font-weight: 800;
  font-size: 14px;
}

.cat.active {
  background: var(--text);
  color: white;
  border-color: var(--text);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.quick-card {
  background: var(--card);
  border-radius: 18px;
  padding: 13px 8px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(60, 40, 20, 0.06);
  border: 1px solid rgba(234, 223, 212, 0.8);
}

.quick-card .emoji {
  font-size: 27px;
  display: block;
  margin-bottom: 6px;
}

.quick-card span:last-child {
  font-size: 12px;
  font-weight: 800;
}

.products {
  display: grid;
  gap: 12px;
}

.product {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  background: var(--card);
  border: 1px solid rgba(234, 223, 212, 0.9);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: 0 10px 24px rgba(60, 40, 20, 0.07);
}

.product-small {
  grid-template-columns: 64px 1fr;
}

.photo {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 42px;
  background: linear-gradient(145deg, #fff0d8, #ffe2bd);
}

.photo-small {
  width: 64px;
  height: 64px;
  font-size: 28px;
}

.product-info {
  min-width: 0;
}

.product-title {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.product-title strong {
  font-size: 16px;
  line-height: 1.15;
}

.tag {
  height: fit-content;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(31, 157, 115, 0.1);
  color: var(--accent);
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 900;
}

.desc {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  margin: 0 0 8px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 17px;
  font-weight: 900;
}

.add {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 14px;
  background: var(--primary);
  color: white;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(255, 107, 44, 0.28);
}

.cart-panel {
  position: fixed;
  left: 50%;
  bottom: 76px;
  transform: translateX(-50%);
  width: min(402px, calc(100% - 28px));
  display: none;
  background: #201814;
  color: white;
  border-radius: 24px;
  padding: 12px;
  z-index: 40;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.cart-panel.open {
  display: block;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.cart-row span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.checkout {
  background: var(--primary);
  color: white;
  padding: 12px 14px;
  border: 0;
  border-radius: 16px;
  font-weight: 900;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 60;
  padding: 18px;
  align-items: end;
  justify-content: center;
}

.checkout-modal.open {
  display: flex;
}

.sheet {
  width: min(430px, 100%);
  background: white;
  border-radius: 30px 30px 20px 20px;
  padding: 20px;
}

.sheet h2 {
  margin: 0 0 12px;
}

.field {
  margin-bottom: 10px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
  margin-bottom: 5px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px;
  background: #fffaf4;
}

.submit {
  width: 100%;
  background: var(--primary);
  color: white;
  margin-top: 8px;
}

.close {
  width: 100%;
  background: #f4eee6;
  color: var(--text);
  margin-top: 8px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: min(402px, calc(100% - 28px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(234, 223, 212, 0.9);
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(60, 40, 20, 0.16);
  backdrop-filter: blur(18px);
  padding: 8px;
  z-index: 50;
}

.nav-item {
  border: 0;
  background: transparent;
  border-radius: 17px;
  padding: 8px 4px;
  color: var(--muted);
  font-weight: 800;
  font-size: 11px;
}

.nav-item span {
  display: block;
  font-size: 20px;
  margin-bottom: 2px;
}

.nav-item.active {
  background: #fff1df;
  color: var(--primary-dark);
}

/* PATCH 11F-2 Premium Product Images + Refined UI */

body {
  background:
    radial-gradient(circle at top, rgba(255, 246, 232, 0.9), transparent 36%),
    linear-gradient(180deg, #fbf3e8 0%, #f6eadc 100%);
}

.logo {
  background: linear-gradient(145deg, #b9793f, #7a3f22);
  box-shadow: 0 12px 28px rgba(90, 48, 24, 0.22);
}

.pill {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(191, 157, 112, 0.32);
  box-shadow: 0 12px 30px rgba(60, 40, 20, 0.08);
}

.hero {
  background:
    linear-gradient(135deg, rgba(50, 28, 18, 0.92), rgba(132, 70, 32, 0.9)),
    radial-gradient(circle at right bottom, rgba(225, 160, 86, 0.55), transparent 42%);
  border: 1px solid rgba(255, 226, 187, 0.18);
  box-shadow: 0 24px 60px rgba(62, 31, 16, 0.2);
}

.hero::after {
  opacity: 0.16;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.btn-primary {
  color: #5b2e1b;
  box-shadow: 0 12px 24px rgba(40, 20, 10, 0.12);
}

.btn-soft {
  background: rgba(255, 255, 255, 0.11);
}

.quick-card,
.cat,
.product,
.sheet,
.bottom-nav {
  border: 1px solid rgba(188, 154, 111, 0.24);
  box-shadow: 0 14px 34px rgba(75, 49, 25, 0.08);
}

.quick-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
}

.cat {
  background: rgba(255, 255, 255, 0.72);
}

.cat.active {
  background: #2b211c;
  border-color: #2b211c;
}

.product {
  background: rgba(255, 255, 255, 0.88);
  grid-template-columns: 96px 1fr;
  align-items: center;
}

.photo {
  width: 96px;
  height: 96px;
  min-width: 96px;
  overflow: hidden;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 38px;
  background: linear-gradient(145deg, #fff4e4, #ead7bd);
  box-shadow: inset 0 0 0 1px rgba(120, 82, 43, 0.08);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-title strong {
  color: #2b211c;
  letter-spacing: -0.2px;
}

.desc {
  color: rgba(61, 45, 36, 0.68);
}

.price {
  color: #2b211c;
}

.add,
.checkout,
.submit {
  background: linear-gradient(145deg, #b9793f, #7a3f22);
  box-shadow: 0 10px 22px rgba(122, 63, 34, 0.24);
}

.tag {
  background: rgba(174, 122, 56, 0.12);
  color: #8a5b24;
}

.nav-item.active {
  background: #f3dfc3;
  color: #6a3b20;
}

/* PATCH 12A — Product Details Modal */

.product-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 70;
  background: rgba(28, 20, 16, 0.52);
  padding: 16px;
  align-items: end;
  justify-content: center;
}

.product-modal.open {
  display: flex;
}

.product-sheet {
  position: relative;
  width: min(430px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #fffaf3;
  border-radius: 30px 30px 22px 22px;
  box-shadow: 0 24px 70px rgba(25, 16, 10, 0.32);
}

.product-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #2b211c;
  font-size: 26px;
  line-height: 1;
  z-index: 2;
}

.product-detail-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f2e3cf;
  border-radius: 30px 30px 0 0;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.product-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-detail-emoji {
  font-size: 90px;
}

.product-detail-content {
  padding: 18px;
}

.product-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.product-detail-head h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.08;
  color: #2b211c;
  letter-spacing: -0.4px;
}

.product-detail-desc {
  color: rgba(61, 45, 36, 0.72);
  font-size: 14px;
  line-height: 1.45;
  margin: 10px 0 14px;
}

.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.product-detail-meta span {
  border-radius: 999px;
  padding: 7px 10px;
  background: #f3dfc3;
  color: #6a3b20;
  font-size: 12px;
  font-weight: 800;
}

.product-detail-section {
  border-top: 1px solid rgba(188, 154, 111, 0.24);
  padding-top: 12px;
  margin-top: 12px;
}

.product-detail-section strong {
  display: block;
  color: #2b211c;
  font-size: 13px;
  margin-bottom: 4px;
}

.product-detail-section p {
  margin: 0;
  color: rgba(61, 45, 36, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.product-detail-bottom {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.product-detail-price {
  font-size: 24px;
  color: #2b211c;
}

/* PATCH 22A — clean desktop catalog rebuild */

.app-products,
.products.app-products {
  display: block;
}

.product-category-section {
  display: block;
  width: 100%;
  margin-top: 58px;
  scroll-margin-top: 92px;
}

.product-category-section:first-child {
  margin-top: 36px;
}

.product-category-title {
  margin: 0 0 28px;
  color: #1c1c1c;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.6px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
  row-gap: 54px;
}

.sticky-category-bar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 55;
  display: none;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
  padding: 10px 0;
}

.sticky-category-bar.visible {
  display: block;
}

.sticky-category-scroll {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.sticky-category-scroll::-webkit-scrollbar {
  display: none;
}

@media (min-width: 900px) {
  body {
    background: #ffffff;
  }

  main.app.gordan-like-app {
    width: min(1180px, calc(100vw - 48px)) !important;
    max-width: 1180px !important;
    min-width: 900px;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: visible !important;
  }

  .promo-section,
  .recommend-section,
  .menu-section {
    width: 100%;
  }

  .promo-slider,
  .recommend-slider,
  .category-scroll {
    width: 100%;
  }

  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 58px;
    row-gap: 72px;
  }

  .products-grid .product {
    position: relative;
    display: block !important;
    width: 100%;
    min-width: 0;
    padding: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .products-grid .product .photo {
    width: 100% !important;
    height: 314px !important;
    min-width: 0 !important;
    margin: 0 0 22px !important;
    display: grid !important;
    place-items: center !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .products-grid .product .product-img,
  .products-grid .product .photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
  }

  .products-grid .product .tag {
    position: absolute !important;
    top: 0;
    left: 0;
    z-index: 2;
    display: inline-flex !important;
    align-items: center;
    min-height: 30px;
    margin: 0 !important;
    padding: 0 10px;
    border-radius: 8px;
    background: #eb3701 !important;
    color: #ffffff !important;
    font-size: 15px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
  }

  .products-grid .product .product-info {
    display: block !important;
    width: 100%;
    padding: 0 !important;
    min-width: 0;
    position: relative !important;
    z-index: 3 !important;
    background: #ffffff !important;
  }

  .products-grid .product .product-title {
    display: block !important;
    margin: 0 0 6px !important;
  }

  .products-grid .product .product-title strong {
    display: block !important;
    color: #1c1c1c !important;
    font-size: 20px !important;
    line-height: 1.15 !important;
    font-weight: 750 !important;
    letter-spacing: -0.2px;
    background: #ffffff !important;
  }

  .products-grid .product .desc {
    display: -webkit-box !important;
    min-height: 38px;
    margin: 0 0 14px !important;
    color: rgba(28, 28, 28, 0.55) !important;
    font-size: 15px !important;
    line-height: 1.32 !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
  }

  .products-grid .product .price-row {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0 !important;
  }

  .products-grid .product .price {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 12px;
    background: #f1f1f1 !important;
    color: #1c1c1c !important;
    padding: 8px 12px;
    font-size: 17px;
    line-height: 1;
    font-weight: 850;
    box-shadow: none !important;
  }

  .products-grid .product .add {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    margin-left: -4px;
    border: 0;
    border-radius: 12px;
    background: #f1f1f1 !important;
    color: #1c1c1c !important;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    box-shadow: none !important;
  }
}

@media (min-width: 561px) and (max-width: 899px) {
  .menu-section .app-products,
  .menu-section .products {
    display: block !important;
    padding: 28px 44px 42px !important;
  }

  .menu-section .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 34px !important;
    row-gap: 52px !important;
  }

  .menu-section .products-grid .product {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .menu-section .products-grid .product .photo {
    width: 100% !important;
    height: 220px !important;
    min-width: 0 !important;
    margin: 0 0 16px !important;
    display: grid !important;
    place-items: center !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  .menu-section .products-grid .product .product-img,
  .menu-section .products-grid .product .photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
  }

  .menu-section .products-grid .product .product-info {
    display: block !important;
    width: 100% !important;
    position: static !important;
    transform: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: #ffffff !important;
  }

  .menu-section .products-grid .product .product-title,
  .menu-section .products-grid .product .desc,
  .menu-section .products-grid .product .price-row {
    position: static !important;
    transform: none !important;
    margin-left: 0 !important;
  }

  .menu-section .products-grid .product .product-title strong {
    display: block !important;
    font-size: 16px !important;
    line-height: 1.18 !important;
  }

  .menu-section .products-grid .product .desc {
    display: -webkit-box !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
  }
}

@media (max-width: 560px) {
  .menu-section .app-products,
  .menu-section .products {
    display: block !important;
    padding: 28px 20px 42px !important;
  }

  .product-category-section {
    margin-top: 42px !important;
    scroll-margin-top: 86px !important;
  }

  .product-category-title {
    margin: 0 0 18px !important;
    font-size: 26px !important;
    line-height: 1.1 !important;
  }

  .menu-section .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 24px !important;
    row-gap: 44px !important;
  }

  .menu-section .products-grid .product {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .menu-section .products-grid .product .photo {
    width: 100% !important;
    height: 150px !important;
    min-width: 0 !important;
    margin: 0 0 12px !important;
    display: grid !important;
    place-items: center !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  .menu-section .products-grid .product .product-img,
  .menu-section .products-grid .product .photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
  }

  .menu-section .products-grid .product .product-info {
    display: block !important;
    width: 100% !important;
    background: #ffffff !important;
  }

  .menu-section .products-grid .product .product-title strong {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.18 !important;
  }

  .menu-section .products-grid .product .desc {
    display: -webkit-box !important;
    margin: 5px 0 10px !important;
    font-size: 11px !important;
    line-height: 1.24 !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
  }

  .menu-section .products-grid .product .price-row {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }
}

/* PATCH 22B — Desktop scroll arrows */

.scroll-wrap {
  position: relative;
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #1c1c1c;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  transition: opacity .15s ease;
}

.scroll-arrow.left {
  left: 8px;
}

.scroll-arrow.right {
  right: -44px;
}

.scroll-arrow.left {
  left: -44px;
}

.scroll-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

/* PATCH 22C-DEVTOOLS-715-FIX-2 — no crop images at 561-899px */

@media (min-width: 561px) and (max-width: 899px) {
  .menu-section .products-grid .product {
    display: block !important;
  }

  .menu-section .products-grid .product .photo {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 0 14px !important;
    overflow: visible !important;
    display: grid !important;
    place-items: center !important;
  }

  .menu-section .products-grid .product img.product-img,
  .menu-section .products-grid .product .photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
  }

  .menu-section .products-grid .product .product-info {
    position: static !important;
    transform: none !important;
    background: #ffffff !important;
  }
}

/* PATCH 22D — product modal image must not crop */

.product-modal .product-detail-photo,
.product-modal .product-gallery,
.product-modal .gordan-main-photo {
  overflow: visible !important;
  background: #ffffff !important;
}

.product-modal .product-detail-img,
.product-modal .gordan-main-img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
}

.product-modal .product-detail-photo {
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 24px 28px 12px !important;
}

/* PATCH 22E — sticky category header arrows */

.sticky-category-bar .sticky-scroll-wrap {
  width: min(1180px, calc(100vw - 96px));
  margin: 0 auto;
  position: relative;
}

.sticky-category-bar .sticky-category-scroll {
  width: 100%;
}

.sticky-category-bar .scroll-arrow.left {
  left: -44px;
}

.sticky-category-bar .scroll-arrow.right {
  right: -44px;
}

/* PATCH 21C-1 — Promo Stories Frontend */

.promo-slider{
  display:flex;
  gap:14px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  padding:8px 0 12px;
}

.promo-slider::-webkit-scrollbar{
  display:none;
}

.quick-card.promo-card{
  flex:0 0 205px;
  width:205px;
  height:320px;
  position:relative;
  overflow:hidden;
  border:0;
  border-radius:24px;
  padding:18px;
  text-align:left;
  background:#eb3701;
  color:#ffffff;
  display:flex;
  align-items:flex-end;
  box-shadow:0 16px 38px rgba(0,0,0,.16);
  cursor:pointer;
}

.promo-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

.promo-card::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(
    180deg,
    rgba(0,0,0,.08) 0%,
    rgba(0,0,0,.58) 100%
  );
}

.promo-card-body{
  position:relative;
  z-index:2;
  display:grid;
  gap:4px;
}

.promo-card-title{
  font-size:22px;
  line-height:1.05;
  font-weight:950;
}

.promo-card-subtitle{
  font-size:13px;
  line-height:1.25;
  opacity:.92;
  font-weight:700;
}

.promo-story-modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:120;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.promo-story-modal.open{
  display:flex;
}

.promo-story-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(4px);
}

.promo-story-shell{
  position:relative;
  z-index:1;
  width:min(430px, calc(100vw - 28px));
  height:min(760px, calc(100vh - 36px));
  border-radius:28px;
  overflow:hidden;
  background:#111111;
  box-shadow:0 28px 80px rgba(0,0,0,.45);
}

.promo-story-close{
  position:absolute;
  right:12px;
  top:18px;
  z-index:5;
  width:36px;
  height:36px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.22);
  color:#ffffff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}

.promo-story-progress{
  position:absolute;
  left:14px;
  right:58px;
  top:16px;
  z-index:5;
  display:flex;
  gap:5px;
}

.promo-story-progress span{
  height:3px;
  flex:1;
  border-radius:99px;
  background:rgba(255,255,255,.35);
}

.promo-story-progress span.active{
  background:#ffffff;
}

.promo-story-content{
  position:relative;
  width:100%;
  height:100%;
}

.promo-story-slide{
  position:absolute;
  inset:0;
  display:none;
  color:#ffffff;
  background:#1c1c1c;
}

.promo-story-slide.active{
  display:block;
}

.promo-story-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.promo-story-slide::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(0,0,0,.08) 0%,
    rgba(0,0,0,.16) 42%,
    rgba(0,0,0,.78) 100%
  );
}

.promo-story-text{
  position:absolute;
  left:22px;
  right:22px;
  bottom:26px;
  z-index:2;
  display:grid;
  gap:10px;
}

.promo-story-text h3{
  margin:0;
  font-size:32px;
  line-height:1.02;
  font-weight:950;
}

.promo-story-text p{
  margin:0;
  font-size:15px;
  line-height:1.35;
  color:rgba(255,255,255,.86);
  font-weight:700;
}

.promo-story-cta{
  margin-top:8px;
  border:0;
  border-radius:16px;
  padding:15px 18px;
  background:#ffffff;
  color:#1c1c1c;
  font-weight:950;
  font-size:16px;
  cursor:pointer;
}

.promo-story-nav{
  position:absolute;
  z-index:4;
  top:50%;
  transform:translateY(-50%);
  width:38px;
  height:48px;
  border:0;
  border-radius:14px;
  background:rgba(255,255,255,.22);
  color:#ffffff;
  font-size:36px;
  line-height:1;
  cursor:pointer;
}

.promo-story-prev{
  left:10px;
}

.promo-story-next{
  right:10px;
}

@media(max-width:560px){
  .quick-card.promo-card{
    flex:0 0 165px;
    width:165px;
    height:255px;
  }

  .promo-story-shell{
    width:100%;
    height:calc(100vh - 28px);
  }
}

/* PATCH 22G — Sticky header arrows clean fix */

.sticky-category-bar .sticky-scroll-wrap{
  width:min(1180px, calc(100vw - 96px)) !important;
  margin:0 auto !important;
  position:relative !important;
  overflow:visible !important;
}

.sticky-category-bar .sticky-category-scroll{
  width:100% !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scrollbar-width:none !important;
  -webkit-overflow-scrolling:touch !important;
}

.sticky-category-bar .sticky-category-scroll::-webkit-scrollbar{
  display:none !important;
}

.sticky-category-bar.visible .scroll-arrow{
  display:grid !important;
  align-items:center !important;
  justify-content:center !important;
  position:absolute !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:34px !important;
  height:34px !important;
  z-index:1000 !important;
  opacity:1;
  pointer-events:auto;
  background:rgba(255,255,255,.96) !important;
  color:#1c1c1c !important;
  box-shadow:0 4px 16px rgba(0,0,0,.16) !important;
}

.sticky-category-bar.visible .scroll-arrow.left{
  left:-42px !important;
}

.sticky-category-bar.visible .scroll-arrow.right{
  right:-42px !important;
}

.sticky-category-bar.visible .scroll-arrow.hidden{
  display:none !important;
}

@media(max-width:899px){
  .menu-section > .scroll-wrap > .scroll-arrow{
    display:none !important;
  }

  .sticky-category-bar .sticky-scroll-wrap{
    width:calc(100vw - 80px) !important;
  }

  .sticky-category-bar.visible .scroll-arrow.left{
    left:-36px !important;
  }

  .sticky-category-bar.visible .scroll-arrow.right{
    right:-36px !important;
  }
}

/* PATCH 22G-2 — force sticky arrows visible */

.sticky-category-bar.visible .sticky-scroll-wrap .scroll-arrow{
  display:grid !important;
  opacity:1 !important;
  pointer-events:auto !important;
  z-index:9999 !important;
}

.sticky-category-bar.visible .sticky-scroll-wrap .scroll-arrow.left{
  left:8px !important;
}

.sticky-category-bar.visible .sticky-scroll-wrap .scroll-arrow.right{
  right:8px !important;
}

.sticky-category-bar.visible .sticky-category-scroll{
  padding-left:42px !important;
  padding-right:42px !important;
}