/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #000000;
  --white: #ffffff;
  --grey-light: #f5f5f5;
  --grey-mid: #d4d4d4;
  --grey-dark: #7a7a7a;
  --font: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  font-size: 13px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
select { font-family: var(--font); }


/* ===================== MARQUEE BANNER ===================== */
.promo-banner {
  background: var(--black);
  color: var(--white);
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
}

.promo-banner__track {
  display: inline-flex;
  animation: marquee 22s linear infinite;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 400;
  gap: 0;
}

.promo-banner__track span {
  padding: 0 40px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ===================== HEADER ===================== */
.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
  height: 64px;
  border-bottom: 1px solid var(--grey-mid);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 200;
}

.header__nav {
  display: flex;
  gap: 32px;
}

.header__nav a {
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--black);
  transition: opacity 0.2s;
}

.header__nav a:hover { opacity: 0.5; }

.header__logo {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--black);
  justify-self: center;
}

.header__actions {
  display: flex;
  gap: 24px;
  justify-self: end;
  align-items: center;
}

.header__actions a {
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--black);
  transition: opacity 0.2s;
}

.header__actions a:hover { opacity: 0.5; }

.search-toggle {
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--black);
  transition: opacity 0.2s;
}

.search-toggle:hover { opacity: 0.5; }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  height: 16px;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
}

.search-overlay {
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  position: sticky;
  top: 64px;
  z-index: 190;
}

.search-overlay.open {
  max-height: 420px;
  border-bottom: 1px solid var(--grey-mid);
}

.search-overlay__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  border-bottom: 1px solid var(--grey-mid);
}

.search-overlay__input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 15px;
  color: var(--black);
  background: transparent;
}

.search-overlay__close {
  font-size: 22px;
  line-height: 1;
  color: var(--grey-dark);
  flex-shrink: 0;
}

.search-overlay__close:hover { color: var(--black); }

.search-overlay__results {
  max-height: 330px;
  overflow-y: auto;
  padding: 4px 40px 16px;
}

.search-overlay__empty {
  font-size: 12px;
  color: var(--grey-dark);
  padding: 16px 0;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--grey-light);
  transition: opacity 0.2s;
}

.search-result:hover { opacity: 0.6; }
.search-result:last-child { border-bottom: none; }

.search-result__image {
  width: 48px;
  height: 62px;
  flex-shrink: 0;
  background: var(--grey-light);
  overflow: hidden;
}

.search-result__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.search-result__name {
  font-size: 13px;
  font-weight: 500;
}

.search-result__price {
  font-size: 12px;
  color: var(--grey-dark);
  margin-top: 2px;
}

.header__cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  margin-left: 4px;
}


/* ===================== COLLECTION PAGE ===================== */
.collection-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 36px 40px 20px;
  border-bottom: 1px solid var(--grey-mid);
}

.collection-header h1 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.collection-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  color: var(--grey-dark);
}

.sort-select {
  border: 1px solid var(--grey-mid);
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  background: var(--white);
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23000' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-mid);
  padding: 1px;
  margin: 0;
}


/* ===================== PRODUCT CARD ===================== */
.product-card {
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
}

.product-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--grey-light);
}

.product-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.product-card:hover .product-card__image-wrap img {
  transform: scale(1.04);
}

.product-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  letter-spacing: 0.15em;
  font-weight: 600;
  padding: 4px 8px;
  z-index: 2;
}

.product-card__quick-add {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.88);
  color: var(--white);
  padding: 15px;
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 3;
}

.product-card:hover .product-card__quick-add {
  transform: translateY(0);
}

.product-card__info {
  padding: 14px 16px 22px;
}

.product-card__name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  color: var(--black);
  line-height: 1.4;
}

.product-card__prices {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-card__price-old {
  font-size: 12px;
  font-weight: 400;
  color: var(--grey-dark);
  text-decoration: line-through;
}

.product-card__price {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}

.product-card__colors {
  font-size: 11px;
  color: var(--grey-dark);
  margin-top: 4px;
}


/* ===================== FOOTER ===================== */
.footer {
  background: var(--black);
  color: var(--white);
  margin-top: 80px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding: 60px 40px 40px;
}

.footer__brand-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.3em;
  margin-bottom: 14px;
}

.footer__brand-desc {
  font-size: 12px;
  color: #aaa;
  line-height: 1.8;
  max-width: 280px;
}

.footer__col h4 {
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-bottom: 18px;
  color: #aaa;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col ul li a {
  font-size: 12px;
  color: var(--white);
  transition: opacity 0.2s;
}

.footer__col ul li a:hover { opacity: 0.6; }

.footer__bottom {
  border-top: 1px solid #222;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom p {
  font-size: 11px;
  color: #666;
  letter-spacing: 0.05em;
}

.footer__socials {
  display: flex;
  gap: 20px;
}

