.main-slider-outer {
  width: 100%;
  overflow: hidden;
  padding-top: 10px;
}

.mainSwiper {
  width: 100%;
  padding-inline: 8px;
  overflow: hidden;
  padding-bottom: 28px;
}

@media (min-width: 768px) {
  .mainSwiper {
    padding-inline: 16px;
    padding-bottom: 32px;
  }
}

.mainSwiper .swiper-slide {
  width: calc(100% / 1.1);
  opacity: 0.5;
  transition: opacity 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .mainSwiper .swiper-slide {
    width: calc(100% / 1.28);
  }
}

@media (min-width: 1200px) {
  .mainSwiper .swiper-slide {
    width: calc(100% / 1.1);
  }
}

.mainSwiper .swiper-slide-active {
  opacity: 1;
}

.mainSwiper .hero-slide__link {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  transform: scale(0.99);
  transition: transform 0.5s ease;
  transform-origin: center center;
}

@media (min-width: 768px) {
  .mainSwiper .hero-slide__link {
    border-radius: 15px;
  }
}

.mainSwiper .swiper-slide-active .hero-slide__link {
  transform: scale(1);
}

.mainSwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

@media (min-width: 640px) {
  .mainSwiper .swiper-slide img {
    height: 260px;
  }
}

@media (min-width: 768px) {
  .mainSwiper .swiper-slide img {
    height: 380px;
  }
}

.mainSwiper .swiper-pagination {
  position: absolute !important;
  bottom: 23px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 30 !important;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  width: 157px;
  height: 35px;
  padding: 15px 24px 0;
  background: url('../images/hero/Vector1.svg') no-repeat center / 157px 35px !important;
  border-radius: 0;
  box-shadow: none;
}

@media (min-width: 768px) {
  .mainSwiper .swiper-pagination {
    bottom: 28px !important;
  }
}

.mainSwiper .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: #a3a3a3 !important;
  opacity: 1 !important;
  border-radius: 9999px;
  transition: width 0.3s ease, background 0.3s ease;
  margin: 0 !important;
}

.mainSwiper .swiper-pagination-bullet-active {
  width: 22px !important;
  height: 6px !important;
  border-radius: 9999px !important;
  background: linear-gradient(90deg, #ff7e15, #ff4500) !important;
  opacity: 1 !important;
}

.product-scroll-card .product-card__media,
.featured-deals-card .product-card__media {
  aspect-ratio: 1 / 1;
  height: auto;
  width: 100%;
}

@media (min-width: 640px) {
  .product-scroll-card .product-card__media,
  .featured-deals-card .product-card__media {
    aspect-ratio: auto;
    height: 16.5rem;
  }
}

.product-scroll-card .product-card__media img,
.featured-deals-card .product-card__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.productSwiper .swiper-slide {
  width: calc((100vw - 12px) / 1.5);
  height: auto;
}

.other-products-slider {
  width: 100%;
}

.other-products-slider .productSwiper {
  padding-inline-start: 0;
}

@media (min-width: 640px) {
  .productSwiper .swiper-slide {
    width: 200px;
    max-width: 200px;
  }
}

.clothing-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.clothing-card .product-card__media {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  background: #f3f4f6;
  padding: 0;
}

.clothing-card .product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clothing-card__body {
  padding: 10px 2px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: right;
}

.product-card__brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 4px;
}

.product-card__brand-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #111;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.clothing-card__title {
  font-size: 13px;
  font-weight: 500;
  color: #111827;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6rem;
}

.clothing-card .product-card__price-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  min-height: 24px;
  margin-top: 8px;
}

.clothing-card .product-card__price-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.clothing-card .product-card__price-sale {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
}

.clothing-card .product-card__price-sale span {
  font-size: 10px;
  font-weight: 400;
  color: #6b7280;
}

.clothing-card .product-card__price-old {
  font-size: 11px;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 300;
  line-height: 1.2;
}

.clothing-card .product-card__price-old span {
  font-size: 10px;
}

.product-card__discount {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  line-height: 1.2;
}

.featuredDealsSwiper .swiper-slide--promo,
.featuredDealsSwiper .swiper-slide--product,
.featuredDealsSwiper .swiper-slide--view-all {
  display: flex;
  height: auto;
}

