.shop-page .hero,
.shop-product .hero,
.shop-cart .hero {
  background: transparent;
}

.shop-hero {
  padding: var(--s5) 0;
}
.shop-hero .hero-panel {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.sort-card select,
.input-select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 1rem;
  font-family: inherit;
}

.featured-product {
  padding: var(--s5) 0;
}
.featured-product .fp-frame {
  display: block;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: var(--s2);
  background: #fff;
}
.fp-placeholder {
  width: 100%;
  height: 320px;
  background: repeating-linear-gradient(45deg, rgba(0,0,0,.05) 0 14px, transparent 14px 28px);
  border-radius: 12px;
}
.fp-copy h2 {
  font-size: 2rem;
  margin-bottom: var(--s2);
}
.fp-tags {
  margin: var(--s2) 0;
  display: flex;
  gap: var(--s2);
}

.product-grid {
  margin-top: var(--s3);
}
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card .card-media {
  display: block;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.product-card .card-meta {
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
  align-items: baseline;
}
.price-tag {
  font-weight: 700;
}
.badge-dark {
  background: #090706;
  color: #fff;
}

.product-hero {
  padding: var(--s5) 0;
}
.product-layout {
  gap: var(--s4);
}
.product-frame {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: var(--s2);
  background: #fff;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-thumbs {
  display: flex;
  gap: var(--s1);
  margin-top: var(--s2);
  flex-wrap: wrap;
}
.product-thumbs .thumb {
  width: 80px;
  height: 80px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 4px;
  cursor: pointer;
  opacity: .6;
}
.product-thumbs .thumb.on {
  opacity: 1;
  border-color: var(--primary);
}
.product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.product-panel h1 {
  margin-bottom: var(--s2);
}
.product-desc {
  margin-bottom: var(--s3);
  color: var(--muted);
  line-height: 1.6;
}
.variant-group {
  border: 0;
  margin: 0 0 var(--s2);
  padding: 0;
}
.variant-group legend {
  font-weight: 600;
  margin-bottom: 8px;
}
.variant-options {
  display: flex;
  gap: var(--s1);
  flex-wrap: wrap;
}
.variant-option {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.variant-option input {
  display: none;
}
.variant-option input:checked + span,
.variant-option input:checked ~ span {
  font-weight: 600;
}
.variant-option input:checked ~ * {
  color: var(--primary);
}
.variant-option.disabled {
  opacity: .4;
  cursor: not-allowed;
}
.color-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--swatch, #eee);
}
.qty-row {
  margin-bottom: var(--s2);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.qty-row input {
  width: 120px;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.form-actions {
  display: flex;
  gap: var(--s1);
  flex-wrap: wrap;
}

.cart-view {
  padding: var(--s5) 0;
}
.cart-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--s3);
}
@media (max-width: 900px) {
  .cart-grid {
    grid-template-columns: 1fr;
  }
}
.cart-line {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--s2);
  padding: var(--s2);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: var(--s2);
  background: #fff;
}
.cart-line img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}
.line-body {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}
.line-head {
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
  align-items: baseline;
}
.line-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pill-btn {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}
.variant-tags {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot,#ccc);
  border: 1px solid var(--line);
}
.line-total {
  font-weight: 600;
}
.remove-link {
  color: var(--muted);
  text-decoration: underline;
  font-size: 0.9rem;
}
.cart-side {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.info-form,
.coupon-form,
.summary-actions {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}
.info-form input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.info-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
}
.info-form .form-row {
  display: flex;
  gap: var(--s1);
}
@media (max-width: 600px) {
  .info-form .form-row {
    flex-direction: column;
  }
}
.coupon-form input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
}
.summary-list div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.summary-total {
  font-weight: 700;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.alert {
  border-radius: 10px;
  padding: 0.6rem;
  font-size: 0.9rem;
}
.alert.error { background: #fee2e2; color: #991b1b; }
.alert.warning { background: #fef3c7; color: #92400e; }

.feedback {
  padding: var(--s5) 0;
}
.order-card {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: var(--s3);
  background: #fff;
  text-align: center;
}
.order-card.success .status-icon { background: #dcfce7; color: #065f46; }
.order-card.warning .status-icon { background: #fef3c7; color: #92400e; }
.order-card .status-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin: 0 auto var(--s2);
}
.items-list {
  margin: var(--s2) 0;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: var(--s2);
  text-align: left;
}
.items-list div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.order-card .cta-row {
  justify-content: center;
}
