:root {
  --brand-green: #3c582e;
  --brand-green-dark: #324a27;
  --brand-green-soft: #3b7233;
  --brand-gold: #d9b75d;
  --brand-cream: #fff7df;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f7f4ec;
}

main {
  padding: 34px 0 56px;
}

.site-header {
  background: #355c23;
  color: white;
  border-bottom: 1px solid rgba(255, 247, 223, 0.22);
}

.top-bar {
  background: rgba(26, 47, 32, 0.55);
  padding: 4px 0;
  font-size: 11px;
  line-height: 1.2;
  overflow: hidden;
  color: #f6eed8;
  border-bottom: 1px solid rgba(255, 247, 223, 0.16);
}

.top-bar-marquee {
  white-space: nowrap;
  will-change: transform;
}

.top-bar-marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: topBarMarquee 18s linear infinite;
}

@keyframes topBarMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.main-header {
  padding: 16px 6%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.compact-header .main-header {
  padding: 12px 6%;
}

.compact-header .logo img {
  height: 74px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 96px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: none;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-cream);
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid rgba(217, 183, 93, 0.28);
  color: #666;
}

.search-box input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #3a4333;
  font-size: 0.95rem;
  outline: none;
  padding: 4px 6px;
}

.search-box input::placeholder {
  color: #7c8375;
}

