/* /=== SHOP PAGE START ===/ */
.section-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.shop-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-btn,
.cart-button,
.back-to-shop,
.remove-btn,
.qty-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--wood);
  color: var(--cream);
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.filter-btn:hover,
.cart-button:hover,
.back-to-shop:hover,
.remove-btn:hover,
.qty-btn:hover {
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--red);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(80, 45, 12, .1);
  box-shadow: 0 18px 38px rgba(80, 45, 12, .13);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 52px rgba(80, 45, 12, .18);
}

.product-image-btn {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.product-image-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.product-card:hover .product-image-btn img {
  transform: scale(1.06);
}

.product-card-body {
  padding: 18px;
}

.product-card-body span {
  display: block;
  margin-bottom: 6px;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #9b4b1d;
}

.product-card-body h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  color: var(--ink);
}

.product-card-body p {
  margin: 0 0 10px;
  color: rgba(32, 21, 16, .66);
}

.product-card-body strong {
  display: block;
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
/* /=== SHOP PAGE END ===/ */

/* /=== PRODUCT DETAIL START ===/ */
.product-detail-page {
  max-width: 1180px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(280px, 1fr);
  gap: 34px;
  align-items: start;
  margin-top: 24px;
}

.detail-gallery {
  position: sticky;
  top: 98px;
}

.detail-image-frame {
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 24px 58px rgba(80, 45, 12, .22);
  background: rgba(255, 255, 255, .4);
}

.detail-image-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.detail-info {
  padding: 10px 0;
}

.detail-info h2 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: .92;
  letter-spacing: -.06em;
}

.detail-price {
  margin: 0 0 18px;
  font-size: 1.6rem;
  font-weight: 950;
  color: var(--red);
}

.detail-info p {
  color: rgba(32, 21, 16, .72);
  line-height: 1.7;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.tag-row span {
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(252, 191, 73, .3);
  color: #7a3a18;
  font-size: .75rem;
  font-weight: 900;
}

.detail-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 20px 0;
}

.detail-actions #detailQty {
  min-width: 38px;
  text-align: center;
  font-weight: 950;
  font-size: 1.2rem;
}
/* /=== PRODUCT DETAIL END ===/ */

/* /=== PRODUCT AVAILABILITY START ===/ */
.product-availability {
  margin-top: 10px;

  color: rgba(32, 21, 16, .66);

  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .015em;
}
/* /=== PRODUCT AVAILABILITY END ===/ */


/* /=== CHECKOUT START ===/ */
.checkout-page {
  max-width: 760px;
}

.checkout-form {
  display: grid;
  gap: 16px;
  max-width: 640px;
  margin-top: 24px;
}

.checkout-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid rgba(80, 45, 12, .18);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, .78);
  color: var(--ink);
  font: inherit;
}

.checkout-form textarea {
  resize: vertical;
}
/* /=== CHECKOUT END ===/ */

/* /=== PRODUCT DETAIL IMAGE ZOOM START ===/ */
.detail-image-button {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  text-align: left;
}

.detail-image-button span {
  position: absolute;
  left: 16px;
  bottom: 16px;

  padding: 8px 12px;
  border-radius: 999px;

  background: rgba(16, 8, 6, .82);
  color: var(--cream);

  font-size: .78rem;
  font-weight: 950;

  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
}

.detail-image-button:hover span {
  opacity: 1;
  transform: translateY(0);
}
/* /=== PRODUCT DETAIL IMAGE ZOOM END ===/ */

/* /=== PRINT OPTION PICKER START ===/ */
.print-option-picker {
  display: grid;
  gap: 9px;

  margin: 22px 0 14px;
  padding: 18px;

  border-radius: 22px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(80, 45, 12, .12);

  box-shadow: 0 12px 28px rgba(80, 45, 12, .08);

  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(32, 21, 16, .72);
}

.print-option-picker select {
  width: 100%;
  min-height: 52px;

  border: 1px solid rgba(80, 45, 12, .18);
  border-radius: 16px;

  padding: 0 44px 0 14px;

  background:
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,248,236,.9));

  color: var(--ink);

  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;

  cursor: pointer;
}

.print-option-picker select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow:
    0 0 0 4px rgba(247, 127, 0, .16);
}

.detail-info p:has(#detailSelectedSize) {
  margin: 8px 0 18px;
  padding: 12px 14px;

  border-radius: 16px;

  background: rgba(252, 191, 73, .18);
  color: rgba(32, 21, 16, .78);
}
/* /=== PRINT OPTION PICKER END ===/ */