

.rr-product-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.rr-coa-top-button {
  flex-shrink: 0;
  display: inline-block;
  margin-top: 8px;
  padding: 10px 15px;
  border: 0.5px solid #c9956b;
  background: #0d0b09;
  color: #c9956b;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.rr-coa-top-button:hover {
  color: #e8d5c0;
  border-color: #e8d5c0;
  box-shadow: 0 0 10px rgba(201, 149, 107, 0.22);
}

.rr-research-warning {
  border: 1px solid #b85a5a;
  background: #120c0c;
  padding: 8px 12px;
  margin-bottom: 14px;
}

.rr-research-warning-title {
  color: #d8a16f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.rr-research-warning-text {
  color: #b8a89a;
  font-size: 11px;
  line-height: 1.55;
}

#cart-added-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 18px;

    padding: 12px 18px;

    background: rgba(13,11,9,0.96);
    border: 1px solid rgba(201,149,107,0.25);

    color: #e8d5c0;

    opacity: 0;
    visibility: hidden;

    transition:
        visibility 2s ease;

    backdrop-filter: blur(6px);
}

#cart-added-toast.show {
    opacity: 1;
    visibility: visible;
    transition: none;
}

#cart-added-text {
    color: #c9956b;
    font-size: 12px;
    letter-spacing: 1px;
}

#cart-toast-link {
    color: #e8d5c0;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#cart-toast-link:hover {
    color: #c9956b;
}

@media (max-width: 768px) {
    #cart-added-toast {
        width: calc(100% - 40px);
        justify-content: center;
    }
}
      
/*
      |--------------------------------------------------------------------------
      | Research Format Buttons
      |--------------------------------------------------------------------------
      | These styles control the Retatrutide format selector.
      */