.search-box button {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--brand-green);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.logo {
  text-decoration: none;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-actions button {
  border: none;
  background: var(--brand-cream);
  color: var(--brand-green);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
}

.header-actions .cart {
  background: var(--brand-gold);
  color: #2b2110;
}

.header-actions .cart-icon-button {
  width: auto;
  height: auto;
  min-height: 0;
  padding: 10px 14px;
  border-radius: 999px;
  border: none;
  background: var(--brand-gold);
  color: #2b2110;
  font-size: inherit;
  position: static;
  box-shadow: none;
}

.header-actions .cart-icon-button::before,
.header-actions .cart-icon-button::after {
  content: none;
}

@media (max-width: 900px) {
  .header-actions .cart-icon-button {
    width: 82px;
    height: 82px;
    min-height: 82px;
    padding: 0;
    border-radius: 22px;
    border: 1px solid rgba(205, 167, 84, 0.55);
    background: linear-gradient(180deg, #e2c46f 0%, #d5ad4e 100%);
    color: transparent;
    font-size: 0;
    position: relative;
    box-shadow: 0 10px 20px rgba(43, 33, 16, 0.24);
  }

  .header-actions .cart-icon-button::before {
    content: "";
    width: 34px;
    height: 34px;
    position: absolute;
    inset: 0;
    margin: auto;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='10' rx='1.5'/%3E%3Cpath d='M12 10v10M4 10h16M7 7.5c0-1.3 1-2.3 2.3-2.3 1.7 0 2.7 1.8 2.7 3.2V10H9.5A2.5 2.5 0 0 1 7 7.5Zm10 0c0-1.3-1-2.3-2.3-2.3-1.7 0-2.7 1.8-2.7 3.2V10h2.5A2.5 2.5 0 0 0 17 7.5Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 34px 34px;
    pointer-events: none;
  }

  .header-actions .cart-icon-button::after {
    content: attr(data-count);
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(180deg, #e7c76d 0%, #d4ab4d 100%);
    color: #2b2110;
    font-size: 1.9rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 14px rgba(43, 33, 16, 0.22);
  }
}

.account-menu {
  position: relative;
}

.header-actions .account-button {
  min-width: 0;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  text-align: center;
  line-height: normal;
  background: linear-gradient(180deg, #fffaf0, #f5ecd5);
  border: 1px solid rgba(217, 183, 93, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 8px 18px rgba(34, 48, 25, 0.12);
}

.account-button-name {
  max-width: 96px;
  overflow: hidden;
  color: var(--brand-green-dark);
  font-size: inherit;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-nav {
  padding: 8px 6% 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.category-nav a {
  background: rgba(255, 247, 223, 0.08);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  color: white;
  text-decoration: none;
  border: 1px solid rgba(217, 183, 93, 0.24);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.category-nav a:hover {
  background: rgba(255, 247, 223, 0.14);
  box-sizing: border-box; 
  border-color: rgba(217, 183, 93, 0.4);
  transform: translateY(-1px);
}

.category-nav a.is-featured {
  background: var(--brand-gold);
  color: #2b2110;
  border-color: transparent;
}

.category-nav a.is-featured:hover {
  background: var(--brand-gold);
  transform: translateY(-1px);
}
.mobile-category-toggle {
  display: none;
  margin: 0 6% 14px;
  width: calc(100% - 12%);
  border: 1px solid rgba(217, 183, 93, 0.45);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(69, 91, 56, 0.94), rgba(44, 60, 35, 0.95));
  color: #fdf5df;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 14px;
  text-align: left;
  box-shadow: 0 14px 28px rgba(23, 34, 16, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-header-row,
.mobile-search-row {
  display: none;
}

.mobile-subcategory-panel {
  display: none;
}

.mobile-menu-icon,
.mobile-icon-button,
.mobile-search-submit,
.mobile-gift-button {
  border: 0;
  cursor: pointer;
}

.mobile-category-toggle::before {
  content: "☰";
  display: inline-block;
  margin-right: 10px;
  font-size: 15px;
  line-height: 1;
  color: #f4d98f;
}

.mobile-category-toggle::after {
  content: "▾";
  float: right;
  color: #f4d98f;
  transition: transform 0.2s ease;
}

body.mobile-categories-open .mobile-category-toggle::after {
  transform: rotate(180deg);
}

.mobile-category-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(23, 34, 16, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

@media (max-width: 900px) {
  .site-header {
    background: #355c23;
    color: #f7f2e4;
    border-bottom: 1px solid rgba(255, 247, 223, 0.22);
  }

  .main-header {
    display: none;
  }

  .top-bar {
    background: rgba(26, 47, 32, 0.55);
    color: #f6eed8;
    padding: 3px 0;
    font-size: 10px;
    border-bottom: 1px solid rgba(255, 247, 223, 0.16);
  }

  .mobile-header-row {
    display: grid;
    grid-template-columns: 56px 1fr 50px 50px;
    gap: 10px;
    align-items: center;
    padding: 14px 14px 10px;
    background: transparent;
  }

  .mobile-menu-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(180deg, #467951, #366342);
    box-shadow: 0 10px 20px rgba(18, 32, 22, 0.28);
    display: grid;
    place-content: center;
    gap: 6px;
  }

  .mobile-menu-icon span {
    display: block;
    width: 24px;
    height: 2.5px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  body.mobile-categories-open .mobile-menu-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  body.mobile-categories-open .mobile-menu-icon span:nth-child(2) {
    opacity: 0;
  }

  body.mobile-categories-open .mobile-menu-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mobile-logo img {
    height: 80px;
    width: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.18));
  }

  .mobile-icon-button {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    position: relative;
  }

  .mobile-account-icon {
    background: rgba(255, 247, 223, 0.95);
    border: 1px solid rgba(255, 247, 223, 0.58);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f705f' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.6-3.4 4.2-5 8-5s6.4 1.6 8 5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
  }

  .mobile-cart-icon {
    background: linear-gradient(180deg, #e2c46f 0%, #d5ad4e 100%);
    overflow: visible;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.3'/%3E%3Ccircle cx='18' cy='20' r='1.3'/%3E%3Cpath d='M3 4h2l2.2 10.2a2 2 0 0 0 2 1.6h7.6a2 2 0 0 0 2-1.6L21 8H7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    border: 1px solid rgba(205, 167, 84, 0.55);
    box-shadow: 0 10px 20px rgba(43, 33, 16, 0.24);
  }

  .mobile-cart-icon::after {
    content: attr(data-count);
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand-gold);
    color: #2b2110;
    font-size: 12px;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 10px rgba(43, 33, 16, 0.24);
  }

  .mobile-search-row {
    display: grid;
    grid-template-columns: 1fr 54px;
    gap: 10px;
    padding: 0 14px 14px;
    background: transparent;
  }

  .mobile-search-box {
    height: 54px;
    background: rgba(255, 247, 223, 0.97);
    border-radius: 14px;
    display: grid;
    grid-template-columns: 1fr 54px;
    overflow: hidden;
    border: 1px solid rgba(255, 247, 223, 0.6);
    box-shadow: 0 10px 20px rgba(18, 32, 22, 0.22);
  }

  .mobile-search-box input {
    border: 0;
    background: transparent;
    padding: 0 14px;
    font-size: 15px;
    color: #2f4433;
    outline: none;
  }

  .mobile-search-submit {
    background: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f705f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 21px 21px;
  }

  .mobile-gift-button {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--brand-gold);
    position: relative;
    box-shadow: 0 10px 18px rgba(43, 33, 16, 0.24);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='10' rx='1.5'/%3E%3Cpath d='M12 10v10M4 10h16M7 7.5c0-1.3 1-2.3 2.3-2.3 1.7 0 2.7 1.8 2.7 3.2V10H9.5A2.5 2.5 0 0 1 7 7.5Zm10 0c0-1.3-1-2.3-2.3-2.3-1.7 0-2.7 1.8-2.7 3.2V10h2.5A2.5 2.5 0 0 0 17 7.5Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
  }

  .mobile-gift-button::before,
  .mobile-gift-button::after {
    content: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .mobile-gift-button::before {
    top: 25px;
    width: 22px;
    height: 13px;
    border: 2px solid #fff;
    border-radius: 3px;
  }

  .mobile-gift-button::after {
    top: 25px;
    width: 2px;
    height: 13px;
    background: #fff;
    border: 0;
  }

  .mobile-gift-button {
    box-shadow: inset 0 0 0 1px rgba(43, 33, 16, 0.08);
  }

  .mobile-gift-button span {
    display: none;
  }

  .mobile-gift-button:before {
    box-shadow: none;
  }

  .mobile-category-toggle {
    display: none;
  }

  .category-nav {
    display: none;
  }

  body.mobile-categories-open .category-nav {
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: #355c23;
    padding: 122px 0 24px;
    margin: 0;
    border-top: 1px solid rgba(255, 247, 223, 0.22);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow-y: auto;
    gap: 0;
  }

  .category-nav a {
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    border-radius: 0;
    padding: 20px 20px;
    font-size: 17px;
    line-height: 1.2;
    background: transparent;
    color: #f7f2e4;
    border: 0;
    border-bottom: 1px solid rgba(255, 247, 223, 0.2);
    font-weight: 600;
    transition: background-color 0.2s ease;
  }

  .category-nav a.has-subcategories {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .category-nav a.has-subcategories::after {
    content: "›";
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    background: rgba(217, 183, 93, 0.18);
    color: #f4d98f;
    font-size: 20px;
    line-height: 1;
  }

  .category-nav.is-subcategory-open > a {
    display: none;
  }

  .mobile-subcategory-panel {
    display: none;
  }

  .mobile-subcategory-panel.is-active {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .mobile-subcategory-head {
    min-height: 40px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 10px;
    color: #f7f2e4;
    border-bottom: 1px solid rgba(255, 247, 223, 0.2);
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
  }

  .mobile-subcategory-head button {
    min-height: 30px;
    border: 1px solid rgba(217, 183, 93, 0.32);
    border-radius: 999px;
    background: rgba(255, 247, 223, 0.1);
    color: #f7f2e4;
    padding: 0 16px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
  }

  .mobile-subcategory-panel a {
    display: block;
    min-height: 40px;
  }

  .category-nav a:hover {
    background: rgba(255, 247, 223, 0.14);
    transform: none;
  }

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

  body.mobile-categories-open .mobile-header-row {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #d7dbda;
  }

  body.mobile-categories-open .mobile-search-row,
  body.mobile-categories-open .top-bar {
    display: none;
  }
}
.hero-billboard {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 5vw;
}

.billboard-shell {
  width: min(1353px, 100%);
  aspect-ratio: 3.2 / 1;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(34, 48, 25, 0.14);
  background: #ffffff;
}

.billboard-track {
  display: flex;
  width: 300%;
  transition: transform 0.7s ease;
}

.billboard-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  flex: 0 0 33.3333%;
}

.billboard-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  background: #ffffff;
}

.billboard-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 18px 0 0;
}

.billboard-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(60, 88, 46, 0.18);
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.billboard-dots button.is-active {
  width: 28px;
  background: var(--brand-green-soft);
}

.mobile-ads {
  display: none;
}

.mobile-ads-shell {
  width: min(560px, calc(100% - 24px));
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(34, 48, 25, 0.14);
}

.mobile-ads-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s ease;
}

.mobile-ads-slide {
  width: 100%;
  height: 100%;
}

.mobile-ads-slide a,
.mobile-ads-slide img {
  width: 100%;
  height: 100%;
  display: block;
}

.mobile-ads-slide img {
  object-fit: cover;
  object-position: center;
}

.mobile-ads-dots {
  display: none;
}

.mobile-ads-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(60, 88, 46, 0.2);
  padding: 0;
  cursor: pointer;
}

.mobile-ads-dots button.is-active {
  width: 24px;
  background: var(--brand-green-soft);
}

.category-strip {
  width: min(1520px, calc(100% - 2vw));
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 16px;
}

.category-strip-arrow {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(60, 88, 46, 0.1);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f4efe2);
  color: var(--brand-green);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 12px 28px rgba(34, 48, 25, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-strip-arrow:hover {
  transform: translateY(-1px);
  box-shadow:
    0 16px 30px rgba(34, 48, 25, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.category-strip-track {
  display: flex;
  gap: 24px;
  align-items: start;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 12px 10px 10px;
  scroll-padding-left: 10px;
  scroll-padding-right: 10px;
}

.category-strip-track::-webkit-scrollbar {
  display: none;
}

.category-pill {
  text-align: center;
  flex: 0 0 128px;
  cursor: pointer;
  transition: transform 0.2s ease;
  transform-origin: center center;
}

.category-pill:hover {
  transform: scale(1.04);
}

.category-pill:focus-visible {
  outline: 2px solid rgba(60, 88, 46, 0.42);
  outline-offset: 4px;
  border-radius: 12px;
}

.category-pill-image {
  width: min(100%, 148px);
  aspect-ratio: 1 / 1;
  margin: 0 auto 12px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, #fffaf0, #eadfc7 58%, #ceb48a 100%);
  border: 4px solid #6f4a28;
  box-shadow:
    inset 0 0 0 3px rgba(255, 247, 223, 0.65),
    0 10px 24px rgba(34, 48, 25, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-pill:hover .category-pill-image {
  transform: scale(1.05);
  box-shadow:
    inset 0 0 0 3px rgba(255, 247, 223, 0.75),
    0 14px 28px rgba(34, 48, 25, 0.14);
}

.category-pill-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-pill-image img[src=""] {
  display: none;
}

.category-pill h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  color: #1f241d;
}

.deal-section {
  position: relative;
  width: min(1280px, calc(100% - 10vw));
  margin: 44px auto 0;
  padding: 44px 38px 40px;
  border-radius: 32px;
  background: #fffdf8;
  box-shadow: 0 24px 60px rgba(34, 48, 25, 0.08);
}

.deal-header {
  display: flex;
  justify-content: flex-start;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.deal-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand-gold);
  color: #2b2110;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(217, 183, 93, 0.35);
  position: absolute !important;
  top: 44px !important;
  right: 38px !important;
  overflow: hidden;
  z-index: 5;
}

/* Hover */
.deal-view-all:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 18px rgba(217, 183, 93, 0.5);
}

/* Click */
.deal-view-all:active {
  transform: scale(0.95);
}

/* Parlama efekti */
.deal-view-all::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-25deg);
  transition: 0.5s;
}

.deal-view-all:hover::after {
  left: 130%;
}


@media (max-width: 700px) {
  .deal-view-all {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin-bottom: 8px;
  }
}

.deal-kicker {
  display: inline-block;
  color: var(--brand-gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.deal-header h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: #1f241d;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.deal-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(60, 88, 46, 0.08);
  box-shadow: 0 18px 40px rgba(34, 48, 25, 0.08);
  transform: none;
  display: flex;
  flex-direction: column;
}

.deal-badge,
.product-discount-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 9px 14px;
  border-radius: 14px;
  background: var(--brand-green);
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
}

.product-large-image .deal-badge {
  z-index: 2;
}

.deal-image {
  aspect-ratio: 1 / 1;
  background: #f6f1e5;
}

.deal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: none;
  transition: none;
}

.deal-content {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.deal-content h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  color: #24301f;
}

.deal-content p {
  margin: 0 0 16px;
  font-size: 0.97rem;
  line-height: 1.5;
  color: #5f665a;
  min-height: 44px;
}

.deal-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
  margin-top: auto;
}

.old-price {
  color: #8f958b;
  text-decoration: line-through;
  font-size: 1rem;
}

.deal-price strong {
  color: var(--brand-green);
  font-size: 1.9rem;
}

.deal-card button {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  background: var(--brand-green);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(217, 183, 93, 0.35);
}

.deal-card button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(217, 183, 93, 0.5);
}

.deal-card button:active {
  transform: scale(0.98);
}

.deal-card button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-25deg);
  transition: 0.5s;
}

.deal-card button:hover::after {
  left: 130%;
}

.bestsellers-section {
  width: min(1280px, calc(100% - 10vw));
  margin: 36px auto 0;
  padding: 10px 0 0;
}

.bestsellers-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.bestsellers-header h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: #1f241d;
}