.footer__socials a {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #aaa;
  transition: color 0.2s;
}

.footer__socials a:hover { color: var(--white); }


/* ===================== PRODUCT PAGE ===================== */
.product-page-wrap {
  max-width: 1440px;
  margin: 0 auto;
}

.breadcrumbs {
  padding: 20px 40px;
  font-size: 11px;
  color: var(--grey-dark);
  letter-spacing: 0.06em;
}

.breadcrumbs a { color: var(--grey-dark); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--black); }
.breadcrumbs span { margin: 0 8px; }

.product-layout {
  display: grid;
  grid-template-columns: 700px 480px;
  gap: 0;
  align-items: start;
  justify-content: center;
}


/* ---- Gallery ---- */
.product-gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  padding: 0 20px 0 40px;
  position: sticky;
  top: 80px;
}

.product-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.thumb-btn {
  width: 80px;
  height: 100px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: border-color 0.2s;
  background: var(--grey-light);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-btn.active {
  border-color: var(--black);
}

.thumb-btn--more {
  position: relative;
}

.thumb-btn--more img {
  filter: brightness(0.45);
}

.thumb-btn__more-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.thumb-btn--less {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grey-light);
  border-color: var(--grey-mid);
}

.thumb-btn__less-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--black);
}

.product-gallery__main {
  position: relative;
  overflow: hidden;
  background: var(--grey-light);
}

.product-gallery__main img {
  width: 100%;
  max-height: 660px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: opacity 0.25s ease;
}


/* ---- Product Info ---- */
.product-info {
  padding: 0 40px 60px 40px;
}

.product-info__tag {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  letter-spacing: 0.18em;
  font-weight: 600;
  padding: 4px 10px;
  margin-bottom: 16px;
}

.product-info__name {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin-bottom: 20px;
}

.product-info__prices {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
}

.product-info__price {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.product-info__price-old {
  font-size: 18px;
  font-weight: 400;
  color: var(--grey-dark);
  text-decoration: line-through;
}

.product-info__price-save {
  font-size: 11px;
  font-weight: 600;
  color: #c0392b;
  letter-spacing: 0.06em;
}

.product-info__divider {
  height: 1px;
  background: var(--grey-mid);
  margin: 24px 0;
}

.product-info__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--grey-dark);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 4px;
}

.color-swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 64px;
}

.color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--white);
  outline: 1px solid var(--grey-mid);
  cursor: pointer;
  transition: outline-color 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.color-swatch:hover {
  transform: scale(1.08);
}

.color-swatch.active {
  outline: 2px solid var(--black);
  outline-offset: 1px;
}

.color-swatch-item__label {
  font-size: 9px;
  line-height: 1.3;
  color: var(--grey-dark);
  text-align: center;
}

.characteristics-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}

.characteristics-table tr {
  border-bottom: 1px solid var(--grey-mid);
}

.characteristics-table tr:first-child {
  border-top: 1px solid var(--grey-mid);
}

.characteristics-table td {
  padding: 10px 0;
  font-size: 12px;
  line-height: 1.6;
}

.characteristics-table td:first-child {
  color: var(--grey-dark);
  width: 40%;
}

.characteristics-table td:last-child {
  color: var(--black);
  font-weight: 500;
}

.product-description {
  margin-bottom: 4px;
}

.product-description__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
  margin-bottom: 10px;
}

.product-description__paragraph {
  font-size: 13px;
  line-height: 1.75;
  color: #3a3a3a;
  margin-bottom: 16px;
}

.product-description__subheading {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-dark);
  margin: 22px 0 12px;
}

.product-description__subheading:first-child {
  margin-top: 0;
}

.product-description__list {
  list-style: none;
  margin-bottom: 22px;
}

.product-description__list li {
  font-size: 13px;
  line-height: 1.7;
  color: #3a3a3a;
  padding-left: 18px;
  position: relative;
  margin-bottom: 9px;
}

.product-description__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--black);
}

.product-description__specs {
  border-top: 1px solid var(--grey-mid);
  margin-bottom: 20px;
}

.product-description__spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--grey-mid);
  font-size: 12px;
  line-height: 1.5;
}

.product-description__spec-row span:first-child {
  color: var(--grey-dark);
  flex-shrink: 0;
}

.product-description__spec-row span:last-child {
  color: var(--black);
  font-weight: 500;
  text-align: right;
}

.size-guide-link {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--grey-dark);
  text-decoration: underline;
  cursor: pointer;
}

.size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.size-btn {
  width: 52px;
  height: 48px;
  border: 1px solid var(--grey-mid);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--black);
  transition: all 0.2s;
  background: var(--white);
  cursor: pointer;
}

.size-btn:hover {
  border-color: var(--black);
}

.size-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.size-btn.unavailable {
  color: var(--grey-mid);
  cursor: not-allowed;
  position: relative;
}

