/*
Theme Name: VELKUNO Block
Theme URI: https://velkuno.com
Author: VELKUNO
Author URI: https://velkuno.com
Description: Block theme (site editor) for VELKUNO, an automotive lighting storefront. Design values live in theme.json; every home page section is a block pattern; the Home, Contact and About pages of each language hold real, editable block content; the header, footer and store views are dynamic blocks that print the store through the Merchlane plugin.
Version: 0.1.23
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: velkuno-block-theme
Tags: block-patterns, full-site-editing, e-commerce, custom-colors, translation-ready
*/
:root{--ink:#16201e;--paper:#f3f3ea;--lime:#dbff57;--line:#d3d7cc}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,"Noto Sans",sans-serif;line-height:1.65}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(40px,5.4vw,82px);font-weight:600;letter-spacing:-.055em;line-height:1.04;max-width:740px;margin-bottom:28px}
h2{font-size:clamp(28px,3.2vw,45px);line-height:1.15;letter-spacing:-.035em}
h3{font-size:20px;line-height:1.35}
p{max-width:740px;color:#52615a;font-size:16px}
body.rtl h1,body.rtl h2{letter-spacing:normal}
.language-menu{font-size:12px}
.language-menu summary{cursor:pointer;list-style:none;border:1px solid var(--line);border-radius:30px;padding:7px 15px}
.language-menu summary::-webkit-details-marker{display:none}
.language-menu ul{position:absolute;inset-inline-end:5vw;top:78px;width:220px;max-height:65vh;overflow:auto;background:var(--paper);box-shadow:0 16px 35px #18251e26;border:1px solid var(--line);padding:12px;list-style:none}
.language-menu a{display:block;padding:7px 12px}
.language-menu a:hover,.language-menu .current-lang{background:#e4e9d7}
.site-main{position:relative;min-height:65vh;padding:90px 8vw 100px}
.button{display:inline-flex;justify-content:center;align-items:center;gap:24px;background:var(--lime);border:1px solid var(--lime);color:var(--ink);padding:16px 23px;font-size:14px;font-weight:600;cursor:pointer;line-height:1.4}
.button:hover{background:#c5ec37}
.enquiry-form{max-width:850px;margin-top:45px}
label{display:block;font-size:14px;font-weight:600;margin-bottom:20px}
input,textarea{width:100%;display:block;border:1px solid #b5bdae;background:#fafbf5;border-radius:0;padding:13px;margin-top:8px;color:var(--ink)}
input:focus,textarea:focus{outline:2px solid #769621;outline-offset:1px}
.consent{display:flex;gap:12px;align-items:flex-start;font-weight:400;font-size:12px}
.consent input{width:auto;margin-top:5px;flex-shrink:0}
.consent a{text-decoration:underline}
.honeypot{position:absolute;left:-10000px;height:0;overflow:hidden}
@media(max-width:950px){.site-main{padding:65px 6vw}}
@media(max-width:650px){.language-menu{margin-inline-start:auto}
.language-menu ul{top:60px;width:210px}
.site-main{padding:55px 6vw}
h1{font-size:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:35px 0}
.product-media img,.product-media video{max-width:100%;height:auto;display:block;margin-bottom:20px}
.page-numbers{display:inline-block;padding:8px 15px;margin:20px 4px;border:1px solid var(--line)}
@media(max-width:800px){.content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.content-grid{grid-template-columns:1fr}}
.product-media{grid-area:media}
.product-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 24px}
.language-menu summary,.language-menu a{display:flex;align-items:center;gap:8px}
.language-menu .language-flag{width:16px;height:11px;flex-shrink:0;object-fit:contain}
/* Metric-matched fallbacks for the web fonts (size-adjust and the overrides come from the font files): the system font is drawn with Barlow's width and line box, so the swap to the real font does not move the page. */
@font-face{font-family:"Barlow Fallback";src:local(Arial),local("Liberation Sans"),local(Helvetica),local(Roboto);font-weight:400;size-adjust:97.5%;ascent-override:102.6%;descent-override:20.5%;line-gap-override:0%}
@font-face{font-family:"Barlow Fallback";src:local("Arial Bold"),local("Arial-BoldMT"),local("Liberation Sans Bold"),local("Helvetica Bold"),local("Roboto Bold");font-weight:600 900;size-adjust:91.85%;ascent-override:108.9%;descent-override:21.8%;line-gap-override:0%}
@font-face{font-family:"BarlowCondensed Fallback";src:local("Arial Bold"),local("Arial-BoldMT"),local("Liberation Sans Bold"),local("Helvetica Bold"),local("Roboto Bold");font-weight:600;size-adjust:74.66%;ascent-override:133.9%;descent-override:26.8%;line-gap-override:0%}
