﻿/* Pages CSS */
.breadcrumb{display:flex;align-items:center;gap:8px;font-size:.8rem;margin-bottom:24px;flex-wrap:wrap}.breadcrumb a{color:var(--green-sage)}.breadcrumb__sep{color:var(--text-subtle);font-size:.7rem}.breadcrumb__current{color:var(--text-muted)}
.section-eyebrow{font-size:10px;letter-spacing:.35em;text-transform:uppercase;color:var(--green-sage);margin-bottom:12px;text-align:center}
.page-hero{position:relative;min-height:340px;display:flex;align-items:flex-end;padding:80px 5% 48px;overflow:hidden}.page-hero__bg{position:absolute;inset:0;background:url('assets/kosmos_zielony.png') center/cover no-repeat}.page-hero__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,13,7,.7),rgba(3,13,7,.9))}.page-hero__content{position:relative;z-index:3;max-width:800px}.page-hero__title{font-family:var(--font-heading);font-size:clamp(2rem,5vw,3.5rem);margin-bottom:16px}.page-hero__desc{color:var(--white);font-size:1.05rem;line-height:1.7;margin-bottom:20px;max-width:600px}.page-hero__meta{display:flex;gap:24px;flex-wrap:wrap;font-size:.85rem;color:rgba(255,255,255,.65)}
.category-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;flex-wrap:wrap;gap:12px;max-width:1280px;margin:0 auto 28px}.category-toolbar__count{font-size:.85rem;color:var(--text-muted)}.category-sort{padding:8px 16px;border:1px solid rgba(0,0,0,.1);border-radius:var(--radius-sm);font-family:var(--font-body);font-size:.85rem;color:var(--text-body);background:#fff;cursor:pointer}
.filter-tag{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;background:rgba(13,107,56,.08);border-radius:999px;font-size:.75rem;color:var(--green-main)}.filter-tag__remove{background:none;border:none;cursor:pointer;color:var(--green-main);font-size:1rem;padding:0 2px}
.category-layout{display:grid;grid-template-columns:280px 1fr;gap:40px;max-width:1280px;margin:0 auto}
.category-sidebar{position:sticky;top:100px;max-height:calc(100vh - 120px);overflow-y:auto;padding-right:16px}.filter-group{margin-bottom:28px}.filter-group__title{font-family:var(--font-heading);font-size:.9rem;color:var(--text-dark);margin-bottom:12px;letter-spacing:.05em}
.filter-search{position:relative}.filter-search__input{width:100%;padding:10px 36px 10px 14px;border:1px solid rgba(0,0,0,.1);border-radius:var(--radius-sm);font-size:.85rem;background:#fff;color:var(--text-body)}.filter-search__input:focus{outline:none;border-color:var(--green-sage);box-shadow:0 0 0 3px rgba(90,166,122,.15)}.filter-search__icon{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:16px;height:16px;stroke:var(--text-subtle);fill:none}
.filter-checkbox{display:flex;align-items:center;gap:8px;padding:6px 0;font-size:.85rem;color:var(--text-body);cursor:pointer}.filter-checkbox input{accent-color:var(--green-main)}.filter-checkbox__count{color:var(--text-subtle);font-size:.75rem;margin-left:auto}
.filter-price__slider{width:100%;accent-color:var(--green-main)}.filter-price__labels{display:flex;justify-content:space-between;font-size:.75rem;color:var(--text-subtle);margin-top:4px}
.filter-clear{width:100%;text-align:center;margin-top:8px}
.products-grid--category{grid-template-columns:repeat(3,1fr)}
.product-card__rating{font-size:.75rem;margin-top:6px;color:var(--text-muted)}.product-card__rating span{color:var(--text-subtle)}
.filter-mobile-btn{display:none;position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:12px 24px;background:var(--green-main);color:#fff;border:none;border-radius:999px;font-family:var(--font-heading);font-size:.8rem;letter-spacing:.1em;cursor:pointer;z-index:100;box-shadow:0 8px 30px rgba(13,107,56,.4);gap:8px;align-items:center}

/* Author page */
.author-hero-layout{display:grid;grid-template-columns:220px 1fr;gap:48px;align-items:center}.author-hero__photo-wrap{position:relative}.author-hero__photo{width:200px;height:250px;border-radius:var(--radius);overflow:hidden;border:2px solid rgba(212,160,23,.3);position:relative;z-index:1}.author-hero__photo img{width:100%;height:100%;object-fit:cover}.author-hero__glow{position:absolute;inset:-20%;border-radius:50%;background:radial-gradient(circle,rgba(26,154,85,.15),transparent 70%);z-index:0}.author-hero__eyebrow{font-size:.7rem;letter-spacing:.3em;text-transform:uppercase;color:rgba(157,227,189,.7);margin-bottom:12px}.author-hero__name{font-family:var(--font-heading);font-size:clamp(2rem,5vw,3.5rem);margin-bottom:16px}.author-hero__bio{color:var(--white);font-size:1rem;line-height:1.8;margin-bottom:24px;max-width:550px}.author-hero__bio strong{color:var(--gold-light)}.author-hero__stats{display:flex;gap:32px}.author-stat{text-align:center}.author-stat__number{display:block;font-family:var(--font-heading);font-size:1.6rem;color:var(--gold-warm)}.author-stat__label{font-size:.7rem;color:rgba(255,255,255,.5);text-transform:uppercase;letter-spacing:.1em}
.author-about{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;max-width:1100px;margin:0 auto}.author-about__content p{margin-bottom:16px;font-size:1rem;line-height:1.8;color:var(--text-body)}.author-quote{border-left:3px solid var(--gold-warm);padding:20px 24px;margin:28px 0;background:rgba(212,160,23,.04);border-radius:0 var(--radius) var(--radius) 0}.author-quote p{font-family:'Cormorant Garamond',serif;font-size:1.2rem;font-style:italic;color:var(--text-dark);margin:0 0 8px}.author-quote cite{font-size:.8rem;color:var(--text-muted);font-style:normal}

/* Product page */
.product-page{padding-top:100px}.product-layout{display:grid;grid-template-columns:45% 1fr;gap:60px;max-width:1200px;margin:0 auto}.product-gallery__main{position:relative;background:linear-gradient(180deg,var(--bg-warm),#f0ebe0);border-radius:var(--radius);padding:40px;display:flex;align-items:center;justify-content:center;aspect-ratio:1;overflow:hidden;margin-bottom:16px}.product-gallery__main img{max-width:70%;max-height:80%;object-fit:contain;filter:drop-shadow(0 12px 24px rgba(0,0,0,.18));transition:transform .5s ease}.product-gallery__main:hover img{transform:scale(1.05)}.product-gallery__thumbs{display:flex;gap:12px}.product-gallery__thumb{width:80px;height:80px;border-radius:8px;overflow:hidden;border:2px solid transparent;cursor:pointer;background:var(--bg-warm);padding:8px;transition:border-color .2s}.product-gallery__thumb.active,.product-gallery__thumb:hover{border-color:var(--gold-warm)}.product-gallery__thumb img{width:100%;height:100%;object-fit:contain}
.product-info__tag{font-size:.6rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:#e26a10;margin-bottom:8px}.product-info__title{font-family:'Cormorant Garamond',serif;font-size:clamp(1.6rem,3vw,2.2rem);font-weight:600;color:var(--text-dark);margin-bottom:4px;line-height:1.25}.product-info__subtitle{font-family:'Cormorant Garamond',serif;font-size:1.1rem;color:var(--text-muted);font-style:italic;margin-bottom:12px}.product-info__author{font-size:.8rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--green-sage);margin-bottom:12px;display:inline-block}.product-info__rating{display:flex;align-items:center;gap:8px;margin-bottom:16px}.product-info__stars{font-size:1rem}.product-info__rating-link{font-size:.85rem;color:var(--text-muted)}.product-info__desc{font-size:.95rem;line-height:1.7;color:var(--text-body);margin-bottom:24px}

/* Product variants & actions */
.product-variants{margin-bottom:24px}.product-variants__label{font-size:.8rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);margin-bottom:10px}.product-variants__options{display:flex;gap:10px}.product-variant{padding:12px 20px;border:2px solid rgba(0,0,0,.08);border-radius:var(--radius-sm);background:#fff;cursor:pointer;text-align:center;transition:all .2s;flex:1}.product-variant.active{border-color:var(--green-main);background:rgba(13,107,56,.05)}.product-variant:hover{border-color:var(--gold-warm)}.product-variant__name{display:block;font-size:.8rem;font-weight:700;color:var(--text-dark)}.product-variant__price{font-size:.75rem;color:var(--text-muted)}
.product-pricing{display:flex;align-items:baseline;gap:12px;margin-bottom:24px}.product-pricing__old{font-size:1rem;color:var(--text-subtle);text-decoration:line-through}.product-pricing__current{font-family:'Cormorant Garamond',serif;font-size:2.2rem;font-weight:700;background:linear-gradient(180deg,#e6b34d,#8a6219);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.product-pricing__save{font-size:.75rem;color:var(--green-main);font-weight:700;padding:4px 10px;background:rgba(13,107,56,.08);border-radius:999px}
.product-actions{display:flex;gap:12px;margin-bottom:24px;flex-wrap:wrap}.quantity-picker{display:flex;align-items:center;border:1px solid rgba(0,0,0,.1);border-radius:var(--radius-sm);overflow:hidden}.quantity-picker__btn{width:40px;height:44px;background:#fff;border:none;font-size:1.1rem;cursor:pointer;color:var(--text-body);transition:background .15s}.quantity-picker__btn:hover{background:var(--bg-warm)}.quantity-picker__input{width:48px;height:44px;text-align:center;border:none;border-left:1px solid rgba(0,0,0,.1);border-right:1px solid rgba(0,0,0,.1);font-size:.95rem;font-family:var(--font-body);color:var(--text-dark)}.quantity-picker__input:focus{outline:none}.quantity-picker--sm .quantity-picker__btn{width:32px;height:36px;font-size:.9rem}.quantity-picker--sm .quantity-picker__input{width:40px;height:36px;font-size:.85rem}
.product-actions__add{display:flex;align-items:center;gap:8px;flex:1}.product-actions__buy{flex:0 0 auto}
.product-trust{display:flex;gap:20px;flex-wrap:wrap;padding:20px 0;border-top:1px solid rgba(0,0,0,.06)}.product-trust__item{display:flex;align-items:center;gap:6px;font-size:.8rem;color:var(--text-muted)}

/* Product tabs */
.product-tabs{max-width:1000px;margin:0 auto}.product-tabs__nav{display:flex;gap:0;border-bottom:2px solid rgba(0,0,0,.06);margin-bottom:32px}.product-tab{padding:14px 24px;font-family:var(--font-heading);font-size:.85rem;letter-spacing:.05em;color:var(--text-muted);background:none;border:none;cursor:pointer;position:relative;transition:color .2s}.product-tab.active{color:var(--gold-deep)}.product-tab.active::after{content:'';position:absolute;bottom:-2px;left:0;right:0;height:2px;background:var(--gold-warm)}.product-tab:hover{color:var(--text-dark)}
.product-tab-panel{display:none}.product-tab-panel.active{display:block}.product-tab-panel h3{font-family:var(--font-heading);font-size:1.3rem;color:var(--text-dark);margin-bottom:16px}.product-tab-panel h4{font-family:var(--font-heading);font-size:1rem;color:var(--text-dark);margin:24px 0 12px}.product-tab-panel p{font-size:.95rem;line-height:1.8;color:var(--text-body);margin-bottom:12px}.product-tab-panel ul,.product-tab-panel ol{padding-left:20px;margin-bottom:16px}.product-tab-panel li{font-size:.95rem;line-height:1.8;color:var(--text-body);margin-bottom:4px}
.product-specs{width:100%;border-collapse:collapse;margin:16px 0}.product-specs td{padding:10px 16px;font-size:.9rem;border-bottom:1px solid rgba(0,0,0,.06)}.product-specs td:first-child{font-weight:700;color:var(--text-dark);width:180px}
.product-toc{list-style:none;padding:0;counter-reset:toc}.product-toc li{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid rgba(0,0,0,.06);font-size:.95rem;color:var(--text-body)}.product-toc li span{color:var(--text-subtle);font-size:.85rem}

/* Reviews */
.reviews-summary{display:grid;grid-template-columns:200px 1fr;gap:32px;margin-bottom:32px;padding:24px;background:var(--bg-warm);border-radius:var(--radius)}.reviews-summary__score{text-align:center}.reviews-summary__number{font-family:var(--font-heading);font-size:3rem;color:var(--gold-deep);display:block}.reviews-summary__stars{font-size:1.1rem;display:block;margin-bottom:4px}.reviews-summary__count{font-size:.8rem;color:var(--text-muted)}.review-bar{display:flex;align-items:center;gap:8px;font-size:.8rem;color:var(--text-muted);margin-bottom:6px}.review-bar__track{flex:1;height:8px;background:rgba(0,0,0,.06);border-radius:4px;overflow:hidden}.review-bar__fill{height:100%;background:var(--gold-warm);border-radius:4px}
.review-card{padding:20px 0;border-bottom:1px solid rgba(0,0,0,.06)}.review-card__header{display:flex;justify-content:space-between;margin-bottom:4px}.review-card__author{font-weight:700;font-size:.9rem;color:var(--text-dark)}.review-card__date{font-size:.8rem;color:var(--text-subtle)}.review-card__stars{font-size:.85rem;margin-bottom:8px}.review-card__text{font-size:.9rem;line-height:1.7;color:var(--text-body)}

/* FAQ */
.faq-item{border-bottom:1px solid rgba(0,0,0,.06)}.faq-item__question{width:100%;display:flex;justify-content:space-between;align-items:center;padding:16px 0;background:none;border:none;cursor:pointer;font-size:.95rem;font-weight:600;color:var(--text-dark);text-align:left;font-family:var(--font-body)}.faq-item__question svg{flex-shrink:0;transition:transform .2s;color:var(--text-subtle)}.faq-item.open .faq-item__question svg{transform:rotate(180deg)}.faq-item__answer{max-height:0;overflow:hidden;transition:max-height .3s ease}.faq-item.open .faq-item__answer{max-height:200px}.faq-item__answer p{padding:0 0 16px;font-size:.9rem;line-height:1.7;color:var(--text-body)}

/* Sticky mobile bar */
.product-sticky-bar{display:none;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid rgba(0,0,0,.08);padding:12px 5%;z-index:100;justify-content:space-between;align-items:center;box-shadow:0 -4px 20px rgba(0,0,0,.08)}.product-sticky-bar__title{font-family:var(--font-heading);font-size:.85rem;color:var(--text-dark)}.product-sticky-bar__price{font-family:'Cormorant Garamond',serif;font-size:1.3rem;font-weight:700;color:var(--gold-deep);display:block}.product-sticky-bar__btn{font-size:.75rem;padding:10px 20px}

/* Cart page */
.cart-page{padding-top:100px}.cart-header{display:flex;align-items:baseline;gap:16px;margin-bottom:24px}.cart-header__title{font-family:var(--font-heading);font-size:clamp(1.5rem,3vw,2.2rem);color:var(--text-dark)}.cart-header__count{font-size:.85rem;color:var(--text-muted)}
.cart-shipping-progress{background:rgba(13,107,56,.05);border:1px solid rgba(13,107,56,.1);border-radius:var(--radius);padding:16px 20px;margin-bottom:32px;max-width:1200px}.cart-shipping-progress__text{font-size:.85rem;color:var(--text-body);margin-bottom:8px}.cart-shipping-progress__text strong{color:var(--green-main)}.cart-shipping-progress__bar{height:6px;background:rgba(0,0,0,.06);border-radius:3px;overflow:hidden;margin-bottom:4px}.cart-shipping-progress__fill{height:100%;background:linear-gradient(90deg,var(--green-main),var(--gold-warm));border-radius:3px;transition:width .5s ease}.cart-shipping-progress__labels{display:flex;justify-content:space-between;font-size:.7rem;color:var(--text-subtle)}
.cart-layout{display:grid;grid-template-columns:1fr 380px;gap:40px;max-width:1200px;margin:0 auto}

/* Cart items */
.cart-item{display:flex;gap:20px;padding:24px 0;border-bottom:1px solid rgba(0,0,0,.06);transition:all .3s ease}.cart-item__img{width:100px;min-width:100px;height:120px;border-radius:var(--radius-sm);overflow:hidden;background:var(--bg-warm);display:flex;align-items:center;justify-content:center;padding:8px}.cart-item__img img{max-width:100%;max-height:100%;object-fit:contain}.cart-item__details{flex:1}.cart-item__top{display:flex;justify-content:space-between;gap:12px}.cart-item__tag{font-size:.55rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:#e26a10;margin-bottom:4px}.cart-item__title{font-family:'Cormorant Garamond',serif;font-size:1.05rem;font-weight:600;color:var(--text-dark);margin-bottom:2px}.cart-item__title a{color:inherit}.cart-item__author{font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--text-subtle);margin-bottom:2px}.cart-item__variant{font-size:.8rem;color:var(--text-muted)}.cart-item__remove{background:none;border:none;cursor:pointer;padding:4px;color:var(--text-subtle);transition:color .2s}.cart-item__remove:hover{color:var(--burgundy)}.cart-item__bottom{display:flex;justify-content:space-between;align-items:center;margin-top:12px}.cart-item__price{font-family:'Cormorant Garamond',serif;font-size:1.3rem;font-weight:700;color:var(--gold-deep)}
.cart-continue{display:inline-block;margin-top:20px;font-size:.85rem;color:var(--green-sage)}

/* Cart summary */
.cart-summary{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:var(--radius);padding:28px;position:sticky;top:100px;box-shadow:0 4px 20px rgba(0,0,0,.04)}.cart-summary__title{font-family:var(--font-heading);font-size:1.1rem;color:var(--text-dark);margin-bottom:20px}.cart-summary__row{display:flex;justify-content:space-between;font-size:.9rem;color:var(--text-body);margin-bottom:10px}.cart-summary__shipping{color:var(--text-muted)}.cart-summary__divider{height:1px;background:rgba(0,0,0,.06);margin:16px 0}.cart-summary__total{font-size:1.1rem;font-weight:700;color:var(--text-dark)}.cart-summary__total span:last-child{font-family:'Cormorant Garamond',serif;font-size:1.5rem;color:var(--gold-deep)}.cart-summary__vat{font-size:.75rem;color:var(--text-subtle);margin-bottom:20px;text-align:right}.cart-summary__checkout{width:100%;text-align:center;display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:20px}
.cart-coupon{margin:12px 0}.cart-coupon__wrap{display:flex;gap:8px}.cart-coupon__input{flex:1;padding:10px 14px;border:1px solid rgba(0,0,0,.1);border-radius:var(--radius-sm);font-size:.85rem;font-family:var(--font-body)}.cart-coupon__input:focus{outline:none;border-color:var(--green-sage)}.cart-coupon__btn{padding:10px 16px;background:var(--bg-warm);border:1px solid rgba(0,0,0,.1);border-radius:var(--radius-sm);font-size:.8rem;font-weight:700;cursor:pointer;color:var(--text-body);transition:all .2s}.cart-coupon__btn:hover{background:var(--green-main);color:#fff;border-color:var(--green-main)}
.cart-payments{text-align:center;margin-bottom:16px}.cart-payments__label{font-size:.7rem;letter-spacing:.15em;text-transform:uppercase;color:var(--text-subtle);margin-bottom:8px;display:block}.cart-payments__logos{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.payment-logo{padding:6px 12px;background:var(--bg-warm);border-radius:4px;font-size:.7rem;font-weight:700;color:var(--text-muted)}
.cart-trust{border-top:1px solid rgba(0,0,0,.06);padding-top:16px}.cart-trust__item{display:flex;align-items:center;gap:8px;font-size:.8rem;color:var(--text-muted);margin-bottom:6px}

/* Responsive */
@media(max-width:1024px){.category-layout{grid-template-columns:1fr}.category-sidebar{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(255,253,248,.98);z-index:200;padding:80px 24px 24px;max-height:100vh;overflow-y:auto}.category-sidebar.open{display:block}.filter-mobile-btn{display:flex}.products-grid--category{grid-template-columns:repeat(2,1fr)}.product-layout{grid-template-columns:1fr}.product-gallery{max-width:500px;margin:0 auto}.cart-layout{grid-template-columns:1fr}.cart-summary{position:static}.author-hero-layout{grid-template-columns:1fr;text-align:center;justify-items:center}.author-about{grid-template-columns:1fr}.author-about__visual{display:none}}
@media(max-width:768px){.product-sticky-bar.visible{display:flex}.page-hero{min-height:280px;padding:80px 5% 32px}.page-hero__meta{flex-direction:column;gap:8px}.author-hero__stats{justify-content:center}.product-tabs__nav{overflow-x:auto;-webkit-overflow-scrolling:touch}.product-tab{white-space:nowrap;padding:12px 16px;font-size:.75rem}.reviews-summary{grid-template-columns:1fr;text-align:center}.product-actions{flex-direction:column}.product-actions__add{width:100%}.product-actions__buy{width:100%}.products-grid--category{grid-template-columns:1fr 1fr;gap:16px}.cart-item__img{width:80px;min-width:80px;height:100px}}
@media(max-width:480px){.products-grid--category{grid-template-columns:1fr;max-width:360px;margin:0 auto}.product-variants__options{flex-direction:column}.author-hero__photo{width:150px;height:190px}}
