/* Product details and checkout components. Keeps homepage styles independent. */
.demo-strip { background:#fff8df; border-block:1px solid #f7e8ae; padding:10px 16px; text-align:center; color:#725315; font-size:12px; line-height:1.5; }
#store-dialog { width:min(760px,94vw); padding:28px; }
#store-dialog .dialog-close { position:sticky; top:0; background:#fff; border-radius:50%; z-index:3; width:36px; height:36px; }
.product-detail { clear:both; }
.sample-badge { display:inline-block; border-radius:5px; background:#fff4da; color:#846114; padding:6px 10px; font-size:11px; font-weight:600; line-height:1.5; }
.product-heading { font-size:24px; line-height:1.3; margin:16px 0; }
.product-detail .dialog-product { max-height:340px; max-width:100%; object-fit:contain; margin:16px auto 24px; }
.product-detail h2 { font-size:17px; margin:24px 0 12px; }
.product-detail p,.product-detail li { line-height:1.65; }
.product-prices p { margin:6px 0; }
.sale-price { font-size:15px; color:#656565; }
.sale-price span { text-decoration:line-through; }
.offer-price { font-size:16px; }
.offer-price strong { color:#161b28; font-size:30px; padding-left:8px; }
.mrp-line { color:#757575; font-size:13px; }
.saving { color:#23823d; }
.muted { color:#70757d; }
.rating-overview { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:18px 0; font-size:13px; }
.rating-badge { background:#27843e; border-radius:5px; color:white; padding:6px 10px; }
.description { color:#515866; }
.highlights,.offer-list { padding-left:22px; }
.highlights li,.offer-list li { padding-bottom:6px; }
.service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:22px; }
.service-card { border:1px solid #e3e7ee; border-radius:10px; padding:14px; background:#fafbfe; }
.service-card h3 { font-size:13px; margin:8px 0; }
.service-card p { font-size:12px; margin:0; color:#5f6470; }
.service-icon { color:#2a55e5; font-size:24px; }
.specifications { display:grid; grid-template-columns:1fr 2fr; margin:0; border:1px solid #e7e9ef; border-radius:8px; overflow:hidden; }
.specifications dt,.specifications dd { margin:0; padding:12px; font-size:13px; border-bottom:1px solid #eee; }
.specifications dt { background:#fafbfc; color:#6b7280; }
.review-card { padding:16px 0; border-bottom:1px solid #eee; font-size:13px; }
.product-actions { position:sticky; bottom:-28px; background:white; display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding:16px 0; border-top:1px solid #eee; margin-top:24px; }
.product-actions .primary-button { margin:0; flex:1; }
.product-actions label { display:flex; align-items:center; gap:8px; font-size:13px; }
.quantity-select { padding:10px; border:1px solid #cdd4e0; border-radius:7px; background:white; }
.primary-button,.secondary-button { display:inline-flex; justify-content:center; align-items:center; font-weight:600; line-height:1.3; cursor:pointer; text-decoration:none; }
.primary-button { background:#2a55e5; color:white; border:0; border-radius:8px; padding:14px 20px; }
.secondary-button { color:#2a55e5; background:white; border:1px solid #d4ddf7; padding:13px 18px; border-radius:8px; }
.primary-button:disabled { opacity:.5; cursor:not-allowed; }
.shop-page { background:#f5f7fb; min-height:100vh; color:#192233; }
.checkout-header { background:white; border-bottom:1px solid #e4e9f2; }
.checkout-header-inner { max-width:1120px; margin:auto; display:flex; justify-content:space-between; align-items:center; padding:20px 24px; gap:12px; }
.store-wordmark { font-size:22px; font-weight:700; color:#2a55e5; }
.checkout-header nav { display:flex; gap:20px; align-items:center; font-size:14px; }
.cart-bubble { background:#2a55e5; color:white; font-size:11px; padding:3px 6px; border-radius:50%; }
.shop-main { max-width:1120px; margin:0 auto; padding:28px 24px 60px; min-height:70vh; }
.checkout-steps { list-style:none; display:flex; gap:0; padding:0; margin:0 0 28px; border:1px solid #e2e8f2; border-radius:10px; background:white; overflow:hidden; }
.checkout-steps li { flex:1; padding:15px 10px; text-align:center; color:#8992a2; font-size:13px; border-right:1px solid #e8edf4; }
.checkout-steps li:last-child { border:0; }
.checkout-steps .current { color:#2a55e5; background:#edf2ff; font-weight:700; }
.checkout-steps .done { color:#296638; }
.shop-title { font-size:28px; margin:0 0 8px; letter-spacing:-.5px; }
.shop-subtitle { color:#758095; margin:0 0 24px; line-height:1.6; }
.shop-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:24px; align-items:start; }
.shop-panel { background:white; border:1px solid #e3e8f1; padding:24px; border-radius:12px; margin-bottom:20px; }
.shop-panel h2 { font-size:18px; margin:0 0 20px; }
.order-summary { background:white; border:1px solid #e3e8f1; padding:24px; border-radius:12px; position:sticky; top:20px; }
.order-summary h2 { font-size:16px; margin:0 0 20px; padding-bottom:16px; border-bottom:1px solid #edf0f6; }
.summary-row { display:flex; gap:12px; justify-content:space-between; margin:16px 0; font-size:14px; }
.total-row { border-block:1px dashed #dce3ef; margin-top:20px; padding:20px 0; font-size:16px; }
.summary-note { font-size:11px; line-height:1.6; color:#8992a2; }
.order-summary .saving { font-size:12px; line-height:1.5; }
.cart-item { display:grid; grid-template-columns:100px minmax(0,1fr); gap:20px; border-bottom:1px solid #edf0f6; padding:20px 0; }
.cart-item:first-child { padding-top:0; }
.cart-item:last-child { border:0; }
.cart-item img { width:100px; height:135px; object-fit:contain; background:#fafbfc; border-radius:8px; }
.cart-item h2,.cart-item h3 { margin:0 0 8px; font-size:16px; line-height:1.4; }
.cart-item .product-prices .offer-price { font-size:12px; }
.cart-item .product-prices .offer-price strong { font-size:21px; }
.cart-item .product-prices .sale-price,.cart-item .product-prices small { display:none; }
.cart-controls { display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-top:12px; }
.quantity-control { display:inline-flex; align-items:center; border:1px solid #dfe5ef; border-radius:7px; overflow:hidden; }
.quantity-control button { padding:7px 12px; font-size:18px; background:#f8faff; }
.quantity-control button:disabled { color:#bec5d0; cursor:default; }
.quantity-control output { padding:5px 12px; min-width:38px; text-align:center; }
.remove-button { color:#bf3c3c; font-size:12px; }
.item-total { font-size:13px; font-weight:600; margin-top:12px; }
.panel-actions { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; border-top:1px solid #edf0f6; padding-top:20px; margin-top:20px; }
.panel-actions .primary-button { margin:0; }
.empty-state { background:white; padding:60px 20px; text-align:center; border:1px solid #e3e8f1; border-radius:14px; }
.empty-icon { font-size:48px; }
.empty-state p { color:#758095; }
.checkout-notice { padding:14px 16px; background:#fff8e8; border:1px solid #f5e3b6; border-radius:8px; color:#866322; font-size:12px; line-height:1.6; margin-bottom:20px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-field { display:block; font-size:13px; color:#4c586e; }
.form-field.full { grid-column:1/-1; }
.form-field input,.form-field select { display:block; width:100%; border:1px solid #d4dce8; border-radius:8px; padding:12px 14px; margin-top:8px; font:inherit; background:white; color:#192233; }
.form-field input:focus { border-color:#2a55e5; outline:2px solid #e8efff; }
.form-field input[readonly] { background:#f5f7fb; }
.address-fieldset { border:0; padding:0; margin:24px 0 0; min-width:0; }
.address-fieldset legend { font-size:18px; font-weight:600; margin-bottom:20px; }
.checkbox-line { display:flex; align-items:center; gap:10px; font-size:13px; line-height:1.5; margin:24px 0 0; }
.checkbox-line input { width:18px; height:18px; accent-color:#2a55e5; flex-shrink:0; }
.form-error { color:#af2539; background:#fff0f2; border-radius:8px; padding:12px; font-size:13px; margin-top:16px; line-height:1.6; }
.address-block { line-height:1.65; color:#536078; font-size:13px; }
.address-block strong { color:#192233; }
.address-block p { margin:6px 0; overflow-wrap:anywhere; }
.payment-mode { border:1px solid #d5e2ff; border-radius:10px; background:#f6f9ff; padding:20px; }
.payment-mode h2 { margin:0 0 12px; }
.payment-mode p { font-size:14px; line-height:1.7; color:#5d6b82; }
.payment-options { display:flex; gap:8px; flex-wrap:wrap; margin-top:18px; }
.payment-options span { border:1px solid #dfe5ef; padding:8px 12px; background:white; border-radius:6px; color:#758095; font-size:12px; }
.success-demo { text-align:center; padding:40px 24px; }
.success-demo .demo-icon { display:block; font-size:48px; color:#2a55e5; }
.success-demo h1 { font-size:26px; }
.success-demo p { font-size:14px; color:#68758a; line-height:1.7; }
.shop-footer { text-align:center; padding:24px; background:white; color:#8992a2; font-size:12px; border-top:1px solid #e3e8f1; }
@media(max-width:800px) {
  #store-dialog { padding:20px; }
  .product-actions { bottom:-20px; gap:8px; }
  .product-actions label { width:100%; }
  .product-heading { font-size:21px; }
  .service-grid { grid-template-columns:1fr; }
  .service-card { padding:12px; }
  .service-card .service-icon { float:left; margin-right:12px; }
  .service-card p { clear:both; }
  .shop-main { padding:20px 12px 40px; }
  .checkout-header-inner { padding:18px 14px; }
  .checkout-header nav { gap:12px; font-size:12px; }
  .store-wordmark { font-size:18px; }
  .checkout-steps li { font-size:11px; padding:12px 6px; }
  .shop-title { font-size:24px; }
  .shop-layout { grid-template-columns:1fr; gap:0; }
  .shop-panel,.order-summary { padding:18px; margin-bottom:18px; }
  .order-summary { position:static; }
  .cart-item { grid-template-columns:76px minmax(0,1fr); gap:14px; }
  .cart-item img { width:76px; height:110px; }
  .cart-item h2,.cart-item h3 { font-size:14px; }
  .form-grid { gap:16px; }
  .form-field { grid-column:1/-1; }
  .panel-actions .primary-button { width:100%; }
  .panel-actions { flex-direction:column-reverse; }
  .form-grid input { font-size:16px; }
}
.gateway-test-panel { margin-top:24px; padding-top:24px; border-top:1px solid #e4e9f2; }
.gateway-test-panel p { line-height:1.7; font-size:13px; }
.gateway-test-panel button { margin-top:12px; }
.gateway-test-panel h2 { margin-bottom:12px; }