.bestsellers-header p {
  margin: 0;
  color: #687064;
  font-size: 1rem;
}

.bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.bestseller-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #fffdf8 0%, #f8f3e8 100%);
  border: 1px solid rgba(60, 88, 46, 0.08);
  box-shadow: 0 18px 40px rgba(34, 48, 25, 0.07);
  transform: none;
}

.bestseller-image {
  aspect-ratio: 1.08 / 1;
  background: #f1eadb;
}

.bestseller-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: none;
  transition: none;
}

.list-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px 14px;
  border-radius: 14px;
  background: #f6f1e5;
  color: #556050;
  font-weight: 700;
}

.bestseller-content {
  padding: 18px 18px 20px;
}

.bestseller-content h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  color: #24301f;
}

.bestseller-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(217, 183, 93, 0.18);
  color: #7e6423;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.bestseller-content strong {
  display: block;
  color: var(--brand-green);
  font-size: 1.75rem;
}

.testimonials-section {
  width: min(1280px, calc(100% - 10vw));
  margin: 44px auto 0;
  padding: 18px 0 0;
}

.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}

.testimonials-header h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: #1f241d;
}

.testimonials-summary {
  text-align: right;
}

.testimonials-summary strong {
  display: block;
  color: #1f241d;
  font-size: 2rem;
}

.testimonials-summary span {
  color: #687064;
  font-size: 1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  border-radius: 26px;
  background: #fffdf8;
  border: 1px solid rgba(60, 88, 46, 0.1);
  box-shadow: 0 18px 40px rgba(34, 48, 25, 0.07);
  padding: 24px 24px 22px;
}

.testimonial-label {
  padding: 14px 18px;
  border: 1px solid rgba(60, 88, 46, 0.22);
  border-radius: 16px;
  text-align: center;
  font-weight: 700;
  color: #2a3624;
  margin-bottom: 20px;
}

.testimonial-stars {
  color: #f2b21b;
  letter-spacing: 0.12em;
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.testimonial-card h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  color: #2a3624;
}

.testimonial-card p {
  margin: 0 0 16px;
  color: #5f665a;
  line-height: 1.65;
  font-size: 1rem;
}

.testimonial-name {
  display: block;
  font-weight: 700;
  color: var(--brand-green);
}

.login-page {
  background:
    radial-gradient(circle at top left, rgba(217, 183, 93, 0.12), transparent 26%),
    linear-gradient(180deg, #f7f4ec 0%, #f4efe3 100%);
}

.login-main {
  width: min(1280px, calc(100% - 10vw));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.login-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}

.login-intro {
  padding: 28px 10px 0 0;
}

.login-intro h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.95;
  color: #1f241d;
}

.login-intro p {
  margin: 0 0 26px;
  max-width: 580px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #5f665a;
}

.login-benefits {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.login-benefit {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(60, 88, 46, 0.08);
  box-shadow: 0 14px 34px rgba(34, 48, 25, 0.06);
}

.login-benefit strong {
  display: block;
  margin-bottom: 6px;
  color: #24301f;
  font-size: 1.05rem;
}

.login-benefit span {
  color: #65705f;
  line-height: 1.6;
}

.login-card {
  padding: 30px;
  border-radius: 30px;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(60, 88, 46, 0.1);
  box-shadow: 0 24px 50px rgba(34, 48, 25, 0.08);
}

.login-card-header h2 {
  margin: 0 0 8px;
  color: #1f241d;
  font-size: 2rem;
}

.login-card-header p {
  margin: 0 0 24px;
  color: #667161;
  line-height: 1.6;
}

.login-form {
  display: grid;
  gap: 16px;
}

.login-field {
  display: grid;
  gap: 8px;
}

.login-field span {
  color: #24301f;
  font-weight: 700;
  font-size: 0.96rem;
}

.login-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(60, 88, 46, 0.14);
  border-radius: 16px;
  background: #fff;
  padding: 15px 16px;
  font-size: 1rem;
  color: #1f241d;
  outline: none;
}

.login-field input:focus {
  border-color: rgba(60, 88, 46, 0.4);
  box-shadow: 0 0 0 4px rgba(60, 88, 46, 0.08);
}

.login-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
}

.login-row a {
  color: var(--brand-green);
  text-decoration: none;
  font-weight: 700;
}

.login-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #5f665a;
}

