/* ── Softanova Product Detail (dark / Brinnan) ── */
.product-page {
  padding-top: 8em;
  padding-bottom: 4em;
  background: #0a0a0a;
  color: #ededed;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3em;
  padding: 2em;
  max-width: 1280px;
  margin: 0 auto;
}

.product-detail-left {
  position: sticky;
  top: 110px;
  align-self: flex-start;
}

.product-detail-img {
  border-radius: 1.1em;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Right Column ── */
.product-detail-right {
  display: flex;
  flex-direction: column;
  gap: 1.25em;
}

.product-breadcrumb {
  display: flex;
  gap: 0.5em;
  align-items: center;
  font-family: "Onest", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}
.product-breadcrumb a {
  color: var(--primary);
  font-size: 0.72rem;
  text-decoration: none;
  transition: opacity 0.25s ease;
}
.product-breadcrumb a:hover { opacity: 0.8; }
.product-breadcrumb span { color: rgba(255, 255, 255, 0.3); font-size: 0.72rem; }

.product-title {
  font-family: "Brinnan", "Onest", sans-serif;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff;
  margin: 0;
}

.product-price-block {
  display: flex;
  align-items: baseline;
  gap: 0.75em;
}
.product-old-price {
  font-family: "Onest", sans-serif;
  font-size: 1rem;
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.35);
  text-transform: none;
}
.product-current-price {
  font-family: "Brinnan", "Onest", sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: -0.01em;
  text-transform: none;
  transition: all 0.3s;
}
.product-desc {
  font-family: "Onest", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  text-transform: none;
}
.product-sku {
  font-family: "Onest", sans-serif;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Demo Button ── */
.demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.7em 1.1em;
  width: max-content;
  background: rgba(245, 154, 87, 0.08);
  color: var(--primary);
  border: 1.5px solid rgba(245, 154, 87, 0.3);
  border-radius: 0.6em;
  font-family: "Onest", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  transition: all 0.3s;
}
.demo-btn:hover {
  background: var(--primary);
  color: #0a0a0a;
  border-color: var(--primary);
  box-shadow: 0 10px 30px -8px rgba(245, 154, 87, 0.45);
  transform: translateY(-1px);
}

/* ── Form ── */
.product-add-form { display: flex; flex-direction: column; gap: 1.25em; }

/* ── Variations ── */
.product-fields {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9em;
  overflow: hidden;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.pf-group {
  display: flex;
  flex-direction: column;
  gap: 0.55em;
  padding: 1.25em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pf-group:last-child { border-bottom: none; }

.pf-label {
  font-family: "Onest", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.pf-req { color: var(--primary); margin-left: 0.2em; }

.pf-select,
.pf-input,
.pf-textarea {
  width: 100%;
  padding: 0.85em 1em;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.6em;
  color: #fff;
  font-family: "Onest", sans-serif;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}
.pf-input::placeholder,
.pf-textarea::placeholder { color: rgba(255, 255, 255, 0.3); }

.pf-select:focus,
.pf-input:focus,
.pf-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(245, 154, 87, 0.12);
}

.pf-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f59a57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1em center;
  cursor: pointer;
}

.pf-select option {
  background: #141414;
  color: #fff;
}

.pf-file { font-family: "Onest", sans-serif; font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }
.pf-file-hint {
  display: block;
  font-family: "Onest", sans-serif;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: none;
  margin-top: 0.3em;
}

/* ── Radio ── */
.pf-radio-group { display: flex; flex-direction: column; gap: 0.45em; }
.pf-radio-option { cursor: pointer; }
.pf-radio-option input { display: none; }
.pf-radio-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8em 1em;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.55em;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.25s ease;
}
.pf-radio-option input:checked + .pf-radio-card {
  border-color: var(--primary);
  background: rgba(245, 154, 87, 0.08);
  box-shadow: inset 0 0 0 1px var(--primary);
}
.pf-radio-card:hover { border-color: rgba(245, 154, 87, 0.35); }
.pf-radio-label {
  font-family: "Onest", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  text-transform: none;
}
.pf-radio-price {
  font-family: "Onest", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: none;
  padding: 0.2em 0.55em;
  background: rgba(245, 154, 87, 0.12);
  border-radius: 0.3em;
}
.pf-radio-price.discount {
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.12);
}

