/*
Theme Name:   Fiddy's
Theme URI:    https://fiddys.nl
Description:  Eigen thema van Fiddy's: huisstijl Zomer (salie, zachtroze en zand, grijs voor knoppen en voet), logo in Caveat, koppen in Bricolage Grotesque en tekst in Inter. Kop, voet en opmaak voor WooCommerce. Pagina-inhoud en producten komen uit de plugin Fiddy's – Shop.
Author:       Fiddy's
Version:      1.0.1
Requires at least: 6.3
Requires PHP: 7.4
Text Domain:  fiddys
License:      GPL-2.0-or-later
*/

/* ==========================================================================
   Fiddy's · Zomer
   Salie, zachtroze en zand op een warm witte ondergrond. Grijs in plaats van
   zwart voor knoppen, lijnen en de voet; alleen de tekst is donker.
   ========================================================================== */

:root{
  color-scheme:light;
  --salie:#B3D6B0;
  --salie-d:#8DB98A;
  --roze:#FFB8CB;
  --roze-d:#E8789A;
  --zand:#F5ECDD;
  --zand-d:#EADFCB;
  --page:#FFFBF5;
  --white:#FFFFFF;
  --grijs:#75717E;
  --grijs-l:#B9B6C0;
  --ink:#2A2733;
  --muted:#55515F;
  --line:#E6DED0;
  --r-lg:36px;
  --r-md:24px;
  --r-sm:16px;
  --font-logo:'Caveat',cursive;
  --font-head:'Bricolage Grotesque',system-ui,sans-serif;
  --font-body:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --wrap:1200px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--page);color:var(--ink);font-family:var(--font-body);font-size:16px;line-height:1.6}
img,svg{max-width:100%;height:auto}
a{color:var(--ink);text-underline-offset:3px}
a:hover{color:var(--muted)}
h1,h2,h3,h4{font-family:var(--font-head);font-weight:800;letter-spacing:-0.03em;line-height:1.05;margin:0 0 .4em}
h1{font-size:clamp(40px,6vw,72px)}
h2{font-size:clamp(30px,4vw,44px)}
h3{font-size:22px;letter-spacing:-0.02em}
p{margin:0 0 1em}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:16px;z-index:100;background:var(--white);padding:10px 14px;border-radius:999px}
.eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.lead{font-size:18px;color:var(--muted);max-width:560px}
.ic{width:20px;height:20px;flex-shrink:0}
:focus-visible{outline:3px solid var(--roze-d);outline-offset:2px}