.form-message {
  min-height: 22px;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.form-message.is-success {
  color: #2f6b28;
}

.form-message.is-error {
  color: #b2362d;
}

.login-submit {
  border: 0;
  border-radius: 18px;
  padding: 15px 18px;
  background: var(--brand-green);
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.login-divider {
  position: relative;
  margin: 24px 0 18px;
  text-align: center;
}

.login-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(60, 88, 46, 0.12);
}

.login-divider span {
  position: relative;
  display: inline-block;
  padding: 0 14px;
  background: rgba(255, 253, 248, 0.96);
  color: #72806c;
}

.login-actions {
  display: grid;
  gap: 12px;
}

.login-secondary {
  border: 1px solid rgba(60, 88, 46, 0.16);
  border-radius: 18px;
  padding: 14px 18px;
  background: white;
  color: #24301f;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.login-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.order-invoice-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}

.admin-order-invoice {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(60, 88, 46, 0.12);
  border-radius: 12px;
  background: #faf8f2;
}

.admin-order-invoice form {
  display: flex;
  flex: 1 1 320px;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
}

.admin-order-invoice label {
  display: grid;
  flex: 1 1 240px;
  gap: 6px;
  color: #34402d;
  font-size: 0.85rem;
  font-weight: 700;
}

.admin-order-invoice input[type="file"] {
  max-width: 100%;
  font: inherit;
}

.admin-order-invoice .login-secondary {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.login-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(60, 88, 46, 0.16);
  border-radius: 18px;
  padding: 14px 18px;
  background: white;
  color: #24301f;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

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

.account-page {
  background:
    radial-gradient(circle at top left, rgba(217, 183, 93, 0.11), transparent 28%),
    linear-gradient(180deg, #f7f4ec 0%, #f1eadc 100%);
}

.account-main {
  width: min(1280px, calc(100% - 10vw));
  margin: 0 auto;
  padding: 42px 0 64px;
}

.account-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}

.account-sidebar,
.account-content {
  border: 1px solid rgba(60, 88, 46, 0.1);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 20px 44px rgba(34, 48, 25, 0.08);
}

.account-sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
  padding: 22px;
}

.account-profile-card {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(60, 88, 46, 0.1);
}

.account-page-avatar {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-green);
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
}

.account-profile-card strong {
  color: #1f241d;
  font-size: 1.1rem;
}

.account-profile-card span:last-child {
  color: #667161;
  overflow-wrap: anywhere;
}

.account-tabs {
  display: grid;
  gap: 8px;
}

.account-tabs button,
.account-logout {
  border: 1px solid rgba(60, 88, 46, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
  color: #24301f;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.account-tabs button.is-active {
  background: var(--brand-green);
  color: white;
}

.account-logout {
  text-align: center;
  color: #b2362d;
}

.account-content {
  min-height: 620px;
  padding: 30px;
}

.account-section {
  display: none;
}

.account-section.is-active {
  display: grid;
  gap: 22px;
}

.account-section-header h1,
.account-section-header h2 {
  margin: 8px 0 0;
  color: #1f241d;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.account-summary-card,
.empty-orders,
.danger-box {
  border: 1px solid rgba(60, 88, 46, 0.1);
  border-radius: 18px;
  background: #fff;
  padding: 18px;
}

.account-summary-card {
  display: grid;
  gap: 8px;
}

.account-summary-card span,
.account-info-list span {
  color: #667161;
  font-size: 0.92rem;
  font-weight: 700;
}

.account-summary-card strong,
.account-info-list strong {
  color: #24301f;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.account-info-list {
  display: grid;
  gap: 12px;
}

.legal-document {
  margin: 0;
  color: #394434;
  font-family: inherit;
  font-size: 0.98rem;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.account-info-list > div {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(60, 88, 46, 0.1);
  border-radius: 16px;
  background: #fff;
}

.account-form {
  display: grid;
  gap: 16px;
  max-width: 680px;
}

.empty-orders {
  display: grid;
  gap: 12px;
}

.empty-orders strong {
  color: #24301f;
  font-size: 1.2rem;
}

.empty-orders p,
.danger-box p {
  margin: 0;
  color: #667161;
  line-height: 1.65;
}

.empty-orders a,
.account-actions-row a {
  width: fit-content;
}

.account-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.order-review-wrap {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(60, 88, 46, 0.12);
  border-radius: 12px;
  background: #fcfaf4;
}

.order-review-toggle {
  width: fit-content;
}

.order-review-form {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.order-review-label {
  color: #2b3b23;
  font-size: 0.85rem;
  font-weight: 700;
}

.order-review-stars {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
}

.order-review-stars button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  border: 1px solid rgba(60, 88, 46, 0.18);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  background: #fff;
  color: #c8c2b4;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.order-review-stars button.is-active {
  color: #d39a1a;
  border-color: rgba(211, 154, 26, 0.45);
  background: #fff8e8;
}

.order-review-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(60, 88, 46, 0.16);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
  min-height: 86px;
}

.order-review-form textarea:focus {
  outline: 2px solid rgba(60, 88, 46, 0.2);
  outline-offset: 2px;
  border-color: rgba(60, 88, 46, 0.34);
}

.order-review-form .login-submit {
  width: fit-content;
  padding: 10px 14px;
}

.danger-box {
  display: grid;
  gap: 16px;
  border-color: rgba(178, 54, 45, 0.2);
  background: #fffafa;
}

.danger-box > strong {
  color: #b2362d;
  font-size: 1.2rem;
}

.danger-button {
  width: fit-content;
  border: 0;
  border-radius: 16px;
  padding: 13px 18px;
  background: #b2362d;
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.admin-page {
  background: linear-gradient(180deg, #f7f4ec 0%, #f1eadc 100%);
}

.admin-main {
  width: min(1320px, calc(100% - 8vw));
  margin: 0 auto;
  padding: 42px 0 64px;
}

.admin-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 22px;
}

.admin-hero h1 {
  margin: 8px 0 10px;
  color: #1f241d;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.admin-hero p {
  margin: 0;
  color: #667161;
  line-height: 1.65;
}

.admin-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-shortcut {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(60, 88, 46, 0.1);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.96);
  color: #24301f;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(34, 48, 25, 0.07);
}

.admin-shortcut.is-active {
  background: var(--brand-green);
  color: white;
}

.admin-shortcut strong {
  font-size: 1.08rem;
}

.admin-shortcut span {
  color: inherit;
  opacity: 0.78;
  line-height: 1.5;
}

.admin-panel {
  display: none;
  border: 1px solid rgba(60, 88, 46, 0.1);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.96);
  padding: 24px;
  box-shadow: 0 20px 44px rgba(34, 48, 25, 0.08);
}

.admin-panel.is-active {
  display: grid;
  gap: 16px;
}

.admin-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.admin-panel-header h2 {
  margin: 6px 0 0;
  color: #1f241d;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.admin-panel-header p {
  margin: 8px 0 0;
  color: #667161;
  line-height: 1.6;
}

.admin-statistics-updated {
  margin: -8px 0 0;
  color: #72806c;
  font-size: 0.88rem;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-stat-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 148px;
  padding: 20px;
  border: 1px solid rgba(60, 88, 46, 0.1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(34, 48, 25, 0.05);
}

.admin-stat-card > span,
.admin-revenue-card > span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #667161;
  font-size: 0.92rem;
  font-weight: 800;
}

.admin-stat-card small {
  color: #7b8576;
  font-size: 0.76rem;
  font-weight: 700;
}

.admin-stat-card > strong {
  color: #24301f;
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.admin-stat-card p,
.admin-revenue-card p {
  margin: 0;
  color: #778171;
  font-size: 0.88rem;
  line-height: 1.5;
}

.admin-stat-card.is-active-orders {
  border-color: rgba(202, 143, 38, 0.24);
  background: linear-gradient(145deg, #fffdf6, #fff8e7);
}

.admin-stat-card.is-delivered-orders {
  border-color: rgba(47, 107, 40, 0.2);
  background: linear-gradient(145deg, #fbfff9, #f0f8eb);
}

.admin-stat-card.is-cancelled-orders {
  border-color: rgba(178, 54, 45, 0.16);
  background: linear-gradient(145deg, #fffafa, #fff3f0);
}

.admin-revenue-section {
  display: grid;
  gap: 14px;
  margin-top: 8px;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(60, 88, 46, 0.08), rgba(217, 183, 93, 0.12));
}

.admin-revenue-section h3 {
  margin: 6px 0 0;
  color: #24301f;
  font-size: 1.35rem;
}

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

.admin-revenue-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(60, 88, 46, 0.12);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.94);
}

.admin-revenue-card > strong {
  color: #355c23;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.admin-revenue-card p span {
  color: #24301f;
  font-weight: 800;
}

.admin-form {
  display: grid;
  gap: 16px;
  max-width: 680px;
}

.admin-campaign-confirm {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #24301f;
  font-weight: 700;
  line-height: 1.5;
}

.admin-campaign-confirm input {
  width: auto;
  margin-top: 4px;
  accent-color: var(--brand-green);
}

.product-form {
  max-width: none;
  padding: 18px;
  border: 1px solid rgba(60, 88, 46, 0.1);
  border-radius: 18px;
  background: #fff;
}

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

.admin-product-thumb {
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  display: block;
  scroll-snap-align: start;
  border-radius: 10px;
  object-fit: cover;
  background: #f5f0e3;
}

.admin-product-gallery {
  width: 74px;
  height: 74px;
  max-width: 74px;
  display: flex;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 12px;
  background: #f5f0e3;
  scrollbar-width: none;
}

.admin-product-gallery::-webkit-scrollbar {
  display: none;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(60, 88, 46, 0.14);
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 14px 34px rgba(34, 48, 25, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(60, 88, 46, 0.09);
  text-align: left;
  color: #24301f;
  white-space: nowrap;
}

.admin-table tbody tr {
  transition: background-color 0.18s ease;
}

.admin-table tbody tr:nth-child(even) {
  background: rgba(245, 240, 227, 0.42);
}

.admin-table tbody tr:hover {
  background: rgba(217, 183, 93, 0.14);
}

.admin-table td:nth-child(2) {
  width: 92px;
  max-width: 92px;
  padding-top: 8px;
  padding-bottom: 8px;
  overflow: hidden;
}

.admin-table td:nth-child(2) img {
  width: 74px !important;
  height: 74px !important;
  max-width: 74px !important;
  max-height: 74px !important;
  object-fit: cover !important;
}

.admin-table td:nth-child(2) .admin-product-gallery {
  width: 74px !important;
  height: 74px !important;
  max-width: 74px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: linear-gradient(180deg, #f9f4e8 0%, #f2ead8 100%);
  color: var(--brand-green-dark);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(60, 88, 46, 0.16);
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-danger-button {
  border: 0;
  border-radius: 12px;
  padding: 9px 12px;
  background: #b2362d;
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.admin-action-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-action-row .login-secondary,
.admin-action-row .admin-danger-button {
  white-space: nowrap;
}

.admin-muted {
  color: #667161;
  font-weight: 700;
}

.admin-empty-state {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(60, 88, 46, 0.1);
  border-radius: 18px;
  background: white;
  padding: 22px;
}

.admin-empty-state strong {
  color: #24301f;
  font-size: 1.15rem;
}

.admin-empty-state p {
  margin: 0;
  color: #667161;
  line-height: 1.65;
}

.admin-orders-list {
  display: grid;
  gap: 12px;
}

.admin-order-card {
  border: 1px solid rgba(60, 88, 46, 0.14);
  border-radius: 16px;
  background: #fff;
  padding: 13px 15px;
  display: grid;
  gap: 8px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-order-card.is-open {
  padding: 14px;
  gap: 8px;
  border-color: rgba(60, 88, 46, 0.24);
  box-shadow: 0 10px 22px rgba(34, 48, 25, 0.1);
}

.admin-order-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 7px;
}

.admin-order-toggle .admin-order-top strong {
  font-size: 1rem;
}

.admin-order-toggle .admin-order-top span {
  font-size: 0.92rem;
}

.admin-order-toggle p {
  font-size: 0.94rem;
  color: #34402d;
}

.admin-order-toggle p {
  margin: 0;
}

.admin-order-details {
  display: none;
}

.admin-order-card.is-open .admin-order-details {
  display: grid;
  gap: 8px;
}

.admin-order-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.admin-order-top strong {
  color: #1f241d;
}

.admin-order-top span {
  color: #667161;
  font-weight: 700;
}

.admin-order-card p {
  margin: 0;
  color: #3a4333;
}

.admin-order-items {
  display: grid;
  gap: 6px;
}

.admin-order-items div {
  border: 1px solid rgba(60, 88, 46, 0.1);
  border-radius: 10px;
  padding: 8px 10px;
  background: #faf8f2;
}

.admin-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-status-button {
  border: 0;
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  opacity: 0.72;
}

.admin-status-button.is-active {
  opacity: 1;
  box-shadow: 0 4px 10px rgba(34, 48, 25, 0.2);
}

.admin-status-button.status-0 {
  background: #6b7280;
}

.admin-status-button.status-1 {
  background: #d97706;
}

.admin-status-button.status-2 {
  background: #2563eb;
}

.admin-status-button.status-3 {
  background: #16a34a;
}

.admin-status-button.status-4 {
  background: #dc2626;
}

.products-page {
  background: #f2ecdf;
}

.products-main {
  width: min(1680px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 40px;
  min-height: calc(100vh - 220px);
  background: transparent;
}

.products-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.products-filter-panel {
  position: sticky;
  top: 18px;
  padding: 16px;
  border: 1px solid rgba(60, 88, 46, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, #fffdf8 0%, #f7f1e6 100%);
  box-shadow: 0 18px 38px rgba(34, 48, 25, 0.08);
}

.products-filter-panel h2 {
  margin: 0 0 14px;
  color: #2c3b24;
  font-size: 1rem;
  font-weight: 800;
}

.products-results {
  min-width: 0;
}

.products-results .form-message:empty {
  display: none;
}

.products-results .form-message:not(:empty) {
  margin-bottom: 10px;
}

.products-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 4px;
}

.products-filter-toggle {
  display: none;
}

.products-filter-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.products-filter-item {
  display: grid;
  gap: 4px;
}

.products-filter-item span {
  color: #2c3b24;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.products-filter-item input {
  border: 1px solid rgba(60, 88, 46, 0.2);
  border-radius: 8px;
  padding: 0 9px;
  height: 30px;
  background: #fff;
  color: #1f241d;
  font-size: 0.84rem;
  font-weight: 600;
}

.products-sort-inline select {
  appearance: none;
  border: 1px solid rgba(60, 88, 46, 0.2);
  border-radius: 8px;
  padding: 0 30px 0 9px;
  height: 30px;
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 100%),
    linear-gradient(45deg, transparent 50%, #2f4724 50%),
    linear-gradient(135deg, #2f4724 50%, transparent 50%);
  background-repeat: no-repeat;
  background-position:
    0 0,
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size:
    100% 100%,
    6px 6px,
    6px 6px;
  color: #1f241d;
  font-size: 0.84rem;
  font-weight: 600;
}

.products-sort-inline select:focus {
  outline: 2px solid rgba(60, 88, 46, 0.22);
  outline-offset: 2px;
  border-color: rgba(60, 88, 46, 0.42);
}

.products-filter-item input:focus {
  outline: 2px solid rgba(60, 88, 46, 0.22);
  outline-offset: 2px;
  border-color: rgba(60, 88, 46, 0.42);
}

.products-filter-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(60, 88, 46, 0.12);
}

.products-filter-checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #3c582e;
}

.products-filter-checkbox span {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #2c3b24;
}

.products-hero h1 {
  margin: 2px 0 4px;
  color: #1f241d;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.products-hero p {
  margin: 0;
  color: #667161;
  line-height: 1.6;
  max-width: 760px;
}


.products-scroll-section {
  margin-top: 0;
}

.products-scroll-hint {
  color: #667161;
  font-weight: 700;
  margin-bottom: 3px;
}

.products-scroll-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 360px;
  grid-auto-flow: dense;
  gap: 18px;
  padding: 1px 0 4px;
}

.product-large-card {
  height: 100%;
  min-height: 0;
  border: 1px solid rgba(60, 88, 46, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, #fffdf8 0%, #f7f1e6 100%);
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(34, 48, 25, 0.08);
  display: grid;
  grid-template-rows: 210px 1fr;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  grid-template-rows: auto 1fr;
}

.product-large-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(34, 48, 25, 0.13);
}

.product-large-card.is-open {
  grid-column: span 2;
  grid-row: span 2;
  transform: none;
  border-color: rgba(217, 183, 93, 0.75);
  box-shadow: 0 28px 64px rgba(34, 48, 25, 0.18);
  grid-template-rows: 430px 1fr;
}

.product-large-image {
  width: 100%;
  height: 100%;
  background: #f2eadb;
  overflow: hidden;
  position: relative;
}

.product-large-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.product-large-card:hover .product-large-image img {
  transform: scale(1.04);
}

.product-large-card.is-open .product-large-image img {
  transform: none;
}

.product-large-content {
  padding: 16px;
  display: grid;
  gap: 12px;
  min-height: 0;
  align-content: start;
}

.product-large-content h3 {
  margin: 0;
  color: #1f241d;
  font-size: 1.15rem;
  line-height: 1.25;
}

.product-large-card.is-open .product-large-content h3 {
  font-size: 1.55rem;
}

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



.product-large-footer strong {
  color: var(--brand-green);
  font-size: 1.45rem;
}

.product-price-stack {
  display: grid;
  gap: 4px;
}

.product-old-price {
  color: #8f958b;
  text-decoration: line-through;
  font-size: 0.92rem;
  font-weight: 700;
}

.product-large-footer button {
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: var(--brand-green);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(217, 183, 93, 0.35);
}

.product-large-footer button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(217, 183, 93, 0.5);
}

.product-large-footer button:active {
  transform: scale(0.98);
}

.product-large-footer button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-25deg);
  transition: 0.5s;
}

.product-large-footer button:hover::after {
  left: 130%;
}

/* Products page fine-tuning based on latest UI request */
.product-large-card.is-open {
  grid-template-rows: 50% 1fr !important;
}

.product-large-card.is-open .product-large-image {
  height: 100%;
}

.product-large-card.is-open .product-large-footer button {
  padding: 16px 22px;
  font-size: 1.08rem;
}

.product-image-nav {
  display: none !important;
}

.product-image-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  color: #ffffff;
  backdrop-filter: blur(1px);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.product-image-arrow.is-prev {
  left: 8px;
}

.product-image-arrow.is-next {
  right: 8px;
}

.product-large-details {
  display: none;
  gap: 12px;
}

.product-large-card.is-open .product-large-details {
  display: grid;
}

.product-large-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0;
  scrollbar-width: none;
}

.product-large-thumbs::-webkit-scrollbar {
  display: none;
}

.product-large-thumbs img {
  width: 82px;
  height: 82px;
  flex: 0 0 auto;
  border-radius: 14px;
  object-fit: cover;
  background: #f5f0e3;
}

.product-large-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-large-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(60, 88, 46, 0.08);
  color: #3c582e;
  font-size: 0.82rem;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .products-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 16px;
  }

  .products-filter-wrap {
    grid-template-columns: 1fr;
  }

  .products-scroll-list {
    grid-template-columns: repeat(auto-fill, minmax(280px, 330px));
  }
}