.featuredDealsSwiper .swiper-slide--promo {
  width: 118px;
}

.featuredDealsSwiper .swiper-slide--product {
  width: calc((100vw - 118px - 0.75rem - 10px) / 1.15);
  height: auto;
}

.featuredDealsSwiper .swiper-slide--view-all {
  width: 132px;
  height: auto;
}

.programmingSwiper .swiper-slide {
  width: calc((100vw - 2rem - 12px) / 1.35);
  max-width: 220px;
  height: auto;
}

.featuredDealsSwiper .deal-card,
.programmingSwiper .product-scroll-card {
  width: 100%;
  max-width: none;
}

.featuredDealsSwiper .featured-deals-promo,
.featuredDealsSwiper .deal-view-all-card {
  width: 100%;
}

@media (min-width: 640px) {
  .programmingSwiper .swiper-slide {
    width: calc((100% - 42px) / 2.35);
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .programmingSwiper .swiper-slide {
    width: calc((100% - 64px) / 4.5);
  }
}

.categorySwiper .swiper-slide {
  width: 130px;
  height: auto;
}

.wave-footer {
  background: #eef2f9;
}

.articles-curve svg {
  display: block;
  width: 100%;
  height: 64px;
}

.box__shaped-title {
  position: absolute;
  left: 50%;
  bottom: 15px;
  z-index: 10;
  transform: translateX(-50%) translateY(50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 231px;
  max-width: 62vw;
}

.box__shaped-title > svg {
  display: block;
  width: 100%;
  height: auto;
}

.box__shaped-title .title__text {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .articles-curve svg {
    height: 80px;
  }

  .box__shaped-title {
    max-width: 231px;
  }

  .box__shaped-title .title__text {
    font-size: 16px;
  }
}

.productSwiper .swiper-button-next,
.productSwiper .swiper-button-prev,
.categorySwiper .swiper-button-next,
.categorySwiper .swiper-button-prev {
  display: none;
}

.product-slider-overlay {
  position: relative;
}

.slider-fade-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 58px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.75) 45%, transparent 100%);
  z-index: 15;
  pointer-events: none;
}

