/*
Theme Name: 4camper.ee
Description: 4camperi järvepildiga arenduspoe plokiteema.
Version: 3.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: 4camperee
License: GPL-2.0-or-later
*/
html{scroll-behavior:smooth}body{margin:0}a{text-underline-offset:.2em}.fc-wrap{max-width:1320px;margin-inline:auto;padding-inline:24px}.fc-top{font-size:13px;padding-block:8px}.fc-header{padding-block:22px}.fc-searchbar{padding-block:16px}.fc-searchbar .wp-block-search{flex:1;min-width:240px}.fc-searchbar .wp-block-search__input{border-radius:6px;background:#fff;color:#202420;border:1px solid #DEDFDA;padding:12px}.fc-searchbar .wp-block-search__button{background:#202420;color:white;border-radius:6px}.fc-searchbar a{color:white}.fc-hero{border-radius:16px;overflow:hidden;min-height:430px}.fc-hero .wp-block-cover__inner-container{padding:32px}.fc-hero h1{max-width:580px;font-size:clamp(30px,4vw,52px);line-height:1.12}.fc-hero p{max-width:430px}.fc-section{padding-block:36px}.fc-panel{border-radius:14px;padding:28px}.fc-footer{padding-block:48px;margin-top:48px}.fc-footer a{color:#fff}.fc-footer h2{font-size:19px}.fc-footer p{font-size:15px}.fc-footer ul{padding-left:18px}.fc-footer li{margin-block:10px}.fc-products ul.products li.product{background:white;border:1px solid #DEDFDA;border-radius:10px;overflow:hidden;padding:12px;box-sizing:border-box}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wc-block-components-button:not(.is-link){background:#315B45;color:white;border-color:#315B45}.wp-element-button:hover{filter:brightness(.88)}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #BAA36E;outline-offset:3px}.fc-links a{display:block;margin-block:10px}.fc-side{border-radius:16px;padding:28px}.fc-side .wp-element-button{background:white;color:#315B45}@media(max-width:781px){.fc-wrap{padding-inline:18px}.fc-header{gap:16px}.fc-searchbar>.wp-block-group{flex-wrap:wrap}.fc-hero{min-height:420px}.fc-hero .wp-block-cover__inner-container{padding:12px}.fc-footer{padding-block:32px}.fc-section{padding-block:24px}}

@media(min-width:782px){.fc-section:first-child>.wp-block-columns>.wp-block-column:first-child{flex-basis:70%}.fc-section:first-child>.wp-block-columns>.wp-block-column:last-child{flex-basis:30%}}

/* Footer layout from the supplied reference; retain brand green. */
.fc-footer-reference{padding:14px 0 32px}.fc-footer-reference>.fc-wrap{border-top:1px solid #ffffff50;padding-top:48px}.fc-footer-reference .wp-block-columns{gap:24px;align-items:stretch}.fc-footer-reference .wp-block-column{min-width:0}.fc-footer-reference h2{font-size:14px;font-weight:700;margin:0 0 4px}.fc-footer-reference p{font-size:14px;line-height:2;margin:0}.fc-footer-reference a{color:#fff;text-decoration:none}.fc-footer-reference a:hover{text-decoration:underline}.fc-footer-reference .fc-footer-note{font-size:12px;margin-top:32px;line-height:2.3}.fc-footer-reference .wp-block-columns+.wp-block-columns{margin-top:42px}.fc-footer-reference .wp-block-columns+.wp-block-columns h2{margin-bottom:28px}.fc-footer-reference .fc-copyright{font-size:11px;margin-top:110px;line-height:1.5}.fc-logo-crop{position:relative;overflow:hidden;width:100%;margin-bottom:20px}.fc-logo-crop img{position:absolute;max-width:none;height:auto;display:block}.fc-logo-delivery{aspect-ratio:311/100}.fc-logo-delivery img{width:458.2%;left:-9.325%;top:-350%}.fc-logo-payment{aspect-ratio:310/125}.fc-logo-payment img{width:459.677%;left:-115.484%;top:-281.6%}.fc-logo-rating{width:155px;max-width:100%;aspect-ratio:155/68}.fc-logo-rating img{width:919.355%;left:-441.29%;top:-514.706%}@media(max-width:781px){.fc-footer-reference>.fc-wrap{padding-top:28px}.fc-footer-reference .wp-block-columns{gap:28px}.fc-footer-reference .fc-copyright{margin-top:0}.fc-logo-delivery,.fc-logo-payment{max-width:311px}}

/* Search and checkout share the green header row. */
.fc-searchbar .wp-block-search{flex:1 1 380px;width:auto;min-width:0}
.fc-searchbar .wp-block-search__inside-wrapper{min-width:0}
.fc-searchbar .wp-block-search__input{min-width:0}
.fc-store-links{display:flex;align-items:center;gap:20px;flex:0 0 auto;flex-wrap:wrap}
.fc-store-links a{white-space:nowrap}
.fc-searchbar .fc-checkout-link{display:inline-block;padding:10px 14px;border:1px solid #fff;border-radius:6px;color:#fff;text-decoration:none;font-weight:600}
.fc-searchbar .fc-checkout-link:hover{background:#fff;color:#315B45}
@media(min-width:1000px){.fc-searchbar>.wp-block-group{flex-wrap:nowrap}}
@media(max-width:999px){.fc-searchbar .wp-block-search{flex-basis:100%}.fc-store-links{gap:16px}}

.fc-header .wp-block-site-title{font-size:clamp(32px,4vw,64px);font-weight:750;letter-spacing:-2px;margin:0}.fc-header .wp-block-site-title a{text-decoration:none}.fc-main-nav{display:flex;align-items:center;gap:20px;flex-wrap:wrap;font-size:15px}.fc-main-nav a{text-decoration:none}.fc-main-nav details{position:relative}.fc-main-nav summary{cursor:pointer}.fc-brand-list{position:absolute;z-index:20;top:100%;min-width:200px;padding:16px;background:white;box-shadow:0 4px 16px #0002}.fc-brand-list a{display:block;padding:6px}.fc-store-links{gap:22px}.fc-store-links a,.fc-favorites-open{display:inline-flex;align-items:center;gap:9px;font-size:17px;white-space:nowrap}.fc-store-links svg{width:26px;height:26px;flex-shrink:0}.fc-favorites-open{background:none;border:0;padding:0;color:inherit;text-decoration:underline;cursor:pointer;font-family:inherit}.fc-store-links .fc-cart-link{gap:6px}.fc-hero-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.fc-hero-buttons a{background:white;color:#315B45;padding:10px 12px;border:1px solid white;border-radius:5px;font-size:14px;text-decoration:none;white-space:nowrap}.fc-hero-buttons .fc-outline{background:transparent;color:white}.fc-side{height:100%;box-sizing:border-box;display:flex;flex-direction:column}.fc-side h2{font-size:30px;line-height:1.5}.fc-side p{font-weight:600}.fc-side .fc-hero-buttons{margin-top:auto;padding-top:18px}.fc-hero h1{font-size:clamp(30px,3.6vw,50px)}.fc-favorite-toggle{display:block;margin-top:12px;border:1px solid #315B45;border-radius:5px;background:white;color:#315B45;padding:8px;cursor:pointer}.fc-favorites-dialog{width:min(540px,85vw);border:0;border-radius:12px;padding:24px}.fc-favorites-dialog::backdrop{background:#0007}.fc-favorites-close{float:right}.fc-favorites-list{padding:0;list-style:none}.fc-favorites-list li{display:flex;justify-content:space-between;gap:18px;padding:12px 0}.fc-favorites-list button{cursor:pointer}@media(min-width:782px){.fc-section:first-child>.wp-block-columns>.wp-block-column:first-child{flex-basis:68%}.fc-section:first-child>.wp-block-columns>.wp-block-column:last-child{flex-basis:32%}}@media(max-width:999px){.fc-main-nav{gap:12px}.fc-store-links{gap:18px}.fc-store-links a,.fc-favorites-open{font-size:15px}}

/* Header spacing: allow a separate menu row before space becomes cramped. */
.fc-header>.wp-block-group{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:24px}
.fc-header .wp-block-site-title{flex:0 0 auto;font-size:clamp(32px,3.5vw,52px);letter-spacing:-1.5px}
.fc-main-nav{flex:0 1 auto;min-width:0;max-width:100%;gap:14px 22px;line-height:1.5}
.fc-main-nav>a,.fc-main-nav summary{white-space:nowrap}
.fc-main-nav details{flex:0 0 auto}
.fc-main-nav .fc-brand-list{min-width:150px}
.fc-store-links{flex-wrap:wrap;gap:18px}
.fc-store-links .fc-favorites-open{gap:6px}
@media(max-width:1100px){.fc-header>.wp-block-group{justify-content:flex-start}.fc-main-nav{flex-basis:100%;width:100%;gap:12px 22px}}
@media(max-width:600px){.fc-main-nav{font-size:14px;gap:12px 18px}.fc-store-links{gap:14px}.fc-store-links a,.fc-favorites-open{font-size:14px}.fc-store-links svg{width:22px;height:22px}}

/* Explicit layout for header links, including WordPress paragraph wrappers. */
.fc-header>.wp-block-group{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,2fr);align-items:center;gap:24px}
.fc-header .wp-block-site-title{font-size:clamp(32px,3vw,44px);max-width:100%;margin:0}
.fc-header .fc-main-nav{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px 24px;width:100%;min-width:0;margin:0;padding:0;font-size:16px}
.fc-header .fc-main-nav>p{display:contents;margin:0}
.fc-header .fc-main-nav>p:empty{display:none}
.fc-header .fc-main-nav>a,.fc-header .fc-main-nav>p>a,.fc-header .fc-main-nav>details{flex:0 0 auto;width:auto;max-width:none;margin:0;white-space:nowrap;line-height:1.6}
.fc-hero-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;box-sizing:border-box}
.fc-side .fc-hero-buttons>a{display:flex;justify-content:center;align-items:center;text-align:center;box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:10px 7px;font-size:14px;line-height:1.3;white-space:normal;border:1px solid #fff;border-radius:5px;background:#fff;color:#315B45;text-decoration:none}
.fc-side .fc-hero-buttons>a.fc-outline{background:transparent;color:#fff}
@media(max-width:1050px){.fc-header>.wp-block-group{grid-template-columns:minmax(0,1fr);gap:20px}.fc-header .fc-main-nav{justify-content:flex-start;gap:16px 28px}}
@media(max-width:480px){.fc-header .fc-main-nav{font-size:14px;gap:12px 20px}}

/* Editable core blocks keep the established header and button layout. */
.fc-editable-nav{width:100%;min-width:0}
.fc-editable-nav .wp-block-navigation__container{width:100%;flex-wrap:wrap}
.fc-editable-nav .wp-block-navigation-item{flex:0 0 auto}
.fc-editable-nav .wp-block-navigation-item__content{white-space:nowrap}
.fc-editable-store p{margin:0;white-space:nowrap}
.fc-editable-store a{display:inline-flex;align-items:center;gap:6px;color:inherit}
.fc-editable-store a:before{content:"";display:inline-block;width:26px;height:26px;background:currentColor;mask:var(--fc-icon) center/contain no-repeat;-webkit-mask:var(--fc-icon) center/contain no-repeat}
.fc-editable-hero-buttons{margin-top:auto;padding-top:18px}
.fc-editable-hero-buttons .wp-block-button{flex:1;min-width:0}
.fc-editable-hero-buttons .wp-block-button__link{box-sizing:border-box;width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;background:white;color:#315B45;border:1px solid white;white-space:normal}
.fc-editable-hero-buttons .is-style-outline .wp-block-button__link{background:transparent;color:white}
.fc-logo-crop figure{margin:0}
.fc-editable-products .wp-block-post{background:white;border:1px solid #DEDFDA;border-radius:10px;padding:12px}
@media(max-width:781px){.fc-editable-products .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}}

.fc-account-item{--fc-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227%22%20r%3D%224%22/%3E%3Cpath%20d%3D%22M4%2022v-3a8%208%200%200%201%2016%200v3Z%22/%3E%3C/svg%3E")}
.fc-favorites-item{--fc-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.8%204.6a5.5%205.5%200%200%200-7.8%200L12%205.7l-1.1-1.1a5.5%205.5%200%200%200-7.8%207.8L12%2021l8.8-8.6a5.5%205.5%200%200%200%200-7.8Z%22/%3E%3C/svg%3E")}
.fc-cart-item{--fc-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%203h3l3%2013h12l2-10H6%22/%3E%3Ccircle%20cx%3D%229%22%20cy%3D%2221%22%20r%3D%221%22/%3E%3Ccircle%20cx%3D%2219%22%20cy%3D%2221%22%20r%3D%221%22/%3E%3C/svg%3E")}