@media (max-width: 900px) {
  .products-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .products-filter-panel {
    position: static;
    padding: 14px;
  }

  .products-hero {
    flex-direction: column;
    gap: 10px;
  }

  .products-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(60, 88, 46, 0.2);
    border-radius: 999px;
    background: #fffdf8;
    color: #2c3b24;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
  }

  .products-filter-wrap {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .products-filter-checkbox {
    min-height: 44px;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .products-scroll-list {
    grid-template-columns: repeat(auto-fill, minmax(260px, 300px));
    grid-auto-rows: 340px;
  }

  .product-large-card.is-open {
    grid-column: span 2;
    grid-row: span 2;
    grid-template-rows: 420px 1fr;
  }
}

@media (max-width: 700px) {
  .products-filter-wrap {
    grid-template-columns: 1fr;
  }

  .products-scroll-list {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .product-large-card,
  .product-large-card.is-open {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 360px;
    grid-template-rows: 200px 1fr;
  }
}

.product-large-card.is-loading {
  min-height: 280px;
  display: grid;
  place-items: center;
  color: #667161;
  font-weight: 700;
  cursor: default;
}
.product-large-image img {
  transition: transform 0.4s ease;
}

.product-large-card:hover .product-large-image img {
  transform: scale(1.05);
}

.product-large-card.is-open .product-large-image img {
  transform: scale(1.08);
}

.product-large-image {
  position: relative;
  width: 100%;
  height: 250px;
  background: #f5f0e3;
  overflow: hidden;
}

.product-large-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-image-nav {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(22, 31, 18, 0.55);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
}

.product-image-arrow {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1f241d;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.product-large-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 12px 0;
  scrollbar-width: none;
}

.product-large-thumbs::-webkit-scrollbar {
  display: none;
}

.product-large-thumbs img {
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  border-radius: 12px;
  object-fit: cover;
  background: #f5f0e3;
  border: 2px solid transparent;
}

.product-large-thumbs img.is-active {
  border-color: #3c582e;
}

.product-large-content {
  padding: 14px 14px 16px;
  display: grid;
  gap: 12px;
}

.product-large-content h3 {
  margin: 0;
  color: #1f241d;
  font-size: 1.18rem;
}

.product-large-content p {
  margin: 0;
  color: #667161;
  line-height: 1.55;
}

.product-large-details {
  display: none;
  gap: 10px;
}

.product-large-card.is-open .product-large-details {
  display: grid;
}

.product-large-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-large-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f5f0e3;
  color: #3c582e;
  font-size: 0.82rem;
  font-weight: 800;
}

.product-large-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-large-footer strong {
  color: var(--brand-green);
  font-size: 1.45rem;
}

.product-large-footer button {
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--brand-green);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.product-large-card .product-large-footer button {
  position: relative;
  z-index: 1;
}

.staff-page {
  background: linear-gradient(180deg, #f7f4ec 0%, #eef1e8 100%);
}

.staff-task-list {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(60, 88, 46, 0.1);
  border-radius: 18px;
  background: white;
  padding: 20px;
}

.staff-task-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #24301f;
  font-weight: 700;
}

.cart-page {
  background: linear-gradient(180deg, #f7f4ec 0%, #f3eee3 100%);
}

.cart-main {
  width: min(1280px, calc(100% - 10vw));
  margin: 0 auto;
  padding: 38px 0 64px;
}

.cart-header-block {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.cart-header-block h1 {
  margin: 0 0 10px;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: #1f241d;
}

.cart-header-block p {
  margin: 0;
  max-width: 620px;
  color: #5f665a;
  line-height: 1.7;
}

.cart-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(60, 88, 46, 0.12);
  color: var(--brand-green);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.cart-items {
  display: grid;
  gap: 18px;
}

.cart-item-card,
.cart-summary {
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(60, 88, 46, 0.08);
  box-shadow: 0 20px 44px rgba(34, 48, 25, 0.07);
}

.cart-item-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 18px;
}

.cart-item-image {
  border-radius: 22px;
  overflow: hidden;
  background: #f0eadb;
  aspect-ratio: 1 / 1;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item-content {
  display: grid;
  gap: 20px;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.cart-item-top h2 {
  margin: 0 0 8px;
  color: #24301f;
  font-size: 1.4rem;
}

.cart-item-top p {
  margin: 0;
  color: #667161;
}

.cart-item-top strong {
  color: var(--brand-green);
  font-size: 1.5rem;
  white-space: nowrap;
}

.cart-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #f5f0e3;
}

.cart-qty button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: white;
  color: #24301f;
  font-size: 1.25rem;
  cursor: pointer;
}

.cart-qty span {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  color: #24301f;
}

.cart-remove {
  border: 0;
  background: transparent;
  color: #8b5c3f;
  font-weight: 700;
  cursor: pointer;
}

.cart-summary {
  padding: 24px;
  position: sticky;
  top: 18px;
}

.cart-summary h2 {
  margin: 0 0 20px;
  color: #1f241d;
  font-size: 1.7rem;
}

.cart-summary-row,
.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.cart-summary-row {
  padding: 12px 0;
  color: #5f665a;
  border-bottom: 1px solid rgba(60, 88, 46, 0.08);
}

.summary-discount {
  color: #9d6a1a;
}

.cart-coupon {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.cart-coupon span {
  color: #24301f;
  font-weight: 700;
}

.cart-coupon-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.cart-coupon-row input {
  border: 1px solid rgba(60, 88, 46, 0.14);
  border-radius: 14px;
  padding: 14px 15px;
  font-size: 1rem;
  outline: none;
}

.cart-coupon-row button,
.cart-checkout {
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
}

.cart-coupon-row button {
  background: #f5f0e3;
  color: #24301f;
}

.cart-address-box {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(217, 183, 93, 0.45);
  border-radius: 16px;
  background: #fffaf0;
}

.cart-address-box[hidden] {
  display: none;
}

.cart-address-box strong {
  color: #24301f;
}

.cart-address-box p {
  margin: 0;
  color: #667161;
  line-height: 1.5;
}

.cart-summary-total {
  margin: 22px 0 20px;
  color: #1f241d;
}

.cart-summary-total strong {
  font-size: 2rem;
  color: var(--brand-green);
}

.cart-checkout {
  width: 100%;
  background: var(--brand-green);
  color: white;
  font-size: 1.05rem;
}

.cart-notes {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #667161;
  line-height: 1.8;
}

.site-footer {
  margin-top: 56px;
  background: linear-gradient(180deg, var(--brand-green-dark), #1f3419);
  color: rgba(255, 247, 223, 0.92);
}

.footer-inner {
  width: min(1280px, calc(100% - 10vw));
  margin: 0 auto;
  padding: 44px 0 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-brand img {
  height: 74px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.footer-brand p,
.footer-column p {
  margin: 0;
  line-height: 1.7;
  color: rgba(255, 247, 223, 0.76);
}

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

.footer-column h3 {
  margin: 0 0 8px;
  color: white;
  font-size: 1.1rem;
}

.footer-column a {
  color: rgba(255, 247, 223, 0.82);
  text-decoration: none;
}


.footer-bottom {
  width: min(1280px, calc(100% - 10vw));
  margin: 0 auto;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 247, 223, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.95rem;
  color: rgba(255, 247, 223, 0.68);
}


@media (max-width: 900px) {
  .hero-billboard {
    display: none;
  }

  .mobile-ads {
    display: block;
    padding: 0 0 8px;
  }

  .mobile-ads-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
  }

  .main-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .logo {
    justify-content: center;
  }

  .logo img {
    height: 84px;
  }

  .top-bar {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .account-menu {
    width: auto;
    max-width: none;
  }

  .header-actions .account-button {
    width: auto;
    text-align: center;
  }

  .account-button-name {
    max-width: 110px;
  }

  .category-nav {
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 16px;
    scrollbar-width: none;
  }

  .category-nav::-webkit-scrollbar {
    display: none;
  }

  .category-nav a {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  main {
    padding-top: 22px;
  }

  .hero-billboard {
    padding: 0 16px;
  }

  .billboard-shell {
    border-radius: 24px;
  }

  .billboard-slide {
    height: 100%;
  }

  .billboard-dots {
    padding-top: 14px;
  }

  .category-strip {
    width: calc(100% - 24px);
    grid-template-columns: 40px 1fr 40px;
    gap: 8px;
    margin-top: 26px;
  }

  .category-strip-track {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .category-strip-track::-webkit-scrollbar {
    display: none;
  }

  .category-pill {
    min-width: 128px;
  }

  .category-pill-image {
    width: 112px;
    margin-bottom: 9px;
  }

  .category-pill h3 {
    font-size: 0.98rem;
    line-height: 1.2;
  }

  .category-strip-arrow {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .category-strip-arrow {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }

  .deal-section {
    width: calc(100% - 32px);
    margin-top: 32px;
    padding: 28px 18px 24px;
    border-radius: 24px;
  }

  .deal-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 22px;
  }

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

  .deal-content p {
    min-height: auto;
  }

  .bestsellers-section {
    width: calc(100% - 32px);
    margin-top: 28px;
  }

  .bestsellers-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

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

  .bestseller-card {
    border-radius: 16px;
  }

  .bestseller-image {
    aspect-ratio: 1 / 0.88;
  }

  .bestseller-content {
    padding: 12px 12px 14px;
  }

  .bestseller-content h3 {
    margin: 0 0 6px;
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .bestseller-tag {
    padding: 6px 10px;
    margin-bottom: 8px;
    font-size: 0.76rem;
  }

  .bestseller-content strong {
    font-size: 1.05rem;
  }

  .login-main {
    width: calc(100% - 32px);
    padding: 26px 0 44px;
  }

  .login-hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .login-intro {
    padding-top: 8px;
  }

  .login-page .login-intro {
    display: none;
  }

  .login-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .login-row {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .account-main {
    width: min(100% - 32px, 720px);
  }

  .account-shell {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
  }

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

  .account-tabs button {
    text-align: center;
  }

  .account-content {
    padding: 22px;
  }

  .account-summary-grid {
    grid-template-columns: 1fr;
  }

  .account-actions-row {
    display: grid;
  }

  .empty-orders a,
  .account-actions-row a,
  .danger-button {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  .admin-main {
    width: calc(100% - 32px);
    padding: 30px 0 48px;
  }

  .admin-hero,
  .admin-panel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-shortcuts {
    grid-template-columns: 1fr;
  }

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

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

  .admin-panel {
    padding: 18px;
  }

  .admin-revenue-section {
    padding: 16px;
  }

  .products-main {
    width: calc(100% - 32px);
    padding: 10px 0  10px;
  }

  .products-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .products-sort-wrap {
    width: auto;
    min-width: 170px;
    max-width: 220px;
  }

  .products-scroll-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(300px, auto);
  }

  .product-large-image {
    height: 230px;
  }

  .cart-main {
    width: calc(100% - 32px);
    padding: 26px 0 44px;
  }

  .cart-header-block {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-item-card {
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 12px;
    border-radius: 20px;
  }

  .cart-item-image {
    width: 76px;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
  }

  .cart-item-content {
    min-width: 0;
    gap: 12px;
  }

  .cart-summary-row,
  .cart-summary-total {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-item-top {
    align-items: flex-start;
    gap: 8px;
  }

  .cart-item-top h2 {
    margin-bottom: 4px;
    font-size: 1rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .cart-item-top p {
    font-size: 0.82rem;
  }

  .cart-item-top strong {
    font-size: 0.98rem;
  }

  .cart-item-bottom {
    align-items: center;
    gap: 8px;
  }

  .cart-qty {
    gap: 8px;
    padding: 4px 6px;
  }

  .cart-qty button {
    width: 30px;
    height: 30px;
  }

  .cart-remove {
    padding: 8px 4px;
    font-size: 0.85rem;
  }

  .cart-coupon-row {
    grid-template-columns: 1fr;
  }

  .testimonials-section {
    width: calc(100% - 32px);
    margin-top: 32px;
  }

  .testimonials-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .testimonials-summary {
    text-align: left;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-footer {
    margin-top: 40px;
  }

  .footer-inner {
    width: calc(100% - 32px);
    padding: 20px 0 14px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-bottom {
    width: calc(100% - 32px);
    padding: 10px 0 12px;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 700px) {
  .products-scroll-list {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .product-large-card.is-open {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.product-large-card:not(.is-open) .product-large-content {
  grid-template-rows: auto 1fr;
  align-content: start;
}

.product-large-card:not(.is-open) .product-large-content h3 {
  display: -webkit-box;
  
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.login-field select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(60, 88, 46, 0.14);
  border-radius: 16px;
  background: #fff;
  padding: 15px 16px;
  font-size: 1rem;
  color: #1f241d;
  outline: none;
  min-height: 58px;
  font-weight: 500;
}

.login-field select:focus {
  border-color: rgba(60, 88, 46, 0.4);
  box-shadow: 0 0 0 4px rgba(60, 88, 46, 0.08);
}

.login-field select:invalid {
  color: #9c9c9c;
}

.product-detail-main {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.product-detail-shell {
  background: #fff;
  border: 1px solid rgba(60, 88, 46, 0.12);
  border-radius: 24px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.product-detail-gallery {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}

.product-detail-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-detail-thumbs button {
  width: 84px;
  height: 84px;
  border: 1px solid rgba(60, 88, 46, 0.16);
  border-radius: 14px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}

.product-detail-thumbs button.is-active {
  border-color: rgba(60, 88, 46, 0.55);
  box-shadow: 0 0 0 3px rgba(60, 88, 46, 0.1);
}

.product-detail-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-detail-main-image {
  position: relative;
  border: 1px solid rgba(60, 88, 46, 0.12);
  border-radius: 20px;
  background: #f7f4ec;
  min-height: 480px;
  max-height: 560px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.product-detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: absolute;
  inset: 0;
  min-width: 0;
  min-height: 0;
}

.product-detail-main-image .deal-badge {
  z-index: 2;
}

.product-detail-info h1 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.product-detail-desc {
  white-space: pre-line;
  line-height: 1.65;
}

.product-detail-qty {
  margin: 14px 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(60, 88, 46, 0.14);
  border-radius: 999px;
  background: #fff;
}

.product-detail-qty button {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(60, 88, 46, 0.16);
  border-radius: 50%;
  background: #fafaf8;
  color: #2d3f23;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.product-detail-qty button:hover {
  background: #f1f4ed;
  border-color: rgba(60, 88, 46, 0.3);
}

.product-detail-qty button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(60, 88, 46, 0.18);
}

.product-detail-qty #detailQty {
  min-width: 34px;
  height: 30px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(60, 88, 46, 0.12);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f241d;
  padding: 0 8px;
}

@media (max-width: 980px) {
  .product-detail-shell {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-detail-gallery {
    grid-template-columns: 1fr;
  }

  .product-detail-thumbs {
    order: 2;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .product-detail-thumbs button {
    width: 74px;
    height: 74px;
  }

  .product-detail-main-image {
    min-height: 360px;
    max-height: 460px;
  }
}

@media (max-width: 640px) {
  .product-detail-main {
    width: calc(100% - 24px);
  }

  .product-detail-shell {
    padding: 16px;
    border-radius: 18px;
  }

  .product-detail-main-image {
    min-height: 280px;
    max-height: 340px;
  }

  .product-detail-qty {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .products-main,
  .cart-main,
  .admin-main,
  .account-main,
  .login-main,
  .product-detail-main {
    width: calc(100% - 24px);
  }

  .top-bar,
  .main-header,
  .category-nav {
    width: 100%;
    box-sizing: border-box;
    padding-left: 12px;
    padding-right: 12px;
  }

  .main-header {
    gap: 16px;
    padding: 12px 0 4;
  }

  .logo img {
    height: 68px;
  }

  .search-box input,
  .search-box select,
  .search-box button,
  .login-field input,
  .login-field select,
  .login-field textarea,
  .products-filter-item input,
  .products-sort-inline select,
  .cart-coupon-row input {
    min-height: 44px;
    height: 44px;
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .footer-bottom a {
    color: inherit;
    text-decoration: none;
  }

  .footer-bottom a:visited,
  .footer-bottom a:hover,
  .footer-bottom a:active {
    color: inherit;
  }

  .header-actions {
    gap: 12px;
    margin:4px 0 10px;
  }

  .header-actions a,
  .header-actions button,
  .cart,
  .account-button {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.92rem;
  }

  .products-hero {
    gap: 12px;
  }

  .products-filter-wrap {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .products-filter-item,
  .products-sort-wrap {
    width: 100%;
    max-width: none;
  }

  .products-scroll-list {
    gap: 14px;
  }

  .product-large-card {
    border-radius: 18px;
  }

  .product-large-image {
    height: 210px;
  }

  .product-detail-shell {
    padding: 14px;
    gap: 16px;
  }

  .product-detail-thumbs {
    gap: 8px;
  }

  .product-detail-thumbs button {
    width: 62px;
    height: 62px;
    border-radius: 12px;
  }

  .product-detail-main-image {
    min-height: 250px;
    max-height: 320px;
  }

  .cart-item-card,
  .cart-summary,
  .account-content,
  .login-card,
  .admin-panel {
    border-radius: 16px;
    padding: 14px;
  }

  .order-review-stars {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
  }

  .order-review-stars button {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 480px) {
  .admin-stat-grid,
  .admin-revenue-grid {
    grid-template-columns: 1fr;
  }

  .admin-stat-card,
  .admin-revenue-card {
    padding: 16px;
  }

  .products-main,
  .cart-main,
  .account-main,
  .login-main,
  .admin-main,
  .product-detail-main,
  .footer-inner,
  .footer-bottom {
    width: calc(100% - 18px);
  }

  .top-bar,
  .main-header,
  .category-nav {
    padding-left: 9px;
    padding-right: 9px;
  }

  .logo img {
    height: 58px;
  }

  .category-nav {
    gap: 8px;
    padding-bottom: 10px;
  }

  .category-nav a {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .category-strip {
    grid-template-columns: 34px 1fr 34px;
    gap: 6px;
  }

  .category-pill {
    min-width: 108px;
  }

  .category-pill-image {
    width: 96px;
    margin-bottom: 8px;
    border-width: 3px;
  }

  .category-pill h3 {
    font-size: 0.92rem;
  }

  .category-strip-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .category-strip-arrow:hover {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none;
  }

  .category-strip-track {
    gap: 1px;
  }

  .products-scroll-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-large-image {
    height: 190px;
  }

  .product-detail-info h1 {
    font-size: 1.25rem;
  }

  .product-detail-main-image {
    min-height: 220px;
    max-height: 280px;
  }

  .product-detail-thumbs button {
    width: 56px;
    height: 56px;
  }

  .footer-column h3 {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .footer-brand p,
  .footer-column a,
  .footer-column p,
  .footer-bottom {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .footer-brand img {
    height: 56px;
    margin-bottom: 8px;
  }

  .footer-column {
    gap: 6px;
  }
}

@media (max-width: 700px) {
  .products-page .products-filter-toggle {
    width: 100%;
    max-width: 170px;
  }

  .products-page .main-header {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 6px;
  }

  .products-page .search-box {
    order: 3;
  }

  .products-page .header-actions {
    order: 2;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .products-page .header-actions .account-menu {
    grid-column: span 2;
    width: 100%;
  }

  .products-page .header-actions .account-button,
  .products-page .header-actions #homeButton,
  .products-page .header-actions .cart {
    width: 100%;
    justify-content: center;
  }

  .products-page .products-filter-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
  }

  .products-page .products-filter-checkbox {
    grid-column: span 2;
  }

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

  .products-page .product-large-card,
  .products-page .product-large-card.is-open {
    min-height: 320px;
    grid-column: span 1;
    grid-row: span 1;
    grid-template-rows: 170px 1fr;
    border-radius: 16px;
  }

  .products-page .product-large-image {
    height: 170px;
  }

  .products-page .product-large-content {
    padding: 10px;
    gap: 8px;
  }

  .products-page .product-large-content h3 {
    font-size: 0.98rem;
    line-height: 1.2;
  }

  .products-page .product-large-footer {
    gap: 8px;
  }

  .products-page .product-large-footer strong {
    font-size: 1.1rem;
  }

  .products-page .product-large-footer button {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .products-page .products-filter-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
  }

  .products-page .products-filter-item span {
    font-size: 0.62rem;
  }

  .products-page .products-filter-item input,
  .products-page .products-sort-inline select {
    height: 38px;
    min-height: 38px;
    font-size: 0.82rem;
  }

  .products-page .products-scroll-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .products-page .product-large-card,
  .products-page .product-large-card.is-open {
    min-height: 300px;
    grid-template-rows: 150px 1fr;
  }

  .products-page .product-large-image {
    height: 150px;
  }

  .products-page .product-large-content h3 {
    font-size: 0.92rem;
  }

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

  .bestseller-content {
    padding: 10px 10px 12px;
  }

  .bestseller-content h3 {
    font-size: 0.88rem;
  }

  .bestseller-content strong {
    font-size: 0.98rem;
  }
}

@media (max-width: 700px) {
  .deal-badge,
  .product-discount-badge {
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    font-size: 0.72rem;
    border-radius: 11px;
  }

  .deal-content h3 {
    margin: 0 0 6px;
    font-size: 0.86rem;
    line-height: 1.18;
  }

  .deal-content p {
    margin: 0 0 10px;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .old-price {
    font-size: 0.7rem;
  }

  .deal-price strong {
    font-size: 1.32rem;
  }

  .deal-card button {
    padding: 9px 10px;
    font-size: 0.76rem;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .deal-badge,
  .product-discount-badge {
    padding: 5px 8px;
    font-size: 0.66rem;
  }

  .deal-content h3 {
    font-size: 0.78rem;
  }

  .deal-content p {
    font-size: 0.72rem;
  }

  .old-price {
    font-size: 0.64rem;
  }

  .deal-price strong {
    font-size: 1.2rem;
  }

  .deal-card button {
    padding: 8px 9px;
    font-size: 0.7rem;
  }
}

.Btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  right: 10px;
  bottom: 18px;
  z-index: 90;
  overflow: hidden;
  padding: 0;
  transition: width 0.25s ease, border-radius 0.25s ease, padding 0.25s ease, transform 0.2s ease;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.199);
  background-color: #00d757;
  text-decoration: none;
}

.sign {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sign svg {
  width: 24px;
  height: 24px;
  display: block;
}

.text {
  width: auto;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  color: white;
  font-size: 1.12rem;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.2s ease, max-width 0.2s ease;
}

.Btn:hover {
  width: 172px;
  border-radius: 999px;
  justify-content: center;
  padding: 0 10px;
  gap: 10px;
}

.Btn:hover .text {
  opacity: 1;
  max-width: 120px;
}

.Btn:active {
  transform: translate(2px, 2px);
}

@media (max-width: 700px), (hover: none) and (pointer: coarse) {
  .Btn,
  .Btn:hover {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
  }

  .Btn .text,
  .Btn:hover .text {
    opacity: 0;
    max-width: 0;
  }

}

.legal-document-page .account-main {
  width: min(1600px, calc(100% - 8vw));
}

.legal-document-page .account-shell {
  grid-template-columns: minmax(0, 1fr);
}

.legal-document-page .account-content {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .legal-document-page .account-main {
    width: calc(100% - 24px);
  }
}

@media (max-width: 640px) {
  .product-detail-main-image {
    width: 100%;
    max-width: 420px;
    justify-self: center;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1 / 1;
  }

  .product-detail-thumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .product-detail-thumbs button {
    flex: 0 0 62px;
    scroll-snap-align: start;
  }
}