.slider-overlay-nav {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.other-products-section .slider-overlay-nav {
  display: none;
}

@media (min-width: 768px) {
  .other-products-section .slider-overlay-nav {
    display: flex;
  }
}

/* Section spacing — plain CSS (Tailwind arbitrary values need npm run build:css) */
.section-header {
  margin-bottom: 3rem;
}

.featured-categories-section {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .featured-categories-section {
    padding-top: 2rem;
  }
}

.featured-deals-section {
  position: relative;
  /* gap from categories: (3rem + 1.5rem) × 3 = 13.5rem → pt = 10.5rem */
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.other-products-section {
  /* gap from featured: (1.5rem + 1.5rem) × 3 = 9rem → pt = 7.5rem */
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.programming-section {
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
}

.articles-section {
  background: #eef2f9;
  margin-top: 1.5rem;
}

.articles-section__inner {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .featured-deals-section {
    /* gap: (3rem + 2.5rem) × 3 = 16.5rem → pt = 13.5rem */
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .other-products-section {
    /* gap: (2.5rem + 2rem) × 3 = 13.5rem → pt = 11rem */
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .programming-section {
    /* gap: (2rem + 2.5rem) × 3 = 13.5rem → pt = 11.5rem */
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .articles-section {
    margin-top: 3rem;
  }
}

.featured-deals-section__container {
  width: 100%;
}

.featured-deals-box {
  position: relative;
  padding: 50px 0 50px 0.35rem;
  border-radius: 0;
  background: #1a2438;
  overflow: hidden;
}

.featured-deals-box__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120' fill='none'%3E%3Cpath d='M18 92V72l8-10 8 10v20' stroke='%23ffffff' stroke-width='2'/%3E%3Cpath d='M34 72 26 62h16l-8 10z' fill='%23ffffff'/%3E%3Cpath d='M52 92V78l6-8 6 8v14' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath d='M72 92V70l10-12 10 12v22' stroke='%23ffffff' stroke-width='2'/%3E%3Cpath d='M96 72 86 58h20l-10 14z' fill='%23ffffff'/%3E%3Cpath d='M8 48h18M34 36h14M62 44h20M94 32h14' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='24' cy='24' r='2' fill='%23ffffff'/%3E%3Ccircle cx='58' cy='18' r='2' fill='%23ffffff'/%3E%3Ccircle cx='88' cy='26' r='2' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}

.featured-deals-promo {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
  height: 100%;
  min-height: 280px;
  padding: 0.35rem 0.25rem;
}

.featured-deals-promo__heading {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
}

.featured-deals-promo__badge {
  position: relative;
  width: 100%;
  max-width: 102px;
  aspect-ratio: 156 / 148;
}

.featured-deals-promo__cloud {
  display: block;
  width: 100%;
  height: 100%;
}

.featured-deals-promo__badge-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding-top: 0.35rem;
}

.featured-deals-promo__stars {
  color: #ef4444;
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 1;
}

.featured-deals-promo__badge-content strong {
  color: #ef4444;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.featured-deals-promo__ribbon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  margin-top: 0.1rem;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
}

.featured-deals-slider {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.featured-deals-slider .featuredDealsSwiper {
  overflow: hidden;
}

.featured-deals-slider__nav {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
}

.featured-deals-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, color 0.2s ease;
}

.featured-deals-nav-btn:hover {
  background: #f9fafb;
  color: #111827;
}

.featured-deals-nav-btn:last-child {
  display: none;
}

.deal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.75rem;
  border-radius: 14px;
  background: #fff;
  text-align: right;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
  .deal-card__media {
    height: 132px;
  }

  .deal-card__title {
    font-size: 10px;
    line-height: 1.7;
    min-height: 2.2rem;
  }

  .deal-card__price-sale {
    font-size: 13px;
  }

  .featured-deals-slider .featuredDealsSwiper {
    margin-inline-end: -0.15rem;
  }
}

.deal-card__original-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: #1a2438;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
}

.deal-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.deal-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 118px;
  margin-bottom: 0.55rem;
  overflow: hidden;
}

.deal-card__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.deal-card__link:hover .deal-card__media img {
  transform: scale(1.08);
}

.deal-card__title {
  margin: 0 0 0.65rem;
  min-height: 2.5rem;
  font-size: 11px;
  font-weight: 500;
  color: #111827;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.deal-card__pricing {
  margin-top: auto;
  margin-bottom: 0.65rem;
}

.deal-card__price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.2rem;
}

.deal-card__discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 0.1rem 0.35rem;
  border-radius: 9999px;
  background: #ff6b35;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.deal-card__price-old {
  color: #ea580c;
  font-size: 11px;
  font-weight: 400;
  text-decoration: line-through;
  line-height: 1.2;
}

.deal-card__price-sale {
  margin: 0;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.deal-card__price-sale span {
  font-size: 10px;
  font-weight: 500;
  color: #6b7280;
}

.deal-card__cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  align-self: stretch;
  width: 100%;
  padding: 0.5rem 0.7rem;
  border: none;
  border-radius: 8px;
  background: #1a2438;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease;
}

.deal-card__cart-btn:hover {
  background: #111827;
}

.deal-view-all-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  height: 100%;
  min-height: 280px;
  padding: 1rem 0.75rem;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.deal-view-all-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.deal-view-all-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid #ff6b35;
  border-radius: 9999px;
  color: #ff6b35;
}

