/*
Theme Name: Peças para Cardans
Description: Tema filho para Divi 4. Vitrine de linha pesada e apresentação editável.
Author: Peças para Cardans
Template: Divi
Version: 1.0.0
Text Domain: pecas-cardans
*/
:root{--ppc-gold:#c8a24a;--ppc-ink:#171918;--ppc-paper:#f5f5f2}
.ppc-home{font-family:Arial,Helvetica,sans-serif}.ppc-home a:focus-visible,.ppc-navigation a:focus-visible,.ppc-product-card a:focus-visible{outline:3px solid #c8a24a;outline-offset:4px}
.ppc-navigation{display:flex;align-items:center;gap:35px;flex-wrap:wrap}.ppc-brand{font-size:18px;line-height:1.25;color:#171918;letter-spacing:1px}.ppc-brand strong{display:block;font-size:28px;letter-spacing:2px}.ppc-brand small{display:block;font-size:9px;letter-spacing:1.4px;margin-top:6px}.ppc-search{display:flex;flex:1;min-width:240px;border:1px solid #ddd;background:#f8f8f6;border-radius:4px;overflow:hidden}.ppc-search input{border:0!important;padding:14px!important;background:transparent;width:100%;min-width:0;font-size:14px}.ppc-search button{border:0;background:var(--ppc-gold);font-size:25px;padding:0 17px;cursor:pointer}.ppc-navlinks{display:flex;align-items:center;gap:20px}.ppc-navlinks a{color:#171918;font-size:13px;font-weight:700}.ppc-category-nav{display:flex;gap:28px;overflow:auto;border-top:1px solid #eee;margin-top:24px;padding-top:16px;white-space:nowrap}.ppc-category-nav a{color:#555;font-size:13px}.ppc-category-nav a:hover{color:#94701f}
.ppc-hero{background-image:linear-gradient(90deg,rgba(9,12,11,.96),rgba(9,12,11,.67) 42%,rgba(9,12,11,.05) 80%),url('assets/images/banner.webp');background-position:center;background-size:cover}.ppc-hero .et_pb_text{max-width:600px}.ppc-hero h1{font-size:clamp(36px,4.8vw,68px)!important;line-height:1.05!important;letter-spacing:-2px!important}.ppc-eyebrow{letter-spacing:2px;font-size:12px!important;font-weight:700;color:var(--ppc-gold)!important}.ppc-category .et_pb_image{overflow:hidden;border-radius:5px;background:#f4f5f3}.ppc-category img{transition:transform .35s ease;width:100%}.ppc-category:hover img{transform:scale(1.055)}.ppc-category .et_pb_button{font-size:14px!important}.ppc-demo-note{font-size:12px;color:#777;margin-bottom:22px}
.ppc-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.ppc-product-card{background:white;border:1px solid #e8e8e3;border-radius:6px;overflow:hidden;position:relative;transition:box-shadow .25s,transform .25s}.ppc-product-card:hover,.ppc-product-card:focus-within{transform:translateY(-4px);box-shadow:0 14px 35px #00000012}.ppc-product-photo{display:block;overflow:hidden;background:#f4f5f3}.ppc-product-photo img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;transition:transform .35s}.ppc-product-card:hover .ppc-product-photo img{transform:scale(1.055)}.ppc-product-info{padding:18px}.ppc-product-info small{font-size:10px;letter-spacing:1.3px;color:#857039}.ppc-product-info h3{font-size:17px!important;line-height:1.35!important;margin:8px 0!important;padding:0!important}.ppc-product-info h3 a{color:#171918}.ppc-product-info p{font-size:12px;color:#777}.ppc-product-info .price{color:#171918!important;font-size:17px;font-weight:bold}.ppc-action{display:inline-block;margin-top:12px;font-weight:700;font-size:13px;color:#71551b!important}.ppc-product-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:15px}.ppc-product-actions .button,.ppc-product-actions .add_to_cart_button{font-size:12px!important;background:var(--ppc-gold)!important;color:#151515!important;border:0!important;border-radius:3px;padding:11px 12px!important;line-height:1.4!important}.ppc-product-actions .button:before{content:'';display:inline-block;width:16px;height:16px;margin-right:7px;vertical-align:middle;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 3h3l3 13h11l3-10H6M9 21h.01M18 21h.01' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}.ppc-product-actions .button:after{display:none!important}.ppc-product-actions .yith-wcwl-add-to-wishlist{margin:0;font-size:12px}.ppc-product-actions .yith-wcwl-add-to-wishlist a{color:#171918}.ppc-loop-wishlist{font-size:13px;margin-top:10px}.ppc-product-actions .added_to_cart{font-size:12px;color:#171918;text-decoration:underline}
@media(hover:hover) and (pointer:fine){.ppc-product-actions{opacity:0;transform:translateY(7px);transition:.2s}.ppc-product-card:hover .ppc-product-actions,.ppc-product-card:focus-within .ppc-product-actions{opacity:1;transform:none}}
@media(max-width:980px){.ppc-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ppc-navigation{gap:20px}.ppc-search{order:3;flex-basis:100%}.ppc-navlinks{margin-left:auto}.ppc-hero{background-position:65% center}.ppc-hero h1{letter-spacing:-1px!important}}
@media(max-width:600px){.ppc-product-grid{gap:12px}.ppc-product-info{padding:12px}.ppc-product-info h3{font-size:15px!important}.ppc-brand strong{font-size:22px}.ppc-brand{font-size:13px}.ppc-navlinks{gap:12px}.ppc-navlinks a{font-size:12px}.ppc-category-nav{gap:20px}.ppc-product-actions{opacity:1;transform:none}.ppc-product-actions a{min-height:44px;display:inline-flex;align-items:center}.ppc-hero .et_pb_row{background:linear-gradient(90deg,#090c0bb0,transparent)}}
@media(prefers-reduced-motion:reduce){.ppc-home *,.ppc-product-card,.ppc-product-card img{transition:none!important;transform:none!important}}

.ppc-navigation .custom-logo{width:100px;height:100px;object-fit:contain}.ppc-navigation .custom-logo-link{flex-shrink:0}
@media(max-width:980px){.ppc-home .et_pb_row:has(>.ppc-category){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.ppc-home .et_pb_row:has(>.ppc-category):after{display:none}.ppc-home .ppc-category.et_pb_column{width:100%!important;margin:0!important;float:none}.ppc-category h3{font-size:19px!important}.ppc-category .et_pb_button{padding:10px 14px!important}}
