/*
Theme Name: LIMA Shop Red Preview
Theme URI: https://www.e-ma.com.tw/
Author: LIMA local project
Description: Red editorial variant for the separate LIMA WooCommerce preview shop.
Version: 0.1.0
Requires PHP: 8.0
Text Domain: lima-shop
*/

:root{--ink:#103d2a;--text:#173329;--muted:#607167;--line:#dce7df;--green:#124f34;--green-hover:#0d3c27;--pale:#f4f8f5;--white:#fff;--shadow:0 16px 50px rgba(15,61,41,.08);--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--text);font-family:"Noto Sans TC","Microsoft JhengHei",system-ui,sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}img{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}.container{width:min(var(--max),calc(100% - 48px));margin-inline:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{position:fixed!important;width:auto;height:auto;left:16px;top:16px;padding:12px;background:#fff;z-index:9999;clip:auto}
.preview-bar{background:#ecf5ef;border-bottom:1px solid #cee4d5;text-align:center;color:#28573d;font-size:13px;font-weight:700;padding:7px 18px}.site-header{background:#fff;position:relative;z-index:5;border-bottom:1px solid #f1f3f1}.header-inner{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:flex;flex-direction:column;line-height:1.1;color:var(--ink);flex-shrink:0}.brand-name{font-family:"Noto Serif TC","PMingLiU",serif;letter-spacing:.15em;font-size:27px;font-weight:800}.brand-sub{font-size:10px;letter-spacing:.2em;margin-top:7px}.desktop-nav{display:flex;gap:38px;align-items:center;margin-left:auto}.desktop-nav a{font-size:15px;font-weight:700;transition:color .2s}.desktop-nav a:hover,.desktop-nav a:focus{color:#3f8e5e}.header-actions{display:flex;align-items:center;gap:20px}.cart-link{font-weight:700;font-size:14px;white-space:nowrap}.cart-link svg{vertical-align:-4px;margin-right:3px}.line-link,.button,.button.alt,button.button,input.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--green);background:var(--green);color:#fff;border-radius:8px;padding:12px 22px;font-weight:700;line-height:1.3;transition:background .2s,transform .2s;box-shadow:none}.line-link:hover,.button:hover,.button.alt:hover,button.button:hover,input.button:hover{background:var(--green-hover);color:#fff;transform:translateY(-1px)}.line-link{font-size:14px;padding:11px 15px;white-space:nowrap}.line-dot{display:inline-flex;border-radius:50%;background:#fff;color:var(--green);font-size:8px;width:21px;height:21px;align-items:center;justify-content:center;font-weight:900}.menu-toggle{display:none;background:transparent;border:0;color:var(--ink);font-size:25px;padding:4px}
.hero{min-height:440px;display:flex;align-items:center;background:#fff url("https://shop.e-ma.com.tw/assets/themes/lima-shop-red/assets/hero.webp") center center/cover no-repeat}.hero-inner{padding:60px 0}.hero-copy{max-width:540px}.hero h1{font-family:"Noto Serif TC","PMingLiU",serif;color:var(--ink);font-weight:800;letter-spacing:.04em;font-size:clamp(38px,4.4vw,60px);line-height:1.3;margin-bottom:14px}.hero-lead{font-size:22px;color:#42554a;margin-bottom:23px}.hero-note{font-size:14px;color:var(--muted);margin-top:22px}.button-arrow:after{content:"→";font-size:20px;font-weight:400;line-height:1}
.section{padding:72px 0}.section-title{text-align:center;color:var(--ink);font-family:"Noto Serif TC","PMingLiU",serif;font-size:34px;letter-spacing:.06em;margin-bottom:6px}.section-sub{text-align:center;color:var(--muted);margin-bottom:42px}.product-feature-list{display:grid;grid-template-columns:1fr 1fr;gap:32px}.feature-product{display:grid;grid-template-columns:minmax(140px,44%) 1fr;align-items:center;gap:20px}.product-art{aspect-ratio:1/1;background:linear-gradient(155deg,#fff 14%,#f3f5f2);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.product-art:before{content:"";position:absolute;width:62%;aspect-ratio:1;filter:blur(36px);opacity:.3;right:4%;bottom:8%;background:#e0b9b6}.product-art--blue:before{background:#9fb9d5}.mock-box{position:relative;width:57%;height:76%;background:linear-gradient(145deg,#c51935,#850622);box-shadow:12px 16px 21px rgba(52,43,42,.19),inset -9px 0 13px rgba(0,0,0,.14);border:3px solid #c7a872;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:12px;transform:perspective(550px) rotateY(-8deg)}.mock-box:before{content:"";position:absolute;left:-13%;top:-3px;width:13%;height:calc(100% + 6px);background:#96162c;transform:skewY(-20deg);transform-origin:right top;border:2px solid #b7986c}.mock-box--blue{background:linear-gradient(145deg,#075887,#072853);border-color:#c4aa5e}.mock-box--blue:before{background:#06396e}.mock-box small{font-size:clamp(8px,.8vw,11px);letter-spacing:.12em}.mock-box strong{font-family:"Noto Serif TC","PMingLiU",serif;font-size:clamp(16px,2vw,25px);line-height:1.4;margin:18px 0}.mock-box span{font-size:11px}.feature-content h3{font-size:23px;line-height:1.4;color:#17271e;margin-bottom:4px}.feature-content .spec{font-size:15px;color:var(--muted);margin-bottom:18px}.feature-content .desc{font-size:15px;color:#50645a;min-height:55px;margin:0 0 12px}.feature-content .price{color:var(--green);font-size:22px;font-weight:800;margin-bottom:15px}.feature-content .button{padding:11px 17px;font-size:14px}.feature-content .tag{display:block;color:#856d28;font-size:12px;margin-top:9px}
.cold-band{background:#edf5f5;display:grid;grid-template-columns:1fr 1fr;min-height:295px}.cold-image{background:linear-gradient(130deg,rgba(4,44,50,.15),rgba(5,37,45,.05)),url("https://shop.e-ma.com.tw/assets/themes/lima-shop-red/assets/cold.webp") center/cover no-repeat}.cold-content{align-self:center;padding:45px max(32px,calc((100vw - 1180px)/2)) 45px 58px}.cold-content h2{font-family:"Noto Serif TC","PMingLiU",serif;font-size:32px;color:var(--ink);margin:5px 0 13px}.cold-content p{max-width:475px;color:#4e6259;margin-bottom:22px}.cold-content .button{white-space:nowrap}.trust-strip{border-bottom:1px solid var(--line)}.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);padding:27px 0}.trust-item{display:flex;gap:18px;align-items:center;padding:0 28px;border-right:1px solid var(--line)}.trust-item:first-child{padding-left:0}.trust-item:last-child{border-right:0}.trust-icon{color:var(--green);font-size:30px;line-height:1}.trust-item strong{display:block;font-size:16px}.trust-item span{font-size:13px;color:var(--muted)}
.site-footer{background:#10452f;color:#fff;padding:48px 0 22px}.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:35px}.site-footer .brand{color:#fff}.footer-brand-copy{font-size:14px;line-height:1.9;color:#d9e8dd;margin-top:26px}.footer-col h3{font-size:14px;margin-bottom:15px}.footer-col a,.footer-col span{display:block;color:#d9e8dd;font-size:14px;margin:7px 0}.footer-col a:hover{color:#fff;text-decoration:underline}.footer-bottom{border-top:1px solid rgba(255,255,255,.2);margin-top:35px;padding-top:18px;color:#c6dbcc;font-size:12px;display:flex;justify-content:space-between;gap:15px}
.page-shell{padding:54px 0 85px;min-height:45vh}.page-shell h1,.woocommerce-products-header__title{font-family:"Noto Serif TC","PMingLiU",serif;color:var(--ink);font-size:36px}.page-shell .woocommerce{max-width:100%}.woocommerce .woocommerce-breadcrumb{color:var(--muted);margin-bottom:26px}.woocommerce ul.products li.product{background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px 14px 19px;box-shadow:none;overflow:hidden}.woocommerce ul.products li.product img{background:#f7faf8;border-radius:6px;aspect-ratio:1;object-fit:cover}.woocommerce ul.products li.product .woocommerce-loop-product__title{color:var(--text);font-size:17px;font-weight:700}.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--green);font-weight:800}.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--green);color:#fff}.woocommerce #respond input#submit:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--green-hover);color:#fff}.woocommerce div.product .product_title{color:var(--ink);font-family:"Noto Serif TC","PMingLiU",serif}.woocommerce div.product div.images img{background:#f5f8f6;border-radius:8px}.woocommerce table.shop_table{border-color:var(--line)}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid #b8cfc0;border-radius:5px;padding:10px;background:#fff}.woocommerce-message,.woocommerce-info{border-top-color:var(--green)}.woocommerce-message::before,.woocommerce-info::before{color:var(--green)}.notice-panel{border:1px solid #d7e4d8;background:#f7faf8;padding:18px 22px;border-radius:9px;margin:22px 0;color:#3c5846;font-size:14px}.empty-state{background:#f7faf8;padding:35px;border-radius:10px;text-align:center;color:var(--muted)}.shipping-note{font-size:13px;color:#516d5b}.site-main a:not(.button):not(.added_to_cart):hover{text-decoration:underline}
.woocommerce div.product .lima-single-art{float:left;width:48%;margin:0 4% 2em 0}.woocommerce div.product .lima-single-art .product-art{border:1px solid var(--line);border-radius:9px}.woocommerce div.product .lima-single-art .mock-box{width:52%;height:68%}.woocommerce div.product div.summary{float:right;width:48%}
.product-art{background:#fff;display:block;overflow:hidden}.product-art:before{display:none}.product-art .product-photo{display:block;width:100%;height:82%;object-fit:cover;object-position:center top;transition:transform .25s ease}.product-art:hover .product-photo{transform:scale(1.02)}.lima-single-art .product-art .product-photo{height:82%}
.desktop-nav .mobile-cart{display:none}.woocommerce div.product form.cart .button.single_add_to_cart_button{background:var(--green);color:#fff;border-radius:7px;padding:12px 21px}.woocommerce div.product form.cart .button.single_add_to_cart_button:hover{background:var(--green-hover);color:#fff}.woocommerce .quantity .qty{border:1px solid #bacfc0;border-radius:5px;padding:7px}.archive-product-art{aspect-ratio:1;overflow:hidden;background:#fff;display:block;border-radius:6px}.archive-product-art img{width:100%;height:82%;object-fit:cover;object-position:center top;display:block}.product-info-row{display:flex;gap:20px;flex-wrap:wrap;color:#456352;font-size:14px;margin:14px 0 23px}.product-info-row span:before{content:"✓";color:var(--green);font-weight:900;margin-right:5px}.product-shipping-panel{background:#f5faf6;border-left:3px solid var(--green);padding:15px 18px;margin:17px 0;color:#3b5a47;font-size:14px}.product-shipping-panel strong{display:block;color:var(--ink);font-size:15px;margin-bottom:3px}.upsell-inline{border-top:1px solid var(--line);margin-top:24px;padding-top:19px;font-size:14px}.upsell-inline strong{display:block;color:var(--ink);margin-bottom:7px}.upsell-inline a{color:var(--green);font-weight:700;text-decoration:underline}
.shipping-progress{border:1px solid #cfdfd1;background:#f5faf6;border-radius:8px;padding:17px 20px;margin:0 0 20px;color:#365b43;font-size:14px}.shipping-progress strong{display:block;color:var(--ink);font-size:16px;margin-bottom:7px}.shipping-progress p{margin:3px 0}.shipping-progress small{display:block;color:var(--muted);margin-top:7px}.product-art .product-photo{width:130%;height:106%;max-width:none;margin-left:-15%;margin-top:-8%}.archive-product-art img{width:130%;height:106%;max-width:none;margin-left:-15%;margin-top:-8%}
.trust-icon svg{display:block;width:33px;height:33px}
.frozen-section{background:#f8faf8}.frozen-product-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.frozen-product-list .feature-product{display:block;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;box-shadow:var(--shadow)}.frozen-product-list .feature-content{padding:18px 21px 22px}.frozen-product-list .feature-content .desc{min-height:0}.frozen-product-list .product-art{aspect-ratio:4/3;background:#fff}.frozen-product-list .product-photo--frozen,.product-art .product-photo--frozen{width:100%;height:100%;margin:0;object-fit:cover;object-position:center}.archive-product-art img.frozen-thumb{width:100%;height:100%;margin:0;object-fit:cover;object-position:center}.frozen-section .feature-content h3{font-size:19px}
.woocommerce-cart table.cart .product-thumbnail .archive-product-art{width:88px;height:88px}.woocommerce-cart table.cart .product-thumbnail .archive-product-art img{max-width:none;width:100%;height:100%;margin:0;object-fit:cover;object-position:center top}
.reference-price-note{display:block;color:#6d756e;font-size:11px;font-weight:400;line-height:1.4;margin-top:3px}.woocommerce div.product .lima-single-art .product-art .product-photo--frozen{width:100%;height:100%;margin:0;object-fit:cover}.archive-product-art{position:relative}.image-disclaimer{position:absolute;right:8px;bottom:8px;z-index:2;background:rgba(255,255,255,.9);color:#264b37;font-size:11px;line-height:1.2;padding:5px 7px;white-space:nowrap}
@media(max-width:940px){.desktop-nav{gap:19px}.header-actions{gap:12px}.product-feature-list{gap:20px}.feature-product{grid-template-columns:42% 1fr;gap:15px}.feature-content h3{font-size:20px}.cold-content{padding:34px}.trust-item{padding:0 15px}}
@media(max-width:940px){.frozen-product-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.container{width:min(100% - 32px,var(--max))}.header-inner{min-height:66px}.brand-name{font-size:21px}.brand-sub{font-size:8px}.desktop-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:15px 20px 22px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch;gap:15px}.desktop-nav.is-open{display:flex}.menu-toggle{display:block}.line-link{padding:8px 11px;font-size:12px}.cart-link{font-size:0}.cart-link svg{margin-right:0}.hero{min-height:445px;background-position:61% center;align-items:flex-start}.hero-inner{padding-top:38px}.hero-copy{max-width:320px}.hero h1{font-size:38px}.hero-lead{font-size:17px}.hero-note{max-width:240px;font-size:13px;margin-top:15px}.section{padding:53px 0}.section-title{font-size:29px}.section-sub{font-size:14px;margin-bottom:29px}.product-feature-list{grid-template-columns:1fr;gap:26px}.feature-product{grid-template-columns:44% 1fr;gap:13px}.feature-content h3{font-size:17px}.feature-content .spec{font-size:12px;margin-bottom:8px}.feature-content .desc{font-size:12px;min-height:0;margin-bottom:7px}.feature-content .price{font-size:18px;margin-bottom:9px}.feature-content .button{font-size:12px;padding:9px 11px}.mock-box strong{font-size:15px}.cold-band{grid-template-columns:1fr}.cold-image{min-height:190px}.cold-content{padding:34px 22px 43px}.cold-content h2{font-size:27px}.trust-grid{grid-template-columns:1fr;padding:8px 0}.trust-item,.trust-item:first-child{padding:16px 0;border-right:0;border-bottom:1px solid var(--line)}.trust-item:last-child{border-bottom:0}.footer-grid{grid-template-columns:1fr 1fr;gap:26px}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{display:block}.page-shell{padding:35px 0 65px}.page-shell h1,.woocommerce-products-header__title{font-size:29px}}
@media(max-width:720px){.woocommerce div.product .lima-single-art,.woocommerce div.product div.summary{float:none;width:100%;margin:0 0 22px}}
@media(max-width:720px){.desktop-nav .mobile-cart{display:block}}
@media(max-width:720px){.frozen-product-list{grid-template-columns:1fr}.frozen-product-list .feature-product{display:grid;grid-template-columns:42% 1fr;gap:12px}.frozen-product-list .product-art{height:100%;aspect-ratio:auto}.frozen-product-list .feature-content{padding:14px 12px 16px 0}.frozen-section .feature-content h3{font-size:16px}.frozen-product-list .feature-content .tag{font-size:11px}}
.preview-bar{background:#075039;color:#fff;border-color:#075039}
.woocommerce ul.products li.product .archive-product-art img,.woocommerce-cart table.cart .product-thumbnail .archive-product-art img{display:block;width:100%;height:100%;max-width:100%;margin:0;aspect-ratio:auto;object-fit:contain}
.woocommerce ul.products li.product .archive-product-art img.frozen-thumb{object-fit:cover}
.woocommerce ul.products li.product .archive-product-art img[src*="hxb-original.jpg"],.woocommerce-cart table.cart .product-thumbnail .archive-product-art img[src*="hxb-original.jpg"]{width:140%;height:auto;max-width:none;margin-left:-20%;margin-top:-14%;object-fit:unset;clip-path:polygon(25% 14%,33% 10.5%,75.5% 10.5%,76.5% 77.5%,33% 78.5%,25% 74.5%)}
.woocommerce ul.products li.product .archive-product-art img[src*="clam-original.jpg"],.woocommerce-cart table.cart .product-thumbnail .archive-product-art img[src*="clam-original.jpg"]{width:135%;height:auto;max-width:none;margin-left:-17.5%;margin-top:-8%;object-fit:unset;clip-path:polygon(26% 6%,74% 6%,74% 79%,26% 79%)}
