:root {
  --fp-max-width: 1200px;
  --fp-gap: 2rem;
  --fp-radius: 16px;
  --fp-shadow: 0 6px 28px rgba(0,0,0,.08);
  --fp-text: #111;
  --fp-muted: #555;
  --fp-primary: #0b72ff;
  font-family: 'Inter', sans-serif;
}

.fp-wrapper {
  max-width: var(--fp-max-width);
  margin: 3rem auto;
  padding: 0 1rem;
  animation: fadeIn 0.4s ease;
}

.fp-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--fp-gap);
}

.fp-main-image-wrapper { 
    text-align: center; 
    margin-bottom: 15px; 
    overflow: hidden; 
    border-radius: var(--fp-radius);
}

.fp-main-image-wrapper img { 
    max-width: 100%; 
    border-radius: var(--fp-radius); 
    transition: transform 0.3s ease; 
    cursor: zoom-in; 
}

.fp-main-image-wrapper img.zoomed { 
    transform: scale(1.5); 
    cursor: zoom-out; 
}


/* ===== INFO PANEL ===== */
.fp-info {
  background: #fff;
  border-radius: var(--fp-radius);
  box-shadow: var(--fp-shadow);
  padding: 2rem;
  position: sticky;
  top: 80px;
  align-self: start;
}

.fp-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--fp-text);
}

.fp-price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--fp-primary);
}

.fp-desc { 
  color: var(--fp-muted); 
  margin-bottom: 1rem; 
}

.single_add_to_cart_button {
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px;
  border-radius: var(--fp-radius);
  background: linear-gradient(90deg, #111, var(--fp-primary));
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease;
}
.single_add_to_cart_button:hover { opacity: 0.85; transform: translateY(-1px); }

.fp-benefits {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  display: grid;
  gap: .25rem;
  font-size: .9rem;
  color: var(--fp-muted);
  text-align: left;
}

/* ===== DETAILS & RELATED ===== */
.fp-details, .fp-related {
  margin-top: 2rem;
  background: #fff;
  border-radius: var(--fp-radius);
  box-shadow: var(--fp-shadow);
  padding: 1.5rem;
}

/* PRODUCT DETAILS BOX */
.fp-details-box {
  margin-top: 1.5rem;
  padding: 1.2rem;
  border: 1px solid #eee;
  border-radius: var(--fp-radius);
  background: #fafafa;
}

.fp-details-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .75rem;
  color: var(--fp-text);

}

.fp-details-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .4rem;
  font-size: 0.95rem;
  color: var(--fp-muted);
}

.fp-details-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #ddd;
  padding-bottom: .3rem;
}

.fp-details-list li strong {
  color: var(--fp-text);
  min-width: 120px;
}


/* ===== MEDIA QUERIES ===== */
@media(max-width:768px){
    .fp-thumb img { width: 50px; height: 50px; }
}

@media (max-width: 980px) {
  .fp-grid { grid-template-columns: 1fr; }
  .fp-info { position: static; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