.deal-view-all-card__text {
  font-size: 14px;
  font-weight: 700;
  color: #1a2438;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .featured-deals-section__container {
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
  }

  .featured-deals-box {
    padding: 60px 0 60px 2.5rem;
    border-radius: 0;
  }

  .featuredDealsSwiper .swiper-slide--promo {
    width: 148px;
  }

  .featuredDealsSwiper .swiper-slide--product {
    width: calc((100vw - 2.5rem - 148px - 50px) / 5);
  }

  .featuredDealsSwiper .swiper-slide--view-all {
    width: 150px;
  }

  .featured-deals-slider__nav {
    display: flex;
  }

  .featured-deals-slider .featuredDealsSwiper {
    padding-left: 2.75rem;
  }

  .featured-deals-promo {
    min-height: 400px;
    padding: 0.5rem 0;
    justify-content: center;
    gap: 0.75rem;
  }

  .featured-deals-promo__heading {
    font-size: 16px;
  }

  .featured-deals-promo__badge {
    width: 142px;
    max-width: none;
    height: 132px;
    aspect-ratio: auto;
  }

  .featured-deals-promo__badge-content strong {
    font-size: 19px;
  }

  .featured-deals-promo__ribbon {
    min-width: 92px;
    font-size: 10px;
    padding: 0.2rem 0.55rem;
  }

  .featured-deals-slider__nav {
    left: 4px;
  }

  .deal-card__media {
    height: 210px;
  }

  .deal-card__title {
    font-size: 13px;
    min-height: 2.75rem;
    line-height: 1.7;
  }

  .deal-card__price-sale {
    font-size: 16px;
  }

  .deal-card__cart-btn {
    align-self: flex-end;
    width: auto;
    padding: 0.55rem 0.85rem;
    font-size: 11px;
  }

  .deal-card {
    box-shadow: none;
    padding: 1rem 1.1rem;
    min-height: 400px;
  }

  .deal-view-all-card {
    min-height: 400px;
    box-shadow: none;
  }
}

.product-slider-overlay .featuredDealsSwiper {
  position: relative;
  z-index: 1;
}

.blog-bottom-nav {
  padding-top: 4px;
}

.blogSwiper .swiper-button-next,
.blogSwiper .swiper-button-prev {
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: static;
  margin: 0;
}

.blogSwiper .swiper-button-next::after,
.blogSwiper .swiper-button-prev::after {
  font-size: 14px;
  color: #374151;
}

#cartSidebar,
.cart-sidebar-overlay {
  position: fixed;
  inset: 0;
  top: var(--shop-admin-bar-height, 0px);
  height: calc(100% - var(--shop-admin-bar-height, 0px));
  z-index: 110;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
}

#cartSidebar:not(.invisible),
.cart-sidebar-overlay:not(.invisible) {
  pointer-events: auto;
}

.cart-sidebar-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.cart-sidebar-overlay.is-open .cart-sidebar-backdrop {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  pointer-events: auto;
}

.cart-sidebar-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .cart-sidebar-panel {
    width: 20vw;
    min-width: 280px;
    max-width: 400px;
  }
}

#cartContent.open,
.cart-sidebar-panel.open {
  opacity: 1;
  transform: translateX(0);
}

body.cart-sidebar-open {
  overflow: hidden;
}

.cart-sidebar-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #6b7280;
  background: #fff;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.cart-sidebar-close:hover {
  color: #111827;
  background: #f3f4f6;
}

/* Admin bar — fixed at top; all shop content sits below it */
:root {
  --shop-admin-bar-height: 0px;
}

body.has-admin-bar {
  --shop-admin-bar-height: 42px;
}

body.has-admin-bar .store-admin-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.shop-app-shell {
  position: relative;
  min-height: 100vh;
}

body.has-admin-bar .shop-app-shell {
  padding-top: var(--shop-admin-bar-height);
}

.shop-header {
  top: 0;
}

body.has-admin-bar .shop-header {
  top: var(--shop-admin-bar-height);
}

.shop-mega-menu {
  top: calc(var(--shop-admin-bar-height, 0px) + var(--shop-header-height, 130px));
  max-height: calc(100vh - var(--shop-admin-bar-height, 0px) - var(--shop-header-height, 130px) - 1rem);
  overflow-y: auto;
  z-index: 70;
  display: none;
}

.shop-mega-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.shop-mega-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
  .shop-mega-backdrop {
    display: block;
  }
}

body.mega-menu-open .shop-mega-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.mega-menu-open .shop-header {
  z-index: 75;
  background: #fff;
}

.shop-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: visibility 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.shop-mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.shop-mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(320px, 88vw);
  max-width: 100%;
  box-sizing: border-box;
  background: #fff;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: -8px 0 30px rgba(15, 23, 42, 0.18);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.3s ease;
  pointer-events: auto;
}

