/* NSW Level v1.0.2 — light theme based on official logo colors */
:root{
  --nsw-blue:#19c8f3;
  --nsw-blue-2:#1198f1;
  --nsw-red:#ff4343;
  --nsw-red-2:#ff2f3f;
  --nsw-ink:#12233c;
  --nsw-ink-2:#20324f;
  --nsw-ink-3:#5f7290;
  --nsw-bg:#f4f9fd;
  --nsw-bg-2:#edf6fb;
  --nsw-surface:#ffffff;
  --nsw-surface-2:#f8fcff;
  --nsw-line:rgba(18,35,60,.10);
  --nsw-line-blue:rgba(25,200,243,.28);
  --nsw-shadow:0 12px 28px rgba(15,31,56,.08);
  --nsw-shadow-strong:0 18px 36px rgba(15,31,56,.12);
}

html{scroll-behavior:smooth}
body{
  background:
    radial-gradient(circle at top right, rgba(25,200,243,.10), transparent 22%),
    radial-gradient(circle at top left, rgba(255,67,67,.08), transparent 20%),
    linear-gradient(180deg,var(--nsw-bg) 0%, #ffffff 52%, var(--nsw-bg-2) 100%);
  color:var(--nsw-ink);
}
button,a,input,select,textarea{touch-action:manipulation}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2px solid var(--nsw-blue)!important;
  outline-offset:3px;
}
a{color:inherit}

