/* =========================
   GLOBAL
   ========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(135deg, #000, #1a1a1a);
  color: #fff;
  font-family: Arial, sans-serif;
  padding: 30px;
}

/* =========================
   TITLES
   ========================= */
.site-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 32px;
}

/* =========================
   GRID (INDEX PAGE)
   ========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* =========================
   CARD
   ========================= */
.card {
  background: #111;
  padding: 18px;
  border-radius: 15px;
  color: #fff;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  background: #151515;
}

.card h3 {
  margin: 8px 0 4px;
  font-size: 18px;
}

.card p {
  margin: 0;
  font-size: 14px;
}

/* =========================
   4:5 IMAGE RATIO
   ========================= */
.product-img-45 {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-45 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-img-45.no-image {
  color: #888;
  font-size: 14px;
}

/* =========================
   ACTION BUTTONS
   ========================= */
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn {
  background: #fff;
  color: #000;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  text-align: center;
}

.btn:hover {
  opacity: 0.9;
}

.whatsapp {
  background: #25D366;
  color: #fff;
}

/* =========================
   BREADCRUMB
   ========================= */
.breadcrumb {
  max-width: 1100px;
  margin: 0 auto 20px;
  text-align: right;
  opacity: 0.7;
  font-size: 14px;
}

/* =========================
   PRODUCT PAGE
   ========================= */
.product-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #0f0f0f;
  padding: 30px;
  border-radius: 20px;
}

/* Product images */
.product-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
}

.product-images img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  background: #111;
}

/* Product details */
.product-details h1 {
  font-size: 28px;
  margin-bottom: 15px;
}

.variant-label {
  display: block;
  margin-bottom: 6px;
  opacity: 0.8;
}

.variant-select {
  width: 100%;
  padding: 12px;
  background: #000;
  color: #fff;
  border: 1px solid #333;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* =========================
   MOBILE RESPONSIVE
   ========================= */
@media (max-width: 768px) {

  body {
    padding: 20px;
  }

  .site-title {
    font-size: 26px;
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
  }

  .card {
    padding: 15px;
  }

  .card h3 {
    font-size: 16px;
  }

  .btn {
    font-size: 13px;
    padding: 9px 14px;
  }

  .breadcrumb {
    text-align: left;
  }

  .product-wrapper {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .product-details h1 {
    font-size: 24px;
  }
}

/* =========================
   SMALL MOBILE (EXTRA)
   ========================= */
@media (max-width: 480px) {

  .grid {
    grid-template-columns: 1fr 1fr;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
/* =========================
   PRODUCT GRID
   ========================= */

/* Desktop: 4 columns */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Tablet: 3 columns */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile: 2 columns */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}
/* Variant text on product card */
.variant-text {
  font-size: 13px;
  opacity: 0.85;
  margin: 4px 0 6px;
}
.Price-tag {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
}
/* =========================
   VARIANT LIST (INDEX CARD)
   ========================= */
/* Variant list */
.variant-list{
  margin-top:8px;
  font-size:14px;
}

.variant-row{
  display:flex;
  justify-content:space-between;
  margin-bottom:4px;
  opacity:0.9;
}

.variant-row strong{
  font-weight:600;
}
/* =========================
   HEADER + LOGO
   ========================= */
.site-header {
  width: 100%;
  margin-bottom: 25px;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: center;
}

.brand img {
  height: 98px;
  width: auto;
}

/* Mobile logo size */
@media (max-width: 768px) {
  .brand img {
    height: 40px;
  }
}
