
:root {
  --green: #002B00;
  --green-light: #07552f;
  --ink: #163b25;
  --muted: #777777;
  --page: #fafafa;
  --line: #e8e8e8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: white;
  background: var(--green);
  border-radius: 0 0 34px 34px;
  padding: 16px 22px 15px;
  transition:
    padding 0.15s ease,
    border-radius 0.15s ease,
    box-shadow 0.15s ease;
}


.delivery-note {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  height: 45px;
  margin-bottom: 26px;
  font-size: 14px;
}

.delivery-text {
  position: relative;
  z-index: 1;
  display: inline-block;
}

.delivery-note img {
  position: absolute;
  z-index: 2;
  left: -60px;
  top: 50%;
  width: 45px;
  height: 45px;
  object-fit: contain;
  display: block;
  background: var(--green);
  transform: translateY(-50%);
  animation: deliverySprint 8s ease-in infinite;
}


.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  margin: 0 auto 24px;
}

.brand-home {
  display: flex;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
  transform: scale(1);
  transform-origin: center top;
  transition: transform 0.25s ease;
}

.icon-button svg,
.icon-button img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}


.nav-link img {
  width: 29px;
  height: 29px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* Enlarge the artwork in the remaining navigation icons */
.nav-link img[src*="tshirt.svg"],
.nav-link img[src*="hoodie.svg"],
.nav-link img[src*="discount.svg"] {
  transform: scale(1.2);
}

@keyframes deliverySprint {
  0% {
    left: -60px;
  }

  35% {
    left: var(--truck-stop-left, 100%);
  }

  45% {
    left: var(--truck-stop-left, 100%);
  }

  65% {
    left: calc(100% + 50px);
  }

  65.01% {
    left: -60px;
  }

  100% {
    left: -60px;
  }
}

g-button svg {
  width: 27px;
  height: 27px;
}

.bag-count-circle {
  fill: white;
  stroke: white;
}

.bag-count-mark {
  stroke: var(--green);
  stroke-width: 1.5;
}

.main-nav {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2px;
  border: 1.5px solid white;
  border-radius: 30px;
  padding: 5px;
}

.nav-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex: 1;
  min-width: 0;
  min-height: 32px;
  padding: 5px 3px;
  font-size: 11px;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.nav-link:last-child {
  border-right: 0;
}

.nav-link svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.nav-link.active {
  background: var(--green-light);
  border-radius: 24px;
}

.catalog {
  padding: 18px 12px 30px;
}

.product-list {
  display: grid;
  gap: 14px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 12px;
  align-items: stretch;
  background: white;
  border: 1px solid #ededed;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.035);
}


.product-image {
  min-width: 0;
  aspect-ratio: 0.78;
  align-self: start;
  border-radius: 9px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #969696;
  font-size: 12px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 9px;
  flex-shrink: 1;
  min-height: 0;
  min-width: 0;
}


.product-image svg {
  width: 30px;
  height: 30px;
  stroke: #b2b2b2;
}


.product-info {
  min-width: 0;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  background: #fff;
}



.product-type {
  background: var(--green);
  color: white;
  border-radius: 20px;
  font-size: 9px;
  padding: 4px 9px;
  align-self: flex-start;
  margin-bottom: 7px;
}

.placeholder-title {
  font-size: 15px;
  line-height: 1.3;
  margin: 0 0 7px;
  overflow-wrap: anywhere;
}

.placeholder-description {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 12px;
}

.product-details {
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.product-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  margin: 7px 0; 
}

.detail-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.product-detail {
  justify-content: flex-start;
}

.product-detail > span:last-child {
  margin-left: auto;
}
.detail-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}


.product-detail > span:first-child {
  white-space: nowrap;
}

.detail-icon {
  display: inline-block;
  width: 17px;
  color: var(--ink);
  font-size: 14px;
}

.product-detail > span:last-child,
.product-detail strong {
  color: #656565;
  text-align: right;
}

.product-detail strong {
  color: var(--green);
  font-size: 12px;
}

.order-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding: 11px 5px;
  border: 0;
  border-radius: 25px;
  color: white;
  background: var(--green);
  font-weight: 700;
  font-size: 11px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.order-button:hover {
  background: var(--green-light);
}

.order-button:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 3px;
}

.order-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 24px 0 0;
}

.pagination a,
.pagination button {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}

.pagination button {
  background: #eeeeee;
  font-size: 23px;
  cursor: pointer;
}

.pagination button:disabled {
  opacity: 0.6;
  cursor: default;
}

.pagination .current-page {
  background: var(--green);
  color: white;
}

.site-footer {
  color: white;
  background: var(--green);
  border-radius: 30px 30px 0 0;
  padding: 25px 22px 18px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 20px 14px;
}

.footer-links,
.footer-social,
.footer-news {
  min-width: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
}

.footer-accent {
  height: 3px;
  width: 28px;
  background: #2bd39a;
  border-radius: 4px;
  margin-bottom: 4px;
}

