* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Helvetica, Arial, sans-serif;
  color: #323232;
  background: #fff;
  line-height: 1.5;
  font-size: 16px;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
.page-width {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.btn-group a {
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
}

/* header */
.announcement-bar {
  background: url(../images/top-bg.png);
  color: #fff;
  text-align: center;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  font-weight: 500;
}
.header-logo {
  text-align: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.header-logo img {
  width: 130px;
  margin: 0 auto;
}

/* product layout */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}
@media (max-width: 749px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.gallery-col {
  position: sticky;
  top: 20px;
  align-self: start;
  max-width: 100%;
  overflow: hidden;
}
footer a {
  text-decoration: none;
  color: #000;
}
.trust-badges {
  background: rgb(163,
    217,
    248);
  padding: 1.5rem 0;
  margin-top: 2rem;
}
.trust-badges-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-badge-item img {
  width: 45px;
  height: 45px;
}
@media (max-width: 749px) {
  .trust-badges-grid {
    gap: 1rem;
  }
  .trust-badge-item {
    width: 45%;
    font-size: 0.75rem;
  }
}
.main-swiper {
  width: 100%;
  max-width: 100%;
  border: 1px solid #eee;
  border-radius: 4px;
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.main-swiper .swiper-slide {
  width: 100%;
  flex-shrink: 0;
}
.main-swiper .swiper-slide img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.thumb-swiper {
  width: 100%;
  max-width: 100%;
  padding: 0 2px;
  overflow: hidden;
}
.thumb-swiper .swiper-slide {
  opacity: 0.5;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.thumb-swiper .swiper-slide-thumb-active {
  opacity: 1;
  border-color: #000;
}
.thumb-swiper img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

/* product info */
.product-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.stock-bar {
  background: #e6e6e6;
  height: 8px;
  border-radius: 4px;
  margin: 0.8rem 0;
}
.stock-fill {
  background: linear-gradient(to right, #FBF092, #F5C447, #FA858A, #FB427C);
  height: 100%;
  border-radius: 4px;
  width: 16%;
}
.stock-text {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}
.price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 1rem 0;
}
.current-price {
  font-size: 2rem;
  font-weight: 700;
  color: #ffc14f;
}
.old-price {
  font-size: 1rem;
  text-decoration: line-through;
  color: #777;
}
.badge-off {
  background: #ffc14f;
  color: #fff;
  padding: 0.2rem 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.variant-label {
  font-weight: 700;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}
.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.variant-options input[type="radio"] {
  display: none;
}
.variant-options label {
  border: 1px solid #ffc14f;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  font-size: 0.85rem;
  cursor: pointer;
  background: #fff;
}
.variant-options input:checked+label {
  background: #ffc14f;
  color: #fff;
}
.qty-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}
.qty-row input {
  width: 60px;
  text-align: center;
  padding: 0.4rem;
  border: 1px solid #ddd;
  border-radius: 6px;
}
.progress-bar-out {
  background: #f0f0f0;
  height: 2.2rem;
  border-radius: 4px;
  margin: 1rem 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-left: 0.8rem;
  font-size: 0.85rem;
  z-index: 1;
}
.progress-bar-in {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: #f6b76d;
  width: 0%;
  z-index: 0;
}
.progress-bar-out span {
  position: relative;
  z-index: 2;
}
.btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.2rem 0;
}
.btn {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
}
.btn-cart {
  background: #fff;
  border: 2px solid #000;
  color: #000;
}
.btn-buy {
  background: #ffc14f;
  color: #fff;
}
.features-icons {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #eee;
  padding-top: 1.2rem;
  margin-top: 1rem;
  gap: 0.8rem;
}
.feature-item {
  width: 48%;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
}
.product-description {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}
.product-description img {
  width: 100%;
  height: auto;
  margin: 0.5rem 0;
}

/* order form */
.order-form {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 8px;
}
.order-form h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
}
.btn-submit {
  background: #ffc14f;
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
}
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active {
  display: flex;
}
.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}
.modal-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #ffc14f;
}
.modal-content p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.modal-content button {
  background: #000;
  color: #fff;
  padding: 0.6rem 2rem;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 700;
}

.footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.footer-col h4 {
  margin-bottom: 0.8rem;
}
.footer-col ul {
  list-style: none;
  font-size: 0.85rem;
}
.footer-bottom {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #666;
}

@media (max-width: 749px) {
  .product-title {
    font-size: 1.4rem;
  }
  .gallery-col {
    position: static;
  }
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f0f0f0;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  z-index: 1001;
  font-size: 0.9rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
  text-align: center;
}
.cookie-banner button {
  background: #ffc14f;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 40px;
  font-weight: 700;
  cursor: pointer;
  color: #323232;
}