/* PDF Auto Seller — modern checkout design (v1.9.0). Used with [pdf_buy_button design="modern"] */
.pdfas-checkout-card.pdfas-modern{--m-accent:#0f5a2a;--m-accent2:#15803d;--m-ink:#111827;--m-body:#374151;--m-muted:#6b7280;--m-panel:#f3f6f3;--m-line:#d5dbd5;--m-badge:#fbbf24;
  max-width:520px;padding:18px 18px 22px;border-radius:24px;border:1px solid #e3e8e3;background:#fff;box-shadow:0 22px 56px -20px rgba(15,90,42,.25),0 3px 12px rgba(17,24,39,.05);color:var(--m-ink);overflow:hidden}
.pdfas-modern .pdfas-m-bar{margin:0 0 16px;padding:11px 16px;border-radius:14px;background:var(--m-panel);color:var(--m-accent);font-size:clamp(20px,5vw,24px);font-weight:800;line-height:1.3;letter-spacing:-.2px}
.pdfas-modern .pdfas-m-bar span{color:var(--m-accent)}

/* Product row */
.pdfas-modern .pdfas-m-product{display:flex;align-items:flex-start;gap:18px;margin:0 0 16px}
.pdfas-modern .pdfas-m-cover{flex:0 0 36%;max-width:170px;margin:0}
.pdfas-modern .pdfas-m-cover img{display:block;width:100%;height:auto;border-radius:10px;box-shadow:0 12px 24px -10px rgba(17,24,39,.45)}
.pdfas-modern .pdfas-m-book{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;aspect-ratio:3/4;padding:14px 12px 14px 20px;border-radius:6px 12px 12px 6px;background:linear-gradient(135deg,#fdf3d0,#f3dfa0);border-left:12px solid var(--m-accent);box-shadow:0 12px 24px -10px rgba(17,24,39,.45);text-align:center}
.pdfas-modern .pdfas-m-book strong{color:#1f2a14;font-size:clamp(13px,3.6vw,17px);font-weight:800;line-height:1.25;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.pdfas-modern .pdfas-m-book svg{width:38px;height:38px;color:var(--m-accent2)}
.pdfas-modern .pdfas-m-info{flex:1;min-width:0}
.pdfas-modern .pdfas-m-title{margin:0 0 6px;padding:0;color:var(--m-ink);font-size:clamp(20px,5.4vw,26px);font-weight:800;line-height:1.2;letter-spacing:-.3px}
.pdfas-modern .pdfas-m-sub{margin:0 0 10px;color:var(--m-muted);font-size:15px;line-height:1.45}
.pdfas-modern .pdfas-m-mrp-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 4px}
.pdfas-modern .pdfas-m-mrp{color:var(--m-muted);font-size:19px;font-weight:600;text-decoration:line-through;text-decoration-thickness:2px}
.pdfas-modern .pdfas-m-off{display:inline-block;padding:4px 11px;border-radius:9px;background:var(--m-badge);color:#1f2937;font-size:14px;font-weight:800;line-height:1.3}
.pdfas-checkout-card.pdfas-modern .pdfas-price-value{display:block;color:var(--m-accent);font-size:clamp(38px,11vw,48px);font-weight:800;line-height:1.05;letter-spacing:-1px;white-space:nowrap}
.pdfas-modern .pdfas-m-once{display:block;margin-top:2px;color:var(--m-muted);font-size:12.5px}

/* Benefits */
.pdfas-modern .pdfas-m-features{list-style:none;margin:0 0 20px;padding:14px 16px;border-radius:16px;background:var(--m-panel)}
.pdfas-modern .pdfas-m-features li{display:flex;align-items:flex-start;gap:12px;margin:0;padding:5px 0;color:var(--m-ink);font-size:16px;font-weight:500;line-height:1.45;list-style:none}
.pdfas-modern .pdfas-m-features li::before,.pdfas-modern .pdfas-m-features li::marker{content:none}
.pdfas-modern .pdfas-m-features svg{flex:none;width:22px;height:22px;margin-top:1px;color:#16a34a;stroke-width:3}
.pdfas-modern .pdfas-m-features li span{color:var(--m-ink)}

/* Coupon breakdown + language */
.pdfas-modern .pdfas-coupon-breakdown{margin:-6px 0 16px}
.pdfas-modern .pdfas-language-select{margin:0 0 14px}
.pdfas-modern .pdfas-language-select label,.pdfas-modern .pdfas-language-select label span{color:var(--m-muted)}

/* Floating-label style fields */
.pdfas-modern .pdfas-m-fields{display:grid;gap:12px;margin:0 0 16px}
.pdfas-modern .pdfas-m-field{display:flex;align-items:center;gap:14px;min-height:70px;margin:0;padding:10px 16px;border:1.5px solid var(--m-line);border-radius:16px;background:#fff;transition:border-color .15s ease,box-shadow .15s ease;cursor:text}
.pdfas-modern .pdfas-m-field:hover{border-color:#b7c2b7}
.pdfas-modern .pdfas-m-field:focus-within{border-color:var(--m-accent2);box-shadow:0 0 0 4px rgba(21,128,61,.14)}
.pdfas-modern .pdfas-m-ico{display:inline-flex;flex:none;width:28px;height:28px;color:#374151}
.pdfas-modern .pdfas-m-ico svg{width:100%;height:100%;stroke-width:1.7}
.pdfas-modern .pdfas-m-fbody{display:flex;flex:1;min-width:0;flex-direction:column;gap:1px}
.pdfas-modern .pdfas-m-flabel{display:block;color:var(--m-body);font-size:13.5px;font-weight:600;line-height:1.25}
.pdfas-modern .pdfas-m-flabel em{color:var(--m-muted);font-style:normal;font-weight:400}
.pdfas-checkout-card.pdfas-modern .pdfas-m-field input{display:block;width:100%;height:auto;min-height:0;margin:0;padding:2px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none;outline:none;color:var(--m-ink);font-size:17px;font-weight:600;line-height:1.35}
.pdfas-checkout-card.pdfas-modern .pdfas-m-field input::placeholder{color:#9aa3af;font-weight:400}
.pdfas-modern .pdfas-m-hint{margin:-4px 4px 0;color:var(--m-muted);font-size:12.5px;line-height:1.5}

/* Coupon */
.pdfas-modern .pdfas-coupon-box>summary,.pdfas-checkout-card.pdfas-modern .pdfas-coupon-box>summary span{color:var(--m-accent)}
.pdfas-modern .pdfas-coupon-box>summary::before{background:#dcfce7;color:var(--m-accent)}
.pdfas-modern .pdfas-apply-coupon{border-color:var(--m-accent);color:var(--m-accent)}
.pdfas-modern .pdfas-apply-coupon:hover{background:var(--m-accent);color:#fff}
.pdfas-modern .pdfas-coupon-row input:focus{border-color:var(--m-accent2);box-shadow:0 0 0 4px rgba(21,128,61,.14)}

/* Button + trust */
.pdfas-modern .pdfas-buy-button{min-height:58px;border-radius:16px;background:linear-gradient(105deg,var(--m-accent),var(--m-accent2));box-shadow:0 12px 24px -10px rgba(15,90,42,.6);font-size:18px}
.pdfas-modern .pdfas-trust-row svg{color:var(--m-accent2)}
.pdfas-modern .pdfas-trust-row,.pdfas-modern .pdfas-trust-row span{color:var(--m-muted)}



/* v1.9.1 — mobile-first polish (applies to modern and classic cards) */
.pdfas-checkout-card button,.pdfas-checkout-card summary,.pdfas-checkout-card select{touch-action:manipulation;-webkit-tap-highlight-color:rgba(21,128,61,.12)}
.pdfas-checkout-card .pdfas-language-select select{min-height:46px;font-size:16px}
.pdfas-checkout-card .pdfas-coupon-box>summary{min-height:44px}
.pdfas-checkout-card .pdfas-coupon-row input{font-size:16px}
.pdfas-checkout-card .pdfas-apply-coupon{min-height:48px}
@media(max-width:600px){
  .pdfas-checkout-card.pdfas-modern{margin:10px 0;padding:14px 14px 18px;border-radius:20px}
  .pdfas-modern .pdfas-m-bar{margin:0 0 12px;padding:9px 14px;border-radius:12px;font-size:20px}
  .pdfas-modern .pdfas-m-product{gap:14px;margin:0 0 14px}
  .pdfas-modern .pdfas-m-cover{flex:0 0 34%;max-width:150px}
  .pdfas-modern .pdfas-m-book{padding:10px 8px 10px 14px;border-left-width:9px;gap:6px}
  .pdfas-modern .pdfas-m-book svg{width:28px;height:28px}
  .pdfas-modern .pdfas-m-book strong{font-size:12.5px}
  .pdfas-modern .pdfas-m-title{font-size:19px;line-height:1.25;margin-bottom:4px}
  .pdfas-modern .pdfas-m-sub{margin-bottom:8px;font-size:13.5px}
  .pdfas-modern .pdfas-m-mrp{font-size:16px}
  .pdfas-modern .pdfas-m-off{padding:3px 9px;font-size:12.5px}
  .pdfas-checkout-card.pdfas-modern .pdfas-price-value{font-size:36px}
  .pdfas-modern .pdfas-m-once{font-size:12px}
  .pdfas-modern .pdfas-m-features{margin:0 0 16px;padding:10px 14px;border-radius:14px}
  .pdfas-modern .pdfas-m-features li{gap:10px;padding:4px 0;font-size:15px}
  .pdfas-modern .pdfas-m-features svg{width:20px;height:20px}
  .pdfas-modern .pdfas-m-fields{gap:10px}
  .pdfas-modern .pdfas-m-field{min-height:64px;gap:12px;padding:8px 14px;border-radius:14px}
  .pdfas-modern .pdfas-m-ico{width:24px;height:24px}
  .pdfas-modern .pdfas-m-flabel{font-size:12.5px}
  .pdfas-checkout-card.pdfas-modern .pdfas-m-field input{font-size:16px}
  .pdfas-modern .pdfas-buy-button{min-height:56px;font-size:17px}
  .pdfas-modern .pdfas-trust-row{gap:6px 14px;font-size:11.5px}
}
@media(max-width:360px){
  .pdfas-modern .pdfas-m-product{gap:12px}
  .pdfas-modern .pdfas-m-cover{flex-basis:32%}
  .pdfas-modern .pdfas-m-title{font-size:17.5px}
  .pdfas-checkout-card.pdfas-modern .pdfas-price-value{font-size:32px}
  .pdfas-modern .pdfas-m-features li{font-size:14.5px}
}
