/*
Theme Name: Mancheguito
Author: Mancheguito
Description: Tienda propia de Mancheguito. WooCommerce, humor de casa y una miaja de retranca.
Version: 1.0.12
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: mancheguito
*/
:root{--paper:#f5f2e9;--ink:#24231f;--red:#c52f24;--line:#d8d4c9;--muted:#69665e;--white:#fffdfa}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:35px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 Arial,Helvetica,sans-serif}a{color:inherit;text-underline-offset:4px}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,a,input,summary{touch-action:manipulation}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--red);outline-offset:4px}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-weight:800;line-height:1.04;letter-spacing:-.055em}h1{font-size:clamp(42px,6vw,80px)}h2{font-size:clamp(34px,4.2vw,58px)}p{margin:16px 0}.skip-link{position:absolute;left:-9999px;z-index:99999;background:white;padding:15px}.skip-link:focus{left:10px;top:10px}.mg-topbar{background:var(--ink);color:var(--paper);text-align:center;font-size:10px;letter-spacing:1.5px;padding:9px 12px;font-weight:700}.mg-header{display:flex;align-items:center;justify-content:space-between;padding:23px 5%;border-bottom:1px solid var(--line);gap:25px;position:relative;z-index:5}.mg-logo{font-weight:900;font-size:32px;letter-spacing:-1.9px;text-decoration:none;line-height:1}.mg-logo span{color:var(--red)}.mg-header nav,.mg-header-tools{display:flex;align-items:center;gap:26px;font-size:13px;font-weight:700}.mg-header a{text-decoration:none}.mg-header a:hover{color:var(--red)}.mg-header-tools{gap:20px}.mg-cart-link span{display:inline-grid;place-items:center;border:1px solid var(--ink);width:23px;height:23px;border-radius:50%;margin-left:4px;font-size:11px}.mg-search summary{cursor:pointer;list-style:none}.mg-search summary::-webkit-details-marker{display:none}.mg-search summary span{font-size:22px;vertical-align:middle}.mg-search form{position:absolute;top:100%;right:5%;width:min(440px,90vw);background:var(--white);padding:24px;border:1px solid var(--line);box-shadow:0 12px 30px #0001}.mg-search label{display:block;margin-bottom:12px}.mg-search form div{display:flex}.mg-search input{min-width:0;width:100%;padding:12px;border:1px solid var(--line)}.mg-search button{border:0;background:var(--ink);color:white;padding:10px 15px;font-size:12px;white-space:nowrap}.mg-kicker{font-size:10px;letter-spacing:2px;font-weight:800;text-transform:uppercase}.mg-hero{display:grid;grid-template-columns:.95fr 1.05fr;align-items:center;gap:40px;padding:70px 5% 80px;max-width:1600px;margin:auto}.mg-hero h1{font-size:clamp(56px,6.6vw,100px);line-height:.96;margin:28px 0;letter-spacing:-.065em}.mg-hero h1 em{font-style:normal;color:var(--red)}.mg-hero p{font-size:19px;line-height:1.5;margin:24px 0}.mg-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wp-element-button{display:inline-flex;align-items:center;justify-content:center;gap:35px;border-radius:3px!important;background:var(--ink)!important;color:white!important;border:1px solid var(--ink)!important;text-decoration:none!important;font-size:13px!important;font-weight:700!important;line-height:1.4!important;padding:17px 24px!important;cursor:pointer}.mg-button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.wp-element-button:hover{background:var(--red)!important;border-color:var(--red)!important}.mg-button-outline{background:transparent!important;color:var(--ink)!important}.mg-button-outline:hover{color:white!important}.mg-hero-note{font-size:12px;color:var(--muted);margin-top:15px}.mg-hero-note strong{color:var(--ink)}.mg-hero figure{position:relative;transform:rotate(-2deg);border-radius:5px;background:var(--white);box-shadow:12px 15px 0 #ddd7c8}.mg-hero figure img{display:block;width:100%;height:auto;border-radius:5px 5px 0 0}.mg-hero figcaption{display:flex;justify-content:space-between;gap:12px;padding:19px;font-size:11px}.mg-stamp{position:absolute;right:-16px;top:-30px;display:grid;place-content:center;width:88px;height:88px;background:var(--red);color:var(--paper);border-radius:50%;text-align:center;font-weight:900;font-size:13px;line-height:1.1;transform:rotate(12deg);letter-spacing:-.3px}.mg-ribbon{background:var(--red);color:var(--paper);padding:22px;text-align:center;font-size:12px;letter-spacing:1px;font-weight:800}.mg-section{padding:80px 5%;max-width:1600px;margin:auto}.mg-section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:42px}.mg-section-head h2{margin-top:15px}.mg-section-head p{font-size:14px;max-width:310px}.mg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:45px 25px}.mg-card{min-width:0}.mg-photo{display:block;background:#e5e5e2;overflow:hidden;border-radius:4px}.mg-photo img{width:100%;display:block;transition:transform .25s}.mg-photo:hover img{transform:scale(1.045)}.mg-meta{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1px;color:var(--muted);margin:17px 0 9px}.mg-swatches{display:flex;gap:5px}.mg-swatches i{display:block;width:12px;height:12px;border:1px solid #999;background:white;border-radius:50%}.mg-swatches i+i{background:var(--ink);border-color:var(--ink)}.mg-card h3{font-size:18px;letter-spacing:-.5px;line-height:1.2}.mg-card h3 a{text-decoration:none}.mg-card p{font-size:13px;line-height:1.6;margin:10px 0 18px}.mg-card-bottom{border-top:1px solid var(--line);padding-top:12px;display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px}.mg-card-bottom a{font-weight:bold}.mg-price{font-size:15px;font-weight:800}.mg-center{text-align:center;margin-top:45px}.mg-story{margin:5px 5% 0;padding:60px;display:grid;grid-template-columns:1fr 1fr;gap:70px;background:var(--ink);color:var(--paper);border-radius:5px}.mg-story .mg-kicker{color:#f29b7d}.mg-story h2{margin-top:25px}.mg-story p{font-size:17px;line-height:1.7}.mg-story p:first-child{margin-top:0}.mg-gift{text-align:center;padding-top:90px;padding-bottom:90px}.mg-gift h2{margin:24px 0}.mg-gift p{font-size:17px;line-height:1.8}.mg-text-link{display:inline-block;font-weight:bold;margin-top:15px}.mg-guide{display:grid;grid-template-columns:1fr 1fr;gap:90px;border-top:1px solid var(--line)}.mg-guide h2{margin:22px 0}.mg-guide p{max-width:470px;font-size:15px}.mg-small{font-size:12px!important;color:var(--muted);line-height:1.7}.mg-table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}caption{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:1px;padding-bottom:15px}td,th{text-align:left;padding:10px 16px;border-bottom:1px solid var(--line);font-size:13px}thead th{background:var(--ink);color:var(--paper)}tbody th{font-weight:800}.mg-faq{max-width:1050px;padding-top:20px}.mg-faq h2{margin:20px 0 35px}.mg-faq details{border-top:1px solid var(--line);padding:20px 0}.mg-faq summary{cursor:pointer;font-weight:700;font-size:17px}.mg-faq details p{max-width:750px;font-size:15px;line-height:1.8}.mg-footer{background:#e9e4d9;padding:60px 5% 22px}.mg-footer-main{display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px;margin-bottom:50px}.mg-footer-main h2{font-size:12px;letter-spacing:1px;text-transform:uppercase;margin:0 0 20px}.mg-footer-main a:not(.mg-logo){display:block;font-size:13px;text-decoration:none;margin:10px 0}.mg-footer-main p{font-size:13px}.mg-footer-bottom{border-top:1px solid #cdc6b8;padding-top:20px;display:flex;justify-content:space-between;gap:20px;font-size:10px;letter-spacing:.5px}.mg-page-wrap,.mg-woo-wrap{max-width:1450px;margin:auto;padding:45px 5% 80px;min-height:50vh}.mg-page-wrap>h1{margin-bottom:35px}.mg-shop-title{margin-bottom:45px}.mg-shop-title h1{margin:18px 0}.mg-shop-title p{font-size:17px}.mg-empty{min-height:65vh}.mg-empty h1{margin:30px 0}.woocommerce .woocommerce-breadcrumb{font-size:11px;margin-bottom:35px;color:var(--muted)}.woocommerce .woocommerce-breadcrumb a{color:var(--ink)}.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:45px 25px;margin:30px 0!important;padding:0}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important}.woocommerce ul.products li.product a img{margin-bottom:18px;border-radius:4px;aspect-ratio:1.5;object-fit:contain;background:#e7e7e4}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:18px;line-height:1.2;letter-spacing:-.4px;padding:0 0 12px}.woocommerce ul.products li.product .price{color:var(--ink);font-size:15px;font-weight:bold}.woocommerce ul.products li.product .button{padding:11px 17px!important;margin-top:10px}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{font-size:12px}.woocommerce .woocommerce-ordering select{padding:10px;border:1px solid var(--line);background:var(--white);max-width:100%}.woocommerce div.product{margin-top:20px}.woocommerce div.product div.images{width:53%!important}.woocommerce div.product div.summary{width:42%!important}.woocommerce div.product div.images img{background:#e8e8e5;border-radius:5px}.woocommerce div.product .product_title{font-size:clamp(32px,3.4vw,49px);margin-bottom:20px;line-height:1.06}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink);font-size:24px;font-weight:800}.woocommerce-product-details__short-description{font-size:17px;line-height:1.7}.mg-delivery{font-size:12px;color:var(--muted);margin-top:3px}.woocommerce div.product form.cart{margin-top:25px}.woocommerce div.product form.cart .variations{margin-bottom:24px}.woocommerce div.product form.cart .variations th{background:none;color:var(--ink);padding:14px 0;min-width:65px}.woocommerce div.product form.cart .variations td{padding:8px 0}.woocommerce div.product form.cart .variations select{padding:12px;border:1px solid #aaa;background:var(--white);width:100%;border-radius:3px}.woocommerce .quantity .qty{height:54px;border:1px solid #aaa;background:var(--white);border-radius:3px;min-width:65px}.woocommerce div.product form.cart .button{min-height:54px}.mg-product-help{display:flex;gap:22px;font-size:12px;font-weight:bold;margin:28px 0}.woocommerce .product_meta{font-size:11px;color:var(--muted);padding-top:20px;border-top:1px solid var(--line)}.woocommerce .product_meta>span{display:block}.woocommerce div.product .woocommerce-tabs{padding-top:30px;clear:both}.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0!important}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:transparent!important;border:0!important;margin:0 25px 0 0!important;padding:0!important;font-size:13px}.woocommerce div.product .woocommerce-tabs ul.tabs li:before,.woocommerce div.product .woocommerce-tabs ul.tabs li:after{display:none}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border-bottom:3px solid var(--red)!important}.woocommerce div.product .woocommerce-tabs .panel{max-width:900px;font-size:15px;line-height:1.8;padding:25px 0}.woocommerce div.product .woocommerce-tabs .panel h2{font-size:26px;margin-bottom:22px}.woocommerce .related>h2{font-size:32px;margin:35px 0}.woocommerce-message,.woocommerce-info{border-top-color:var(--red)!important;background:#ece8dd!important;color:var(--ink)!important}.woocommerce-message:before,.woocommerce-info:before{color:var(--red)!important}.woocommerce-error{background:#f9e7e2!important}.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{border:1px solid #aaa;border-radius:3px;padding:12px;background:var(--white)}.woocommerce table.shop_table{border:1px solid var(--line)}.woocommerce .cart_totals h2{font-size:28px;margin-bottom:25px}.woocommerce .cart-empty{font-size:18px}.woocommerce #payment{background:#e9e4d9}.woocommerce #payment div.payment_box{background:#ded8cb}.woocommerce #payment div.payment_box:before{border-bottom-color:#ded8cb}.woocommerce form .form-row label{font-size:13px}.woocommerce form .form-row{margin-bottom:17px}.woocommerce .col2-set h3,#order_review_heading{font-size:26px;margin:25px 0}.woocommerce .woocommerce-MyAccount-navigation{font-size:14px}.woocommerce .woocommerce-MyAccount-navigation ul{list-style:none;padding:0}.woocommerce .woocommerce-MyAccount-navigation a{display:block;padding:12px;border-bottom:1px solid var(--line)}.woocommerce .woocommerce-MyAccount-content p{font-size:15px}
@media(min-width:1600px){.mg-story{max-width:1440px;margin-left:auto;margin-right:auto}.mg-header,.mg-footer{padding-left:max(5%,calc((100% - 1440px)/2));padding-right:max(5%,calc((100% - 1440px)/2))}}
@media(max-width:900px){.mg-header{gap:15px;padding:22px 5%}.mg-header nav{gap:18px}.mg-header-tools{gap:15px}.mg-nav-secondary{display:none}.mg-logo{font-size:29px}.mg-hero{grid-template-columns:1fr;padding-top:45px;gap:50px}.mg-hero h1{font-size:76px}.mg-hero figure{max-width:650px;width:100%;margin:auto;transform:none}.mg-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.mg-story{padding:40px;gap:35px}.mg-guide{gap:40px}.mg-footer-main{grid-template-columns:1.5fr 1fr;gap:35px}.mg-footer-main>div:last-child{grid-column:1/-1}.woocommerce div.product div.images,.woocommerce div.product div.summary{width:100%!important;float:none!important}.woocommerce div.product div.summary{margin-top:35px}.mg-section{padding-top:60px;padding-bottom:60px}.mg-hero-copy{max-width:650px}}
@media(max-width:540px){.mg-topbar{font-size:8px;letter-spacing:1px}.mg-header{flex-wrap:wrap;padding:19px 5%;gap:17px}.mg-logo{font-size:28px}.mg-header nav{order:3;width:100%;justify-content:space-between;border-top:1px solid var(--line);padding-top:13px;font-size:12px}.mg-nav-secondary{display:block}.mg-header-tools{font-size:11px;gap:14px}.mg-search summary{font-size:0}.mg-search summary span{font-size:26px}.mg-cart-link span{width:20px;height:20px}.mg-hero{padding-top:35px;padding-bottom:55px}.mg-hero h1{font-size:clamp(51px,13.2vw,70px);margin:23px 0}.mg-kicker{font-size:9px;letter-spacing:1.4px}.mg-hero p{font-size:17px}.mg-hero figcaption{font-size:10px;padding:14px;align-items:center}.mg-hero figcaption span{max-width:160px;text-align:right}.mg-stamp{width:65px;height:65px;right:-5px;top:-22px;font-size:10px}.mg-ribbon{font-size:10px;line-height:1.8;letter-spacing:.7px;padding:18px}.mg-section-head{display:block;margin-bottom:30px}.mg-section-head p{margin-top:20px}.mg-grid,.woocommerce ul.products{grid-template-columns:1fr;gap:35px}.mg-card h3{font-size:21px}.mg-card p{font-size:14px}.mg-card-bottom{font-size:13px}.mg-story{grid-template-columns:1fr;padding:30px 24px;gap:25px}.mg-story h2{font-size:40px}.mg-story p{font-size:15px}.mg-gift h2{font-size:35px}.mg-gift p{font-size:15px}.mg-guide{grid-template-columns:1fr;gap:25px}.mg-guide h2 br{display:none}.mg-faq summary{font-size:15px}.mg-footer-main{grid-template-columns:1fr 1fr;gap:30px}.mg-footer-main>div:first-child{grid-column:1/-1}.mg-footer-main>div:last-child{grid-column:auto}.mg-footer-main a:not(.mg-logo){font-size:11px;overflow-wrap:anywhere}.mg-footer-bottom{flex-wrap:wrap;font-size:9px}.mg-woo-wrap,.mg-page-wrap{padding-top:30px}.woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count{float:none}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:22px}.mg-product-help{gap:15px;font-size:11px}.woocommerce div.product .product_title{font-size:38px}.mg-shop-title p{font-size:15px}.woocommerce .woocommerce-breadcrumb{font-size:10px;line-height:1.7}.woocommerce div.product .woocommerce-tabs ul.tabs li{font-size:12px;margin-right:18px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.mg-photo img{transition:none}}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.mg-logo{display:inline-block;flex-shrink:0}.mg-logo img{display:block;width:240px;height:auto}.mg-footer .mg-logo img{width:240px}@media(max-width:900px){.mg-header .mg-logo img{width:210px}}@media(max-width:540px){.mg-header .mg-logo img{width:195px}.mg-footer .mg-logo img{width:220px}}
.wc-block-components-title,.wc-block-cart__totals-title{font-family:Arial,Helvetica,sans-serif!important;font-weight:800!important;letter-spacing:-.5px!important}.wc-block-components-product-name{font-weight:bold;text-decoration:none}.wc-block-components-product-metadata{font-size:12px!important}.wc-block-components-product-price{font-weight:bold}.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{background:var(--ink)!important;color:white!important;border:0!important;border-radius:3px!important;font-weight:bold!important}.wc-block-cart__submit-button:hover,.wc-block-components-checkout-place-order-button:hover{background:var(--red)!important}.wc-block-components-sidebar{background:#ece7dc;border:1px solid var(--line);border-radius:4px;padding:25px!important}.wc-block-components-checkout-step__heading h2{font-size:23px!important}.wc-block-components-text-input input,.wc-block-components-combobox-control input{background:var(--white)!important}.wc-block-components-product-image img{border-radius:4px}.wc-block-components-main{padding-right:35px!important}.wc-block-cart .wc-block-cart-items__header th{background:transparent;color:var(--ink)}@media(max-width:700px){.wc-block-components-main{padding-right:0!important}.wc-block-components-sidebar{padding:18px!important}.mg-page-wrap>h1{font-size:40px}}

.mg-selected-price{margin:12px 0 20px}.mg-selected-price small{display:block;font-size:12px;color:var(--muted)}.mg-size-extra{font-size:14px;color:var(--ink)}
/* Individual product photography: keep the whole garment large and legible. */
.woocommerce ul.products li.product a img,.mg-photo img{aspect-ratio:4/5;object-fit:contain;background:#e7e7e4}.mg-hero figure{max-width:480px;justify-self:center;width:100%}.mg-hero figure img{aspect-ratio:4/5;object-fit:contain;background:#e7e7e4}.woocommerce div.product div.images .flex-control-thumbs li{width:25%!important}.woocommerce div.product div.images .flex-control-thumbs img{aspect-ratio:4/5;object-fit:contain}.mg-hero figcaption{align-items:center}.mg-hero figcaption span{max-width:220px;text-align:right}


.mg-collections{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 32px;clear:both}.mg-collections a{padding:10px 17px;border:1px solid #c8c5bb;border-radius:24px;color:inherit;text-decoration:none;font-weight:700}.mg-collections a:hover{background:#25241f;color:#fff}.mg-originals{border-top:1px solid #d8d4c8}.mg-everyday{background:#eae6dc}.mg-category-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:16px}

/* Display the approved brand artwork without its outer blank margins. */
.mg-logo{position:relative;width:240px;height:58px;overflow:hidden;mix-blend-mode:multiply}.mg-logo img,.mg-footer .mg-logo img{position:absolute;width:148%;max-width:none;height:auto;left:50%;top:50%;transform:translate(-50%,-50%)}
@media(max-width:600px){.mg-header .mg-logo{width:180px;height:44px}.mg-footer .mg-logo{width:220px;height:54px}}

.mg-cart-link{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.mg-cart-icon{flex-shrink:0;overflow:visible}.mg-cart-link span{margin-left:0}