/* ── Checkbox ── */
.pf-checkbox-group { display: flex; flex-wrap: wrap; gap: 0.45em; }
.pf-checkbox-option { cursor: pointer; }
.pf-checkbox-option input { display: none; }
.pf-checkbox-card {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.65em 0.9em;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5em;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.25s ease;
}
.pf-checkbox-option input:checked + .pf-checkbox-card {
  border-color: var(--primary);
  background: rgba(245, 154, 87, 0.08);
  box-shadow: inset 0 0 0 1px var(--primary);
}
.pf-checkbox-card:hover { border-color: rgba(245, 154, 87, 0.35); }
.pf-checkbox-label {
  font-family: "Onest", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  text-transform: none;
}
.pf-checkbox-price {
  font-family: "Onest", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: none;
  padding: 0.15em 0.45em;
  background: rgba(245, 154, 87, 0.12);
  border-radius: 0.28em;
}

/* ── Quantity + Total ── */
.product-quantity {
  display: flex;
  align-items: center;
  gap: 1em;
}
.product-quantity label {
  font-family: "Onest", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5em;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}
.quantity-control button {
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #fff;
  font-family: "Onest", sans-serif;
  transition: background 0.2s ease;
}
.quantity-control button:hover { background: rgba(245, 154, 87, 0.12); }
.quantity-control input,
.quantity-control span {
  width: 44px !important;
  min-width: 44px;
  text-align: center;
  border: none !important;
  background: transparent !important;
  font-family: "Onest", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff !important;
  padding: 0 !important;
  -moz-appearance: textfield;
}
.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85em 1.1em;
  background: linear-gradient(135deg, rgba(245, 154, 87, 0.12), rgba(245, 154, 87, 0.02));
  border: 1px solid rgba(245, 154, 87, 0.25);
  border-radius: 0.55em;
}
.product-total-line span:first-child {
  font-family: "Onest", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.product-total-line span:last-child {
  font-family: "Brinnan", "Onest", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--primary);
}

/* ── Add to Cart ── */
.add-to-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  width: 100%;
  padding: 1.05em;
  background: var(--primary) !important;
  color: #0a0a0a !important;
  border: none;
  border-radius: 999px;
  font-family: "Onest", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}
.add-to-cart-btn:hover {
  background: #ffb072 !important;
  box-shadow: 0 14px 40px -12px rgba(245, 154, 87, 0.55);
  transform: translateY(-2px);
}

/* ── Long Description ── */
.product-long-desc {
  max-width: 900px;
  margin: 3em auto;
  padding: 2em;
  background: rgba(15, 15, 15, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1em;
}
.product-long-desc-inner {
  font-family: "Onest", sans-serif;
  text-transform: none;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
}
.product-long-desc-inner h2 {
  font-family: "Brinnan", "Onest", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 1.75em 0 0.75em;
  text-transform: none;
  color: #fff;
}
.product-long-desc-inner h3 {
  font-family: "Brinnan", "Onest", sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  margin: 1.5em 0 0.5em;
  text-transform: none;
  color: #fff;
}
.product-long-desc-inner p {
  font-size: 0.95rem;
  margin-bottom: 1em;
  color: rgba(255, 255, 255, 0.7);
}
.product-long-desc-inner ul,
.product-long-desc-inner ol {
  margin: 0.75em 0 1em 1.5em;
}
.product-long-desc-inner li {
  font-size: 0.9rem;
  margin-bottom: 0.45em;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}
.product-long-desc-inner strong {
  font-weight: 700;
  color: #fff;
}

/* ── Features ── */
.product-features-section {
  padding: 3.5em 2em;
  margin: 2em auto;
  max-width: 1200px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1em;
  background: rgba(15, 15, 15, 0.55);
}
.product-features-section h3 {
  text-align: center;
  margin-bottom: 2em;
  font-family: "Brinnan", "Onest", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #fff;
}
.product-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75em;
}
.product-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  padding: 0.95em 1em;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.55em;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.product-feature-item:hover {
  border-color: rgba(245, 154, 87, 0.3);
  background: rgba(245, 154, 87, 0.04);
}
.product-feature-item .feature-check {
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.95em;
}
.product-feature-item p {
  font-family: "Onest", sans-serif;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  text-transform: none;
}

