/* Shopify SSR Integration – product-page.css
   Organized + deduplicated (keeps winning rules)
*/

/* Layout */
.shopify-product-page {
      max-width: var(--cf-max-screen-width);
      margin: 0 auto;
}

/* Title & price */
.product-price {
      margin-bottom: 1.5rem;
}

/* Description */
.product-description {
      margin-bottom: 1.5rem;
}

/* Other */
.shopify-product-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
}
.product-images img {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      margin-bottom: 10px;
      background: rgb(250, 250, 250);
}
.product-info h1 {
      font-weight: 600;
      margin: 0 0 1rem 0;
      color: rgb(33, 35, 38);
      line-height: 1.3;
}
.product-description p {
      margin: 0 0 1rem 0;
}
.variant-selector {
      width: 100%;
      padding: 0.75rem 1rem;
      font-size: var(--cf-text-m);
      border: 1px solid rgb(204, 204, 204);
      border-radius: 0;
      background: rgb(255, 255, 255);
      cursor: pointer;
      margin-bottom: 1rem;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23212326' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 1rem center;
      padding-right: 2.5rem;
}
.variant-selector:hover {
      border-color: rgb(33, 35, 38);
      outline: none;
}
.variant-selector:focus {
      border-color: rgb(33, 35, 38);
      outline: none;
}
.product-buttons {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      font-size: var(--cf-title-xl);
}
.btn-add-to-cart {
      background: rgb(33, 35, 38);
      color: rgb(255, 255, 255);
}
.btn-buy-now {
      background: rgb(255, 255, 255);
      color: rgb(33, 35, 38);
      border: 1px solid rgb(33, 35, 38);
}
.btn-add-to-cart:hover:not(:disabled) {
      background: rgb(51, 51, 51);
}
.btn-buy-now:hover:not(:disabled) {
      background: rgb(255, 255, 255);
      color: rgb(33, 35, 38);
}
.btn-add-to-cart:disabled {
      background: rgb(204, 204, 204);
      cursor: not-allowed;
      color: rgb(255, 255, 255);
      border-color: rgb(204, 204, 204);
}
.btn-buy-now:disabled {
      background: rgb(204, 204, 204);
      cursor: not-allowed;
      color: rgb(255, 255, 255);
      border-color: rgb(204, 204, 204);
}
.cart-message {
      margin-top: 1rem;
      padding: 0.75rem;
      border-radius: 4px;
      display: none;
      font-size: var(--cf-text-m);
}
.cart-message.success {
      background: #d4edda;
      color: #155724;
      border: 1px solid #c3e6cb;
}
.cart-message.error {
      background: #f8d7da;
      color: #721c24;
      border: 1px solid #f5c6cb;
}

/* =========================================================
   Product page buttons – match Quick Shop modal button style
   ========================================================= */

/* Shared base */
.shopify-product-page #add-to-cart-btn, .shopify-product-page #buy-now-btn {
      width: 100%;
      padding: 16px;
      font-size: 18px;
      font-weight: bold;
      border-radius: 6px;
      text-transform: uppercase;
      letter-spacing: 1px;
      cursor: pointer;
      transition: background 0.3s, color 0.3s, border-color 0.3s;
}

/* Add to Cart – identical to modal */
.shopify-product-page #add-to-cart-btn {
      background: #000;
      color: #fff;
      border: none;
}

.shopify-product-page #add-to-cart-btn:hover {
      background: #333;
      color: #fff;
}

/* Buy Now – inverted (invert both normal + hover) */
.shopify-product-page #buy-now-btn {
      background: #fff;
      color: #000;
      border: 2px solid #000;
}

.shopify-product-page #buy-now-btn:hover {
      background: #000;
      color: #fff;
      border-color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
.shopify-product-grid {
      grid-template-columns: 1fr;
      gap: 30px;
}
.product-info h1 {
      /*font-size: 1.5rem;*/
}
}