/* Header */
.nd-header{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid rgba(18,35,60,.08);
  box-shadow:0 10px 26px rgba(15,31,56,.06);
  backdrop-filter:blur(12px);
}
.nd-nav{min-height:82px;gap:18px}
.nd-brand.nsw-brand img.ed-logo{
  width:clamp(180px,15vw,235px);
  height:auto;
  object-fit:contain;
  background:transparent!important;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.08));
}
.nd-links a{color:var(--nsw-ink);font-weight:700}
.nd-links a:hover,.nd-account:hover,.ed-plain-link:hover{color:var(--nsw-blue-2)!important}
.nd-search{
  background:#fff!important;
  border:1px solid rgba(18,35,60,.10)!important;
  box-shadow:0 6px 18px rgba(15,31,56,.04)!important;
}
.nd-search:focus-within{
  border-color:var(--nsw-blue)!important;
  box-shadow:0 0 0 3px rgba(25,200,243,.14)!important;
}
.nd-search input{color:var(--nsw-ink)!important}
.nd-search input::placeholder{color:#7789a3!important}
.nd-search button{color:var(--nsw-blue-2)!important}
.nd-account{
  background:#fff;
  border:1px solid rgba(18,35,60,.12);
  color:var(--nsw-ink)!important;
  box-shadow:0 6px 14px rgba(15,31,56,.04);
}
.nd-cart,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce #place_order,
.nd-btn,
.ed-spotlight-cta,
.ed-home-see-all a{
  background:linear-gradient(135deg,var(--nsw-red),var(--nsw-red-2))!important;
  color:#fff!important;
  border:1px solid transparent!important;
  box-shadow:0 10px 24px rgba(255,67,67,.18)!important;
}
.nd-cart:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce #place_order:hover,.nd-btn:hover,.ed-spotlight-cta:hover,.ed-home-see-all a:hover{
  background:linear-gradient(135deg,#ff5a5a,#f1263c)!important;
  color:#fff!important;
}
.nd-cart>.nd-cart-count{background:var(--nsw-blue)!important;color:#fff!important}

/* Text and common links */
.ed-kicker,.ed-plain-link,.ed-section-heading a,.ed-spotlight-label span,.woocommerce a{color:var(--nsw-blue-2)!important}
.woocommerce-message,.woocommerce-info{
  background:#eefafe!important;
  color:var(--nsw-ink)!important;
  border-top-color:var(--nsw-blue)!important;
}
.woocommerce-error{
  background:#fff1f1!important;
  color:#7a2231!important;
  border-top-color:var(--nsw-red)!important;
}

/* Generic surfaces */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.ed-home-step,
.ed-faq-item,
.ed-promises>div,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading,
.woocommerce table.shop_table,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #payment,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation,
body .wc-block-components-sidebar,
body .wc-block-cart-items,
body .wc-block-components-order-summary,
body .wc-block-components-totals-wrapper,
.ed-spotlight-carousel,
.ed-home-empty-list,
.woocommerce .ed-shop-sidebar{
  background:var(--nsw-surface)!important;
  border:1px solid var(--nsw-line)!important;
  color:var(--nsw-ink)!important;
  box-shadow:var(--nsw-shadow)!important;
}
.woocommerce ul.products li.product:hover{border-color:rgba(25,200,243,.30)!important;box-shadow:var(--nsw-shadow-strong)!important}
.woocommerce ul.products li.product .ed-cover-frame,
.woocommerce ul.products li.product img,
.ed-spotlight-product-image{
  background:linear-gradient(180deg,#f5fbff,#eef7fc)!important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce table.shop_table,
.ed-home-step h3,
.ed-faq-item summary,
.edg-footer strong,
.edg-footer h3,
.ed-section-heading .nd-section-title,
.nd-section-title{
  color:var(--nsw-ink)!important;
}
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.ed-spotlight-price,
.ed-spotlight-price ins{
  color:var(--nsw-red)!important;
}
.woocommerce ul.products li.product del,
.woocommerce div.product del,
.ed-spotlight-price del,
.ed-spotlight-price-label,
.woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.ed-home-step p,
.ed-home-simple-head p,
.ed-faq-answer p,
.ed-promises small,
.ed-home-empty-list p,
.single-product .woocommerce div.product .summary .nd-offline-info p,
.single-product .ed-trust-product p,
body.woocommerce-checkout .woocommerce-privacy-policy-text,
body.woocommerce-cart .wc-block-cart-item__remove-link,
body.woocommerce-cart .wc-block-components-product-metadata,
.woocommerce .ed-shop-sidechip,
.edg-footer-subtle,.edg-footer-description,.edg-footer-bottom span,.edg-footer-detail span,.edg-footer-legal-identity span{
  color:var(--nsw-ink-3)!important;
}
.woocommerce ul.products li.product .ed-sale-flag,
.woocommerce span.onsale{background:var(--nsw-red)!important;color:#fff!important}
.ed-platform-header{
  background:linear-gradient(180deg,#183252,#11233c)!important;
  color:#fff!important;
  border-bottom:1px solid rgba(25,200,243,.25)!important;
}
.ed-platform-icon{color:var(--nsw-blue)!important}

/* Inputs */
.woocommerce input.input-text,.woocommerce select,.woocommerce textarea,.woocommerce .quantity .qty,.woocommerce-checkout input.input-text,
body .wc-block-components-text-input input,body .wc-blocks-components-select .wc-blocks-components-select__select,
.woocommerce-checkout form.checkout .select2-selection{
  background:#fff!important;
  color:var(--nsw-ink)!important;
  border:1px solid rgba(18,35,60,.12)!important;
}
.woocommerce input.input-text:focus,.woocommerce textarea:focus,.woocommerce select:focus,
body.woocommerce-checkout form.checkout .form-row input.input-text:focus{
  border-color:var(--nsw-blue)!important;
  outline:2px solid rgba(25,200,243,.12)!important;
}
.woocommerce-checkout #payment div.payment_box{background:#f4fbff!important;color:var(--nsw-ink)!important}
.woocommerce-checkout #payment div.payment_box:before{border-bottom-color:#f4fbff!important}
.woocommerce-account .woocommerce-MyAccount-navigation li a{color:var(--nsw-ink)}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{background:#eefafe;color:var(--nsw-blue-2)}
.single-product .ed-trust-product .ed-ui-icon,
.single-product .woocommerce div.product .summary .nd-offline-info strong .ed-ui-icon{background:linear-gradient(135deg,var(--nsw-blue),#75e4ff)!important}

/* Sidebar categories */
.woocommerce .ed-shop-sidebar{background:var(--nsw-surface)!important}
.woocommerce .ed-shop-sidebar-title{color:var(--nsw-ink)!important}
.woocommerce .ed-shop-sidechip{
  background:#fff!important;
  border:1px solid rgba(18,35,60,.10)!important;
}
.woocommerce .ed-shop-sidechip:hover{
  border-color:rgba(25,200,243,.34)!important;
  background:#eefafe!important;
  color:var(--nsw-ink)!important;
}
.woocommerce .ed-shop-sidechip.is-active{
  background:linear-gradient(135deg,#effbff,#ffffff)!important;
  border-color:rgba(25,200,243,.46)!important;
  color:var(--nsw-blue-2)!important;
  box-shadow:0 10px 22px rgba(25,200,243,.10)!important;
}

/* Home page */
.ed-home-v10,
.ed-home-v10 .ed-spotlight{
  background:transparent!important;
}
.ed-spotlight-carousel{
  border:1px solid rgba(18,35,60,.08)!important;
  border-top:0!important;
}
.ed-spotlight-bg{
  background-image:
    linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.90) 34%,rgba(255,255,255,.72) 62%,rgba(255,255,255,.44) 100%),
    linear-gradient(0deg,rgba(255,255,255,.90),rgba(255,255,255,.00) 48%,rgba(255,255,255,.18)),
    var(--ed-slide-image)!important;
  filter:saturate(1.03)!important;
}
.ed-spotlight-label{
  background:#f3fbff!important;
  border:1px solid rgba(25,200,243,.18)!important;
  color:var(--nsw-ink-2)!important;
  box-shadow:none!important;
}
.ed-spotlight-label span{background:linear-gradient(135deg,var(--nsw-blue),var(--nsw-blue-2))!important;color:#fff!important}
.ed-spotlight-copy h1,.ed-spotlight-copy h2,
.ed-spotlight-empty h1{color:var(--nsw-ink)!important}
.ed-spotlight-copy p{color:var(--nsw-ink-2)!important;text-shadow:none!important}
.ed-spotlight-secondary{
  border:1px solid rgba(18,35,60,.10)!important;
  color:var(--nsw-ink)!important;
  background:#fff!important;
}
.ed-spotlight-secondary:hover{background:#eefafe!important;color:var(--nsw-blue-2)!important}
.ed-spotlight-product{
  background:linear-gradient(180deg,#ffffff,#fbfdff)!important;
  border:1px solid rgba(18,35,60,.10)!important;
  color:var(--nsw-ink)!important;
  box-shadow:var(--nsw-shadow)!important;
}
.ed-spotlight-product-link{color:var(--nsw-blue-2)!important}
.ed-spotlight-dot{background:rgba(18,35,60,.18)!important}
.ed-spotlight-dot.is-active{background:linear-gradient(90deg,var(--nsw-blue),var(--nsw-red))!important}
.ed-spotlight-arrow{border:1px solid rgba(18,35,60,.10)!important;background:#fff!important;color:var(--nsw-ink)!important}
.ed-spotlight-arrow:hover{background:#eefafe!important;color:var(--nsw-blue-2)!important}
.ed-spotlight-empty{background:linear-gradient(180deg,#ffffff,#f8fcff)!important;border:1px solid rgba(18,35,60,.08)!important}
.ed-home-v10 .ed-promises>div{background:#fff!important;border:1px solid rgba(18,35,60,.08)!important}
.ed-home-v10 .ed-home-showcase .ed-section-heading{border-bottom:1px solid rgba(18,35,60,.08)!important}
.ed-home-empty-list{background:#fff!important;border:1px dashed rgba(18,35,60,.12)!important;color:var(--nsw-ink)!important}
.ed-home-see-all a{border-color:rgba(255,67,67,.14)!important}
.ed-home-step{
  background:linear-gradient(180deg,#ffffff,#f9fdff)!important;
  border:1px solid rgba(18,35,60,.08)!important;
}
.ed-home-step-number{background:linear-gradient(135deg,var(--nsw-red),var(--nsw-red-2))!important;color:#fff!important;box-shadow:0 10px 24px rgba(255,67,67,.18)!important}
.ed-faq-item{background:#fff!important;border:1px solid rgba(18,35,60,.08)!important}
.ed-faq-item summary::after{background:#eefafe!important;color:var(--nsw-blue-2)!important}

/* Cart and checkout blocks */
body .wp-block-woocommerce-cart,
body .wp-block-woocommerce-checkout{color:var(--nsw-ink)!important}
body .wc-block-components-sidebar,
body .wc-block-cart-items,
body .wc-block-components-order-summary,
body .wc-block-components-totals-wrapper{color:var(--nsw-ink)!important}
body .wc-block-components-totals-item__label,
body .wc-block-components-totals-item__value,
body .wc-block-components-product-name{color:var(--nsw-ink)!important}

/* Footer light */
.nd-footer,.edg-footer{
  background:linear-gradient(180deg,#f7fbff 0%, #eff8fd 100%)!important;
  border-top:1px solid rgba(18,35,60,.08)!important;
  color:var(--nsw-ink)!important;
}
.edg-footer-logo{gap:0;display:flex;flex-direction:column;align-items:flex-start}
.edg-footer-logo img{
  display:block;
  width:min(210px,70vw)!important;
  height:auto!important;
  object-fit:contain;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.06));
  margin-bottom:10px;
}
.edg-footer-logo span{display:none}
.edg-footer a{color:var(--nsw-ink)!important}
.edg-footer a:hover,.edg-footer-subtle a:hover{color:var(--nsw-blue-2)!important}
.edg-footer-payment{
  border:1px solid rgba(18,35,60,.08)!important;
  background:#fff!important;
  color:var(--nsw-ink)!important;
}
.edg-footer-symbol{background:#eefafe!important;color:var(--nsw-blue-2)!important}
.edg-footer-bottom{border-top:1px solid rgba(18,35,60,.08)!important}

/* Responsive tweaks */
@media(max-width:980px){
  .nd-nav{min-height:76px;gap:14px}
  .nd-brand.nsw-brand img.ed-logo{width:clamp(160px,34vw,220px)}
}
@media(max-width:700px){
  .nd-brand.nsw-brand img.ed-logo{width:clamp(150px,42vw,200px)}
  .edg-footer-logo img{width:min(180px,72vw)!important}
}
