/*
Theme Name: Nectar Light
Description: Presentation foundation for the isolated Nectar Line theme comparison. Commerce and Studio data remain in their existing modules.
Version: 0.1.1
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: nectar-light
*/

/* Existing scoped Nectar components own their design. Only the document and
   ordinary WordPress/Woo fallbacks are styled here. No theme framework. */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:110px}
body{margin:0;background:#f4ead6;color:#493b32;font-family:NLHomeDM,"DM Sans",sans-serif;line-height:1.55}
button,input,select,textarea{font:inherit}
img{max-width:100%;height:auto}
a{color:inherit}
button,a,input,select,textarea{touch-action:manipulation}
:focus-visible{outline:2px solid #6a2039;outline-offset:4px}
.nl-light-document{max-width:1200px;margin:auto;padding:150px 24px 72px;min-height:55vh}
.nl-light-document h1,.nl-light-document h2,.nl-light-document h3{font-family:NLHomeFredoka,sans-serif;line-height:1.15;color:#621c31}
.nl-light-document h1{font-size:clamp(32px,5vw,56px)}
.nl-light-document p{max-width:75ch}
.nl-light-document input:not([type=checkbox]):not([type=radio]),.nl-light-document select,.nl-light-document textarea{max-width:100%;border:1px solid #b79d89;border-radius:12px;background:#fff8ea;padding:12px;color:inherit}
.nl-light-document .button,.nl-light-document button{background:#621c31;color:#fff8ea;border:0;border-radius:28px;padding:12px 22px;cursor:pointer;min-height:48px}
.nl-light-document table{width:100%;border-collapse:collapse}
.nl-light-document td,.nl-light-document th{padding:12px;text-align:left;border-bottom:1px solid #d8bea0}
.nl-light-document .woocommerce-error,.nl-light-document .woocommerce-message,.nl-light-document .woocommerce-info{padding:16px 20px;border:1px solid #d8bea0;border-radius:12px;list-style:none}
.nl-light-document .screen-reader-text,.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.nl-light-dialog{width:min(620px,calc(100% - 32px));max-height:85dvh;border:1px solid #d8bea0;border-radius:24px;padding:28px;background:#f4ead6;color:#493b32;overscroll-behavior:contain}
.nl-light-dialog::backdrop{background:rgb(47 29 21 / .6)}
.nl-light-dialog h2{font:600 30px/1.15 NLHomeFredoka,sans-serif;color:#621c31;margin:0 40px 24px 0}
.nl-light-close{position:absolute;right:12px;top:12px;width:48px;height:48px;border:0;border-radius:50%;background:#ead9b8;color:#621c31;font-size:30px;cursor:pointer}
.nl-light-dialog fieldset{border:0;padding:0;margin:0 0 20px}
.nl-light-dialog legend{font-weight:600;margin-bottom:12px}
.nl-light-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.nl-light-option{display:flex;align-items:center;gap:12px;position:relative;padding:12px;border:1px solid #cbb18b;border-radius:16px;cursor:pointer;min-height:110px}
.nl-light-option:has(input:checked){border:2px solid #621c31;background:#fff1cc;padding:11px}
.nl-light-option input{position:absolute;right:8px;top:8px;accent-color:#621c31}
.nl-light-option-image{display:block;width:76px;flex-shrink:0}.nl-light-option-image img{width:100%;height:90px;object-fit:contain}
.nl-light-option-image .nl-product-decor{display:none}.nl-light-option-image .nl-product-scene{display:block}
.nl-light-option strong,.nl-light-option .price{display:block;font-size:15px;line-height:1.4}
.nl-light-quantity{display:flex;align-items:center;gap:16px;font-weight:600}
.nl-light-quantity input{width:80px;border:1px solid #b79d89;border-radius:12px;background:#fff8ea;padding:12px}
.nl-light-quick-form button[type=submit]{display:block;width:100%;min-height:50px;padding:12px;border:0;border-radius:28px;background:#621c31;color:#fff8ea;font-weight:600;cursor:pointer}
.nl-light-status{font-size:14px;line-height:1.45;margin:12px 0}.nl-light-product-link{display:block;text-align:center;margin-top:16px;text-underline-offset:3px}
@media(max-width:420px){.nl-light-dialog{padding:22px 18px}.nl-light-options{gap:8px}.nl-light-option{gap:6px;padding:8px}.nl-light-option:has(input:checked){padding:7px}.nl-light-option-image{width:54px}.nl-light-option strong,.nl-light-option .price{font-size:14px}}
@media(max-width:600px){.nl-light-document{padding:115px 20px 48px}.nl-light-document table{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