.size-btn.unavailable::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 1px;
  background: var(--grey-mid);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.add-to-cart-btn {
  width: 100%;
  padding: 18px;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  border: 2px solid var(--black);
  transition: all 0.2s;
  margin-bottom: 12px;
}

.add-to-cart-btn:hover {
  background: var(--white);
  color: var(--black);
}

.wishlist-btn {
  width: 100%;
  padding: 16px;
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  border: 1px solid var(--grey-mid);
  transition: border-color 0.2s;
  margin-bottom: 28px;
}

.wishlist-btn:hover { border-color: var(--black); }

.product-info__delivery {
  background: var(--grey-light);
  padding: 18px;
  margin-bottom: 24px;
}

.delivery-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--black);
  line-height: 1.5;
}

.delivery-row:last-child { margin-bottom: 0; }

.delivery-icon {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.product-info__accordion {
  border-top: 1px solid var(--grey-mid);
}

.accordion-item {
  border-bottom: 1px solid var(--grey-mid);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--black);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
}

.accordion-trigger svg {
  transition: transform 0.25s;
  flex-shrink: 0;
}

.accordion-trigger.open svg {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-body.open {
  max-height: 300px;
}

.accordion-body p {
  font-size: 12px;
  line-height: 1.8;
  color: #444;
  padding-bottom: 16px;
}


/* ===================== RELATED PRODUCTS ===================== */
.related-section {
  padding: 60px 40px 80px;
}

.related-section h2 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 30px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--grey-mid);
  padding: 1px;
}


/* ===================== CART PAGE ===================== */
.cart-page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

.cart-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
}

.cart-empty {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 60px 0;
  border-top: 1px solid var(--grey-mid);
}

.cart-empty.show {
  display: flex;
}

.cart-empty p {
  font-size: 13px;
  color: var(--grey-dark);
}

.cart-empty__btn {
  width: auto;
  padding: 16px 32px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--grey-mid);
}

.cart-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--grey-mid);
}

.cart-item__image {
  width: 100px;
  height: 130px;
  flex-shrink: 0;
  background: var(--grey-light);
  overflow: hidden;
  display: block;
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.cart-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cart-item__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.cart-item__name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--black);
  transition: opacity 0.2s;
}

.cart-item__name:hover {
  opacity: 0.6;
}

.cart-item__remove {
  font-size: 20px;
  line-height: 1;
  color: var(--grey-dark);
  flex-shrink: 0;
  padding: 0 2px;
  transition: color 0.2s;
}

.cart-item__remove:hover {
  color: var(--black);
}

.cart-item__attrs {
  font-size: 11px;
  color: var(--grey-dark);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

.cart-item__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--grey-mid);
  height: 36px;
}

.qty-stepper button {
  width: 32px;
  height: 100%;
  font-size: 14px;
  color: var(--black);
  transition: background 0.2s;
}

.qty-stepper button:hover {
  background: var(--grey-light);
}

.qty-stepper span {
  width: 30px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
}

.cart-item__price {
  font-size: 14px;
  font-weight: 600;
}

.cart-summary {
  border: 1px solid var(--grey-mid);
  padding: 24px;
  position: sticky;
  top: 100px;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--black);
  margin-bottom: 14px;
}

.cart-summary__row--total {
  font-size: 15px;
  font-weight: 600;
  margin-top: 4px;
}

.cart-summary .add-to-cart-btn {
  margin-top: 8px;
}

.cart-summary__continue {
  display: block;
  text-align: center;
  border: none;
  padding: 12px 0 0;
  font-size: 10px;
  color: var(--grey-dark);
  letter-spacing: 0.1em;
}

.cart-summary__continue:hover {
  color: var(--black);
}

@media (max-width: 1024px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .cart-page-wrap {
    padding: 0 20px 60px;
  }
  .cart-item__image {
    width: 80px;
    height: 104px;
  }
}


/* ===================== ORDER PAGE ===================== */
.order-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.order-section {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--grey-mid);
}

.order-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.order-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.order-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.order-field label {
  font-size: 11px;
  color: var(--grey-dark);
  letter-spacing: 0.02em;
}

