/*
Theme Name: MY Garage
Version: 0.2.0
Description: MY Garage light design
*/
:root{--mg-green:#83cf2e;--mg-logo-green:#78bf42;--mg-black:#080a0b}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--mg-black);font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #478419;outline-offset:3px}.mg-header{max-width:1440px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:22px 5%;gap:25px;min-height:108px}.mg-logo{display:block;flex:none;width:218px}.mg-logo img{display:block;width:100%;height:auto}.mg-nav{display:flex;gap:26px;font-size:14px;font-weight:650;white-space:nowrap}.mg-nav a{position:relative}.mg-nav a:after{content:"";position:absolute;bottom:-7px;left:0;width:0;height:2px;background:var(--mg-green);transition:width .2s}.mg-nav a:hover:after{width:100%}.mg-header-actions{display:flex;align-items:center;gap:14px}.mg-lang{display:flex;gap:3px}.mg-lang button{border:0;background:transparent;padding:5px;font-size:12px;color:#666;cursor:pointer;font-weight:700}.mg-lang button[aria-pressed=true]{color:#111;border-bottom:2px solid var(--mg-logo-green)}.mg-account{font-size:14px;font-weight:700;white-space:nowrap}.mg-primary,.mg-secondary{display:inline-flex;justify-content:center;align-items:center;gap:14px;border-radius:11px;padding:13px 20px;font-size:14px;font-weight:800;cursor:pointer;transition:transform .2s,background .2s,box-shadow .2s}.mg-primary{background:var(--mg-green);border:0;color:#111}.mg-primary:hover{background:#a0e631;transform:translateY(-2px);box-shadow:0 6px 16px #78bf4238}.mg-secondary{background:#fff;border:1px solid #d9dcda}.mg-hero{position:relative;min-height:480px;max-width:1440px;margin:auto;overflow:hidden;isolation:isolate;background:#f7f8f7}.mg-hero-copy{position:relative;z-index:2;width:50%;padding:55px 0 85px 5%;animation:mg-enter .65s ease both}.mg-kicker{display:flex;align-items:center;gap:10px;letter-spacing:2.4px;font-size:11px;font-weight:800}.mg-kicker i{width:30px;height:2px;background:var(--mg-green)}.mg-hero h1{font-size:clamp(48px,5.6vw,86px);letter-spacing:-.065em;line-height:.98;font-weight:900;font-style:italic;margin:23px 0}.mg-hero h1 em{color:#72bf2e;font-style:italic}.mg-hero p{max-width:410px;font-size:17px;color:#454745;margin:0 0 24px}.mg-actions{display:flex;gap:12px;flex-wrap:wrap}.mg-hero-photo{position:absolute;inset:0 0 0 40%;background:#222 var(--hero-image) center/cover no-repeat;clip-path:polygon(19% 0,100% 0,100% 100%,0 100%);animation:mg-photo .9s ease both}.mg-hero-photo:before{content:"";position:absolute;inset:0 auto 0 0;width:32%;background:linear-gradient(160deg,#baf54f,#77c62e 50%,transparent);clip-path:polygon(60% 0,91% 0,30% 100%,0 100%)}.mg-stripe{position:absolute;left:12%;bottom:14%;width:18px;height:100px;transform:skew(-25deg);background:#94de2b;box-shadow:29px 0 0 -4px #b5f35b}.mg-features{display:flex;justify-content:center;max-width:1280px;margin:30px auto 0;padding:18px 3%;gap:0}.mg-features>div{display:flex;align-items:center;justify-content:center;gap:14px;flex:1;font-weight:750;font-size:14px;border-right:1px solid #ddd}.mg-features>div:last-child{border:0}.mg-features svg{width:32px;height:32px;color:#70ba30}.mg-how{max-width:1280px;margin:45px auto;padding:30px 3%;border-top:1px solid #e5e5e5;display:flex;gap:50px;align-items:center}.mg-how h2{font-size:34px;letter-spacing:-1.5px;margin:4px 0}.mg-steps{display:grid;grid-template-columns:repeat(3,1fr);flex:1;gap:15px}.mg-steps article{background:#f6f7f6;border-radius:12px;padding:18px}.mg-steps b{color:#70ba30;font-size:28px}.mg-steps h3{font-size:15px;margin:0}.mg-footer{display:flex;justify-content:space-between;padding:22px 5%;border-top:1px solid #eee;font-size:12px;color:#666;letter-spacing:.6px}.mg-footer a{font-weight:700}.woocommerce:not(.home) main,.woocommerce-page:not(.home) main{max-width:1120px;margin:auto;padding:24px}.mg-hero-photo{background-color:#202725}@keyframes mg-enter{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes mg-photo{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:none}}
@media(max-width:1100px){.mg-header{gap:15px;padding:18px 3%}.mg-logo{width:180px}.mg-nav{gap:15px}.mg-header-actions{gap:8px}.mg-header-book{padding:10px 12px}.mg-hero-copy{padding-left:4%}.mg-hero{min-height:440px}}
@media(max-width:760px){.mg-header{min-height:85px;padding:16px 20px;gap:12px}.mg-logo{width:min(48%,205px)}.mg-nav,.mg-header-book{display:none}.mg-account{font-size:12px}.mg-header-actions{gap:10px}.mg-hero{display:none}.mg-features,.mg-how{display:none}.mg-footer{padding:15px 20px;font-size:10px}.mg-footer span{display:none}.mg-home{min-height:calc(100svh - 138px)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.mg-mobile-menu{display:none}.mg-mobile-menu summary{list-style:none;cursor:pointer;padding:10px 4px}.mg-mobile-menu summary::-webkit-details-marker{display:none}.mg-mobile-menu summary span{display:block;width:22px;height:2px;background:#111;margin:4px 0}.mg-mobile-menu>div{position:absolute;right:16px;top:75px;background:#fff;border:1px solid #e5e5e5;border-radius:12px;box-shadow:0 10px 30px #0002;padding:14px;min-width:150px;z-index:10}.mg-mobile-menu a{display:block;font-size:14px;padding:8px;font-weight:700}@media(max-width:760px){.mg-header{position:relative}.mg-header-actions .mg-account{display:none}.mg-header-actions{margin-left:auto}.mg-mobile-menu{display:block}}

@media(max-width:760px){.home .mg-hero{display:block;min-height:0;background:#f7f8f7;margin:0 16px;border-radius:16px}.home .mg-hero-copy{width:100%;padding:28px 20px 32px}.home .mg-hero-photo{display:none}.home .mg-hero h1{font-size:clamp(42px,11vw,64px)}.home .mg-hero .mg-secondary{display:none}.home .mg-hero .mg-primary{width:100%}.home .mg-features{display:flex;flex-direction:column;gap:18px;margin:18px auto}.home .mg-features>div{border:0}.home .mg-home{min-height:calc(100svh - 138px)}}
/* WordPress-managed navigation menus keep the original header layout. */
.mg-nav .menu-item{list-style:none;display:inline-block;margin:0;padding:0}
.mg-mobile-menu .menu-item{list-style:none}
.mg-footer-links{display:flex;gap:12px;flex-wrap:wrap}
.mg-footer-links .menu-item{list-style:none}

/* Mobile first screen: compact brand intro so date, start, end and the entire dial
   appear together without collapsing the booking controls. */
@media(max-width:760px){
 .home .mg-header{min-height:68px;padding-top:9px;padding-bottom:9px}
 .home .mg-logo{width:min(43%,170px)}
 .home .mg-hero{margin:0 16px;border-radius:12px}
 .home .mg-hero-copy{padding:12px 15px 13px}
 .home .mg-hero .mg-kicker{font-size:9px;letter-spacing:1px;gap:7px;line-height:1.3}
 .home .mg-hero .mg-kicker i{width:16px}
 .home .mg-hero h1{font-size:clamp(21px,5.7vw,29px);letter-spacing:-.035em;line-height:1.12;margin:7px 0 0}
 .home .mg-hero h1 br{display:none}
 .home .mg-hero h1 span{margin-right:.2em}
 .home .mg-hero p,.home .mg-hero .mg-actions{display:none}
 .home .mg-booking{padding:9px 16px 20px}
 .home .mg-form{gap:8px 10px}
 .home .mg-form label{margin-bottom:3px;font-size:12px}
 .home .mg-form select,.home .mg-form input{height:42px}
 .home .mg-form>.mg-end-time{padding:8px 12px;min-height:51px}
 .home .mg-form>.mg-wheel{margin:0 auto;width:min(90%,297px)}
}
@media(max-width:760px) and (max-height:740px){
 .home .mg-hero .mg-kicker{display:none}
 .home .mg-hero-copy{padding:9px 12px}
 .home .mg-form>.mg-wheel{width:min(83%,265px)}
}

.mg-info-links{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.mg-info-links a{text-decoration:underline;text-underline-offset:3px}@media(max-width:760px){.mg-footer{flex-wrap:wrap;gap:12px}.mg-info-links{width:100%;justify-content:center;font-size:12px}}

/* Readable content pages: FAQ, instructions and legal information. */
body.page .mg-inner-page{box-sizing:border-box;width:min(100% - 40px,760px);max-width:760px;margin:0 auto;padding:36px 0 76px;overflow-wrap:break-word}
body.page .mg-inner-page>h1{font-size:clamp(28px,4.8vw,43px);line-height:1.18;letter-spacing:-.025em;margin:0 0 32px}
body.page .mg-inner-page h2{font-size:clamp(21px,3vw,27px);line-height:1.3;margin:34px 0 14px}
body.page .mg-inner-page p,body.page .mg-inner-page li{font-size:16px;line-height:1.7;margin:0 0 17px}
body.page .mg-inner-page ol,body.page .mg-inner-page ul{padding-left:24px;margin:0 0 24px}
@media(max-width:760px){body.page .mg-inner-page{width:auto;max-width:none;margin:0 22px;padding:26px 0 55px}body.page .mg-inner-page>h1{font-size:clamp(27px,7vw,34px);margin-bottom:26px}body.page .mg-inner-page h2{font-size:21px;margin-top:28px}body.page .mg-inner-page p,body.page .mg-inner-page li{font-size:15px;line-height:1.65}}

/* Sharper corners for clickable buttons across public site and customer area. */
button,input[type="button"],input[type="submit"],input[type="reset"],.button,.btn,.mg-primary,.mg-secondary,.mg-cancel-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.wp-block-button__link,.mg-account-page .woocommerce-MyAccount-navigation a{border-radius:1px!important}

/* Desktop header and footer 2026-11-25 */
@media (min-width:761px){
  .mg-header-actions .mg-header-book{display:none}
  .mg-footer > a > img{max-height:56px!important;max-width:252px!important}
}

/* Desktop-only account CTA; mobile navigation remains unchanged. */
@media(min-width:761px){
 .mg-header-actions .mg-desktop-account{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 16px;line-height:1.25;white-space:nowrap;flex:none;border-radius:1px!important}
 .mg-desktop-account svg{flex:none}
}
@media(min-width:761px) and (max-width:1100px){
 .mg-header .mg-nav{gap:12px;font-size:13px}
 .mg-header .mg-logo{width:clamp(125px,16vw,180px)}
 .mg-header-actions .mg-desktop-account{padding:11px 10px;font-size:12px;gap:5px}
}
@media(min-width:761px) and (max-width:900px){
 .mg-header .mg-nav{gap:9px;font-size:12px}
 .mg-header .mg-header-actions{gap:5px}
 .mg-header{gap:10px;padding-left:2%;padding-right:2%}
 .mg-header-actions .mg-desktop-account{white-space:normal;max-width:155px;text-align:center}
}