.research-format-button {
  position: relative;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.5px solid #2a2118;
  background: #0d0b09;
  padding: 10px 12px;
  text-align: center;
  color: #e8d5c0;
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

.research-format-button.active-format {
  border: 1px solid #c9956b;
  color: #c9956b;
  box-shadow: 0 0 10px rgba(201, 149, 107, 0.25);
}

/*
          Small label above the Pen text.

          Why:
          This restores the original premium "Most Popular" detail.
      */
.format-badge {
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  color: #c9956b;
  text-transform: uppercase;
  line-height: 1;
}

/*
          Invisible badge used on the other buttons.

          Why:
          It takes up the same vertical space as the Pen badge,
          keeping all format names perfectly aligned.
      */
.invisible-badge {
  display: none;
}

.format-name {
  display: block;
  font-size: 13px;
  color: #e8d5c0;
}

.research-format-button.active-format .format-name {
  color: #c9956b;
}
/*
  |--------------------------------------------------------------------------
  | Strength Buttons
  |--------------------------------------------------------------------------
  | These styles control the Retatrutide strength selector.
  |
  | Why this exists:
  | The strength selector should visually match the research format selector,
  | using the same clean gold-border selected state.
  */

.strength-button {
  border: 0.5px solid #2a2118;
  background: #0d0b09;
  padding: 16px;
  text-align: center;
  color: #e8d5c0;
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

/*
      This class is added to the currently selected strength.

      Why:
      It replaces the old tick/checkmark styling with a cleaner premium
      gold-border selection state.
  */
.strength-button.active-strength {
  border: 1px solid #c9956b;
  color: #c9956b;
  box-shadow: 0 0 10px rgba(201, 149, 107, 0.25);
}
/*
  |--------------------------------------------------------------------------
  | Quantity Selector
  |--------------------------------------------------------------------------
  | Styles the quantity controls.
  |
  | Why this exists:
  | Creates a reusable quantity component that can later be connected
  | directly to Shopify cart functionality.
  */

.quantity-selector {
  display: flex;
  border: 0.5px solid #2a2118;
  width: 130px;
  height: 42px;
}

.quantity-button {
  flex: 1;
  background: #0d0b09;
  border: none;
  color: #c9956b;
  font-size: 20px;
  cursor: pointer;
}

/*
      Remove browser default button outlines.

      Why:
      Keeps styling consistent with the luxury design aesthetic.
  */
.quantity-button:focus {
  outline: none;
}

/*
  |--------------------------------------------------------------------------
  | Disabled Quantity Buttons
  |--------------------------------------------------------------------------
  | Used when the selected strength is out of stock.
  */

.quantity-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.quantity-display {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e8d5c0;
  border-left: 0.5px solid #2a2118;
  border-right: 0.5px solid #2a2118;
}

/*
  |--------------------------------------------------------------------------
  | Dynamic Product Text Transitions
  |--------------------------------------------------------------------------
  | Adds subtle smoothness when price, stock, and availability text update.
  |
  | Why this exists:
  | These values change when the user selects format, strength, or quantity.
  | A soft transition makes the page feel more premium and less abrupt.
  */

#product-price,
#product-stock-status,
#product-availability-text {
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
}

.dynamic-text-fade {
  opacity: 0;
}

/* ==========================================================================
   Mobile Product Page Fix
   ========================================================================== */

@media (max-width: 768px) {

  /* Main product layout */
  .rr-section > div[style*="grid-template-columns: minmax(280px, 460px) 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Product title */
  h1.rr-serif {
  font-size: 28px !important;
  letter-spacing: 1px !important;
}

  .rr-product-title-row {
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .rr-coa-top-button {
    margin-top: 2px !important;
    padding: 9px 11px !important;
    font-size: 9px !important;
    letter-spacing: 1.5px !important;
  }

  .rr-research-warning {
    padding: 8px 10px !important;
    margin-bottom: 12px !important;
  }

  .rr-research-warning-title {
    font-size: 11px !important;
  }

  .rr-research-warning-text {
    font-size: 10.5px !important;
    line-height: 1.5 !important;
  }

  /* Main image */
  #main-product-image {
    max-height: 320px !important;
  }

  /* Image container */
  div[style*="min-height: 420px"] {
    min-height: auto !important;
    padding: 0 !important;
  }

  /* Price / stock */
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Stock text */
  div[style*="text-align: right"] {
    text-align: left !important;
  }

  /* Quantity + Add To Cart row */
  div[style*="display: flex; gap: 18px; align-items: center; flex-wrap: wrap"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  /* Buttons */
  #add-to-cart-button,
  #preorder-button,
  #preorder-add-to-cart-button {
    width: 100% !important;
    margin-top: 12px !important;
  }



  /* Product information tabs */
  #tab-description,
  #tab-documentation,
  #tab-shipping {
    padding: 14px 6px !important;
    font-size: 10px !important;
    letter-spacing: 1px !important;
  }

  /* Description specifications table */
  div[style*="grid-template-columns:180px 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }

}



/* WooCommerce-backed product conversion additions */
.rr-product-page{background:#0a0a0a;padding:16px 40px 46px;color:#e8d5c0;}
.rr-product-layout{display:grid;grid-template-columns:minmax(280px,460px) 1fr;gap:42px;align-items:start;max-width:1180px;margin:0 auto;}
.rr-product-breadcrumb{font-size:11px;color:#7a6858;letter-spacing:1px;margin-bottom:12px;max-width:1180px;margin-left:auto;margin-right:auto;}
.rr-product-breadcrumb a{color:#7a6858;text-decoration:none}.rr-product-breadcrumb span{color:#e8d5c0}.rr-product-breadcrumb b{margin:0 8px;color:#c9956b;font-weight:300}
.rr-product-gallery-main{position:relative;min-height:420px;display:flex;align-items:center;justify-content:center;padding:10px;}
.rr-product-gallery-main img{max-width:100%;max-height:440px;width:100%;height:100%;object-fit:contain;border:.5px solid #2a2118;transition:opacity .25s ease;}
.rr-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;background:transparent;border:0;color:#c9956b;font-size:34px;cursor:pointer;padding:8px}.rr-gallery-arrow.prev{left:16px}.rr-gallery-arrow.next{right:16px}
.rr-product-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.rr-product-thumb{cursor:pointer;border:.5px solid #2a2118;background:#0d0b09;height:90px;display:flex;align-items:center;justify-content:center;padding:6px}.rr-product-thumb.active{border-color:#c9956b}.rr-product-thumb img{max-width:100%;max-height:100%;object-fit:contain}
.rr-product-eyebrow{font-size:13px;color:#e8d5c0;letter-spacing:1px;margin-bottom:14px}.rr-product-summary{font-size:14px;color:#9a8878;line-height:1.7;max-width:540px;margin-bottom:14px}.rr-product-summary p{margin:0}
.rr-selector-heading{font-size:11px;letter-spacing:2px;color:#c9956b;text-transform:uppercase;margin:16px 0 12px}.rr-selector-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rr-option-button{border:1px solid #2a2118;background:#0d0b09;color:#e8d5c0;min-height:50px;padding:10px 12px;cursor:pointer;transition:.2s ease;text-align:center}.rr-option-button:hover,.rr-option-button.active{border-color:#c9956b;color:#c9956b;background:rgba(201,149,107,.05)}.rr-option-button[disabled]{opacity:.38;cursor:not-allowed}.rr-option-button .format-name{display:block;font-size:12px}.rr-option-button small{display:block;color:#7a6858;margin-top:3px;font-size:9px;letter-spacing:1px}
.rr-format-info{border:1px solid #2a2118;background:#0d0b09;margin-top:12px;padding:13px 14px;color:#8a7560;font-size:11px;line-height:1.7}.rr-format-info strong{color:#c9956b;font-weight:400}
.rr-strength-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.rr-strength-button{border:1px solid #2a2118;background:#0d0b09;color:#e8d5c0;min-height:46px;cursor:pointer}.rr-strength-button:hover,.rr-strength-button.active{border-color:#c9956b;color:#c9956b}.rr-strength-button[disabled]{opacity:.35;cursor:not-allowed}
.rr-price-stock-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-top:18px}.rr-product-price-label{font-size:11px;color:#9a8878;margin-bottom:8px}.rr-live-price{font-family:'Cormorant Garamond',serif;font-size:30px;color:#c9956b;line-height:1}.rr-stock-copy{text-align:right}.rr-stock-title{color:#c9956b;font-size:14px}.rr-stock-sub{color:#6f5d4c;font-size:10px;margin-top:4px}.rr-stock-copy.in-stock .rr-stock-title{color:#9ec28f}.rr-stock-copy.low-stock .rr-stock-title{color:#e6b174}.rr-stock-copy.out-of-stock .rr-stock-title{color:#d29d97}.rr-stock-copy.preorder .rr-stock-title{color:#e6b174}
.rr-buy-row{display:flex;gap:16px;align-items:end;margin-top:18px}.rr-qty-wrap label{display:block;color:#e8d5c0;font-size:11px;margin-bottom:7px}.rr-qty-control{display:grid;grid-template-columns:42px 54px 42px;border:1px solid #2a2118}.rr-qty-control button,.rr-qty-control input{height:46px;border:0;background:#0d0b09;color:#e8d5c0;text-align:center}.rr-qty-control button{color:#c9956b;cursor:pointer}.rr-qty-control input{border-left:1px solid #2a2118;border-right:1px solid #2a2118;width:54px;padding:0;-moz-appearance:textfield}.rr-qty-control input::-webkit-outer-spin-button,.rr-qty-control input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.rr-add-button{min-width:200px;height:48px;border:1px solid #c9956b;background:rgba(201,149,107,.06);color:#c9956b;text-transform:uppercase;letter-spacing:2px;font-size:10px;cursor:pointer}.rr-add-button:hover{background:rgba(201,149,107,.13);color:#e8d5c0}.rr-add-button[disabled]{opacity:.45;cursor:not-allowed}
.rr-multibuy-note{font-size:10px;color:#7a6858;letter-spacing:.8px;margin-top:10px}.rr-product-tabs{margin-top:24px;border-top:1px solid #2a2118}.rr-tab-buttons{display:flex;gap:0}.rr-tab-button{flex:1;border:0;border-right:1px solid #2a2118;border-bottom:1px solid #2a2118;background:#0b0908;color:#8a7560;padding:13px 10px;text-transform:uppercase;letter-spacing:1.4px;font-size:9px;cursor:pointer}.rr-tab-button.active{color:#c9956b;background:#0d0b09}.rr-tab-panel{display:none;border:1px solid #2a2118;border-top:0;padding:18px;color:#8f7b67;font-size:11px;line-height:1.9}.rr-tab-panel.active{display:block}.rr-tab-panel a{color:#c9956b}
.rr-product-notice-box{border:1px solid rgba(201,149,107,.35);background:rgba(201,149,107,.035);padding:13px 15px;margin-top:14px;color:#8a7560;font-size:10px;line-height:1.75}.rr-product-notice-box strong{color:#c9956b}
.rr-product-data{display:none!important}
.rr-product-toast{position:fixed;right:22px;bottom:22px;z-index:9999;border:1px solid #c9956b66;background:#0c0907;color:#e8d5c0;padding:14px 16px;box-shadow:0 18px 50px rgba(0,0,0,.5);opacity:0;transform:translateY(16px);pointer-events:none;transition:.25s}.rr-product-toast.show{opacity:1;transform:none}.rr-product-toast a{color:#c9956b}
.rr-no-woocommerce{max-width:900px;margin:60px auto;border:1px solid #c9956b44;padding:30px;color:#e8d5c0;background:#0d0b09}
@media(max-width:900px){.rr-product-layout{grid-template-columns:1fr;gap:26px}.rr-product-page{padding:14px 18px 36px}.rr-product-gallery-main{min-height:340px}.rr-product-title-row h1{font-size:44px!important}}
@media(max-width:640px){.rr-product-thumbs{grid-template-columns:repeat(4,1fr);gap:6px}.rr-product-thumb{height:70px}.rr-selector-grid{grid-template-columns:1fr 1fr}.rr-strength-grid{grid-template-columns:repeat(3,1fr)}.rr-price-stock-row{align-items:flex-start}.rr-buy-row{display:grid;grid-template-columns:auto 1fr}.rr-add-button{min-width:0;width:100%}.rr-coa-top-button{font-size:8px;padding:10px 9px}.rr-product-title-row h1{font-size:38px!important}}


/* Mobile sticky add-to-cart adapted from the Shopify layout */

  .rr-mobile-atc {
    display: none;
  }

  @media (max-width: 768px) {
    body.rr-mobile-atc-active {
      padding-bottom: 88px;
    }

    .rr-mobile-atc {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 9998;

      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;

      padding: 12px 14px calc(12px + env(safe-area-inset-bottom));

      background: rgba(10, 8, 6, 0.96);
      border-top: 1px solid rgba(201, 149, 107, 0.45);
      box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
      backdrop-filter: blur(8px);

      transform: translateY(110%);
      opacity: 0;
      pointer-events: none;

      transition:
        transform 0.25s ease,
        opacity 0.25s ease;
    }

    .rr-mobile-atc.show {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }

    .rr-mobile-atc-info {
      min-width: 0;
    }

    .rr-mobile-atc-title {
      color: #c9956b;
      font-size: 13px;
      letter-spacing: 1px;
      line-height: 1.35;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .rr-mobile-atc-meta {
      margin-top: 3px;
      color: #8a7560;
      font-size: 10px;
      letter-spacing: 0.8px;
      line-height: 1.35;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .rr-mobile-atc-price {
      margin-top: 4px;
      color: #e8d5c0;
      font-size: 14px;
      letter-spacing: 0.5px;
      line-height: 1.2;
    }

    .rr-mobile-atc-button {
      min-width: 138px;
      border: 1px solid #c9956b;
      background: rgba(201, 149, 107, 0.08);
      color: #c9956b;
      padding: 13px 12px;
      font-size: 10px;
      letter-spacing: 1.6px;
      text-transform: uppercase;
      cursor: pointer;
      white-space: nowrap;
    }

    .rr-mobile-atc-button:hover {
      color: #e8d5c0;
      background: rgba(201, 149, 107, 0.14);
    }

    .rr-mobile-atc-button:disabled {
      opacity: 0.45;
      cursor: not-allowed;
    }
  }


/* v1.0.5: quantity is controlled by the +/- buttons only. */
.rr-qty-control input[readonly] {
  cursor: default;
  user-select: none;
}
.rr-qty-control button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}


/* ==========================================================================
   Preorder flow — v1.0.6
   Mirrors the legacy Shopify acknowledgement flow while keeping WooCommerce
   backorders as the underlying stock mechanism.
   ========================================================================== */

.rr-qty-wrap[hidden] {
  display: none !important;
}

.rr-multibuy-note.is-preorder {
  color: #c9956b;
  border-color: rgba(201, 149, 107, 0.45);
}

body.rr-modal-open {
  overflow: hidden;
}

.rr-preorder-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(2px);
}

.rr-preorder-modal.is-open {
  display: flex;
}

.rr-preorder-modal-card {
  width: min(100%, 580px);
  padding: 32px 34px 30px;
  border: 1px solid #c9956b;
  background: #0d0b09;
  text-align: center;
  box-shadow: 0 0 38px rgba(201, 149, 107, 0.18);
}

.rr-preorder-modal-kicker {
  margin-bottom: 14px;
  color: #c9956b;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.rr-preorder-modal-card h2 {
  margin: 0 0 17px;
  color: #c9956b;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.15;
}

.rr-preorder-modal-card p {
  margin: 0 auto 18px;
  max-width: 500px;
  color: #9a8878;
  font-size: 13px;
  line-height: 1.85;
}

.rr-preorder-modal-card .rr-preorder-modal-secondary {
  margin-bottom: 25px;
  color: #7a6858;
  font-size: 12px;
}

.rr-preorder-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.rr-preorder-modal-cancel,
.rr-preorder-modal-confirm {
  min-width: 130px;
  min-height: 42px;
  padding: 11px 22px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.rr-preorder-modal-cancel {
  border: 1px solid #2a2118;
  background: transparent;
  color: #e8d5c0;
}

.rr-preorder-modal-confirm {
  border: 1px solid #c9956b;
  background: rgba(201, 149, 107, 0.06);
  color: #c9956b;
}

.rr-preorder-modal-cancel:hover,
.rr-preorder-modal-confirm:hover {
  background: rgba(201, 149, 107, 0.12);
}

@media (max-width: 640px) {
  .rr-preorder-modal {
    padding: 16px;
  }

  .rr-preorder-modal-card {
    padding: 26px 20px 24px;
  }

  .rr-preorder-modal-card h2 {
    font-size: 25px;
  }

  .rr-preorder-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .rr-preorder-modal-cancel,
  .rr-preorder-modal-confirm {
    min-width: 0;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   v1.0.8 — Shopify visual-parity pass
   -------------------------------------------------------------------------- */
.rr-product-page {
  padding: 16px 40px 40px;
  border-bottom: .5px solid #2a2118;
}

.rr-product-layout {
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 42px;
  max-width: 1180px;
}

.rr-product-gallery-main {
  min-height: 420px;
  padding: 10px;
}

.rr-product-gallery-main img {
  max-height: 440px;
  border: .5px solid #2a2118;
  background: transparent;
}

.rr-gallery-arrow.prev { left: 20px; }
.rr-gallery-arrow.next { right: 20px; }

.rr-product-thumbs {
  gap: 10px;
  margin-top: 14px;
}

.rr-product-thumb {
  height: 90px;
  border-width: .5px;
  padding: 6px;
}

.rr-product-thumb.active {
  border-width: .5px;
  box-shadow: none;
}

.rr-product-title-row h1 {
  font-size: 54px !important;
  font-weight: 300 !important;
  letter-spacing: 2px !important;
  line-height: 1.05 !important;
  margin: 0 0 4px !important;
}

.rr-product-eyebrow {
  font-size: 13px;
  color: #e8d5c0;
  letter-spacing: 1px;
  margin-bottom: 14px;
  font-weight: 300;
}

.rr-product-summary {
  font-size: 14px;
  color: #9a8878;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 14px;
  font-weight: 300;
}

.rr-research-warning {
  border: 1px solid #b85a5a;
  background: #120c0c;
  padding: 8px 12px;
  margin-bottom: 14px;
}

.rr-research-warning-title {
  color: #d8a16f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.rr-research-warning > div:not(.rr-research-warning-title) {
  color: #b8a89a;
  font-size: 11px;
  line-height: 1.55;
  font-weight: 300;
}

.rr-selector-heading {
  font-size: 12px;
  letter-spacing: 3px;
  color: #c9956b;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.rr-format-info + .rr-selector-heading,
.rr-strength-grid + .rr-selector-heading,
.rr-generic-attribute-grid + .rr-selector-heading {
  margin-top: 18px;
}

.rr-selector-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.rr-option-button {
  position: relative;
  height: 54px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: .5px solid #2a2118;
  background: #0d0b09;
  padding: 10px 12px;
  color: #e8d5c0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .25s ease, box-shadow .25s ease, color .25s ease;
}

.rr-option-button:hover,
.rr-option-button.active {
  border: 1px solid #c9956b;
  color: #c9956b;
  background: #0d0b09;
  box-shadow: 0 0 10px rgba(201,149,107,.25);
}

.rr-option-button .format-name {
  display: block;
  font-size: 13px;
  color: #e8d5c0;
}

.rr-option-button.active .format-name {
  color: #c9956b;
}

.rr-option-button .format-badge {
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  color: #c9956b;
  text-transform: uppercase;
  line-height: 1;
}

.rr-format-info {
  border: .5px solid #2a2118;
  background: #0d0b09;
  margin: 0 0 18px;
  padding: 8px 10px;
  color: #7a6858;
  font-size: 12px;
  line-height: 1.8;
}

.rr-format-info strong {
  display: block;
  margin-bottom: 12px;
  color: #c9956b;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.rr-strength-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.rr-strength-grid:has(> :only-child) {
  grid-template-columns: minmax(160px, 280px);
}

.rr-strength-button {
  min-height: 50px;
  border: .5px solid #2a2118;
  background: #0d0b09;
  padding: 16px;
  color: #e8d5c0;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 300;
  white-space: nowrap;
  transition: border-color .25s ease, box-shadow .25s ease, color .25s ease;
}

.rr-strength-button:hover,
.rr-strength-button.active {
  border: 1px solid #c9956b;
  color: #c9956b;
  box-shadow: 0 0 10px rgba(201,149,107,.25);
}

.rr-price-stock-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
  margin-top: 0;
  margin-bottom: 16px;
}

.rr-product-price-label {
  font-size: 13px;
  color: #e8d5c0;
  margin-bottom: 8px;
}

.rr-live-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  color: #c9956b;
  line-height: 1;
}

.rr-stock-title {
  font-size: 16px;
  margin-bottom: 6px;
}

.rr-stock-sub {
  font-size: 12px;
  color: #7a6858;
  margin-top: 0;
}

.rr-buy-row {
  gap: 18px;
  align-items: flex-end;
  margin-top: 0;
  flex-wrap: wrap;
}

.rr-qty-wrap label {
  font-size: 13px;
  color: #e8d5c0;
  margin-bottom: 8px;
}

.rr-qty-control {
  display: flex;
  width: 130px;
  grid-template-columns: none;
  border: .5px solid #2a2118;
}

.rr-qty-control button,
.rr-qty-control input {
  height: 48px;
  background: #0d0b09;
  font-family: 'Montserrat', sans-serif;
}

.rr-qty-control button { width: 40px; }
.rr-qty-control input { width: 50px; }

.rr-add-button {
  min-width: 250px;
  height: 50px;
  padding: 0 56px;
  border: 1px solid #c9956b;
  background: transparent;
  color: #c9956b;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 2px;
}

.rr-multibuy-note {
  width: fit-content;
  max-width: 100%;
  margin-top: 6px;
  padding: 4px 8px;
  border: .5px solid #c9956b;
  background: #0f0c09;
  color: #c9956b;
  font-size: 10px;
  letter-spacing: .5px;
  line-height: 1.5;
}

.rr-dispatch-widget {
  margin-top: 18px;
}

/* Full-width information panel, matching the Shopify product template. */
.rr-product-information-section {
  max-width: 1180px;
  margin: 26px auto 0;
}

.rr-product-tabs {
  margin: 0;
  border: .5px solid #2a2118;
  background: #0d0b09;
}

.rr-tab-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: .5px solid #2a2118;
  text-align: center;
}

.rr-tab-button {
  border: 0;
  border-right: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #7a6858;
  padding: 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
}

.rr-tab-button.active {
  color: #c9956b;
  background: transparent;
  border-bottom-color: #c9956b;
}

.rr-tab-panel {
  display: none;
  border: 0;
  padding: 32px 38px;
  color: #9a8878;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
  min-height: 180px;
}

.rr-tab-panel.active { display: block; }
.rr-tab-panel p { max-width: 760px; margin-top: 0; }
.rr-tab-panel ul { max-width: 760px; padding-left: 20px; }
.rr-tab-panel a { color: #c9956b; }

.rr-tab-secondary {
  color: #7a6858;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 22px;
}

.rr-tab-research-notice {
  max-width: 760px;
  margin-top: 28px;
  border: .5px solid #2a2118;
  background: #0a0a0a;
  padding: 18px;
}

.rr-tab-notice-title {
  margin-bottom: 10px;
  color: #c9956b;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.rr-tab-research-notice p {
  margin: 0;
  color: #b8a89a;
  font-size: 12px;
  line-height: 1.9;
}

.rr-tab-coa-button {
  display: inline-block;
  margin-top: 2px;
  padding: 14px 24px;
  border: 1px solid #c9956b;
  color: #c9956b !important;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
}

/* Cartridge notice deliberately mirrors the original Shopify popup. */
.rr-cartridge-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10001;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.72);
}

.rr-cartridge-modal.is-open { display: flex; }

.rr-cartridge-modal-card {
  width: min(520px, 100%);
  background: #0d0b09;
  border: 1px solid #c9956b;
  padding: 28px;
  text-align: center;
  box-shadow: 0 0 30px rgba(201,149,107,.25);
}

.rr-cartridge-modal-kicker {
  margin-bottom: 14px;
  color: #c9956b;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.rr-cartridge-modal-card h2 {
  color: #c9956b;
  font-size: 30px;
  font-weight: 300;
  margin: 0 0 16px;
}

.rr-cartridge-modal-card p {
  color: #9a8878;
  font-size: 13px;
  line-height: 1.9;
  margin: 0 0 18px;
}

.rr-cartridge-modal-card .rr-cartridge-modal-secondary {
  color: #7a6858;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.rr-cartridge-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.rr-cartridge-modal-cancel,
.rr-cartridge-modal-confirm {
  border: 1px solid #c9956b;
  background: transparent;
  color: #c9956b;
  padding: 12px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
}

.rr-cartridge-modal-cancel {
  border: .5px solid #2a2118;
  color: #e8d5c0;
  padding: 12px 22px;
}

.rr-cartridge-modal-cancel:hover,
.rr-cartridge-modal-confirm:hover {
  background: rgba(201,149,107,.1);
}

@media (max-width: 900px) {
  .rr-product-information-section { margin-top: 22px; }
}

@media (max-width: 640px) {
  .rr-product-page { padding: 14px 18px 32px; }
  .rr-product-title-row h1 { font-size: 38px !important; }
  .rr-product-summary { font-size: 13px; }
  .rr-selector-heading { font-size: 10px; letter-spacing: 2px; }
  .rr-option-button { height: 52px; min-height: 52px; padding: 9px 8px; }
  .rr-option-button .format-name { font-size: 11px; }
  .rr-option-button .format-badge { font-size: 7px; letter-spacing: 1.4px; }
  .rr-strength-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rr-strength-grid:has(> :only-child) { grid-template-columns: 1fr; }
  .rr-price-stock-row { grid-template-columns: 1fr 1fr; gap: 14px; }
  .rr-live-price { font-size: 34px; }
  .rr-stock-title { font-size: 14px; }
  .rr-stock-sub { font-size: 10px; }
  .rr-buy-row { display: grid; grid-template-columns: auto 1fr; align-items: end; }
  .rr-add-button { min-width: 0; width: 100%; padding: 0 14px; }
  .rr-product-information-section { margin-top: 20px; }
  .rr-tab-button { padding: 14px 6px; font-size: 9px; letter-spacing: 1px; }
  .rr-tab-panel { padding: 24px 18px; font-size: 12px; min-height: 0; }
  .rr-cartridge-modal-card { padding: 24px 20px; }
  .rr-cartridge-modal-card h2 { font-size: 26px; }
}

/* v1.0.9 preorder-confirmed state */
.rr-stock-copy.preorder-selected .rr-stock-title{color:#e6b174;}
.rr-stock-copy.preorder-selected .rr-stock-sub{color:#8a7560;}

/* v1.0.10 — Shopify-parity product description structure. */
.rr-description-copy {
  max-width: 900px;
}

.rr-description-copy p {
  max-width: 900px;
  margin: 0 0 14px;
  color: #8f7b67;
  font-size: 13px;
  line-height: 1.9;
}

.rr-specifications {
  max-width: 900px;
  margin-top: 24px;
}

.rr-specifications-title {
  margin-bottom: 11px;
  color: #c9956b;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.rr-specifications-grid {
  margin: 0;
}

.rr-specification-row {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 16px;
  padding: 4px 0;
}

.rr-specification-row dt,
.rr-specification-row dd {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.8;
}

.rr-specification-row dt {
  color: #c9956b;
}

.rr-specification-row dd {
  color: #8f7b67;
}

.rr-tab-panel[data-rr-panel="description"] .rr-tab-research-notice {
  width: min(760px, 100%);
  max-width: 760px;
  margin: 28px auto 0;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .rr-specification-row {
    grid-template-columns: 1fr;
    gap: 1px;
    padding: 6px 0;
  }

  .rr-specification-row dd {
    padding-bottom: 4px;
  }
}

/* Sold-out options stay readable and selectable for the existing stock message. */
.rr-strength-button.rr-option-sold-out,
.rr-option-button.rr-option-sold-out .format-name {
  color: #b29178;
  text-decoration-line: line-through;
  text-decoration-color: #b88b69;
  text-decoration-thickness: 1px;
}
.rr-strength-button.rr-option-sold-out,
.rr-option-button.rr-option-sold-out { border-color: #594536; }
.rr-strength-button.rr-option-sold-out.active,
.rr-option-button.rr-option-sold-out.active { border-color: #c9956b; }
