/*
Theme Name: Kemet Store
Version: 1.9
Text Domain: kemet-store
*/
:root{--ink:#0c1e32;--teal:#006568;--lime:#cef553;--border:#dbe4e9;--muted:#4b5f70}*{box-sizing:border-box}body{margin:0;background:#f5f8fa;color:var(--ink);font:16px/1.65 system-ui,Tahoma,sans-serif}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #008886;outline-offset:3px}img{max-width:100%;height:auto}.wrap{width:min(1360px,calc(100% - 48px));margin-inline:auto}.notice{background:#0b1c30;color:white;text-align:center;font-size:.82rem;padding:5px 12px}.head{background:white;border-bottom:1px solid var(--border)}.head-row{display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;padding-block:16px}.brand{font-weight:900;font-size:1.4rem;line-height:1.2;white-space:nowrap}.brand small{display:block;letter-spacing:.13em;color:var(--teal);font-size:.62rem}.head form{display:flex}.head input{min-width:0;flex:1;border:1px solid var(--border);padding:10px 14px;border-radius:0 8px 8px 0;font:inherit}.head button,.button-link{background:var(--teal);color:white;padding:10px 16px;border:0;border-radius:8px;font:inherit;font-weight:700;cursor:pointer;display:inline-block}.head button{border-radius:8px 0 0 8px}.nav{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;text-align:center;border-top:1px solid var(--border);font-weight:700}.nav a{padding:10px 2px}.nav a:hover,.card:hover{color:var(--teal)}main{min-height:55vh;padding-block:23px 46px}.hero{position:relative;isolation:isolate;overflow:hidden;border-radius:18px;min-height:clamp(290px,31vw,440px);display:flex;align-items:center;color:white;background:#091d33}.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.hero-copy{padding:clamp(20px,5vw,75px);width:54%}.hero h1{font-size:clamp(2rem,4.1vw,4.1rem);line-height:1.14;margin:0 0 10px}.hero p{margin:0 0 18px}.hero .button-link{background:var(--lime);color:#10252b}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.card{display:block;background:white;border:1px solid var(--border);padding:20px;border-radius:12px}.card strong{display:block;font-size:1.1rem}.card span{color:var(--muted);font-size:.9rem}.section{margin-top:30px}h2{line-height:1.35}.foot{background:#0b1c30;color:white;padding:26px 0}.foot-grid{display:flex;flex-wrap:wrap;gap:16px 32px}.foot a{text-decoration:underline;text-underline-offset:4px}.woocommerce ul.products li.product,.woocommerce div.product,.woocommerce-cart-form,.woocommerce-checkout{background:white;border-radius:12px;padding:18px}.woocommerce ul.products li.product .price{color:#006568;font-weight:700}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin-bottom:16px}.woocommerce a.button,.woocommerce button.button,.woocommerce button.button.alt,.woocommerce a.button.alt{background:#006568;color:white}.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover{background:#004b4d;color:white}.empty-help{background:white;border-radius:12px;padding:20px}.phone{direction:ltr;display:inline-block}
@media(max-width:740px){.wrap{width:calc(100% - 24px)}.head-row{grid-template-columns:1fr auto;gap:10px}.head form{grid-column:1/-1;grid-row:2}.nav{font-size:.8rem}.hero{min-height:unset;display:block}.hero img{position:static;display:block;aspect-ratio:2.35;object-position:left}.hero-copy{width:100%;padding:18px}.hero h1{font-size:1.95rem}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.card{padding:12px}.woocommerce ul.products li.product{padding:12px}}
.footer-pages{margin-top:20px;padding-top:16px;border-top:1px solid #38506a}
main>article{background:white;border:1px solid var(--border);border-radius:16px;padding:clamp(18px,4vw,40px);max-width:920px}
main>article h1{margin-top:0}
main>article details{border:1px solid var(--border);border-radius:8px;margin-block:12px;padding:12px 16px}
main>article summary{cursor:pointer;font-weight:700}
.woocommerce ul.products li.product a img{aspect-ratio:1;object-fit:contain;background:#fff}
.woocommerce-product-details__short-description dl{display:grid;grid-template-columns:auto 1fr;gap:8px 20px;margin:1rem 0}
.woocommerce-product-details__short-description dd{margin:0}
.woocommerce ul.products li.product a img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}

.brand{display:flex;align-items:center}.brand img{display:block;width:174px;height:auto}
.nav a{border-bottom:2px solid transparent}.nav a:hover{border-color:var(--teal)}
.card{padding:0;overflow:hidden;box-shadow:0 5px 15px #0c1e3208;transition:box-shadow .2s,border-color .2s}
.card:hover{border-color:var(--teal);box-shadow:0 7px 20px #0c1e321a}
.card img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}
.card-copy{padding:13px 16px}
.category-banner{display:flex;align-items:center;overflow:hidden;gap:24px;margin-bottom:22px;border-radius:16px;background:#0b1c30;color:#fff}
.category-banner img{display:block;width:min(36%,290px);height:auto;aspect-ratio:3/2;object-fit:cover}
.category-banner p{font-weight:700;font-size:clamp(1rem,2.2vw,1.65rem);padding-inline-end:14px}
@media(max-width:740px){.brand img{width:132px}.card-copy{padding:10px}.card strong{font-size:.95rem}.card span{font-size:.77rem}.category-banner{gap:12px}.category-banner img{width:43%}}
@media(prefers-reduced-motion:reduce){.card{transition:none}}
.hero-slider{position:relative}
.hero-slider .hero-slide[hidden],.hero-controls[hidden]{display:none}
.hero-copy h2{font-size:clamp(2rem,4.1vw,4.1rem);line-height:1.14;margin:0 0 10px}
.hero-controls{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:9px}
.hero-controls button{display:grid;place-items:center;background:white;border:1px solid var(--border);color:var(--ink);border-radius:50%;width:34px;height:34px;font:inherit;cursor:pointer}
.hero-controls button[data-slide]{width:26px;height:34px;background:transparent;border:0}
.hero-controls button[data-slide]::after{content:"";width:8px;height:8px;border-radius:50%;background:#687a87}
.hero-controls button[aria-pressed="true"]::after{background:var(--teal);width:12px;height:12px}
@media(max-width:740px){.hero-copy h2{font-size:1.95rem}.hero-copy{min-height:170px}}

/* Store footer */
.kemet-footer{background:#e6eaed;border-top:1px solid #d4dde3;padding:42px 0 18px;color:var(--ink)}
.kemet-footer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.35fr);gap:24px}
.kemet-footer-grid h2{font-size:1rem;margin:0 0 12px}
.kemet-footer-grid nav a{display:block;width:fit-content}
.kemet-footer-grid a,.kemet-footer-grid p{font-size:.9rem;color:#334859;margin:0 0 7px}
.kemet-footer a:hover{text-decoration:underline;text-underline-offset:.22em}
.kemet-footer-contact img{display:block;width:144px;height:auto;margin-bottom:14px}
.kemet-footer-phones{display:flex;flex-wrap:wrap;column-gap:12px}
.kemet-footer-contact>a{display:block;width:fit-content;overflow-wrap:anywhere}
.kemet-payment{display:inline-block;background:#fff;border:1px solid #c4d2d9;border-radius:7px;padding:4px 10px;margin-top:6px;color:#004f51;font-size:.83rem;font-weight:700}
.kemet-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid #c8d2da;margin-top:28px;padding-top:14px;color:#425767}
.kemet-footer-bottom a{font-size:.84rem;background:var(--ink);color:#fff;border-radius:24px;padding:6px 12px}
@media(max-width:740px){.kemet-footer{padding-top:28px}.kemet-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.kemet-footer-contact img{width:112px}.kemet-footer-phones{display:block}.kemet-footer-phones a{display:block;width:fit-content}}

.single-product .woocommerce-breadcrumb{margin-block:0 16px}
.single-product div.product.type-product{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:24px 36px;padding:clamp(16px,3vw,36px);border:1px solid var(--border);border-radius:18px}
.single-product div.product .woocommerce-product-gallery,.single-product div.product .summary{width:100%!important;float:none!important;margin:0!important;min-width:0}
.single-product div.product .woocommerce-product-gallery{grid-column:2;grid-row:1;align-self:start;background:#fff;border:1px solid var(--border);border-radius:14px;padding:14px}
.single-product div.product .summary{grid-column:1;grid-row:1}
.single-product div.product::before,.single-product div.product::after{display:none}
.single-product div.product>.woocommerce-tabs,.single-product div.product>.related,.single-product div.product>.upsells{grid-column:1/-1}
.single-product .woocommerce-product-gallery__image img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.single-product div.product div.images .flex-control-thumbs{display:flex;gap:8px;margin-top:8px}
.single-product div.product div.images .flex-control-thumbs li{float:none;width:min(76px,22%);border:1px solid var(--border);border-radius:8px;overflow:hidden}
.single-product .summary .product_title{font-size:clamp(1.3rem,2.35vw,2rem);line-height:1.3;overflow-wrap:anywhere}
.kemet-product-sku{font-size:.8rem;color:var(--muted);overflow-wrap:anywhere}
.single-product div.product .summary>.price{color:var(--teal);font-size:1.55rem;font-weight:800;margin:.6rem 0}
.kemet-product-payment{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px;padding:10px 13px;background:#eaf6f3;border-radius:10px;font-size:.86rem}
.kemet-product-payment a{text-decoration:underline}
.single-product .summary form.cart{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:16px 0}
.single-product .summary form.cart .quantity{display:inline-flex;align-items:center;gap:2px;margin:0;border:1px solid var(--border);border-radius:8px}
.single-product form.cart .quantity .qty{width:3.1em;border:0;padding:8px 2px;font:inherit}
.kemet-quantity-step{border:0;background:transparent;color:var(--ink);font-size:1.1rem;padding:6px 8px;cursor:pointer}
.single-product .summary .single_add_to_cart_button,.single-product .summary .kemet-buy-now{flex:1 1 155px;border-radius:8px;min-height:43px}
.single-product .summary .kemet-buy-now{background:var(--ink)}
.kemet-buy-now[hidden]{display:none!important}
.single-product .summary .woocommerce-product-details__short-description{background:#f5f8fa;padding:1px 14px;border-radius:10px}
.single-product .summary .product_meta{font-size:.8rem;color:var(--muted);margin-top:14px}
@media(max-width:740px){.single-product div.product.type-product{display:block;padding:12px}.single-product div.product .woocommerce-product-gallery{margin-bottom:16px!important}.single-product .summary .kemet-buy-now{flex-basis:100%}}

.home-categories{background:#e8edf0;padding:clamp(12px,2vw,24px);border-radius:16px}
.home-categories h2{margin:0 0 14px}
.home-categories .card{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:9px}
.home-categories .card img{order:1;border-radius:6px}
.home-categories .card-copy{padding:0}
.home-categories .card strong{line-height:1.25}
@media(max-width:740px){.home-categories .card{padding:8px;gap:7px}.home-categories h2{font-size:1.25rem}}

.hero-slider .hero-artwork{display:block;min-height:0;aspect-ratio:1479/589;background:#16191b}
.hero-slider .hero-artwork[hidden]{display:none}
.hero-slider .hero-artwork img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:0}
.hero-slider .hero-controls [data-prev],.hero-slider .hero-controls [data-next]{position:absolute;z-index:3;top:calc((100% - 43px)*.544);transform:translateY(-50%);background:#121e2de8;color:white;border-color:#ffffff7a;border-radius:6px;width:36px;height:36px;font-size:1.4rem}
.hero-slider .hero-controls [data-prev]{right:4px}
.hero-slider .hero-controls [data-next]{left:4px}
@media(max-width:740px){.hero-slider .hero-controls [data-prev],.hero-slider .hero-controls [data-next]{width:32px;height:32px}.hero-slider:has(.hero-slide:not(.hero-artwork):not([hidden])) .hero-controls [data-prev],.hero-slider:has(.hero-slide:not(.hero-artwork):not([hidden])) .hero-controls [data-next]{top:calc((100% - 213px)/2)}}
.kemet-departments{background:#e8edf0;border-radius:14px}
.kemet-departments-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.kemet-department{min-width:0;background:#fff;padding:14px;border-radius:9px;border:1px solid var(--border)}
.kemet-department h3{font-size:1rem;margin:0 0 10px}
.kemet-department-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.kemet-department-tile{display:block;text-align:center;font-size:.82rem;font-weight:650;min-width:0}
.kemet-department-tile:first-child{grid-column:1/-1}
.kemet-department-tile img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:5px;background:#e8edf0}
.kemet-department-tile:first-child img{aspect-ratio:2/1}
.kemet-department-tile span{display:block;margin-top:5px;overflow-wrap:anywhere}
.kemet-department a:hover{color:var(--teal);text-decoration:underline}
@media(max-width:820px){.kemet-departments-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kemet-department{padding:8px}.kemet-department-tiles{gap:6px}.kemet-department-tile{font-size:.73rem}}
