/*
Theme Name: Dulzan
Version: 0.7.1
Description: A focused Portuguese storefront for product testing with WooCommerce.
Requires PHP: 8.1
License: GPL-2.0-or-later
*/

/* One set of tokens for the whole storefront. Colours, type, spacing and radii are defined
   here and consumed by name, so a value changes in one place instead of in every rule. */
:root{
  --ink:#202824;            /* main text */
  --muted:#626c66;          /* secondary text */
  --green:#175c45;          /* Dulzan brand green */
  --green-dark:#104b37;
  --line:#e5e8e2;
  --line-soft:#eef0ec;
  --paper:#fff;             /* the page itself */
  --canvas:#f4f5f0;         /* light warm grey: picture areas and quiet backgrounds */
  --accent:#d9f47a;
  --radius-btn:12px;
  --radius-img:16px;
  --shell:1120px;
  --s1:8px; --s2:12px; --s3:16px; --s4:24px; --s5:32px;
  --text:16px; --text-sm:15px; --text-xs:13px;
  --visual-h:510px;         /* main picture frame on a wide screen */
  /* Weights come from the variable font itself, so no rule relies on a synthesised bold. */
  --w-body:400; --w-label:500; --w-title:600;
  font-family:Inter,'Inter Fallback',Arial,Helvetica,sans-serif;color:var(--ink);font-size:16px;line-height:1.6
}
*{box-sizing:border-box}body{margin:0;background:var(--paper);font-weight:var(--w-body)}a{color:var(--green);text-underline-offset:4px}button,input,select,textarea{font:inherit}button,a,input,summary{outline-offset:4px}img{max-width:100%;height:auto}.dz-shell{width:min(var(--shell),calc(100% - 64px));margin:auto}.dz-header{border-bottom:1px solid #e9ece6;background:white}.dz-header-inner{min-height:94px;display:flex;justify-content:space-between;align-items:center;gap:24px}.dz-brand{font-size:30px;font-weight:800;letter-spacing:-1.5px;text-decoration:none;color:var(--ink);display:flex;align-items:center;gap:12px}.dz-mark{display:grid;place-items:center;background:var(--green);color:var(--accent);width:32px;height:32px;border-radius:50%;font-size:21px;letter-spacing:-2px;padding-right:3px}.dz-nav{display:flex;align-items:center;gap:28px}.dz-nav a{font-size:14px;font-weight:600;color:var(--ink);text-decoration:none}.dz-nav .dz-cart{border:1px solid var(--line);border-radius:100px;padding:8px 17px}.dz-demo{background:#f4f5f0;color:#647168;text-align:center;padding:5px 12px;font-size:11px;line-height:1.5}.dz-main{min-height:60vh;padding:48px 0 72px}.dz-footer{background:var(--ink);color:#dce7e2;padding:40px 0}.dz-footer-inner{display:flex;justify-content:space-between;gap:30px;align-items:center}.dz-footer a{color:#dce7e2}.dz-footer p{font-size:14px;margin:4px 0}.dz-footer-links{display:flex;gap:20px;flex-wrap:wrap}.dz-content{max-width:850px}.dz-page-title{font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-1.5px;line-height:1.15}.dz-skip{position:absolute;left:20px;top:-100px;background:white;padding:10px;z-index:1000}.dz-skip:focus{top:10px}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce select{border:1px solid #b5c3bc;border-radius:8px;padding:12px;background:white;color:var(--ink);min-height:48px}.woocommerce form .form-row label{font-size:14px;font-weight:600}.woocommerce button.button.alt,.woocommerce a.button.alt,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button{background:var(--green);color:white;border-radius:8px;padding:16px 22px;font-weight:600;line-height:1.3}.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover,.woocommerce button.button:hover,.woocommerce a.button:hover{background:var(--green-dark);color:white}.woocommerce-error,.woocommerce-info,.woocommerce-message{border-top-color:var(--green);background:var(--canvas);color:var(--ink)}.woocommerce-info::before,.woocommerce-message::before{color:var(--green)}.woocommerce table.shop_table{border-color:var(--line);border-radius:12px;overflow:hidden}.woocommerce #payment{background:var(--canvas);border-radius:12px}.woocommerce #payment div.payment_box{background:#e1e9e4;color:var(--ink)}.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{float:none;width:100%}.woocommerce-checkout #customer_details{width:55%;float:left;padding-right:48px}.woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review{width:45%;float:right}.woocommerce-checkout form.checkout::after{content:"";display:table;clear:both}.woocommerce-checkout h3{font-size:24px;line-height:1.3}.woocommerce-checkout .woocommerce-billing-fields h3{margin-top:0}.woocommerce-checkout #order_review_heading{margin-top:0}.woocommerce ul.order_details{display:flex;flex-wrap:wrap;gap:20px;padding:0}.woocommerce ul.order_details li{margin:0}.woocommerce-privacy-policy-text{font-size:14px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:780px){.dz-shell{width:calc(100% - 32px)}.dz-header-inner{min-height:76px}.dz-brand{font-size:26px}.dz-nav{gap:12px}.dz-nav .dz-info-link{display:none}.dz-nav a{font-size:14px}.dz-main{padding-top:28px}.dz-footer-inner{align-items:flex-start;flex-direction:column}.woocommerce-checkout #customer_details,.woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review{float:none;width:100%;padding-right:0}.woocommerce-checkout #order_review_heading{margin-top:32px}}@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
/* Focused product and checkout refinements. */
.dz-header-inner{min-height:76px}.dz-main{padding-top:25px}.dz-brand{font-size:27px;font-weight:var(--w-title)}.dz-mark{width:32px;height:32px;font-size:21px}.dz-demo{font-size:11px;padding:5px 12px;background:#f4f5f0;color:#647168}.dz-page-title{font-size:32px;letter-spacing:-.8px;margin:0 0 18px}.dz-checkout-steps{display:flex;gap:26px;padding:0;margin:0 0 18px;list-style:none;font-size:14px;color:var(--muted)}.dz-checkout-steps li{display:flex;align-items:center;gap:0}.dz-checkout-steps .dz-step-num{display:grid;place-items:center;width:26px;height:26px;margin-right:8px;flex-shrink:0;border-radius:50%;background:#eef2f0;font-size:12px;font-weight:700}.dz-checkout-steps [aria-current]{color:var(--green);font-weight:700}.dz-checkout-steps [aria-current] .dz-step-num{background:var(--green);color:white}.dz-checkout-intro{font-size:15px;color:var(--muted);margin:0 0 30px}.woocommerce-checkout #order_review{padding:20px;background:#f6f8f7;border:1px solid var(--line);border-radius:10px}.woocommerce-checkout #order_review_heading{font-size:21px}.woocommerce-checkout #customer_details{padding-right:40px}.woocommerce-checkout h3{font-size:21px}.woocommerce-checkout #payment{background:transparent}.woocommerce-checkout #payment ul.payment_methods{padding:12px 0}.woocommerce-checkout #payment div.form-row{padding:14px 0 0}.woocommerce-checkout #place_order{width:100%;min-height:52px}.woocommerce-checkout .woocommerce-info{font-size:14px;padding-top:12px;padding-bottom:12px}.woocommerce-checkout .woocommerce-info::before{top:12px}.woocommerce-checkout table.shop_table{border:0;background:transparent}.woocommerce-checkout table.shop_table th,.woocommerce-checkout table.shop_table td{padding:14px 8px}.woocommerce-checkout #payment .payment_box{font-size:14px}.woocommerce form .form-row{margin-bottom:12px}.woocommerce form .form-row input.input-text{border-radius:6px}.woocommerce-checkout .woocommerce-privacy-policy-text{color:var(--muted);line-height:1.5;font-size:13px}.woocommerce-checkout .select2-container .select2-selection--single{height:48px;border-color:#b5c3bc;border-radius:6px;padding:9px 4px}.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow{height:46px}
@media(max-width:780px){.dz-header-inner{min-height:58px}.dz-shell{width:calc(100% - 40px)}.dz-main{padding-top:15px}.dz-page-title{font-size:27px}.dz-checkout-steps{gap:10px;font-size:12px;justify-content:space-between}.dz-checkout-steps li{gap:0}.dz-checkout-steps .dz-step-num{width:22px;height:22px;margin-right:5px}.dz-checkout-intro{font-size:14px;margin-bottom:22px}.dz-footer-links a{min-height:44px;display:inline-flex;align-items:center}.woocommerce-checkout #customer_details{padding-right:0}.woocommerce-checkout #order_review{padding:14px}.woocommerce form .form-row label{font-size:14px}.woocommerce-checkout .woocommerce-billing-fields h3{margin-bottom:18px}}

/* ---- Header navigation, footer, page shell and 404 ---- */
.dz-header-inner{min-height:76px;gap:18px}
.dz-nav{gap:8px;align-items:center}
.dz-nav-list{display:flex;align-items:center;gap:4px;list-style:none;margin:0;padding:0}
.dz-nav-list a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;border-radius:8px;font-size:13px;font-weight:var(--w-label);color:var(--ink);text-decoration:none}
.dz-nav-list a:hover{background:#f1f5f3}
.dz-nav .dz-cart{margin-left:6px}
.dz-nav-mobile{display:none;position:relative}
.dz-nav-mobile summary{list-style:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:100px;font-size:14px;font-weight:600;cursor:pointer}
.dz-nav-mobile summary::-webkit-details-marker{display:none}
.dz-burger{width:16px;height:2px;background:var(--ink);box-shadow:0 -5px 0 var(--ink),0 5px 0 var(--ink);display:inline-block}
.dz-nav-panel{position:absolute;right:0;top:calc(100% + 8px);min-width:230px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 34px #0f282010;padding:8px;z-index:60}
.dz-nav-panel ul{list-style:none;margin:0;padding:0}
.dz-nav-panel a{display:flex;align-items:center;min-height:48px;padding:0 12px;border-radius:8px;font-size:15px;font-weight:600;color:var(--ink);text-decoration:none}
.dz-nav-panel a:hover{background:#f1f5f3}

.dz-main{padding:25px 0 76px}
.dz-page-head{margin-bottom:24px}
.dz-page-title{font-size:clamp(1.7rem,3vw,2.4rem);letter-spacing:-1.1px;line-height:1.15;margin:0}
.dz-page{max-width:840px}
.dz-page h2{font-size:23px;font-weight:var(--w-title);letter-spacing:-.5px;margin:34px 0 12px;line-height:1.3}
.dz-page h3{font-size:18px;font-weight:var(--w-title);margin:26px 0 10px}
/* Reading column only, and only its own paragraphs: a component that lives inside a page
   (.dz-view-label, .dz-buy-note, .dz-benefits, .dz-notice …) keeps the size its own rule
   gives it instead of being resized by the policy-page prose. */
.dz-page:not(.is-wide) > p,.dz-page:not(.is-wide) > ul,.dz-page:not(.is-wide) > ol{font-size:16px;line-height:1.7;color:var(--muted)}
.dz-page:not(.is-wide) > ul > li,.dz-page:not(.is-wide) > ol > li{font-size:16px;line-height:1.7;color:var(--muted)}
.dz-page ul,.dz-page ol{padding-left:22px;margin:0 0 18px}
.dz-page li{margin-bottom:8px}
.dz-page strong{color:var(--ink)}
.dz-page:not(.is-wide) a{color:var(--green)}

.dz-footer{background:var(--ink);color:#dce7e2;padding:52px 0 20px;margin-top:20px}
.dz-footer-main{display:grid;grid-template-columns:minmax(0,1.6fr) repeat(4,minmax(0,1fr));gap:32px}
.dz-footer-brand strong{font-size:22px;color:#fff;display:block;margin-bottom:8px}
.dz-footer-brand p{font-size:14px;margin:0 0 10px;color:#b8c9c3;line-height:1.6}
.dz-footer-note{font-size:13px}
.dz-footer-group h2{font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:#8fa8a1;margin:0 0 12px;font-weight:700}
.dz-footer-group ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.dz-footer-group a{display:inline-flex;align-items:center;min-height:40px;color:#dce7e2;text-decoration:none;font-size:14px}
.dz-footer-group a:hover{color:#fff;text-decoration:underline}
.dz-footer-placeholder{font-size:13px;color:#93aaa3;line-height:1.5;padding:8px 0}
.dz-footer-legal{margin-top:36px;padding-top:22px;border-top:1px solid #ffffff1f}
.dz-footer-legal p{margin:0 0 4px;font-size:13px;color:#a9bdb7}
.dz-footer-bottom{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:18px;padding-top:14px;border-top:1px solid #ffffff1f}
.dz-footer-bottom p{margin:0;font-size:12px;color:#8fa8a1}

.dz-404{max-width:680px;padding:20px 0 40px}
.dz-404 h1{font-size:clamp(1.6rem,3vw,2.2rem);letter-spacing:-1px;margin:0 0 14px;line-height:1.2}
.dz-404 p{font-size:16px;color:var(--muted);line-height:1.7}
.dz-404-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 34px}
.dz-404-actions .dz-primary,.dz-404-actions .dz-secondary{flex:0 0 auto}
.dz-404-search h2{font-size:19px;margin:0 0 12px}
.dz-404-search .woocommerce-product-search{display:flex;gap:10px;flex-wrap:wrap}
.dz-404-search input[type=search]{flex:1;min-width:220px;min-height:48px;border:1px solid #b5c3bc;border-radius:9px;padding:12px}
.dz-404-search button{min-height:48px;padding:0 20px;border:0;border-radius:9px;background:var(--green);color:#fff;font-weight:600;cursor:pointer}

/* Full footer on a phone: two tidy columns instead of five stacked lists. */
@media(max-width:1000px){
.dz-header-inner{min-height:60px}
.dz-nav-list{display:none}
.dz-nav-mobile{display:block}
.dz-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 20px}
.dz-footer-brand{grid-column:1 / -1}
}
@media(max-width:780px){
.dz-page-title{font-size:26px}
.dz-footer{padding:40px 0 18px}
.dz-footer-main{gap:22px 16px}
.dz-footer-group a{min-height:44px}
/* No celular o contorno da cápsula sai de cena; a área de toque continua com 44px.
   Estas regras vivem aqui, depois das regras base do cabeçalho acima, porque esta folha é
   impressa depois da do plugin: com a mesma especificidade, quem vem por último vence. */
.dz-nav .dz-cart{font-size:12px;font-weight:var(--w-label);padding:10px 8px;border-color:transparent;min-height:44px}
.dz-nav-mobile summary{font-size:12px;font-weight:var(--w-label);padding:0 9px;border-color:transparent;min-height:44px}
}

/* Very narrow phones: the header must fit without pushing the page sideways. */
.dz-nav-panel{max-width:calc(100vw - 24px)}
.dz-header-inner{flex-wrap:nowrap}
.dz-brand{min-width:0;font-size:24px;font-weight:var(--w-title)}
.dz-nav{min-width:0}
@media(max-width:350px){
.dz-shell{width:calc(100% - 32px)}
.dz-brand{font-size:22px}
}

/* Storefront pages use the full store width; policy pages keep the reading column. */
.dz-page.is-wide{max-width:none}
.dz-page ul.dz-grid,.dz-page ul.dz-scenes,.dz-page ol.dz-steps{list-style:none;padding-left:0;margin-left:0}
.dz-page .dz-grid>li,.dz-page .dz-scenes>li{margin-bottom:0}
.dz-page .dz-grid{margin:0}

/* Home entry: a short title and one line, so the four featured products are what the first
   screen actually shows. No oversized product picture above them. */
.dz-hero{padding:4px 0 8px;max-width:760px}
.dz-hero h1{font-size:clamp(1.8rem,3.2vw,2.5rem);font-weight:var(--w-title);line-height:1.12;letter-spacing:-1px;margin:0 0 10px}
.dz-hero-lead{font-size:17px;line-height:1.55;color:var(--muted);margin:0}
.dz-hero .dz-eyebrow{font-size:11px;font-weight:700;letter-spacing:1.6px;color:var(--green);margin:0 0 10px;text-transform:uppercase}

.dz-howto{margin-top:46px}
.dz-howto h2{font-size:24px;letter-spacing:-.6px;margin:0 0 18px}
.dz-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;padding:34px 0 0;margin-top:36px;border-top:1px solid var(--line)}
.dz-services h2{font-size:16px;margin:0 0 10px}
.dz-services p{font-size:14px;color:var(--muted);line-height:1.6;margin:0}

/* Transaction pages keep the way back and the help, without the full navigation and footer. */
.dz-checkout-help{font-size:13px;color:var(--muted);margin:0 0 18px}
.dz-checkout-help a{color:var(--green);font-weight:600}
body.dz-transaction .dz-nav-list,body.dz-transaction .dz-nav-mobile,body.dz-transaction .dz-footer-main,body.dz-transaction .dz-footer-legal{display:none}
body.dz-transaction .dz-footer{padding:24px 0}
body.dz-transaction .dz-footer-bottom{border:0;margin:0;padding:0;justify-content:center}
body.dz-transaction .dz-main{padding:24px 0 48px}

@media(max-width:1000px){
.dz-hero{padding-top:0}
}
@media(max-width:780px){
.dz-hero{padding-top:0}
.dz-hero h1{font-size:25px;letter-spacing:-.9px;margin-bottom:8px}
.dz-hero-lead{font-size:15px}
.dz-howto{margin-top:26px}
.dz-howto h2{font-size:21px;margin-bottom:14px}
.dz-services{grid-template-columns:1fr;gap:16px;padding-top:24px;margin-top:28px}
}
/* On the narrowest phones the products still have to reach the first screen. */
@media(max-width:420px){
.dz-hero{padding:0 0 4px}
.dz-hero h1{font-size:22px;letter-spacing:-.7px;margin-bottom:6px}
.dz-hero .dz-eyebrow{margin-bottom:6px}
.dz-hero-lead{font-size:14px;line-height:1.45}
}

/* Compact help bar shown on the checkout, payment and order-result pages. */
.dz-footer-help{margin:0 0 8px;font-size:13px;color:#a9bdb7;display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.dz-footer-help a{color:#dce7e2;font-weight:600;min-height:40px;display:inline-flex;align-items:center}
