@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#17221f;--muted:#7b8581;--paper:#f7f8f5;--line:#e8ebe5;--green:#bdf266;--green-dark:#253e30;--white:#fff;--red:#bd4b46;--shadow:0 12px 36px rgba(25,42,31,.06)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:15px;line-height:1.55}h1,h2,h3,p{margin-top:0}h1,h2,h3,.brand{font-family:Manrope,'DM Sans',sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.wrap{width:min(1160px,calc(100% - 48px));margin:0 auto}.site-header{background:#fff;border-bottom:1px solid #edf0eb}.nav{height:82px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:800;letter-spacing:-.8px;line-height:1.05}.brand small{display:block;margin-top:6px;color:#89928c;font-family:'DM Sans',sans-serif;font-size:9px;font-weight:700;letter-spacing:1.8px}.brand-mark{display:grid;place-items:center;width:41px;height:41px;background:var(--green);border-radius:13px;font-size:25px;color:#23362b}.admin-link{font-size:13px;font-weight:700;color:#58655e}.admin-link:hover,.admin-nav a:hover{color:#6b9f31}.hero{overflow:hidden;background:#243a2d;color:white}.hero-grid{min-height:390px;display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:50px}.eyebrow{font-size:10px;letter-spacing:2.4px;font-weight:800;color:#71993f;margin-bottom:13px}.hero .eyebrow{color:var(--green)}.hero h1{font-size:clamp(36px,5vw,58px);letter-spacing:-2.8px;line-height:1.08;margin-bottom:18px}.hero h1 span{color:var(--green)}.hero-copy{max-width:440px;color:#d0d8d0;font-size:16px;margin-bottom:28px}.button{display:inline-flex;align-items:center;justify-content:center;gap:13px;border:0;border-radius:10px;padding:12px 19px;font-weight:700;font-size:13px;cursor:pointer;transition:transform .16s,filter .16s}.button:hover{transform:translateY(-1px);filter:brightness(.97)}.button-light{background:white;color:var(--ink)}.button-dark{background:#263b2e;color:white}.button-accent{background:var(--green);color:#24352a}.button-outline{border:1px solid #dce2d9;background:white}.button-full{width:100%;padding:14px}.hero-art{height:300px;position:relative;display:grid;place-items:center}.art-circle{width:270px;height:270px;border:1px solid #617261;border-radius:50%;position:absolute;box-shadow:0 0 0 28px rgba(255,255,255,.025),0 0 0 56px rgba(255,255,255,.02)}.art-card{position:relative;z-index:1;width:220px;min-height:220px;padding:25px;background:var(--green);color:#24352a;border-radius:20px;transform:rotate(5deg);box-shadow:0 25px 60px #14251b66;display:flex;flex-direction:column;justify-content:space-between}.art-card span{font-size:10px;font-weight:800;letter-spacing:2px}.art-card strong{font-family:Manrope,sans-serif;font-size:26px;line-height:1.12;letter-spacing:-1px}.art-card i{font-size:10px;font-weight:800;font-style:normal;letter-spacing:1.5px}.art-spark{position:absolute;right:13%;top:10%;font-size:42px;color:var(--green)}.offer-section{padding-top:62px;padding-bottom:80px}.section-heading,.panel-heading{display:flex;justify-content:space-between;align-items:end;gap:20px}.section-heading h2,.panel-heading h2{font-size:28px;letter-spacing:-1.1px;margin-bottom:7px}.muted{color:var(--muted)}.section-heading .muted,.panel-heading .muted{margin-bottom:0;font-size:13px}.count-pill{white-space:nowrap;border:1px solid #e1e6dd;background:white;border-radius:50px;padding:7px 12px;color:#6b756d;font-size:11px;font-weight:700}.filters{display:flex;align-items:center;gap:10px;margin:28px 0 24px}.search-box{flex:1;max-width:420px;display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:10px;background:white;padding:0 13px}.search-box span{font-size:23px;color:#89928c}.search-box input{width:100%;border:0;outline:0;padding:12px 0;background:transparent}.filters select{min-width:190px;border:1px solid var(--line);border-radius:10px;background:white;padding:12px;color:#46524a}.clear-link{font-size:12px;color:#68756a;font-weight:700}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.product-card{overflow:hidden;background:white;border:1px solid #edf0eb;border-radius:16px;box-shadow:0 4px 18px #233d2b06;transition:transform .2s,box-shadow .2s}.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.product-image{height:225px;background:#f0f3ec;position:relative;display:grid;place-items:center;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.product-badge{position:absolute;top:13px;left:13px;background:var(--green);padding:6px 10px;border-radius:6px;font-size:10px;font-weight:800}.image-placeholder{font-family:Manrope,sans-serif;font-size:68px;font-weight:800;color:#d5dfcb;letter-spacing:-7px}.image-placeholder span{font-size:20px;color:#8fb65c;vertical-align:top;letter-spacing:0}.product-info{padding:20px}.category-label{font-size:10px;letter-spacing:1.3px;text-transform:uppercase;font-weight:800;color:#789d4d}.product-info h3{font-size:18px;line-height:1.3;letter-spacing:-.4px;margin:7px 0 8px}.product-description{font-size:12px;line-height:1.6;color:#7b8581;min-height:38px;margin-bottom:16px;white-space:normal}.offer-expiry{font-size:11px;color:#75816f;margin:0 0 15px}.product-button{width:100%;padding:13px}.affiliate-note{font-size:9px;color:#9aa19a;text-align:center;margin:12px 0 0}.empty-state{text-align:center;padding:70px 20px;border:1px dashed #dfe5db;border-radius:16px;background:#fff}.empty-state h3{margin-bottom:5px}.empty-state p{color:var(--muted);font-size:13px}.empty-icon{font-size:34px;color:#8eb55b;margin-bottom:10px}.compact{padding:45px 20px}.site-footer{border-top:1px solid var(--line);background:#fff}.footer-inner{min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-inner p,.footer-inner>a:not(.brand){font-size:11px;color:#7d8780;margin:0}.brand-footer{font-size:17px}.brand-footer .brand-mark{width:34px;height:34px;font-size:20px;border-radius:10px}.brand-footer small{font-size:8px}
.login-body{min-height:100vh;display:grid;place-items:center;padding:65px 20px;background:radial-gradient(ellipse at 50% 0,#e8f3db,transparent 52%),var(--paper)}.login-back{position:absolute;top:28px;left:32px;font-size:12px;color:#667169;font-weight:700}.login-card{width:min(430px,100%);background:#fff;padding:39px;border:1px solid #e9eee6;border-radius:19px;box-shadow:var(--shadow)}.login-brand{margin-bottom:37px}.login-card h1{font-size:27px;letter-spacing:-1.2px;margin-bottom:7px}.login-card>.muted{font-size:13px;margin-bottom:24px}.form-stack{display:flex;flex-direction:column;gap:17px}.form-stack label,.admin-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;color:#465249}.form-stack input,.admin-form input:not([type=checkbox]):not([type=file]),.admin-form select,.admin-form textarea{width:100%;padding:12px 13px;border:1px solid #e0e6dd;border-radius:9px;outline:none;background:white;color:var(--ink)}input:focus,select:focus,textarea:focus{border-color:#9fcf5d!important;box-shadow:0 0 0 3px #bdf26630}.login-hint{margin:23px 0 0;text-align:center;font-size:10px;color:#89928c}.alert{padding:12px 15px;border-radius:9px;margin:20px 0;font-size:13px}.alert-error{background:#fff0ef;color:#a13e38;border:1px solid #f4d6d3}.alert-success{background:#eff8e7;color:#416b2d;border:1px solid #d7e9c7}.alert ul{margin:0;padding-left:20px}
.admin-body{background:#f6f8f4;min-height:100vh}.admin-header .nav{height:76px}.admin-nav{display:flex;align-items:center;gap:23px;font-size:12px;font-weight:700;color:#647067}.admin-nav form{margin:0}.logout-button{border:0;background:transparent;color:#8a524e;cursor:pointer;font-weight:700}.admin-main{padding-top:43px;padding-bottom:60px}.admin-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.admin-title-row h1,.form-page h1,.password-page h1{font-size:31px;letter-spacing:-1.5px;margin-bottom:5px}.admin-title-row .muted{font-size:13px;margin-bottom:0}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:26px}.stat-card{background:#fff;border:1px solid #e9eee6;border-radius:13px;padding:20px}.stat-card span,.stat-card small{display:block;color:#7e8980;font-size:11px}.stat-card strong{display:block;font-family:Manrope,sans-serif;font-size:31px;letter-spacing:-1px;margin:7px 0 2px}.admin-panel{background:white;border:1px solid #e8ede5;border-radius:14px;overflow:hidden}.panel-heading{padding:23px 24px;align-items:center}.panel-heading h2{font-size:19px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}thead{background:#f8faf6}th{padding:12px 20px;color:#8a948c;font-size:10px;text-transform:uppercase;letter-spacing:1px}td{padding:14px 20px;border-top:1px solid #eff2ed;font-size:12px}.table-product{display:flex;align-items:center;gap:12px;min-width:230px}.table-product img,.table-placeholder{width:48px;height:48px;object-fit:cover;border-radius:8px;background:#f0f3ec}.table-placeholder{display:grid;place-items:center;color:#7e9d61;font-weight:800}.table-product strong,.table-product small{display:block}.table-product strong{font-size:12px;max-width:240px;overflow:hidden;text-overflow:ellipsis}.table-product small{font-size:10px;color:#8a948c;margin-top:4px}.status{display:inline-block;border-radius:30px;padding:5px 9px;font-size:10px;font-weight:800}.status-on{background:#edf8df;color:#537b2e}.status-off{background:#f1f2ef;color:#737b74}.expired-note{display:block;color:#b35c46;font-size:10px;margin-top:5px}.table-actions{display:flex;align-items:center;gap:7px}.table-actions form{margin:0}.small-action{display:inline-block;border:1px solid #e3e8df;border-radius:6px;background:white;padding:7px 9px;font-size:10px;font-weight:700;cursor:pointer;color:#536057}.action-warning{color:#a66d2f}.action-good{color:#54832c}.action-danger{color:#b14f49}.admin-tip{display:flex;gap:12px;align-items:start;margin-top:20px;padding:15px 18px;background:#eff6e7;border-radius:10px;color:#5d6b54}.admin-tip span{font-size:18px;color:#80a94c}.admin-tip p{margin:0;font-size:11px}.admin-tip strong{color:#3d5431}
.form-page{max-width:850px;padding-top:38px;padding-bottom:70px}.form-page .admin-title-row{margin-bottom:22px}.admin-form{background:#fff;border:1px solid #e6ece2;border-radius:15px;overflow:hidden}.form-section{padding:25px 28px;border-bottom:1px solid #edf0eb}.form-section h2{font-size:16px;letter-spacing:-.4px;margin-bottom:18px}.form-section>.muted{font-size:12px;margin-top:-10px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field-wide{grid-column:1/-1}.admin-form label small,.upload-control small,.toggle-field small{font-size:10px;color:#89928c;font-weight:400}.admin-form textarea{resize:vertical}.upload-row{display:flex;align-items:center;gap:20px}.upload-preview{width:112px;height:112px;object-fit:contain;border:1px solid #e9eee6;border-radius:10px;background:#f7f9f5}.upload-empty{display:grid;place-items:center;font-family:Manrope,sans-serif;font-size:25px;font-weight:800;color:#95b975}.upload-control{display:flex;flex-direction:column;gap:10px}.upload-control input[type=file]{max-width:100%;font-size:11px}.toggle-field{display:flex!important;align-items:center;justify-content:space-between;flex-direction:row!important;border:1px solid #e6ebe2;border-radius:10px;padding:14px}.toggle-field strong,.toggle-field small{display:block}.toggle-field small{margin-top:3px}.switch{position:relative;display:inline-block!important;width:44px;height:25px;flex:0 0 auto}.switch input{opacity:0;width:0;height:0}.switch span{position:absolute;cursor:pointer;inset:0;background:#d5dbd2;border-radius:30px;transition:.2s}.switch span:before{position:absolute;content:"";height:19px;width:19px;left:3px;bottom:3px;background:white;border-radius:50%;transition:.2s}.switch input:checked+span{background:#9bce5c}.switch input:checked+span:before{transform:translateX(19px)}.form-actions{display:flex;justify-content:flex-end;gap:10px;padding:20px 28px}.password-page{max-width:550px;padding-top:60px;padding-bottom:70px}.password-page>.muted{font-size:13px;margin-bottom:25px}.password-page .admin-form{padding:25px}.password-page .button{align-self:flex-start}
@media(max-width:800px){.hero-grid{grid-template-columns:1fr .7fr;gap:10px}.hero h1{font-size:43px}.hero-art{transform:scale(.85)}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-nav{gap:12px}.table-actions{flex-wrap:wrap;max-width:210px}.table-actions .small-action{padding:6px}.stats-grid{gap:10px}.stat-card{padding:15px}}
@media(max-width:560px){.wrap{width:calc(100% - 30px)}.nav{height:70px}.brand{font-size:18px}.brand-mark{width:36px;height:36px}.admin-link{font-size:11px}.hero-grid{grid-template-columns:1fr;min-height:0;padding-top:47px;padding-bottom:26px}.hero h1{font-size:43px}.hero-art{height:230px;margin-top:4px;transform:scale(.78);transform-origin:top center;margin-bottom:-45px}.offer-section{padding-top:40px;padding-bottom:50px}.section-heading{align-items:start}.section-heading h2{font-size:23px}.section-heading .muted{max-width:245px}.count-pill{font-size:9px;padding:6px 8px}.filters{flex-wrap:wrap}.search-box{max-width:none;flex-basis:100%}.filters select{flex:1;min-width:0}.filters .button{padding:12px}.product-grid{grid-template-columns:1fr;gap:15px}.product-image{height:245px}.product-info{padding:17px}.footer-inner{padding:18px 0;flex-wrap:wrap;justify-content:space-between}.footer-inner p{order:3;flex-basis:100%}.brand-footer{font-size:15px}.login-card{padding:27px 22px}.login-back{top:17px;left:17px}.admin-header .nav{height:auto;min-height:75px;gap:10px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.admin-nav{width:100%;justify-content:space-between;padding-bottom:4px}.admin-title-row{align-items:flex-start;flex-direction:column}.admin-title-row h1,.form-page h1,.password-page h1{font-size:27px}.stats-grid{grid-template-columns:1fr;gap:9px}.stat-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:0 10px;padding:13px 15px}.stat-card span{grid-column:1}.stat-card strong{grid-column:2;grid-row:1/3;margin:0;font-size:25px}.stat-card small{grid-column:1}.panel-heading{padding:18px 15px;gap:8px}.panel-heading h2{font-size:16px}.panel-heading .muted{font-size:11px}.panel-heading .count-pill{display:none}th,td{padding:12px 10px}.form-page{padding-top:28px}.form-section{padding:20px 16px}.field-grid{grid-template-columns:1fr;gap:15px}.field-wide{grid-column:auto}.form-actions{padding:16px;flex-wrap:wrap}.form-actions .button{flex:1}.upload-row{align-items:flex-start;flex-direction:column}.password-page{padding-top:35px}.password-page .admin-form{padding:18px}}

/* JTINFOR improvements: promotional prices, countdown and click analytics */
.price-block{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0 13px}.price-original{font-size:12px;color:#9ba39b;text-decoration:line-through}.price-current{font-family:Manrope,sans-serif;font-size:23px;font-weight:800;letter-spacing:-.7px;color:#263d2d}.discount-badge{padding:4px 7px;border-radius:6px;background:#edf8df;color:#527a2d;font-size:10px;font-weight:800}.countdown{font-size:11px;font-weight:700;color:#b06a38;margin:-7px 0 14px;font-variant-numeric:tabular-nums}.stat-card{min-height:112px}.table-subline{display:block;color:#879187;font-size:10px;margin-top:4px}
@media(min-width:801px){.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Detalhes do produto, galeria e filtros por categoria */
.detail-link{display:block}.product-info h3 a:hover{color:#6d963d}.category-chips{display:flex;flex-wrap:wrap;gap:8px;margin:-8px 0 24px}.category-chip{display:inline-flex;padding:7px 12px;border:1px solid var(--line);border-radius:30px;background:#fff;color:#68756a;font-size:11px;font-weight:700}.category-chip.selected,.category-chip:hover{background:var(--green);border-color:var(--green);color:#24352a}.current-images{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 16px}.current-images .upload-preview{width:110px;height:110px;object-fit:contain;background:#f0f3ec;border:1px solid var(--line);border-radius:10px}.detail-page{padding-top:28px;padding-bottom:70px;min-height:55vh}.detail-breadcrumb{font-size:12px;color:#7c877e;margin:0 0 22px}.detail-breadcrumb a{font-weight:700}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:42px;background:#fff;border:1px solid #edf0eb;border-radius:18px;padding:28px}.detail-main-image{height:430px;background:#f5f7f2;border-radius:14px;display:grid;place-items:center;position:relative;overflow:hidden}.detail-main-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.detail-thumbnails{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.detail-thumb{width:78px;height:78px;padding:4px;border:1px solid var(--line);border-radius:9px;background:#fff;cursor:pointer}.detail-thumb.selected{border:2px solid var(--green)}.detail-thumb img{width:100%;height:100%;object-fit:contain}.detail-info{padding:10px 0}.detail-labels{display:flex;gap:10px;flex-wrap:wrap}.detail-info h1{font-size:clamp(27px,3vw,38px);line-height:1.15;letter-spacing:-1.2px;margin:14px 0 18px}.detail-prices{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px}.detail-prices strong{font-size:29px;color:#263b2e}.detail-description{font-size:14px;line-height:1.85;color:#5f6c62;white-space:normal;margin:20px 0}.detail-expiry{font-size:12px;color:#6e7b6d;margin:20px 0}.detail-disclaimer{border-top:1px solid var(--line);padding-top:15px;margin-top:20px;font-size:11px;color:#8a938b;line-height:1.6}.detail-info .affiliate-note{margin:13px 0}.detail-info .button-full{margin-top:5px}@media(max-width:760px){.detail-layout{grid-template-columns:1fr;gap:20px;padding:15px}.detail-main-image{height:300px}.detail-info{padding:6px}.detail-info h1{font-size:27px}.detail-prices strong{font-size:25px}.category-chips{margin-top:0}}

/* JTINFOR v5: carrossel de imagens com dimensões proporcionais à tela */
.detail-main-image{height:min(60vh,680px);min-height:300px;max-height:60vh;touch-action:pan-y}
.detail-main-image>img{width:auto;height:auto;max-width:min(100%,60vw);max-height:60vh;object-fit:contain;mix-blend-mode:normal}
.carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:44px;height:54px;display:grid;place-items:center;border:1px solid #ffffffb5;border-radius:12px;background:#ffffffdf;color:#24352a;font-size:35px;line-height:1;cursor:pointer;box-shadow:0 3px 15px #17221f18}
.carousel-arrow:hover{background:#fff}.carousel-prev{left:14px}.carousel-next{right:14px}.carousel-counter{position:absolute;z-index:3;right:14px;bottom:14px;padding:5px 10px;border-radius:30px;background:#17221fc9;color:#fff;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}
@media(max-width:760px){.detail-main-image{height:50vh;min-height:240px;max-height:50vh}.detail-main-image>img{max-width:90vw;max-height:50vh}.carousel-arrow{width:38px;height:46px;font-size:30px}.carousel-prev{left:8px}.carousel-next{right:8px}}


/* JTINFOR v5 ajustada: imagens de produto 600x400 e galeria ampliada */
.detail-layout{grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:28px;padding:22px}
.detail-gallery{min-width:0}
.detail-main-image{width:100%;height:min(70vh,760px);min-height:360px;max-height:70vh;background:#f5f7f2}
.detail-main-image>img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:normal}
.detail-thumbnails{justify-content:center}
.detail-thumb{width:88px;height:64px;overflow:hidden}
.detail-thumb img{object-fit:cover}
@media(max-width:760px){.detail-layout{grid-template-columns:minmax(0,1fr);gap:18px;padding:14px}.detail-main-image{height:55vh;min-height:260px;max-height:55vh}.detail-main-image>img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.detail-thumb{width:72px;height:48px}}

/* Descrição dos produtos na página principal: quebra segura e limite de 15 linhas. */
.product-info { min-width: 0; }
.product-description {
  display: -webkit-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 15;
  line-clamp: 15;
  line-height: 1.6;
  max-height: 24em;
  overflow: hidden;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

/* Descrição na vitrine: centralizada e com margem de 10px em todos os lados. */
.product-description {
  width: auto;
  max-width: calc(100% - 20px);
  margin: 10px;
  text-align: center;
  box-sizing: border-box;
}