.footer-social {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  padding-left: 15px;
}

.footer-social h2,
.footer-news h2 {
  font-size: 12px;
  margin: 6px 0 12px;
}

.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-icons a {
  display: grid;
  place-items: center;
  width: 23px;
  height: 25px;
  color: white;
}

.social-icons svg {
  width: 21px;
  height: 21px;
}

.social-icons .icon-fill {
  fill: white;
}

.facebook-icon,
.x-icon {
  font-size: 21px;
  font-weight: 700;
}

.footer-news {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 8px;
}

.newsletter {
  display: flex;
  align-items: center;
  gap: 7px;
  background: white;
  border-radius: 24px;
  padding: 4px 5px 4px 10px;
  max-width: 330px;
  color: var(--green);
}

.newsletter > svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}

.newsletter input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #222;
  font-size: 11px;
}

.newsletter button {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 0;
  border-radius: 50%;
  background: #e9f1ec;
  color: var(--green);
  flex-shrink: 0;
  cursor: pointer;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 25px auto 7px;
}

.footer-brand p {
  font-size: 9px;
  letter-spacing: 2px;
  text-align: center;
  white-space: nowrap;
}

.footer-brand p span {
  margin: 0 5px;
}

.footer-rule {
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.5);
}

.tagline {
  text-align: center;
  font-size: 11px;
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (min-width: 600px) {
  body {
    max-width: 520px;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.06);
  }

  .site-header {
    padding-left: 24px;
    padding-right: 24px;
  }

  .brand-logo {
    max-width: 360px;
  }

  .catalog {
    padding: 20px;
  }

  .product-card {
    gap: 16px;
    padding: 12px;
  }

  .placeholder-title {
    font-size: 18px;
  }

  .placeholder-description {
    font-size: 13px;
  }

  .footer-columns {
    grid-template-columns: 0.8fr 1fr 1.2fr;
  }

  .footer-news {
    grid-column: auto;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0 0 0 14px;
  }
}

@media (max-width: 360px) {
  .site-header {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-row {
    gap: 5px;
  }

  .header-actions {
    gap: 2px;
  }

  .icon-button {
    width: 26px;
  }

  .nav-link {
    gap: 3px;
    font-size: 10px;
  }

  .nav-link svg {
    width: 16px;
    height: 16px;
  }

  .product-card {
    gap: 8px;
    padding: 8px;
  }

  .placeholder-title {
    font-size: 14px;
  }

  .placeholder-description {
    font-size: 11px;
  }
}

.store-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #fff;
}

.store-search[hidden] {
  display: none;
}

.store-search input {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  font: inherit;
  color: #222;
  outline-color: #002B00;
}

.store-search button {
  border: 0;
  background: transparent;
  color: #002B00;
  font-size: 26px;
  cursor: pointer;
}

@media (min-width: 600px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr 1.2fr;
    align-items: start;
  }

  .footer-news {
    grid-column: auto;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 0;
    padding-left: 18px;
  }

  .newsletter {
    max-width: 100%;
  }
}
/* Smoothly coordinated compact header */
.site-header.scrolled {
  padding-top: 2px;
  padding-bottom: 8px;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.site-header .delivery-note {
  transition:
    height 0.3s ease,
    margin-bottom 0.3s ease,
    font-size 0.3s ease;
}

.site-header.scrolled .delivery-note {
  height: 20px;
  margin-bottom: 0;
  font-size: 11px;
}

.site-header.scrolled .delivery-note img {
  width: 30px;
  height: 30px;
}

.site-header .brand-row {
  transition: margin-bottom 0.3s ease;
}

.site-header.scrolled .brand-row {
  margin-bottom: 0;
}

.site-header.scrolled .brand-logo {
  transform: scale(0.65);
  transform-origin: center top;
}

.site-header .main-nav {
  transition:
    min-height 0.3s ease,
    padding 0.3s ease,
    transform 0.3s ease;
}

.site-header.scrolled .main-nav {
  min-height: 38px;
  padding: 3px;
  transform: translateY(-4px);
}

.site-header .nav-link {
  transition:
    min-height 0.3s ease,
    padding 0.3s ease;
}

.site-header.scrolled .nav-link {
  min-height: 28px;
  padding: 2px;
}

.site-header.scrolled .nav-link img {
  width: 17px;
  height: 17px;
}
.detail-label {
  color: #002B00;
}
@media (max-width: 600px) {
  .delivery-note img {
    will-change: left;
  }
}

.product-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-title-row .placeholder-title {
  min-width: 0;
  margin: 0;
}
.product-image {
  position: relative;
}

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 4px;
  background: rgba(255, 8, 0, 0.856);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}
.product-prices {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.original-price {
  color: #777777;
  text-decoration: line-through;
  font-size: 11px;
}

.sale-price {
  color: #002B00;
  font-weight: 700;
}
