/* =========================
   ROOT VARIABLES
========================= */

:root {
  --bg: linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%);
  --surface: #fff;
  --surface-soft: #f2f2f2;

  --text: #1f2937;
  --text-soft: #6b7280;
  --text-h-color: #4a4a4a;
  --border: #d1d5db;
  --border-soft: #e5e7eb;

  --accent: #009900;
  --accent-light: #e6ffe6;
  --accent-soft: #e6ffe6;
  --gold:#c28840;
  --orange: #ffa500;
  --orange-soft: #fff6e6;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 18px 60px rgba(149, 177, 241, 0.12);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.08);

  --transition: 0.25s ease;
}

/* =========================
   RESET
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

/* =========================
   LAYOUT
========================= */

.page-shell1 {
  width: min(1100px, 100% - 40px);
  margin-inline: auto;
  padding-block: 48px;
}

.product-layout,
.faq {
  margin-top: 48px;
}

/* =========================
   PRODUCT CARD
========================= */

.product-detail-card {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 1.1fr;
  gap: 40px;

  padding: 28px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* =========================
   PRODUCT IMAGE
========================= */

.product-media {
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  aspect-ratio: 4 / 5;

  border-radius: 30px;

  background:
    radial-gradient(
      circle at top,
      rgba(59, 130, 246, 0.12),
      transparent 45%
    ),
    #f8fafc;
}

.product-media::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 30%,
      rgba(15, 23, 42, 0.14)
    );
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   BADGE
========================= */

.product-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;

  padding: 8px 14px;

  border-radius: var(--radius-pill);

  background: var(--accent);
  color: #fff;

  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* =========================
   PRODUCT INFO
========================= */

.product-info {
  display: grid;
  gap: 28px;
}

.product-meta .brand {
  margin: 0 0 10px;

  color: var(--text-soft);

  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-meta h1 {
  margin: 0;
  color: var(--text-h-color);
  font-size: clamp(2rem, 2.9vw, 3rem);
  line-height: 1.05;
}

.price {
  margin-top: 16px;

  font-size: 1.5rem;
  font-weight: 700;
}

.product-description p,
.product-info p,
.faq details p {
  margin: 0;

  color: var(--text-soft);
  line-height: 1.8;
}

/* =========================
   FORM ELEMENTS
========================= */

.field-group {
  display: grid;
  gap: 14px;
}

.field-label {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

/* =========================
   COLOR OPTIONS
========================= */

.color-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.color-swatch {
  padding: 16px 12px;

  border: 1px solid var(--orange);
  border-radius: 18px;

  background: #ffffff;
  color: var(--text);

  font-weight: 700;

  cursor: pointer;

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.color-swatch:hover,
.color-swatch:focus-visible {
  transform: translateY(-2px);

  border-color: var(--gold);

  box-shadow:
    0 10px 30px rgba(30, 64, 175, 0.12);
}

.color-swatch.selected:hover {
 border-color: var(--gold);
	
}


.color-swatch.selected {
  border-color: var(--orange);
  background: #ffffff;
}

/* =========================
   SELECTED COLOR
========================= */

.selected-color {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  width: fit-content;

  padding: 14px 18px;

  border-radius: var(--radius-sm);

  background: #fff6e6;
	
  color: #0f172a;

  font-weight: 700;
}

/* =========================
   BUTTON
========================= */

.buy-button {
  display: flex;
  align-items: center;      
  justify-content: center;  

  width: min(280px, 100%);
  margin: 8px auto 0;

  padding: 16px 24px;

  border: 0;
  border-radius: 18px;

   background: linear-gradient(90deg, var(--orange), var(--gold));
  color: var(--white) !important;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.buy-button:hover {
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

/* =========================
   CONTENT CARDS
========================= */

.product-info section,
.faq details {
  padding: 28px;

  border: 1px solid var(--border-soft);
  border-radius: 24px;

  background: var(--surface);

  box-shadow: var(--shadow-sm);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.product-info section:hover,
.faq details:hover {
  transform: translateY(-4px);

  border-color: var(--gold);

  box-shadow: var(--shadow-lg);
}

/* =========================
   HEADINGS
========================= */

.product-info h2,
.faq h2 {
  margin: 0 0 18px;
color: var(--text-h-color);
 

  line-height: 1.2;
}

.product-info h2 {
  position: relative;

  padding-bottom: 14px;

  font-size: 1.4rem;
  font-weight: 800;
}

.product-info h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 72px;
  height: 4px;

  border-radius: var(--radius-pill);

  background:
    linear-gradient(
      90deg,
      var(--orange),
      var(--orange-soft)
    );
}

.faq h2 {
  font-size: 1.7rem;
}

/* =========================
   LISTS
========================= */

.feature-list,
.tips-list {
  display: grid;
  gap: 14px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.feature-list li,
.tips-list li {
  position: relative;

  padding: 16px 18px 16px 52px;

  border: 1px solid #eef2f7;
  border-radius: 18px;

  background: var(--surface-soft);

  color: #374151;
  line-height: 1.6;
}

.feature-list li::before,
.tips-list li::before {
  content: "✓";

  position: absolute;
  top: 50%;
  left: 18px;

  transform: translateY(-50%);

  width: 22px;
  height: 22px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--accent);
  color: #fff;

  font-size: 0.75rem;
  font-weight: 700;
}

.feature-list strong {
  color: #111827;
}

/* =========================
   FAQ
========================= */

.faq {
  display: grid;
  gap: 18px;
  
}

.faq h2 {

	text-align: center;
    
    background: linear-gradient(135deg, var(--gold), #ce9e64);
    color: white;

    padding: 18px 28px;
    border-radius: 14px;

    width: fit-content;
    margin: 0 auto 30px;

    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.5px;

    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.faq summary {
  position: relative;

  padding-right: 30px;

  list-style: none;

  color: var(--text-h-color);

  font-weight: 700;

  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";

  position: absolute;
  right: 0;
  top: 0;

  color: var(--orange);

  font-size: 1.2rem;
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin-top: 16px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .product-detail-card {
    grid-template-columns: 1fr;
  }

  .color-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-info section,
  .faq details {
    padding: 22px;
  }

  .product-info h2 {
    font-size: 1.2rem;
  }

  .faq h2 {
    font-size: 1.4rem;
	text-align: center;
  }
}

@media (max-width: 520px) {
  .page-shell1 {
    width: min(100% - 24px);
    padding-block: 28px;
  }

  .product-detail-card {
    gap: 24px;
    padding: 18px;
  }

  .color-options {
    grid-template-columns: 1fr;
  }

  .buy-button {
    width: 100%;
  }
}

/* =========================
   IMAGE ZOOM EFFECT
========================= */

.product-media {
  cursor: zoom-in;
}

.product-media img {
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

/* Hover Zoom */
.product-media:hover img {
  transform: scale(1.08);
  filter: brightness(1.03);
}

/* Optional soft overlay effect */
.product-media:hover::before {
  background:
    linear-gradient(
      180deg,
      transparent 20%,
      rgba(15, 23, 42, 0.08)
    );
}