.order-field input {
  height: 44px;
  border: 1px solid var(--grey-mid);
  padding: 0 14px;
  font-size: 13px;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.order-field input:focus {
  border-color: var(--black);
}

.order-field input.invalid {
  border-color: #c0392b;
}

.order-field__error {
  display: none;
  font-size: 11px;
  color: #c0392b;
  margin-top: 2px;
}

.order-field__error.show {
  display: block;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.payment-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.payment-option__box {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid var(--grey-mid);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.payment-option input:checked + .payment-option__box {
  border-color: var(--black);
  border-width: 2px;
  padding: 13px 15px;
}

.payment-option__title {
  font-size: 13px;
  font-weight: 500;
}

.payment-option__desc {
  font-size: 11px;
  color: var(--grey-dark);
}

.payment-note {
  font-size: 11px;
  color: var(--grey-dark);
  line-height: 1.6;
  margin-top: 4px;
}

.payment-error {
  display: none;
  font-size: 12px;
  color: #c0392b;
  margin-top: 12px;
  line-height: 1.5;
}

.payment-error.show {
  display: block;
}

.pay-btn.is-loading,
.add-to-cart-btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.pay-btn {
  width: 100%;
  padding: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 8px;
  transition: opacity 0.2s;
}

.pay-btn:hover {
  opacity: 0.85;
}

.pay-btn--apple {
  background: var(--black);
  color: var(--white);
}

.pay-btn--google {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--grey-mid);
}

.order-summary-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
  max-height: 340px;
  overflow-y: auto;
}

.order-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-summary-item__image {
  position: relative;
  width: 52px;
  height: 68px;
  flex-shrink: 0;
  background: var(--grey-light);
  overflow: hidden;
}

.order-summary-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.order-summary-item__qty {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-summary-item__info {
  flex: 1;
  min-width: 0;
}

.order-summary-item__name {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.order-summary-item__attrs {
  font-size: 10px;
  color: var(--grey-dark);
  margin-top: 2px;
}

.order-summary-item__price {
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.order-success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 60px 0;
  border-top: 1px solid var(--grey-mid);
  max-width: 420px;
}

.order-success.show {
  display: flex;
}

.order-success__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.order-success h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.order-success p {
  font-size: 13px;
  color: var(--grey-dark);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .order-field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}


/* ===================== ABOUT PAGE ===================== */
.about-page-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 40px 0;
}

.about-hero {
  text-align: center;
  padding: 40px 0 56px;
}

.about-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--grey-dark);
  margin-bottom: 14px;
}

.about-title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.about-section {
  padding: 40px 0;
  border-top: 1px solid var(--grey-mid);
}

.about-paragraph {
  font-size: 14px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 20px;
}

.about-paragraph:last-child {
  margin-bottom: 0;
}

.about-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--grey-dark);
  margin-bottom: 20px;
}

.about-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
}

.about-list li {
  font-size: 13px;
  line-height: 1.6;
  color: #333;
  padding-left: 18px;
  position: relative;
}

.about-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--black);
}

.about-tagline {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 56px 40px;
  margin: 0 -40px 80px;
}

.about-tagline__main {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.about-tagline__sub {
  font-size: 13px;
  color: #bbb;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .about-page-wrap {
    padding: 20px 20px 0;
  }
  .about-title {
    font-size: 22px;
  }
  .about-list {
    grid-template-columns: 1fr;
  }
  .about-tagline {
    margin: 0 -20px 60px;
    padding: 48px 20px;
  }
}


/* ===================== CART TOAST ===================== */
.cart-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--black);
  color: var(--white);
  padding: 16px 24px;
  font-size: 12px;
  letter-spacing: 0.08em;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-width: 320px;
}

.cart-toast.show {
  transform: translateY(0);
  opacity: 1;
}


/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
  .product-gallery {
    position: static;
    padding: 0 20px;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 56px;
  }
  .header__nav { display: none; }
  .header__logo { font-size: 16px; justify-self: unset; }
  .header__actions { justify-content: flex-end; }
  .search-toggle, .header__cart-link { display: none; }
  .mobile-menu-toggle { display: flex; }
  .search-overlay { top: 56px; }
  .search-overlay__bar { padding: 14px 20px; }
  .search-overlay__results { padding: 4px 20px 16px; }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    background: var(--white);
    position: sticky;
    top: 56px;
    z-index: 190;
    transition: max-height 0.25s ease;
  }
  .mobile-nav.open {
    max-height: 320px;
    border-bottom: 1px solid var(--grey-mid);
  }
  .mobile-nav a,
  .mobile-nav button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    font-size: 12px;
    letter-spacing: 0.12em;
    font-weight: 500;
    color: var(--black);
    border-bottom: 1px solid var(--grey-light);
  }
  .mobile-nav a:last-child,
  .mobile-nav button:last-child { border-bottom: none; }

  .collection-header { padding: 24px 20px 16px; flex-direction: column; gap: 12px; align-items: flex-start; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }

  .product-gallery { grid-template-columns: 1fr; padding: 0; }
  .product-gallery__thumbs { flex-direction: row; overflow-x: auto; padding: 10px 20px; }
  .thumb-btn { width: 68px; height: 86px; flex-shrink: 0; }

  .product-info { padding: 20px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }

  .footer__top { grid-template-columns: 1fr; gap: 30px; padding: 40px 20px 20px; }
  .footer__bottom { flex-direction: column; gap: 12px; padding: 16px 20px; }
}