/* ── Related Products ── */
.related-section {
  padding: 4em 2em;
  max-width: 1280px;
  margin: 0 auto;
}
.related-section h3 {
  text-align: center;
  margin-bottom: 2em;
  font-family: "Brinnan", "Onest", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #fff;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1em;
}

.rel-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9em;
  overflow: hidden;
  transition: all 0.35s ease;
}
.rel-card:hover {
  border-color: rgba(245, 154, 87, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px -12px rgba(0, 0, 0, 0.55), 0 0 30px -10px rgba(245, 154, 87, 0.25);
}
.rel-card-link {
  display: block;
  text-decoration: none;
  color: #ededed;
}

.rel-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #141414;
}
.rel-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  filter: saturate(0.95) brightness(0.95);
}
.rel-card:hover .rel-card-img img {
  transform: scale(1.05);
  filter: saturate(1.05) brightness(1);
}

.rel-card-body {
  padding: 1em;
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}
.rel-cat {
  font-family: "Onest", sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.rel-title {
  font-family: "Brinnan", "Onest", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.005em;
  text-transform: none;
  color: #fff;
}
.rel-price {
  display: flex;
  align-items: baseline;
  gap: 0.4em;
  margin-top: 0.3em;
}
.rel-old {
  font-family: "Onest", sans-serif;
  font-size: 0.72rem;
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.35);
  text-transform: none;
}
.rel-current {
  font-family: "Brinnan", "Onest", sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--primary);
  text-transform: none;
}

.rel-card-actions {
  display: flex;
  gap: 0.5em;
  padding: 0 1em 1em;
}
.rel-cart-form { flex: 1; }
.rel-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  width: 100%;
  padding: 0.65em;
  background: #fff;
  color: #0a0a0a;
  border: none;
  border-radius: 0.5em;
  font-family: "Onest", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
}
.rel-cart-btn:hover {
  background: var(--primary);
  color: #0a0a0a;
}

.rel-demo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  padding: 0.65em 0.8em;
  background: transparent;
  color: var(--primary);
  border: 1.5px solid rgba(245, 154, 87, 0.3);
  border-radius: 0.5em;
  font-family: "Onest", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.rel-demo-btn:hover {
  background: rgba(245, 154, 87, 0.1);
  border-color: var(--primary);
}

/* ── Shop card actions (listing page) ── */
.package-card-actions {
  display: flex;
  gap: 0.75em;
  margin-top: auto;
}
.package-card-actions .add-to-cart-btn { flex: 2; }
.package-card-actions .btn-outline {
  flex: 1;
  text-align: center;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.package-card-actions .btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.package-card-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.see-all-features {
  color: var(--primary);
  font-family: "Onest", sans-serif;
  font-size: 0.75rem;
  text-transform: none;
}
.add-cart-form { flex: 2; }
.add-cart-form .add-to-cart-btn {
  font-size: 0.75rem;
  padding: 0.7em 0.8em;
}

/* ── Mobile ── */
@media (max-width: 1000px) {
  .product-page { padding-top: 6em; }
  .product-detail {
    grid-template-columns: 1fr;
    padding: 1.25em;
    gap: 1.5em;
  }
  .product-detail-left { position: static; }
  .product-title { font-size: 1.5rem; }
  .product-current-price { font-size: 1.5rem; }
  .product-features-section {
    margin: 1.25em;
    padding: 2em 1.25em;
  }
  .product-features-grid { grid-template-columns: 1fr; }
  .related-section { padding: 2em 1.25em; }
  .related-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75em; }
  .rel-card-body { padding: 0.8em; }
  .rel-title { font-size: 0.82rem; }
  .pf-group { padding: 1em; }
  .pf-radio-group { gap: 0.35em; }
  .pf-checkbox-group { gap: 0.3em; }
}