.shop-mobile-menu.is-open .shop-mobile-menu__panel {
  transform: translate3d(0, 0, 0);
}

body.mobile-menu-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .shop-mobile-menu {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .shop-mobile-menu {
    display: block;
  }
}

.shop-mega-menu.is-open {
  display: block !important;
}

body.has-admin-bar .listing-filters {
  top: var(--shop-admin-bar-height);
  height: calc(100% - var(--shop-admin-bar-height));
}

@media (min-width: 1024px) {
  body.has-admin-bar .listing-filters {
    top: calc(var(--shop-admin-bar-height, 0px) + var(--shop-header-height, 120px) + 0.75rem);
    height: auto;
  }
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Site footer */
.site-footer {
  background: #fff;
  border-top: 1px solid #eef2f7;
}

.site-footer__features {
  background: linear-gradient(135deg, #001a72 0%, #002080 100%);
  color: #fff;
}

.site-footer__feature {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 0;
}

.site-footer__feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #5eead4;
}

.site-footer__trust-row {
  display: none;
}

.site-footer__trust-col {
  padding-top: 0.5rem;
  border-top: 1px solid #eef2f7;
}

@media (min-width: 768px) {
  .site-footer__trust-col {
    padding-top: 0;
    border-top: none;
  }
}

.site-footer__trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__about {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #eef2f7;
  display: grid;
  gap: 0.75rem;
}

.site-footer__about p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.9;
  color: #6b7280;
}

.site-footer__brand-contact .site-footer__contact-item {
  font-size: 0.8125rem;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.site-footer__social-link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  border: 1px solid #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  background: #fff;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.site-footer__social-link:hover {
  border-color: #3bb371;
  color: #3bb371;
  background: #f0fdf4;
}

.site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.7;
}

.site-footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: #3bb371;
}

.site-footer__trust-badge {
  min-width: 5.5rem;
  height: 5.5rem;
  border-radius: 0.75rem;
  border: 1px dashed #d1d5db;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  color: #9ca3af;
  text-align: center;
  padding: 0.5rem;
}

.site-footer__bottom {
  background: #001a72;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__accordion {
  border-bottom: 1px solid #eef2f7;
}

.site-footer__accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
}

.site-footer__accordion summary::-webkit-details-marker {
  display: none;
}

.site-footer__accordion[open] summary {
  color: #001a72;
}

.site-footer__accordion-body {
  padding-bottom: 1rem;
}

@media (min-width: 768px) {
  .site-footer__accordion {
    border-bottom: none;
  }

  .site-footer__accordion summary {
    pointer-events: none;
    padding: 0;
    margin-bottom: 1rem;
  }

  .site-footer__accordion-body {
    padding-bottom: 0;
  }

  .site-footer__accordion-chevron {
    display: none;
  }
}

/* ===== Shop pages: cart, checkout, account ===== */
.shop-page-wrap {
  background: #f5f8fa;
  min-height: 60vh;
}

.shop-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #eef2f7;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.shop-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #eef2f7;
}

.shop-section-title {
  font-weight: 700;
  color: #181c32;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.shop-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.5rem;
}

.shop-input {
  width: 100%;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

.shop-input:focus {
  border-color: #3bb371;
}

.shop-btn-primary {
  background: #3bb371;
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  transition: background 0.2s;
}

.shop-btn-primary:hover {
  background: #059669;
}

.shop-btn-gold {
  background: #f59e0b;
  color: #fff;
  font-weight: 700;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  transition: opacity 0.2s;
}

.shop-btn-gold:hover {
  opacity: 0.92;
}

.shop-btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.625rem;
  font-weight: 600;
  color: #3bb371;
  transition: border-color 0.2s, background 0.2s;
}

.shop-btn-outline:hover {
  border-color: #3bb371;
  background: #f0fdf4;
}

.shop-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 0.625rem;
  overflow: hidden;
}

.shop-qty-btn {
  padding: 0.375rem 0.75rem;
  color: #6b7280;
  transition: background 0.2s;
}

.shop-qty-btn:hover {
  background: #f3f4f6;
}

