/*
Theme Name: AgroMarket Production
Description: Magazin AgroMarket bazat pe prototip, integrat cu WordPress și WooCommerce.
Version: 1.1.3
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: agromarket-production
*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap");
#am-prototype{--green:#224c3a;--deep:#173a2c;--lime:#dcec9f;--ink:#1e2823;--muted:#66716a;--line:#dde4dd;--bg:#f6f8f5}#am-prototype *{box-sizing:border-box}#am-prototype{margin:0;color:var(--ink);background:var(--bg);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:16px;line-height:1.5}#am-prototype a{color:inherit;text-decoration:none}#am-prototype button,#am-prototype input,#am-prototype select{font:inherit}#am-prototype button,#am-prototype a,#am-prototype input,#am-prototype select{touch-action:manipulation}#am-prototype a:focus-visible,#am-prototype button:focus-visible,#am-prototype input:focus-visible,#am-prototype select:focus-visible{outline:3px solid #759331;outline-offset:3px}#am-prototype button{cursor:pointer}#am-prototype h1,#am-prototype h2,#am-prototype h3,#am-prototype p{margin-top:0}#am-prototype h1{font-size:clamp(30px,3.5vw,48px);letter-spacing:-1.5px;line-height:1.12;margin-bottom:20px}#am-prototype h2{font-size:25px;letter-spacing:-.5px}#am-prototype h3{font-size:17px;line-height:1.4}#am-prototype input,#am-prototype select{min-width:0;max-width:100%;border:1px solid var(--line);background:white;border-radius:5px;padding:12px;color:var(--ink)}#am-prototype .topbar{padding:9px 4%;display:flex;justify-content:space-between;background:var(--deep);color:#fff;font-size:14px}#am-prototype header{padding:25px 4%;display:flex;gap:40px;align-items:center;background:white}#am-prototype .brand{font-size:26px;font-weight:900;line-height:1;white-space:nowrap;letter-spacing:-1px}#am-prototype .brand span{color:var(--green)}#am-prototype .brand small{display:block;letter-spacing:5px;font-size:12px;margin-top:6px}#am-prototype .brand img{width:205px;max-height:70px;object-fit:contain}#am-prototype .search{display:flex;flex:1;max-width:760px;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:var(--bg)}#am-prototype .search input{flex:1;border:0;background:transparent;padding:15px}#am-prototype .search button{border:0;background:var(--green);color:#fff;padding:0 22px}#am-prototype .cart-link{margin-left:auto;white-space:nowrap;font-size:15px}#am-prototype .cart-link b{display:inline-grid;place-items:center;background:var(--lime);width:28px;height:28px;border-radius:50%;margin-left:8px}#am-prototype .main-nav{padding:0 4%;background:white;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;gap:32px;align-items:center}#am-prototype .main-nav a{padding:15px 0;font-size:15px}#am-prototype .main-nav a:first-child{background:var(--green);color:#fff;padding:15px 26px}#am-prototype .main-nav span{margin-left:auto;color:var(--muted);font-size:14px}#am-prototype{max-width:1500px;margin:auto;padding:32px 4% 70px;min-height:65vh}#am-prototype .hero{display:grid;grid-template-columns:1.4fr 1fr;gap:70px;background:var(--green);color:white;padding:58px;border-radius:8px;margin-bottom:44px}#am-prototype .eyebrow{font-size:12px;letter-spacing:2px;font-weight:700;margin-bottom:18px}#am-prototype .hero h1{font-size:clamp(36px,4.3vw,62px);letter-spacing:-2px}#am-prototype .hero em{font-style:normal;color:var(--lime)}#am-prototype .hero p:not(.eyebrow){max-width:440px;color:#d8e4d8}#am-prototype .hero-panel{align-self:center;border:1px solid #6b8975;padding:32px;border-radius:6px;background:#ffffff08}#am-prototype .hero-panel>span{color:var(--lime);letter-spacing:1.5px;font-size:12px}#am-prototype .hero-panel h2{margin:25px 0 15px;font-size:32px}#am-prototype .hero-panel a{font-size:14px;border-top:1px solid #6b8975;display:block;padding-top:20px}#am-prototype .button{display:inline-flex;justify-content:center;gap:24px;align-items:center;padding:14px 22px;border-radius:5px;border:0;background:var(--green);color:white;font-weight:700;font-size:15px;min-height:48px}#am-prototype .button:hover,#am-prototype .search button:hover{background:var(--deep)}#am-prototype .button.light{color:var(--deep);background:var(--lime);margin-top:12px}#am-prototype .section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:40px 0 18px}#am-prototype .section-heading h2{margin:0}#am-prototype .section-heading a{font-size:14px;color:var(--green)}#am-prototype .category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}#am-prototype .category-grid a{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:22px 20px;background:white;border:1px solid var(--line);border-radius:6px}#am-prototype .category-grid b{color:var(--green)}#am-prototype .category-grid a:hover{border-color:var(--green)}#am-prototype .product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}#am-prototype .product-card{background:white;border:1px solid var(--line);border-radius:7px;overflow:hidden;display:flex;flex-direction:column}#am-prototype .product-card:hover{border-color:#9baea0}#am-prototype .product-image{display:block;height:220px;padding:24px}#am-prototype .product-image img{width:100%;height:100%;object-fit:contain}#am-prototype .card-content{padding:0 20px 20px;display:flex;flex:1;flex-direction:column}#am-prototype .availability{font-size:12px;display:inline-block;align-self:flex-start;color:var(--green);background:#eef4e9;border-radius:3px;padding:3px 8px;margin:6px 0 12px}#am-prototype .availability.unavailable{color:#696b65;background:#eeefeb}#am-prototype .product-card h3{margin-bottom:10px;overflow-wrap:anywhere}#am-prototype .sku{color:var(--muted);font-size:13px;overflow-wrap:anywhere}#am-prototype .card-bottom{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:18px;border-top:1px solid #eef1ec}#am-prototype .price{font-size:19px;font-weight:700}#am-prototype .price small,#am-prototype .detail-price small{font-size:12px;color:var(--muted);font-weight:400}#am-prototype .round-link{background:var(--bg);border:1px solid var(--line);border-radius:50%;width:36px;height:36px;display:grid;place-items:center;flex-shrink:0}#am-prototype .breadcrumb{font-size:13px;color:var(--muted);margin:0 0 28px}#am-prototype .catalog-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:28px}#am-prototype .catalog-heading h1{margin:0}#am-prototype .catalog-heading>span{font-size:14px;color:var(--muted);white-space:nowrap}#am-prototype .catalog-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:28px}#am-prototype .catalog-products{grid-template-columns:repeat(3,minmax(0,1fr))}#am-prototype .filters{background:white;border:1px solid var(--line);border-radius:6px;padding:22px}#am-prototype .filters h2{font-size:18px;margin-bottom:25px}#am-prototype .filters label{font-size:14px;display:block;margin-bottom:20px}#am-prototype .filters select{width:100%;margin-top:8px;font-size:14px}#am-prototype .filters fieldset{padding:0;border:0;margin:0 0 20px}#am-prototype .filters legend{font-size:14px;margin-bottom:8px}#am-prototype .price-range{display:flex;gap:8px}#am-prototype .price-range input{width:50%;font-size:14px}#am-prototype .filters .check{display:flex;align-items:center;gap:8px}#am-prototype .check input{width:18px;height:18px}#am-prototype .filters .button{width:100%;padding:12px}#am-prototype .reset{display:block;text-align:center;font-size:13px;text-decoration:underline;margin-top:17px;color:var(--muted)}#am-prototype .help{background:#eaf0e5;padding:24px;border-radius:6px;margin-top:20px}#am-prototype .help h3{margin-bottom:12px}#am-prototype .help p{font-size:14px;color:var(--muted)}#am-prototype .help a{font-weight:700;font-size:14px}#am-prototype .pagination{display:flex;justify-content:center;align-items:center;gap:22px;font-size:14px;margin-top:32px}#am-prototype .pagination a{background:white;border:1px solid var(--line);padding:10px 15px;border-radius:5px}#am-prototype .empty{background:white;border:1px solid var(--line);padding:45px;border-radius:6px;margin:24px 0}#am-prototype .product-detail{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}#am-prototype .detail-photo{background:white;border:1px solid var(--line);border-radius:7px;aspect-ratio:1;padding:45px}#am-prototype .detail-photo img{width:100%;height:100%;object-fit:contain}#am-prototype .product-detail h1{font-size:clamp(28px,3vw,42px);overflow-wrap:anywhere}#am-prototype .detail-price{font-size:32px;font-weight:700;margin:18px 0 24px}#am-prototype .buy-form{display:flex;gap:15px;align-items:end}#am-prototype .buy-form label{font-size:13px}#am-prototype .buy-form input{display:block;width:90px;margin-top:6px}#am-prototype .buy-form .button{flex:1}#am-prototype .product-description{border-top:1px solid var(--line);margin-top:30px;padding-top:25px;overflow-wrap:anywhere}#am-prototype .product-description h2{font-size:20px}#am-prototype .product-description img{max-width:100%;height:auto}#am-prototype .product-description table{display:block;max-width:100%;overflow:auto}#am-prototype .cart-layout{display:grid;grid-template-columns:2fr 1fr;gap:35px}#am-prototype .cart-row{display:flex;gap:25px;padding:24px;background:white;border:1px solid var(--line);margin-bottom:12px;border-radius:6px}#am-prototype .cart-row img{width:110px;height:110px;object-fit:contain}#am-prototype .cart-row h3{margin-bottom:10px}#am-prototype .text-button{padding:0;border:0;background:transparent;text-decoration:underline;font-size:13px;color:var(--muted)}#am-prototype .cart-summary{background:white;border:1px solid var(--line);border-radius:6px;padding:28px;align-self:start}#am-prototype .cart-summary p{font-size:14px;color:var(--muted)}#am-prototype .notice,#am-prototype .woocommerce-error{background:#fff0e8;padding:20px;border:1px solid #dfbc9e;border-radius:5px}#am-prototype .woocommerce-message,#am-prototype .woocommerce-info{padding:15px;background:#e8f0df;margin-bottom:20px}#am-prototype footer{padding:35px 4%;display:flex;align-items:center;justify-content:space-between;gap:25px;border-top:1px solid var(--line);background:white;font-size:14px}#am-prototype footer p{color:var(--muted);margin:8px 0 0}@media(min-width:1450px){#am-prototype .catalog-products{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1000px){#am-prototype header{gap:20px}#am-prototype .brand img{width:160px}#am-prototype .main-nav span{display:none}#am-prototype .hero{padding:35px;gap:30px}#am-prototype .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#am-prototype .catalog-layout{grid-template-columns:220px minmax(0,1fr)}#am-prototype .category-grid{grid-template-columns:repeat(2,1fr)}#am-prototype .product-detail{gap:28px}#am-prototype .cart-layout{grid-template-columns:1.5fr 1fr}}@media(max-width:650px){#am-prototype .topbar{font-size:12px;justify-content:center}#am-prototype .topbar>span{display:none}#am-prototype header{flex-wrap:wrap;padding:18px 5%;gap:18px}#am-prototype .brand img{width:150px}#am-prototype .search{order:3;flex-basis:100%;max-width:none}#am-prototype .search input{font-size:14px;width:65%}#am-prototype .search button{padding:0 15px;font-size:14px}#am-prototype .main-nav{gap:20px;overflow:auto;white-space:nowrap;padding:0 5%}#am-prototype .main-nav a{font-size:13px}#am-prototype .main-nav a:first-child{padding:12px 15px}#am-prototype{padding:22px 5% 45px}#am-prototype .hero{grid-template-columns:1fr;padding:28px;gap:20px}#am-prototype .hero-panel{padding:22px}#am-prototype .hero h1{font-size:39px}#am-prototype .hero-panel h2{font-size:25px;margin-top:16px}#am-prototype .section-heading h2{font-size:22px}#am-prototype .section-heading a{font-size:12px}#am-prototype .category-grid{gap:8px}#am-prototype .category-grid a{padding:16px 12px;font-size:14px}#am-prototype .catalog-layout{grid-template-columns:1fr}#am-prototype .filters{padding:20px}#am-prototype .filters h2{margin-bottom:18px}#am-prototype .filters label{margin-bottom:14px}#am-prototype .catalog-layout aside .help{display:none}#am-prototype .product-grid{gap:10px}#am-prototype .product-image{height:160px;padding:17px}#am-prototype .card-content{padding:0 12px 14px}#am-prototype .product-card h3{font-size:14px}#am-prototype .price{font-size:16px}#am-prototype .sku{font-size:12px}#am-prototype .card-bottom{flex-wrap:wrap}#am-prototype .catalog-heading{align-items:start;flex-direction:column;gap:12px}#am-prototype .catalog-heading h1{font-size:32px}#am-prototype .product-detail,#am-prototype .cart-layout{grid-template-columns:1fr}#am-prototype .detail-photo{padding:25px}#am-prototype .cart-row{padding:16px;gap:16px}#am-prototype .cart-row img{width:80px;height:90px}#am-prototype footer{align-items:start;flex-direction:column;padding:28px 5%}#am-prototype .empty{padding:25px}#am-prototype .pagination{gap:12px;font-size:13px}}#am-prototype .product-description table{width:100%;border-collapse:collapse;font-size:14px}#am-prototype .product-description td,#am-prototype .product-description th{padding:10px 8px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top;width:auto}#am-prototype .product-description tr:nth-child(even){background:#eef2eb}#am-prototype .product-description td ul{padding-left:18px;margin:0}

#am-prototype{width:100%;font-family:"Open Sans",Helvetica,Arial,sans-serif}#am-prototype h1,#am-prototype h2,#am-prototype h3{font-family:inherit;font-weight:700}#am-prototype a{text-decoration:none}#am-prototype .product-card{margin:0}#am-prototype select{height:auto}body{background:#f6f8f5}

#am-prototype .product-contact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 26px}#am-prototype .product-contact-actions a{display:flex;align-items:center;justify-content:center;min-height:50px;padding:12px 14px;border-radius:6px;color:#fff;font-size:14px;font-weight:700;text-align:center;line-height:1.4}#am-prototype .product-contact-whatsapp{background:#147a3d}#am-prototype .product-contact-phone{background:#245b94}#am-prototype .product-contact-whatsapp:hover{background:#0e602e}#am-prototype .product-contact-phone:hover{background:#194574}#am-prototype .product-contact-actions a:focus-visible{outline:3px solid #db9c18;outline-offset:3px}@media(max-width:480px){#am-prototype .product-contact-actions{gap:8px}#am-prototype .product-contact-actions a{padding:10px 8px;font-size:13px}}

#am-prototype .product-contact-actions a{gap:9px}#am-prototype .product-contact-actions svg{width:21px;height:21px;flex:0 0 21px}
#am-prototype .am-subcategories{padding-bottom:28px}

#am-prototype .product-detail>div{min-width:0}
#am-prototype .am-product-table-scroll{max-width:100%;overflow-x:auto;margin:16px 0;border:1px solid var(--line);border-radius:6px;background:#fff;-webkit-overflow-scrolling:touch}
#am-prototype .am-product-table-scroll:focus-visible{outline:3px solid #759331;outline-offset:3px}
#am-prototype .product-description .am-product-table{display:table;width:100%;max-width:none;table-layout:auto;border-collapse:collapse;margin:0;font:inherit;font-size:14px;color:inherit}
#am-prototype .am-product-table td,#am-prototype .am-product-table th{width:auto;min-width:100px;padding:12px;text-align:start;vertical-align:top;border:1px solid var(--line);white-space:normal;overflow-wrap:anywhere}
#am-prototype .am-product-table th{font-weight:700;background:#e4ecdf}
#am-prototype .am-product-table caption{padding:12px;text-align:start;font-weight:700}
#am-prototype .am-product-table p:last-child{margin-bottom:0}
#am-prototype .am-product-table img{max-width:100%;height:auto}
#am-prototype .am-product-table>tbody>tr:nth-child(odd)>td,#am-prototype .am-product-table>tbody>tr:nth-child(odd)>th,#am-prototype .am-product-table>tr:nth-child(odd)>td,#am-prototype .am-product-table>tr:nth-child(odd)>th{background:#fff}
#am-prototype .am-product-table>tbody>tr:nth-child(even)>td,#am-prototype .am-product-table>tbody>tr:nth-child(even)>th,#am-prototype .am-product-table>tr:nth-child(even)>td,#am-prototype .am-product-table>tr:nth-child(even)>th{background:#eef2eb}

#am-prototype .hero{position:relative;isolation:isolate;overflow:hidden;padding-bottom:76px}
#am-prototype .hero .hero-video{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;z-index:-2;pointer-events:none}
#am-prototype .hero::before{content:"";position:absolute;inset:0;background:rgba(16,49,33,.25);z-index:-1;pointer-events:none}
#am-prototype .hero .hero-panel{background:transparent}
#am-prototype .hero,#am-prototype .hero h1,#am-prototype .hero h2,#am-prototype .hero p,#am-prototype .hero p:not(.eyebrow),#am-prototype .hero em,#am-prototype .hero span,#am-prototype .hero a{color:#fff;text-shadow:0 1px 4px #0009}
#am-prototype .hero .button.light{background:transparent;border:1px solid #fff;color:#fff}
#am-prototype .hero .hero-video-toggle{position:absolute;right:20px;bottom:16px;padding:6px 12px;border:1px solid #ffffff80;border-radius:4px;color:white;background:#173a2ccc;font-size:12px;line-height:1.4}


/* Keep video layers above the section background on mobile WebKit. */
#am-prototype .am-product-table tr>td,#am-prototype .am-product-table tr>th{font-weight:400}
#am-prototype .am-product-table tr>td:first-child,#am-prototype .am-product-table tr>th:first-child{font-weight:700}
#am-prototype .am-product-table td strong,#am-prototype .am-product-table td b,#am-prototype .am-product-table th strong,#am-prototype .am-product-table th b{font-weight:inherit}
#am-prototype .hero .hero-video{z-index:0;display:block;visibility:visible}
#am-prototype .hero::before{z-index:1}
#am-prototype .hero>div{position:relative;z-index:2;min-width:0}
#am-prototype .hero .hero-video-toggle{z-index:3}
#am-prototype .product-contact-actions svg{display:block;min-width:22px;width:22px;height:22px;flex:0 0 22px;overflow:visible}
#am-prototype .product-contact-actions span{min-width:0}
@media(max-width:760px){#am-prototype .hero .button.light{display:flex;width:100%;box-sizing:border-box}#am-prototype .hero .hero-panel{width:100%;box-sizing:border-box}}
@media(max-width:480px){#am-prototype .product-contact-actions a{gap:6px;padding:10px 6px;font-size:12px}#am-prototype .product-contact-actions svg{min-width:20px;width:20px;height:20px;flex-basis:20px}}

#am-prototype .product-detail{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;row-gap:30px}
#am-prototype .product-detail>.detail-photo{position:relative;aspect-ratio:auto;min-height:320px;align-self:stretch}
#am-prototype .product-detail>.detail-photo>img{position:absolute;inset:0;width:100%;height:100%;padding:35px;object-fit:contain}
#am-prototype .product-detail>.product-description{grid-column:1/-1;margin-top:0}
@media(max-width:760px){#am-prototype .product-detail{grid-template-columns:minmax(0,1fr)}#am-prototype .product-detail>.detail-photo{aspect-ratio:1;min-height:0}#am-prototype .product-detail>.detail-photo>img{padding:25px}}

/* Preserve native table layout for any number of columns, including on mobile. */
#am-prototype .product-description{min-width:0;max-width:100%}
#am-prototype .product-description .am-product-table-scroll{display:block;width:100%;min-width:0;max-width:100%;overflow-x:auto}
#am-prototype .product-description table.am-product-table{display:table!important;table-layout:auto!important;width:100%;max-width:none;overflow:visible}
#am-prototype .product-description .am-product-table thead{display:table-header-group!important}
#am-prototype .product-description .am-product-table tbody{display:table-row-group!important}
#am-prototype .product-description .am-product-table tfoot{display:table-footer-group!important}
#am-prototype .product-description .am-product-table tr{display:table-row!important}
#am-prototype .product-description .am-product-table td,#am-prototype .product-description .am-product-table th{display:table-cell!important;visibility:visible!important;float:none!important;position:static!important;width:auto!important;max-width:none!important;min-width:90px;white-space:normal;overflow:visible}

/* Shared text font across the storefront, including native header and footer. */
#agro-header,#am-prototype,#agro-footer{font-family:"Open Sans",Helvetica,Arial,sans-serif!important}
:is(#agro-header,#am-prototype,#agro-footer) :is(h1,h2,h3,h4,h5,h6,p,a,span,small,strong,b,em,label,legend,summary,button,input,select,option,textarea,table,thead,tbody,tfoot,tr,th,td,caption,li){font-family:"Open Sans",Helvetica,Arial,sans-serif!important}
.dgwt-wcas-suggestions-wrapp,.dgwt-wcas-suggestions-wrapp :is(div,span,a,strong,small){font-family:"Open Sans",Helvetica,Arial,sans-serif!important}
#am-prototype .buy-form input,#am-prototype .buy-form button{box-sizing:border-box;height:48px;min-height:48px;margin-bottom:0;padding-top:10px;padding-bottom:10px;line-height:26px}