/* ---------- Knoppen ---------- */
.btn,.button,button.button,a.button,input.button,
.wp-element-button,.wc-block-components-button:not(.is-link){
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:48px;padding:0 26px;border-radius:999px;border:1.5px solid var(--grijs);
  background:var(--grijs);color:var(--white);font:700 16px/1 var(--font-body);
  text-decoration:none;cursor:pointer;transition:background .15s,color .15s,border-color .15s;
}
.btn:hover,.button:hover,.wp-element-button:hover,.wc-block-components-button:not(.is-link):hover{background:#5F5B68;border-color:#5F5B68;color:var(--white)}
.btn.is-ghost{background:transparent;color:var(--ink)}
.btn.is-ghost:hover{background:var(--white);color:var(--ink)}
.btn.is-light{background:var(--white);border-color:var(--white);color:var(--ink)}
.button.alt,.single_add_to_cart_button{background:var(--grijs)}
.button:disabled,.button.disabled{opacity:.5;cursor:not-allowed}

/* ---------- Kop ---------- */
.top-bar{background:var(--salie);text-align:center;font-size:14px;font-weight:500;padding:9px 16px}
.site-head{background:var(--page);position:sticky;top:0;z-index:20;border-bottom:1px solid transparent}
.head-row{display:flex;align-items:center;gap:24px;min-height:84px}
.logo{font-family:var(--font-logo);font-weight:700;font-size:44px;line-height:1;color:var(--ink);text-decoration:none;flex-shrink:0}
.logo:hover{color:var(--ink)}
.main-nav{flex:1}
.main-nav .menu{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 26px;justify-content:center}
.main-nav a{text-decoration:none;font-weight:500;padding:6px 0;border-bottom:2px solid transparent}
.main-nav a:hover,.main-nav .current-menu-item>a{border-bottom-color:var(--roze)}
.head-actions{display:flex;gap:8px}
.icon-btn{position:relative;width:44px;height:44px;border-radius:999px;border:1.5px solid var(--grijs);display:inline-flex;align-items:center;justify-content:center;color:var(--ink)}
.icon-btn.is-dark{background:var(--grijs);color:var(--white)}
.icon-btn.is-dark:hover{color:var(--white);background:#5F5B68}
.cart-count{position:absolute;top:-5px;right:-5px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--roze);color:var(--ink);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.cart-count[hidden]{display:none}
.nav-toggle{display:none;width:44px;height:44px;border-radius:999px;border:1.5px solid var(--grijs);background:transparent;color:var(--ink);align-items:center;justify-content:center;cursor:pointer;margin-left:auto}
@media (max-width:860px){
  .head-row{flex-wrap:wrap;gap:12px;min-height:72px}
  .logo{font-size:38px}
  .nav-toggle{display:inline-flex}
  .head-actions{order:2}
  .main-nav{order:3;flex-basis:100%;display:none;padding-bottom:16px}
  .nav-open .main-nav{display:block}
  .main-nav .menu{flex-direction:column;align-items:flex-start;gap:4px}
  .main-nav a{display:block;padding:10px 0;font-size:18px}
}

/* ---------- Voet ---------- */
.site-foot{background:var(--grijs);color:var(--white);margin-top:80px;padding:56px 0 28px}
.site-foot a{color:var(--white)}
.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px}
.foot-brand p{max-width:320px;opacity:.95}
.logo-foot{color:var(--white);font-size:54px}
.logo-foot:hover{color:var(--white)}
.site-foot h2{font-size:16px;letter-spacing:0;font-weight:800;margin-bottom:12px}
.site-foot ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.foot-legal{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:40px;padding-top:20px;border-top:1px solid rgba(255,255,255,.3);font-size:14px}
@media (max-width:760px){.foot-grid{grid-template-columns:1fr 1fr}.foot-brand{grid-column:1/-1}}

/* ---------- Gewone pagina's ---------- */
.page-plain{padding:40px 0 20px}
.page-plain h1{font-size:clamp(36px,5vw,56px)}
.entry{max-width:760px;font-size:17px}
.entry h2{font-size:30px;margin-top:1.4em}
.entry img{border-radius:var(--r-md)}

/* ---------- Bouwstenen voor pagina's van de plugin (home, over ons) ---------- */
.fd-page section{margin:0 0 80px}
.fd-page section:first-child{margin-top:8px}
.fd-hero{background:var(--zand);border-radius:40px;padding:56px 48px;display:flex;flex-wrap:wrap;gap:40px;align-items:center}
.fd-hero.is-salie{background:var(--salie)}
.fd-hero-text{flex:1 1 440px;display:flex;flex-direction:column;gap:20px;align-items:flex-start}
.fd-hero-text h1{margin:0;font-size:clamp(46px,7vw,88px);line-height:.95}
.fd-hero-text p{font-size:18px;color:#4A4656;max-width:460px;margin:0}
.fd-badge{display:inline-block;padding:8px 14px;border-radius:999px;background:var(--white);font-size:13px;font-weight:700}
.fd-actions{display:flex;flex-wrap:wrap;gap:12px}
.fd-hero-art{flex:1 1 400px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.fd-hero-art .tile{border-radius:28px;display:flex;align-items:center;justify-content:center;min-height:180px;overflow:hidden}
.fd-hero-art .tile.is-wide{grid-column:span 2;min-height:200px}
.fd-hero-art img{display:block;width:100%;height:100%;object-fit:cover}
.bg-salie{background:var(--salie)}
.bg-roze{background:var(--roze)}
.bg-zand{background:var(--zand)}
.bg-zand-d{background:var(--zand-d)}
.bg-wit{background:var(--white)}
.fd-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:24px}
.fd-head h2{margin:0}
.fd-head p{margin:6px 0 0;color:var(--muted)}
.fd-themes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.fd-theme{border-radius:32px;padding:28px;display:flex;flex-direction:column;gap:12px;min-height:400px;text-decoration:none;color:var(--ink);transition:transform .15s}
.fd-theme:hover{transform:translateY(-3px);color:var(--ink)}
.fd-theme .art{flex:1;display:flex;align-items:center;justify-content:center}
.fd-theme .art img{max-height:220px;width:auto;border-radius:20px}
.fd-theme strong{font-family:var(--font-head);font-weight:800;font-size:34px;letter-spacing:-.03em;line-height:1}
@media (max-width:900px){.fd-themes{grid-template-columns:1fr}.fd-theme{min-height:320px}}
.fd-band{background:var(--roze);border-radius:40px;padding:48px;display:flex;flex-wrap:wrap;gap:36px;align-items:center}
.fd-band .text{flex:1 1 360px;display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.fd-band .text p{margin:0;color:#3A3644;font-size:17px}
.fd-steps{flex:1 1 420px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.fd-step{background:var(--white);border-radius:24px;padding:20px;display:flex;flex-direction:column;gap:6px}
.fd-step b{font-family:var(--font-head);font-size:34px;font-weight:800;line-height:1}
.fd-step span{font-size:14px;color:var(--muted)}
.fd-dots{display:flex;gap:6px}
.fd-dots i{width:22px;height:22px;border-radius:999px;border:1.5px solid var(--grijs)}
@media (max-width:600px){.fd-steps{grid-template-columns:1fr}.fd-band,.fd-hero{padding:32px 24px;border-radius:28px}}
.fd-usp{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.fd-usp>div{display:flex;gap:14px;align-items:flex-start}
.fd-usp .ico{width:48px;height:48px;flex-shrink:0;border-radius:16px;display:flex;align-items:center;justify-content:center}
.fd-usp strong{display:block;font-size:17px}
.fd-usp span{color:var(--muted);font-size:15px}
@media (max-width:860px){.fd-usp{grid-template-columns:1fr}}
.fd-social{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.fd-social>*{aspect-ratio:9/14;border-radius:28px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;text-decoration:none;color:var(--ink);overflow:hidden}
.fd-social img{width:100%;height:100%;object-fit:cover}
@media (max-width:760px){.fd-social{grid-template-columns:repeat(2,minmax(0,1fr))}}
.fd-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.fd-card{background:var(--white);border:1px solid #ECE4D6;border-radius:32px;padding:28px;display:flex;flex-direction:column;gap:10px}
.fd-card .num{width:56px;height:56px;border-radius:18px;display:flex;align-items:center;justify-content:center;font-family:var(--font-head);font-weight:800;font-size:26px}
.fd-card strong{font-size:20px}
.fd-card span{color:var(--muted);font-size:15px}
@media (max-width:860px){.fd-cards{grid-template-columns:1fr}}
.fd-faq{display:flex;flex-wrap:wrap;gap:48px}
.fd-faq>div:first-child{flex:1 1 280px}
.fd-faq .list{flex:2 1 520px;border-top:1px solid var(--line)}
.fd-faq details{border-bottom:1px solid var(--line)}
.fd-faq summary{list-style:none;cursor:pointer;padding:18px 48px 18px 0;font-weight:700;font-size:17px;position:relative}
.fd-faq summary::-webkit-details-marker{display:none}
.fd-faq summary::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:999px;background:var(--zand);display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:500}
.fd-faq details[open] summary::after{content:"\2212";background:var(--roze)}
.fd-faq details p{padding:0 48px 18px 0;margin:0;color:#4A4656}
.fd-photo{width:300px;max-width:100%;aspect-ratio:4/5;border-radius:32px;background:var(--zand);display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;text-align:center;padding:20px;overflow:hidden}
.fd-photo img{width:100%;height:100%;object-fit:cover}

/* ---------- Shop: kop en tabs ---------- */
.shop-head{padding:16px 0 8px}
.shop-head-card{background:var(--zand);border-radius:var(--r-lg);padding:44px 40px}
.tone-flexi .shop-head-card{background:var(--salie)}
.tone-fidget .shop-head-card{background:var(--roze)}
.tone-charms .shop-head-card{background:var(--zand-d)}
.shop-head h1{margin:6px 0 10px}
.shop-head .lead p{margin:0}
.tabs{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 4px}
.tab{min-height:44px;padding:0 20px;border-radius:999px;border:1.5px solid var(--grijs);background:var(--white);display:inline-flex;align-items:center;font-weight:700;text-decoration:none}
.tab.is-on{background:var(--grijs);color:var(--white)}
.tab.is-on:hover{color:var(--white)}
.shop-body{padding:16px 0 0}

/* ---------- Productoverzicht ---------- */
.woocommerce-result-count{color:var(--muted);font-size:14px;margin:0 0 16px}
.woocommerce-ordering{float:right;margin:-6px 0 16px}
.woocommerce-ordering select,.fd-wc select,.woocommerce select{min-height:44px;padding:0 14px;border-radius:999px;border:1.5px solid var(--grijs);background:var(--white);font:inherit}
ul.products{list-style:none;margin:0 0 24px;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;clear:both}
ul.products::before,ul.products::after{display:none}
ul.products li.product{margin:0;width:auto;float:none;display:flex;flex-direction:column;gap:8px;position:relative}
ul.products li.product a.woocommerce-LoopProduct-link{text-decoration:none;display:flex;flex-direction:column;gap:8px}
ul.products li.product img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:28px;background:var(--zand);margin:0}
ul.products li.product .woocommerce-loop-product__title{font-family:var(--font-body);font-size:17px;font-weight:700;letter-spacing:0;margin:4px 0 0;padding:0}
ul.products li.product .price{font-weight:700;color:var(--ink);font-size:16px}
ul.products li.product .button{min-height:44px;font-size:15px;background:transparent;color:var(--ink);margin-top:4px}
ul.products li.product .button:hover{background:var(--grijs);color:var(--white)}
ul.products li.product .added_to_cart{font-size:14px;font-weight:700}
.onsale{position:absolute;top:14px;left:14px;z-index:2;padding:6px 12px;border-radius:999px;background:var(--white);font-size:12px;font-weight:700;min-height:0;min-width:0;line-height:1.3}
@media (max-width:1000px){ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:700px){ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.woocommerce-ordering{float:none}}
.woocommerce-pagination ul{list-style:none;display:flex;gap:6px;padding:0;justify-content:center}
.woocommerce-pagination a,.woocommerce-pagination span{display:inline-flex;min-width:44px;height:44px;align-items:center;justify-content:center;border-radius:999px;border:1.5px solid var(--grijs);text-decoration:none;font-weight:700}
.woocommerce-pagination .current{background:var(--grijs);color:var(--white)}

/* ---------- Productpagina ---------- */
.woocommerce-breadcrumb{font-size:14px;color:var(--muted);margin:0 0 20px}
.woocommerce-breadcrumb a{color:var(--muted)}
.woocommerce-breadcrumb .sep{margin:0 8px}
.is-product div.product{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:48px;align-items:start}
.is-product div.product .woocommerce-product-gallery,.is-product div.product .summary{width:auto;float:none;margin:0}
.woocommerce-product-gallery{position:relative}
.woocommerce-product-gallery img{border-radius:36px;background:var(--zand);display:block;width:100%}
.woocommerce-product-gallery__trigger{position:absolute;top:16px;right:16px;z-index:3;width:44px;height:44px;border-radius:999px;background:var(--white);display:flex;align-items:center;justify-content:center;text-indent:-9999px;overflow:hidden}
.woocommerce-product-gallery__trigger::after{content:"";width:16px;height:16px;border:2px solid var(--ink);border-radius:999px;text-indent:0}
.flex-control-thumbs{list-style:none;padding:0;margin:12px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.flex-control-thumbs img{border-radius:18px;cursor:pointer;opacity:.7}
.flex-control-thumbs img.flex-active{opacity:1;outline:2px solid var(--grijs)}
.summary .product_title{font-size:clamp(36px,4.5vw,52px);margin:0 0 10px}
.summary .price{font-family:var(--font-head);font-size:28px;font-weight:800;margin:0 0 16px;display:block}
.summary .woocommerce-product-details__short-description{color:#4A4656;font-size:16px}
.summary form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:20px 0}
.summary form.cart .fd-options{flex-basis:100%}
.quantity .qty{width:84px;min-height:52px;border-radius:999px;border:1.5px solid var(--grijs);text-align:center;font:inherit;font-weight:700;background:var(--white)}
.single_add_to_cart_button{min-height:56px;flex:1 1 220px;font-size:17px}
.product_meta{font-size:14px;color:var(--muted);display:grid;gap:4px}
.product_meta a{color:var(--muted)}
.woocommerce-tabs{grid-column:1/-1;margin-top:24px}
.woocommerce-tabs ul.tabs{list-style:none;padding:0;margin:0 0 16px;display:flex;flex-wrap:wrap;gap:8px}
.woocommerce-tabs ul.tabs::before{display:none}
.woocommerce-tabs ul.tabs li{margin:0;padding:0;border:0;background:none}
.woocommerce-tabs ul.tabs li a{min-height:44px;padding:0 20px;border-radius:999px;border:1.5px solid var(--grijs);display:inline-flex;align-items:center;font-weight:700;text-decoration:none;background:var(--white)}
.woocommerce-tabs ul.tabs li.active a{background:var(--grijs);color:var(--white)}
.woocommerce-tabs .panel{max-width:760px}
.woocommerce-tabs .panel h2{font-size:24px}
.related,.upsells{grid-column:1/-1;margin-top:40px}
.related>h2,.upsells>h2{font-size:36px}
@media (max-width:860px){.is-product div.product{grid-template-columns:1fr;gap:28px}}

/* Keuzes van Fiddy's – Shop: kleuren en naam */
.fd-options{display:grid;gap:18px;margin:4px 0 8px}
.fd-options fieldset{border:0;margin:0;padding:0}
.fd-options legend{font-weight:700;font-size:15px;margin-bottom:10px;padding:0}
.fd-options legend .chosen{font-weight:400;color:var(--muted)}
.fd-swatches{display:flex;flex-wrap:wrap;gap:10px}
.fd-swatch{position:relative}
.fd-swatch input{position:absolute;opacity:0;width:1px;height:1px}
.fd-swatch span{display:block;width:44px;height:44px;border-radius:999px;border:1.5px solid var(--grijs);cursor:pointer}
.fd-swatch input:checked+span{border:3px solid var(--white);box-shadow:0 0 0 2px var(--grijs)}
.fd-swatch input:focus-visible+span{outline:3px solid var(--roze-d);outline-offset:3px}
.fd-name label{display:flex;flex-direction:column;gap:8px;font-weight:700;font-size:15px}
.fd-name input{min-height:52px;padding:0 18px;border-radius:999px;border:1.5px solid var(--grijs);background:var(--white);font:inherit;font-weight:400}
.fd-name small{font-weight:400;color:var(--muted);font-size:13px}
.fd-preview{margin-top:14px;display:inline-flex;align-items:center;gap:10px;font-size:14px;color:var(--muted)}
.fd-preview i{width:28px;height:28px;border-radius:999px;border:1.5px solid var(--grijs);display:inline-block}

/* ---------- Meldingen ---------- */
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner{list-style:none;background:var(--white);border:1.5px solid var(--salie-d);border-radius:var(--r-sm);padding:14px 18px;margin:0 0 20px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.woocommerce-error{border-color:var(--roze-d)}
.woocommerce-message .button,.woocommerce-info .button{min-height:40px;order:2}

/* ---------- Winkelwagen, afrekenen, Mijn account ---------- */
.fd-wc{font-size:16px}
.fd-wc input[type=text],.fd-wc input[type=email],.fd-wc input[type=tel],.fd-wc input[type=password],.fd-wc input[type=number],.fd-wc textarea,
.woocommerce form .input-text{border:1.5px solid var(--grijs-l);border-radius:14px;padding:12px 14px;font:inherit;background:var(--white);width:100%}
.fd-wc .wc-block-components-text-input input,.fd-wc .wc-block-components-combobox .components-combobox-control__input{border-radius:14px!important;border-color:var(--grijs-l)!important}
.fd-wc table.shop_table{width:100%;border-collapse:collapse;background:var(--white);border-radius:var(--r-md);overflow:hidden}
.fd-wc table.shop_table th,.fd-wc table.shop_table td{padding:14px;border-bottom:1px solid var(--line);text-align:left}
.fd-wc .wc-block-cart,.fd-wc .wc-block-checkout{font-family:var(--font-body)}
.fd-wc .wc-block-components-sidebar{background:var(--white);border-radius:var(--r-md);padding:20px}
.wc-block-components-product-metadata__description,.wc-item-meta{font-size:14px;color:var(--muted)}
.wc-item-meta{list-style:none;padding:0;margin:6px 0 0}
.wc-item-meta li p{display:inline;margin:0}
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0 0 24px;display:flex;flex-wrap:wrap;gap:8px}
.woocommerce-MyAccount-navigation a{min-height:44px;padding:0 18px;border-radius:999px;border:1.5px solid var(--grijs);display:inline-flex;align-items:center;font-weight:700;text-decoration:none;background:var(--white)}
.woocommerce-MyAccount-navigation .is-active a{background:var(--grijs);color:var(--white)}
.woocommerce-form-login,.woocommerce-form-register{background:var(--white);border-radius:var(--r-md);padding:24px;max-width:520px}
.woocommerce-form-row{display:flex;flex-direction:column;gap:6px;margin:0 0 14px}

/* ---------- Kleine schermen ---------- */
@media (max-width:600px){
  .wrap{padding:0 16px}
  .fd-page section{margin-bottom:56px}
  .shop-head-card{padding:32px 24px;border-radius:28px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
