/* Shared spacing across storefront templates. Product media and descriptions
   retain their own aspect ratios, crop rules and expand/collapse behavior. */
#coco-main{--coco-space:16px}
#coco-main>.section{margin-bottom:18px}
#coco-main .heading-bar{margin-bottom:12px}
#coco-main .bread-crumb{margin-bottom:14px!important}
#coco-main .breadcrumb{padding-top:7px!important;padding-bottom:7px!important}
#coco-main .coco-inner-grid{gap:16px}
#coco-main .coco-recommend,#coco-main .coco-recent{margin-top:24px;margin-bottom:16px}
#coco-main .coco-product-layout{gap:20px}
#coco-main .coco-product-tools{margin:12px 0;gap:8px}
#coco-main .coco-description{padding-top:14px;margin-top:6px}
#coco-main .coco-description>.heading-bar__title{padding-bottom:12px}
#coco-main .coco-readmore{margin:10px auto;min-height:40px}
#coco-main .coco-contact-card{padding:24px 20px;margin-bottom:16px}
#coco-main .coco-contact-card>img{margin-bottom:14px}
#coco-main .coco-contact-card p{margin:10px 0 14px;line-height:1.5}
#coco-main .coco-contact .single-contact{margin:10px 0;gap:10px}
#coco-main .coco-contact .title-head{margin:12px 0}
#coco-main .checkout-layout{gap:24px}
#coco-main .checkout-shell h1{margin:12px 0 18px}
#coco-main .checkout-form section{padding:18px;margin-bottom:14px}
#coco-main .checkout-shell h2{margin-bottom:14px}
#coco-main .checkout-fields{gap:12px}
#coco-main .checkout-fields label{gap:5px}
#coco-main .checkout-method{padding:12px;gap:10px;margin-top:10px}
#coco-main .checkout-summary{padding:18px}
#coco-main .checkout-summary .coco-order-line{gap:10px;padding-block:10px}
#coco-main .customer-area{gap:20px}
#coco-main .customer-area .customer-panel{padding:22px}
#coco-main .customer-title{margin-bottom:16px;gap:12px}
#coco-main .customer-title :is(h2,h3){margin-bottom:6px}
#coco-main .customer-title p{line-height:1.5}
#coco-main .customer-actions{gap:8px}
#coco-main .customer-area aside nav{margin-top:14px;gap:4px}
#coco-main .customer-area aside nav a{padding:10px 12px}
#coco-main .customer-status:empty{display:none}
#coco-main .news-heading{margin:10px auto 22px}
#coco-main .news-grid{gap:20px}
#coco-main .news-card>div{padding:16px}
#coco-main .news-card h2{margin:8px 0 10px}
#coco-main .news-detail{gap:28px}
#coco-main .news-detail h1{margin:8px 0 18px;line-height:1.35}
#coco-main .news-body :is(p,li){line-height:1.6}
#coco-main .news-body p{margin-bottom:12px}
#coco-main .news-body h2{margin:22px 0 10px}
#coco-main .news-body h3{margin:18px 0 8px}
#coco-main .news-detail aside{padding:16px}
#coco-main .coco-information :is(p,li){line-height:1.6}
@media(max-width:767px){
  #coco-main{--coco-space:12px}
  #coco-main>.section{margin-bottom:12px}
  #coco-main .heading-bar{margin-bottom:10px;gap:8px}
  #coco-main .bread-crumb{margin-bottom:10px!important}
  #coco-main .breadcrumb{padding-top:5px!important;padding-bottom:5px!important;line-height:1.4}
  #coco-main .coco-inner{padding-bottom:18px}
  #coco-main .coco-inner-grid{gap:10px}
  #coco-main .coco-product-card .product-info{padding:9px 3px}
  #coco-main .coco-product-card .product-name{margin-bottom:8px}
  #coco-main .coco-recommend,#coco-main .coco-recent{margin-top:18px;margin-bottom:12px}
  #coco-main .coco-recommend .coco-inner-grid{gap:10px;padding-bottom:10px}
  #coco-main .coco-product-layout{gap:14px}
  #coco-main .coco-product-info h1{font-size:22px;line-height:1.35;margin-bottom:10px}
  #coco-main .coco-product-tools{gap:8px;margin:10px 0}
  #coco-main .coco-description{padding-top:12px}
  #coco-main .coco-description>.heading-bar__title{font-size:22px;padding-bottom:10px}
  #coco-main .coco-readmore{min-height:44px}
  #coco-main .checkout-shell h1{font-size:24px;margin:10px 0 14px}
  #coco-main .checkout-layout{gap:12px}
  #coco-main .checkout-form section{padding:12px;margin-bottom:12px}
  #coco-main .checkout-shell h2{margin-bottom:10px;font-size:17px}
  #coco-main .checkout-fields{gap:10px}
  #coco-main .checkout-fields label{gap:4px;line-height:1.4}
  #coco-main .checkout-fields :is(input:not([type=checkbox]):not([type=radio]),select){min-height:44px;font-size:16px}
  #coco-main .checkout-method{padding:10px;gap:8px;margin-top:8px}
  #coco-main .checkout-method p{line-height:1.45;margin-top:4px}
  #coco-main .checkout-summary{padding:12px}
  #coco-main .checkout-summary .coco-order-line{gap:8px;padding-block:9px}
  #coco-main .customer-area{gap:12px}
  #coco-main .customer-area .customer-panel{padding:14px;min-width:0}
  #coco-main .customer-title{margin-bottom:12px;gap:8px}
  #coco-main .customer-title :is(h2,h3){font-size:20px}
  #coco-main .customer-actions{gap:8px}
  #coco-main .customer-area aside nav{margin-top:10px}
  #coco-main .customer-area aside nav a{padding:9px 10px;min-height:44px}
  #coco-main .customer-area :is(input:not([type=checkbox]):not([type=radio]),select){min-height:44px;font-size:16px}
  #coco-main .coco-account{padding-bottom:20px}
  #coco-main .coco-account .form-group{margin-bottom:12px}
  #coco-main .coco-contact-card{padding:18px 14px;margin-top:14px}
  #coco-main .coco-contact fieldset{margin-bottom:12px}
  #coco-main .news-heading{margin:8px auto 16px}
  #coco-main .news-heading h1{font-size:27px;line-height:1.3}
  #coco-main .news-grid{gap:14px}
  #coco-main .news-card>div{padding:12px}
  #coco-main .news-detail{gap:18px}
  #coco-main .news-detail h1{font-size:25px;margin-bottom:14px}
  #coco-main .news-body h2{font-size:22px;margin:18px 0 8px}
  #coco-main .news-body h3{font-size:19px;margin:16px 0 8px}
  #coco-main .news-body :is(p,li),#coco-main .coco-information :is(p,li){line-height:1.55}
  #coco-main .news-body p{margin-bottom:10px}
}
@media(max-width:767px){#coco-main #checkout-form>.customer-help{margin:4px 0 10px;line-height:1.45}#coco-main .checkout-layout{gap:10px!important}#coco-main .checkout-summary{margin-bottom:0!important}}

/* Keep the complete category filter available in a bounded scrolling panel. */
#coco-main .coco-filter details:first-of-type{max-height:360px;max-height:min(360px,50dvh);overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#e8535c #f0f0f0;padding-right:6px}
#coco-main .coco-filter details:first-of-type>summary{position:sticky;top:0;z-index:1;background:#fff;padding-block:8px;margin-top:0}
#coco-main .coco-filter details:first-of-type::-webkit-scrollbar{width:6px}
#coco-main .coco-filter details:first-of-type::-webkit-scrollbar-track{background:#f0f0f0;border-radius:6px}
#coco-main .coco-filter details:first-of-type::-webkit-scrollbar-thumb{background:#e8535c;border-radius:6px}