.shop-qty-value {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  min-width: 2.5rem;
  text-align: center;
}

.shop-stat-card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.shop-stat-label {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin-bottom: 0.375rem;
}

.shop-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #181c32;
}

.checkout-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border: 2px solid #eef2f7;
  border-radius: 0.75rem;
  margin-bottom: 0.625rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.checkout-option:last-child {
  margin-bottom: 0;
}

.checkout-option:hover {
  border-color: #d1fae5;
}

.checkout-option-active {
  border-color: #3bb371;
  background: #f0fdf4;
}

.shop-page-wrap--has-mobile-bar {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

.shop-mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid #eef2f7;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}

.shop-mobile-bar__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.shop-mobile-bar__label {
  font-size: 11px;
  color: #9ca3af;
}

.shop-mobile-bar__price {
  font-size: 15px;
  font-weight: 900;
  color: #059669;
  white-space: nowrap;
}

.shop-mobile-bar__btn {
  flex-shrink: 0;
  padding: 12px 20px;
  background: #f59e0b;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.shop-mobile-bar__btn:disabled {
  opacity: 0.65;
}

@media (max-width: 767px) {
  .checkout-option {
    padding: 0.75rem;
  }

  .shop-qty-control {
    flex-shrink: 0;
  }

  .shop-card.p-4.flex-col.sm\:flex-row {
    gap: 0.75rem;
  }
}

.account-nav-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  color: #6b7280;
  transition: color 0.2s, background 0.2s;
}

.account-nav-link:hover {
  color: #3bb371;
  background: #f0fdf4;
}

.account-nav-link-active {
  color: #3bb371;
  background: #ecfdf5;
  font-weight: 700;
}

.header-user-dropdown .header-user-menu {
  display: none;
}

.header-user-dropdown.open .header-user-menu {
  display: block;
}

.header-user-dropdown.open .header-user-chevron {
  transform: rotate(180deg);
}

.header-user-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 0.5rem);
  min-width: 220px;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 0.875rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  z-index: 50;
  overflow: hidden;
}

.header-user-menu-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  color: #374151;
  transition: background 0.2s;
  text-align: right;
}

.header-user-menu-item:hover {
  background: #f9fafb;
  color: #3bb371;
}

#loginModal {
  z-index: 120;
}

/* ===== Search modal (global — all pages) ===== */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.search-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.search-modal__panel {
  background: #fff;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  transform: translateY(-8px);
  transition: transform 0.3s;
}

.search-modal.is-open .search-modal__panel {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .search-modal {
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
  }

  .search-modal__panel {
    max-width: 640px;
    height: auto;
    max-height: 85vh;
    border-radius: 1rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    overflow: hidden;
  }
}

.search-modal__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f3f4f6;
  background: #fafafa;
}

.search-modal__close {
  padding: 0.35rem;
  border-radius: 999px;
  color: #6b7280;
  flex-shrink: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.search-modal__close:hover {
  background: #e5e7eb;
}

.search-modal__form {
  flex: 1;
  position: relative;
}

.search-modal__input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 0.75rem 2.75rem 0.75rem 1rem;
  font-size: 14px;
  outline: none;
}

.search-modal__input:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.search-modal__icon {
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

.search-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-modal__section-title {
  font-size: 12px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.search-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-modal__tag {
  padding: 0.5rem 0.875rem;
  background: #f3f4f6;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  transition: all 0.2s;
}

.search-modal__tag:hover {
  background: #ecfdf5;
  color: #059669;
}

.search-modal__categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.search-modal__category {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  background: #fafafa;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  transition: background 0.2s;
}

.search-modal__category:hover {
  background: #fff;
  border-color: #d1fae5;
}

.search-modal__category-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.search-modal__promo {
  background: linear-gradient(135deg, #059669, #14b8a6);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.search-modal__promo-title {
  font-size: 13px;
  font-weight: 800;
}

.search-modal__promo-text {
  font-size: 11px;
  opacity: 0.9;
  margin-top: 2px;
}

.search-modal__promo-btn {
  padding: 0.5rem 0.875rem;
  background: #fff;
  color: #047857;
  font-size: 11px;
  font-weight: 800;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

