/*
Theme Name: Pineapple Store
Theme URI: https://pineapplejo.com/
Author: Pineapple Jeans Shop
Description: Independent, lightweight storefront theme for Pineapple Jeans Shop. Uses native WooCommerce templates and the separate Pineapple Next experience plugin.
Version: 1.0.2
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: pineapple-store
License: GPLv2 or later
*/
:root{--store-ink:#231e22;--store-pink:#b54872;--store-muted:#675e61;--store-line:#e6dfe0;--store-cream:#fff9f7;--store-width:1280px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:auto;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;color:var(--store-ink);background:#fff;font-family:Arial,sans-serif;font-size:15px;line-height:1.7}
body.rtl{font-family:Arial,Tahoma,sans-serif}
img{max-width:100%;height:auto;vertical-align:middle}
a{color:var(--store-pink);text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:3px}
h1,h2,h3,h4,h5,h6{font-weight:750;line-height:1.3;color:var(--store-ink);margin:0 0 .7em}
p{margin:0 0 1em}
button,input,select,textarea{font:inherit;color:inherit;max-width:100%}
button{cursor:pointer}button:disabled{cursor:not-allowed}
button:not(.pjn-iconbtn),input[type=submit]{touch-action:manipulation}
input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea{border:1px solid var(--store-line);border-radius:7px;padding:10px 12px;background:white}
:focus-visible{outline:3px solid var(--store-pink);outline-offset:3px}
[hidden]{display:none!important}
.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;top:14px;inset-inline-start:14px;z-index:10050;width:auto;height:auto;clip:auto;background:white;padding:12px;box-shadow:0 2px 10px #0002;white-space:normal}
#pjn-site-shell{min-height:100vh;display:flex;flex-direction:column;width:100%;min-width:0}
#pjn-site-main{flex:1;min-width:0;min-height:250px}
.pjn-theme-page,.pjn-theme-native,.pjn-theme-shop{width:min(var(--store-width),calc(100% - 40px));margin:0 auto;min-width:0;padding:28px 0 50px}
.pjn-theme-full{width:100%;max-width:none;padding:0}
.pjn-theme-fallback-header,.pjn-theme-fallback-footer{padding:18px 24px;border-bottom:1px solid var(--store-line);display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.pjn-theme-fallback-header a,.pjn-theme-fallback-footer a{color:var(--store-ink);font-weight:700}
.pjn-theme-fallback-header nav{display:flex;gap:18px;flex-wrap:wrap}
.pjn-theme-fallback-footer{border-bottom:0;border-top:1px solid var(--store-line);margin-top:auto}
.pjn-theme-page-title{font-size:clamp(26px,4vw,42px);margin-bottom:20px}
.pjn-theme-post-list article{padding:24px 0;border-bottom:1px solid var(--store-line)}
.pjn-theme-post-list article h2{font-size:23px}
.pjn-theme-post-list .post-thumbnail img{max-height:350px;object-fit:cover}
.pjn-theme-page .entry-content{min-width:0;overflow-wrap:anywhere}
.pjn-theme-page .entry-content iframe{max-width:100%}
.pjn-theme-page .entry-content table{max-width:100%}
.pjn-theme-native .woocommerce-breadcrumb{color:var(--store-muted);font-size:13px;margin:0 0 20px;overflow-wrap:anywhere}
.pjn-theme-native .woocommerce-breadcrumb a{color:var(--store-muted)}
.pjn-theme-native .woocommerce-products-header__title{font-size:clamp(24px,3vw,40px);margin-bottom:18px}
.pjn-theme-native .woocommerce-result-count,.pjn-theme-native .woocommerce-ordering{margin-bottom:20px}
.pjn-theme-native .woocommerce-ordering select{max-width:100%;min-height:44px}
.woocommerce .pjn-theme-native ul.products,.pjn-theme-native ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px 16px;clear:both;margin:16px 0 30px;padding:0;list-style:none}
.pjn-theme-native ul.products::before,.pjn-theme-native ul.products::after{display:none!important}
.pjn-theme-native ul.products li.product{width:auto!important;float:none!important;margin:0!important;min-width:0;display:flex;flex-direction:column;position:relative}
.pjn-theme-native ul.products li.product>a.woocommerce-LoopProduct-link{color:var(--store-ink);display:flex;flex-direction:column;text-decoration:none;flex:1;min-width:0}
.pjn-theme-native ul.products li.product a img{display:block;width:100%;aspect-ratio:3/4;height:auto;object-fit:cover;object-position:center 65%;border-radius:10px;background:#f4efef;margin:0 0 12px!important}
.pjn-theme-native ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;line-height:1.4;padding:0!important;margin:0 0 8px;overflow-wrap:anywhere}
.pjn-theme-native ul.products li.product .price{font-size:15px!important;font-weight:750;color:var(--store-ink)!important;margin:auto 0 10px}
.pjn-theme-native ul.products li.product .button{width:100%;margin:0!important;text-align:center;min-height:44px;padding:10px;color:var(--store-ink);background:white;border:1px solid var(--store-line);border-radius:8px;line-height:1.5;white-space:normal}
.pjn-theme-native ul.products li.product .button:hover{background:var(--store-pink);color:white}
.woocommerce span.onsale{background:var(--store-pink);color:white;border-radius:5px;min-height:0;min-width:0;line-height:1.3;padding:7px 10px;z-index:2}
.woocommerce .woocommerce-pagination ul.page-numbers{border:none!important;display:inline-flex;gap:5px;flex-wrap:wrap}
.woocommerce .woocommerce-pagination ul.page-numbers li{border:1px solid var(--store-line)!important;border-radius:6px;overflow:hidden}
.woocommerce .woocommerce-pagination ul.page-numbers li a,.woocommerce .woocommerce-pagination ul.page-numbers li span{min-width:38px;min-height:38px;display:grid;place-items:center;padding:7px}
.pjn-theme-native .woocommerce div.product,.woocommerce .pjn-theme-native div.product{min-width:0}
.pjn-theme-native div.product div.images,.pjn-theme-native div.product div.summary{min-width:0}
.pjn-theme-native div.product div.images{width:48%;margin-bottom:25px}
.pjn-theme-native div.product div.summary{width:47%;margin-bottom:28px}
.pjn-theme-native div.product .woocommerce-product-gallery__image{border-radius:10px;overflow:hidden;background:#f8f4f4}
.pjn-theme-native div.product .woocommerce-product-gallery__image img{display:block;width:100%;height:auto;max-height:720px;object-fit:contain}
.pjn-theme-native .flex-control-thumbs{margin-top:10px!important;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0!important}
.pjn-theme-native .flex-control-thumbs li{width:100%!important;float:none!important;margin:0!important;min-width:0}
.pjn-theme-native .flex-control-thumbs li img{border-radius:6px;aspect-ratio:3/4;object-fit:cover}
.pjn-theme-native .woocommerce-product-gallery__trigger{z-index:5!important}
.pjn-theme-native .product_meta{font-size:13px;color:var(--store-muted);padding:14px 0;border-top:1px solid var(--store-line)}
.pjn-theme-native .product_meta>span{display:block}
.pjn-theme-native .pjn-native-reviews,.pjn-theme-native .pjn-fit-after,.pjn-theme-native .related,.pjn-theme-native .woocommerce-tabs,.pjn-theme-native .up-sells{clear:both}
.pjn-theme-native .woocommerce-tabs ul.tabs{padding:0!important}
.pjn-theme-native .woocommerce-tabs .panel{padding:20px 0;overflow-wrap:anywhere}
.pjn-theme-native .related>h2,.pjn-theme-native .up-sells>h2{font-size:clamp(22px,3vw,30px);margin:0 0 18px}
.woocommerce .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{font-weight:750;line-height:1.4;border-radius:8px;min-height:44px;padding:12px 18px;white-space:normal}
.woocommerce .button.alt,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--store-ink);color:#fff}
.woocommerce .button.alt:hover,.woocommerce button.button.alt:hover{background:var(--store-pink)}
.woocommerce .quantity .qty{min-width:65px;min-height:44px;margin-inline-end:5px;padding:8px}
.woocommerce .pjn-variation-chips{border:0;padding:0;min-width:0}
.woocommerce form .form-row{margin:0 0 12px;padding:0;min-width:0}
.woocommerce form .form-row label{font-weight:650;line-height:1.5;margin-bottom:5px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{padding:11px 12px;font-size:16px;min-height:48px;width:100%}
.woocommerce form .form-row textarea{min-height:100px}
.woocommerce .select2-container{max-width:100%}
.woocommerce .select2-container .select2-selection--single{min-height:48px;border:1px solid var(--store-line);border-radius:8px;padding:8px}
.woocommerce table.shop_table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--store-line);border-radius:9px;margin:0 0 20px;overflow-wrap:anywhere}
.woocommerce table.shop_table td,.woocommerce table.shop_table th{padding:12px 13px;vertical-align:middle}
.woocommerce table.shop_table img{width:58px;height:auto;border-radius:5px}
.woocommerce .woocommerce-message,.woocommerce .woocommerce-error,.woocommerce .woocommerce-info{border-radius:8px;overflow-wrap:anywhere;line-height:1.6}
.woocommerce .woocommerce-MyAccount-navigation,.woocommerce .woocommerce-MyAccount-content{min-width:0}
.woocommerce .woocommerce-MyAccount-content{overflow-wrap:anywhere}
.woocommerce-account .woocommerce-MyAccount-navigation a:focus-visible{outline-offset:2px}
.woocommerce-checkout #payment{background:#f9f5f6;border:1px solid var(--store-line);border-radius:10px}
.woocommerce-checkout #payment div.payment_box{background:#fff;border-radius:8px;line-height:1.6}
.woocommerce-checkout #payment div.payment_box::before{display:none}
body.woocommerce-checkout.rtl .woocommerce .col2-set{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
body.woocommerce-checkout.rtl .woocommerce .col2-set::before,body.woocommerce-checkout.rtl .woocommerce .col2-set::after{display:none}
body.woocommerce-checkout.rtl .woocommerce .col2-set .col-1,body.woocommerce-checkout.rtl .woocommerce .col2-set .col-2{float:none;width:100%;min-width:0}
.woocommerce-checkout #billing_country_field .woocommerce-input-wrapper,.woocommerce-checkout #shipping_country_field .woocommerce-input-wrapper{display:block;width:100%}
.woocommerce-checkout #billing_country_field .woocommerce-input-wrapper strong,.woocommerce-checkout #shipping_country_field .woocommerce-input-wrapper strong{display:block;padding:10px 12px;border:1px solid var(--store-line);border-radius:7px;background:#fff}
@media(max-width:1000px){.pjn-theme-native ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){
 body.woocommerce-checkout.rtl .woocommerce .col2-set{grid-template-columns:1fr;gap:12px}
 .pjn-theme-page,.pjn-theme-native,.pjn-theme-shop{width:calc(100% - 28px);padding:18px 0 32px}
 .pjn-theme-full{width:100%;padding:0}
 .pjn-theme-native ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 10px!important}
 .pjn-theme-native ul.products li.product .woocommerce-loop-product__title{font-size:13px!important}
 .pjn-theme-native ul.products li.product .price{font-size:13px!important}
 .pjn-theme-native div.product div.images,.pjn-theme-native div.product div.summary{float:none!important;width:100%!important;margin:0 0 20px!important;padding:0!important}
 .pjn-theme-native div.product .woocommerce-product-gallery__image img{max-height:560px}
 .pjn-theme-native .flex-control-thumbs{grid-template-columns:repeat(4,minmax(0,1fr))}
 .woocommerce form .form-row-first,.woocommerce form .form-row-last,.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2,.woocommerce .woocommerce-MyAccount-navigation,.woocommerce .woocommerce-MyAccount-content{float:none!important;width:100%!important}
 .woocommerce .woocommerce-MyAccount-navigation{margin-bottom:22px}
 .woocommerce table.shop_table td,.woocommerce table.shop_table th{padding:10px 8px}
 .woocommerce .cart-collaterals .cart_totals{float:none!important;width:100%!important}
 .woocommerce .cart .actions .coupon{display:flex!important;flex-wrap:wrap;gap:8px;align-items:center}
 .woocommerce .cart .actions .coupon input{width:auto!important;flex:1 1 110px}
 .pjn-theme-native .woocommerce-ordering,.pjn-theme-native .woocommerce-result-count{float:none!important;width:100%}
 .pjn-theme-native .woocommerce-ordering select{width:100%}
}
