/* =========================================================
   Brassjewel · Option B — Modern Minimal
   Scope: .product-info-main  (product detail right panel)
   Theme: Smartwave/porto_brassjewel  (store_id=4 only)
   Data strategy: preserve DB content (10 raw bullets in
   .product.attribute.overview), restyle visual layer only.
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ---------- container ---------- */
.product-info-main {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  color: #0E0E0E !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- hide prev/next product nav (optional cleanup) ---------- */
/* left as-is; they're minor */

/* ---------- TOP META row: reuse stock + sku area ---------- */
.product-info-main .product-info-stock-sku {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 28px !important;
  margin: 0 0 28px !important;
  border-bottom: 1px solid #ECECEC;
  font-family: 'Manrope', sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  color: #888 !important;
}
.product-info-main .product-info-stock-sku .stock.available {
  color: #0F6D4F !important;
  background: transparent !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
}
.product-info-main .product-info-stock-sku .stock.available::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0F6D4F;
}
.product-info-main .product-info-stock-sku .stock.available span {
  font-weight: 700 !important;
}
.product-info-main .product-info-stock-sku .product.attribute.sku {
  padding: 0 !important;
  margin: 0 !important;
  color: #888 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
}
.product-info-main .product-info-stock-sku .product.attribute.sku > strong {
  color: #888 !important;
  font-weight: 600 !important;
}
.product-info-main .product-info-stock-sku .product.attribute.sku .type {
  color: #888 !important;
  font-weight: 600 !important;
  margin-right: 4px;
}
.product-info-main .product-info-stock-sku .product.attribute.sku .value {
  color: #0E0E0E !important;
  font-weight: 700 !important;
}

/* ---------- TITLE ---------- */
.product-info-main .page-title-wrapper.product {
  margin: 0 0 22px !important;
  padding: 0 !important;
}
.product-info-main .page-title-wrapper .page-title {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 600 !important;
  font-size: 32px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  color: #0E0E0E !important;
  margin: 0 !important;
  max-width: 26ch;
}
.product-info-main .page-title-wrapper .page-title .base {
  font: inherit !important;
  color: inherit !important;
}

/* ---------- PRICE ---------- */
.product-info-main .product-info-price {
  border: none !important;
  padding: 0 0 32px !important;
  margin: 0 0 32px !important;
}
.product-info-main .product-info-price .price-box {
  font-family: 'Manrope', sans-serif !important;
  margin: 0 !important;
}
.product-info-main .price-box .price-label {
  display: block !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #999 !important;
  margin-bottom: 2px !important;
}
.product-info-main .price-box .price-label::after {
  content: '' !important;
}
.product-info-main .price-box .price,
.product-info-main .price-box .price-final_price .price {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  font-size: 32px !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  color: #0E0E0E !important;
}

/* ---------- OVERVIEW (bullets) ---------- */
.product-info-main .product.attribute.overview {
  margin: 0 0 32px !important;
  padding: 0 !important;
}
.product-info-main .product.attribute.overview .value {
  margin: 0 !important;
  padding: 0 !important;
}
.product-info-main .product.attribute.overview ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.product-info-main .product.attribute.overview ul li {
  position: relative;
  padding: 6px 0 !important;
  margin: 0 !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: #2A2A2A !important;
  list-style: none !important;
}
.product-info-main .product.attribute.overview ul li::marker { content: '' !important; }
/* No bullet markers — bold "Label:" inside each line is enough hierarchy */
.product-info-main .product.attribute.overview ul li::before {
  content: none !important;
}
/* If overview content isn't a list (plain text), style gracefully */
.product-info-main .product.attribute.overview .value > p {
  font-family: 'Manrope', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #333 !important;
  margin: 0 0 12px !important;
}

