/* <!-- CUSTOM STYLES --> */

/* ===== ETSY STYLE PALETTE ===== */
:root {
  --primary: #f1641e;
  --text: #222;
  --muted: #595959;
  --bg: #f8f8f8;
  --border: #e5e5e5;
  --star: #f5a623;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

/* Header */
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-weight: bold;
  color: var(--primary);
  font-size: 20px;
}

.menu-link {
  margin-right: 20px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}

.menu-link:hover {
  color: var(--primary);
}

.auth-link {
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

.btn-register {
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 14px;
  text-decoration: none;
  border: none;
}

.btn-register:hover {
  opacity: 0.9;
}

/* Product */
.product-title {
  font-size: 24px;
  font-weight: bold;
}

.price {
  font-size: 24px;
  font-weight: bold;
}

.rating-star {
  color: var(--star);
}

/* CTA ala Etsy */
.btn-cart {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 14px;
  font-weight: bold;
}

.btn-cart:hover {
  opacity: 0.9;
}

/* Reviews */
.review {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 15px;
}

/* Footer */
footer {
  background: #fff;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

/* Mobile-first */
@media (max-width: 768px) {
  .product-title {
    font-size: 20px;
  }

  .price {
    font-size: 22px;
  }
}

/* <!-- Sticky CTA Mobile -- >  */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  padding: 10px;
  z-index: 999;
}

@media (min-width: 768px) {
  .mobile-cta {
    display: none;
  }
}

/* Image Cover */
.img-responsive.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Image Universal */
.image-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-responsive {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