/* ---------- PRODUCT OPTIONS (Color dropdown etc.) ---------- */
.product-info-main .product-options-wrapper {
  margin-top: 0 !important;
}
.product-info-main .product-options-wrapper .fieldset > .field {
  margin: 0 0 18px !important;
}
.product-info-main .product-options-wrapper .field > .label {
  font-family: 'Manrope', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: #0E0E0E !important;
  margin-bottom: 10px !important;
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 4px !important;
  width: auto !important;
}
.product-info-main .product-options-wrapper .field > .label > span {
  font: inherit !important;
  color: inherit !important;
  display: inline !important;
  letter-spacing: inherit !important;
}
/* Required asterisk — keep inline, small, muted red */
.product-info-main .product-options-wrapper .field.required > .label::after,
.product-info-main .product-options-wrapper .field._required > .label::after {
  content: '*';
  color: #B00020;
  font-size: 11px;
  font-weight: 700;
  margin-left: 2px;
  display: inline;
  letter-spacing: 0;
}
/* Hide Magento's own required marker span/em (which renders on its own line) */
.product-info-main .product-options-wrapper .field > .label em.required,
.product-info-main .product-options-wrapper .field > .control strong em.required,
.product-info-main .product-options-wrapper .field._required > .label > strong,
.product-info-main .product-options-wrapper .field.required > .label > strong {
  display: none !important;
}
/* In case required em sits as sibling of label (Magento's different markup) */
.product-info-main .product-options-wrapper .field .required-entry + em.required,
.product-info-main .product-options-wrapper .field > em.required,
.product-info-main .product-options-wrapper .field > strong > em.required {
  display: none !important;
}
/* select */
.product-info-main select,
.product-info-main .super-attribute-select {
  width: 100% !important;
  background: #FFFFFF !important;
  border: 1px solid #D6D6D6 !important;
  border-radius: 2px !important;
  padding: 13px 40px 13px 16px !important;
  height: auto !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #0E0E0E !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%230E0E0E' stroke-width='1.4' d='M1 1l5 5 5-5'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
.product-info-main select:focus,
.product-info-main .super-attribute-select:focus {
  border-color: #0E0E0E !important;
  outline: none !important;
}

/* ---------- QUANTITY + ADD TO CART ---------- */
.product-info-main .product-options-bottom {
  margin-top: 12px !important;
}
.product-info-main .box-tocart {
  padding: 0 !important;
  margin: 0 !important;
}
.product-info-main .box-tocart .fieldset {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  gap: 10px !important;
  align-items: stretch !important;
}
.product-info-main .box-tocart .field.qty {
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  flex: 0 0 auto !important;
}
.product-info-main .box-tocart .field.qty .label {
  display: none !important;  /* "Qty:" label — not needed visually */
}
.product-info-main .box-tocart .field.qty .control {
  display: flex !important;
  align-items: center !important;
  border: 1px solid #D6D6D6 !important;
  border-radius: 2px !important;
  height: 52px !important;
  padding: 0 10px !important;
  background: #FFFFFF !important;
  position: relative;
}
.product-info-main .box-tocart input#qty {
  border: none !important;
  background: transparent !important;
  width: 40px !important;
  text-align: center !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0E0E0E !important;
  padding: 0 !important;
  height: 48px !important;
  box-shadow: none !important;
  -moz-appearance: textfield;
}
.product-info-main .box-tocart input#qty::-webkit-outer-spin-button,
.product-info-main .box-tocart input#qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-info-main .box-tocart .qty-changer {
  position: static !important;
  display: flex !important;
  flex-direction: row-reverse !important;
  gap: 6px;
  order: -1;
}
.product-info-main .box-tocart .qty-changer a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 26px !important;
  height: 26px !important;
  border: none !important;
  background: transparent !important;
  color: #0E0E0E !important;
  opacity: 1 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  text-decoration: none !important;
}
.product-info-main .box-tocart .qty-changer a:hover { color: #666 !important; }
/* Porto draws + / − as thin CSS-shape borders in ::before/::after which
   look weak at 26px. Nuke those shapes, kill the porto-icon <i>, then
   render real Manrope glyphs via ::before only. High-specificity chain
   (.box-tocart .qty-changer > a.qty-inc) beats Porto's styles-m. */
.product-info-main .box-tocart .qty-changer > a.qty-inc,
.product-info-main .box-tocart .qty-changer > a.qty-dec {
  color: #0E0E0E !important;
  text-align: center !important;
  font-size: 0 !important;      /* hide any inline text/icon */
}
.product-info-main .box-tocart .qty-changer > a.qty-inc > i,
.product-info-main .box-tocart .qty-changer > a.qty-dec > i {
  display: none !important;
}
/* Wipe Porto's shape ::before + ::after */
.product-info-main .box-tocart .qty-changer > a.qty-inc::before,
.product-info-main .box-tocart .qty-changer > a.qty-inc::after,
.product-info-main .box-tocart .qty-changer > a.qty-dec::before,
.product-info-main .box-tocart .qty-changer > a.qty-dec::after {
  content: none !important;
  border: none !important;
  background: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  transform: none !important;
  position: static !important;
  display: inline !important;
}
/* Put real glyphs back */
.product-info-main .box-tocart .qty-changer > a.qty-inc::before {
  content: '+' !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: #0E0E0E !important;
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  inset: 0 !important;
}
.product-info-main .box-tocart .qty-changer > a.qty-dec::before {
  content: '−' !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: #0E0E0E !important;
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  inset: 0 !important;
}
/* Make the <a> the positioning context for the absolute ::before */
.product-info-main .box-tocart .qty-changer > a.qty-inc,
.product-info-main .box-tocart .qty-changer > a.qty-dec {
  position: relative !important;
}
/* Hover */
.product-info-main .box-tocart .qty-changer > a.qty-inc:hover::before,
.product-info-main .box-tocart .qty-changer > a.qty-dec:hover::before {
  color: #666 !important;
}
/* Order: minus input plus */
.product-info-main .box-tocart .field.qty .control {
  display: flex !important;
  flex-direction: row !important;
}
.product-info-main .box-tocart .field.qty .control > input {
  order: 2;
}
.product-info-main .box-tocart .field.qty .control .qty-changer {
  display: contents !important;
}
.product-info-main .box-tocart .field.qty .control .qty-changer .qty-dec {
  order: 1;
  margin-right: 4px;
}
.product-info-main .box-tocart .field.qty .control .qty-changer .qty-inc {
  order: 3;
  margin-left: 4px;
}

/* Add to cart button */
.product-info-main .box-tocart .actions {
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 !important;
  display: block !important;
}
.product-info-main #product-addtocart-button,
.product-info-main .box-tocart button.tocart,
.product-info-main .action.primary.tocart {
  width: 100% !important;
  height: 52px !important;
  background: #0E0E0E !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 2px !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  line-height: 52px !important;
  padding: 0 !important;
  transition: background .2s !important;
  box-shadow: none !important;
}
.product-info-main #product-addtocart-button:hover,
.product-info-main .box-tocart button.tocart:hover,
.product-info-main .action.primary.tocart:hover {
  background: #2e2e2e !important;
}
.product-info-main #product-addtocart-button span,
.product-info-main .action.primary.tocart span {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
}

/* ---------- trust / extras row (below CTA) ---------- */
.product-info-main .product-social-links,
.product-info-main .product-addto-links {
  margin-top: 22px !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 12px !important;
  color: #666 !important;
}
.product-info-main .product-addto-links a {
  color: #666 !important;
  text-decoration: none !important;
  letter-spacing: 0.04em;
}
.product-info-main .product-addto-links a:hover { color: #0E0E0E !important; }

/* ---------- spacing resets ---------- */
.product-info-main .product-info-main > * + * { /* no-op safeguard */ }
.product-info-main .overview.product.attribute {
  /* legacy selector variant */
  margin: 0 0 32px !important;
}

/* ---------- responsive ---------- */
@media (max-width: 768px) {
  .product-info-main .page-title-wrapper .page-title { font-size: 26px !important; }
  .product-info-main .price-box .price { font-size: 28px !important; }
  .product-info-main .product.attribute.overview ul li { font-size: 13.5px !important; }
}
