/*
Theme Name: OSMO HK Modern
Theme URI: https://osmo.com.hk/
Author: OSMO Hong Kong / Custom Build
Description: OSMO Hong Kong post-migration theme with Chinese-first navigation, refined WooCommerce styling, legacy-content cleanup presentation, and responsive OSMO-inspired interface.
Version: 5.3.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: osmo-hk-modern
License: Proprietary client theme
*/

:root{
  --osmo-green:#36a936;
  --osmo-green-dark:#188a2a;
  --osmo-black:#121212;
  --osmo-text:#202124;
  --osmo-muted:#6f7478;
  --osmo-line:#d9dcde;
  --osmo-soft:#f4f5f3;
  --osmo-white:#fff;
  --osmo-max:1440px;
  --osmo-gutter:clamp(20px,4vw,64px);
  --osmo-radius:0px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--osmo-text);
  background:#fff;
  font-family:Arial,Helvetica,sans-serif;
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
a:hover{color:var(--osmo-green-dark)}
button,input,select,textarea{font:inherit}
.osmo-container{width:min(var(--osmo-max),calc(100% - 2*var(--osmo-gutter)));margin-inline:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.site-header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid rgba(0,0,0,.08);
  backdrop-filter:blur(9px);
}
body.admin-bar .site-header{top:32px}
.osmo-topbar{border-bottom:1px solid #eceeef;background:#fff;font-size:12px}
.osmo-topbar-inner{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.osmo-top-contact,.osmo-top-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.osmo-top-contact a,.osmo-top-actions a{color:#64696d}
.osmo-top-contact a:hover,.osmo-top-actions a:hover{color:var(--osmo-green)}
.osmo-language{font-weight:700;letter-spacing:.03em;display:flex;gap:10px}
.osmo-language button{border:0;background:transparent;padding:0;cursor:pointer;font-size:12px;font-weight:700;color:#555}
.osmo-language button:hover{color:var(--osmo-green)}
.goog-te-banner-frame.skiptranslate,.goog-te-gadget-icon{display:none!important}
body{top:0!important}
#google_translate_element{display:none!important}

.osmo-nav-wrap{min-height:92px;display:grid;grid-template-columns:170px 1fr auto;align-items:center;gap:28px}
.site-branding img{display:block;width:140px;max-height:72px;object-fit:contain}
.site-branding{align-self:stretch;display:flex;align-items:center;background:#fff}
.primary-nav ul{margin:0;padding:0;list-style:none;display:flex;justify-content:flex-end;align-items:center;gap:clamp(18px,2.1vw,34px)}
.primary-nav a{
  display:inline-flex;align-items:center;min-height:92px;
  font-size:14px;font-weight:800;text-transform:uppercase;letter-spacing:.01em;
  border-bottom:3px solid transparent;
}
.primary-nav a:hover,.primary-nav .current-menu-item>a,.primary-nav .current-menu-ancestor>a{border-bottom-color:var(--osmo-green);color:#111}
.osmo-header-tools{display:flex;align-items:center;gap:14px}
.osmo-cart-link{position:relative;display:grid;place-items:center;width:42px;height:42px;border:1px solid #dfe3e5}
.osmo-cart-count{position:absolute;right:-7px;top:-7px;min-width:20px;height:20px;border-radius:20px;background:var(--osmo-green);color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;padding:0 5px}
.osmo-menu-toggle{display:none;border:0;background:transparent;width:46px;height:46px;cursor:pointer}
.osmo-menu-toggle span,.osmo-menu-toggle:before,.osmo-menu-toggle:after{content:"";display:block;width:24px;height:2px;background:#111;margin:6px auto;transition:.25s}

.site-main{min-height:45vh}
.entry-content{width:min(1180px,calc(100% - 2*var(--osmo-gutter)));margin:0 auto;padding:56px 0 80px}
.entry-content.elementor-page{max-width:none;width:100%;padding:0}
.entry-title,.archive-title{
  font-size:clamp(34px,5vw,70px);
  line-height:.98;
  letter-spacing:-.035em;
  text-transform:uppercase;
  font-weight:900;
  margin:0 0 28px;
}
.entry-content h2,.entry-content h3,.entry-content h4{
  font-weight:900;text-transform:uppercase;line-height:1.05;letter-spacing:-.02em;
}
.entry-content h2{font-size:clamp(30px,4vw,54px)}
.entry-content h3{font-size:clamp(24px,3vw,36px)}
.entry-content p{max-width:78ch}
.entry-content a:not(.button):not(.wp-element-button){text-decoration-thickness:1px;text-underline-offset:3px}
.entry-content a:not(.button):not(.wp-element-button):hover{text-decoration:underline}
.wp-block-button__link,.button,button[type=submit],input[type=submit],.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{
  border:1px solid #111!important;border-radius:0!important;
  background:#fff!important;color:#111!important;
  padding:15px 22px!important;font-weight:900!important;text-transform:uppercase!important;
  font-size:13px!important;line-height:1!important;
  transition:.2s ease;
}
.wp-block-button__link:hover,.button:hover,button[type=submit]:hover,input[type=submit]:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{
  background:var(--osmo-green)!important;border-color:var(--osmo-green)!important;color:#fff!important;
}

.osmo-page-hero{position:relative;background:#0c183e;color:#fff;overflow:hidden}
.osmo-page-hero.has-image{min-height:clamp(420px,62vw,760px);display:flex;align-items:flex-end}
.osmo-page-hero-media{position:absolute;inset:0}
.osmo-page-hero-media img{width:100%;height:100%;object-fit:cover}
.osmo-page-hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,12,31,.72) 0%,rgba(6,12,31,.25) 55%,rgba(6,12,31,.08) 100%)}
.osmo-page-hero-content{position:relative;z-index:2;padding:70px 0 74px}
.osmo-page-hero h1{font-size:clamp(44px,7vw,92px);line-height:.92;margin:0;text-transform:uppercase;letter-spacing:-.04em;font-weight:900}
.osmo-kicker{text-transform:uppercase;font-weight:800;font-size:14px;letter-spacing:.04em;margin-bottom:10px}

.osmo-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.osmo-card{border:1px solid #111;background:#fff;display:flex;flex-direction:column;min-height:100%}
.osmo-card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.osmo-card-body{padding:24px;display:flex;flex-direction:column;gap:16px;flex:1}
.osmo-card h3{margin:0;font-size:24px;font-weight:900;text-transform:uppercase;line-height:1.05}
.osmo-arrow-link{display:inline-flex;align-items:center;gap:10px;font-weight:900;text-transform:uppercase;font-size:13px;margin-top:auto}
.osmo-arrow-link:after{content:"→";color:var(--osmo-green);font-size:20px}

.woocommerce .products ul,.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0!important}
.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;border:1px solid var(--osmo-line);padding:0 0 20px!important;background:#fff;transition:.2s}
.woocommerce ul.products li.product:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.07)}
.woocommerce ul.products li.product a img{aspect-ratio:1/1;object-fit:contain;margin:0 0 18px!important;padding:18px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;text-transform:uppercase;font-weight:800;padding:0 18px!important}
.woocommerce ul.products li.product .price{color:#444!important;padding:0 18px;font-weight:700}
.woocommerce div.product{padding:50px 0}
.woocommerce div.product .product_title{text-transform:uppercase;font-weight:900;letter-spacing:-.03em}
.woocommerce-message,.woocommerce-info{border-top-color:var(--osmo-green)!important}
.woocommerce-message:before,.woocommerce-info:before{color:var(--osmo-green)!important}
.woocommerce table.shop_table{border-radius:0!important}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{
  border:1px solid #cfd3d5;padding:12px;background:#fff;border-radius:0;
}

.site-footer{background:#fff;border-top:1px solid #e3e5e6;margin-top:0}
.osmo-footer-main{padding:54px 0 36px;display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:50px}
.osmo-footer-brand img{width:150px;margin-bottom:18px}
.osmo-footer-contact{display:grid;gap:7px;font-size:14px}
.osmo-footer-contact strong{font-size:19px}
.osmo-footer-nav{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.osmo-footer-col h3{font-size:20px;text-transform:uppercase;margin:0 0 16px;font-weight:900}
.osmo-footer-col ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.osmo-footer-col a{font-weight:700;font-size:14px}
.osmo-social{display:flex;gap:12px;margin-top:24px}
.osmo-social a{width:38px;height:38px;border:1px solid #111;display:grid;place-items:center;font-size:12px;font-weight:900;text-transform:uppercase;transition:.2s}
.osmo-social a:hover{background:var(--osmo-green);border-color:var(--osmo-green);color:#fff}
.osmo-footer-bottom{border-top:1px solid #dfe1e2;padding:18px 0 26px;font-size:12px}
.osmo-footer-bottom-inner{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}
.osmo-footer-legal{display:flex;gap:16px;flex-wrap:wrap}
.osmo-whatsapp{
  position:fixed;right:22px;bottom:22px;z-index:990;
  width:54px;height:54px;border-radius:50%;
  background:#25D366;color:#fff;display:grid;place-items:center;
  box-shadow:0 8px 24px rgba(0,0,0,.18);font-size:20px;font-weight:900;
}
.osmo-whatsapp:hover{color:#fff;transform:translateY(-2px)}

@media(max-width:1024px){
  body.admin-bar .site-header{top:46px}
  .osmo-topbar{display:none}
  .osmo-nav-wrap{min-height:78px;grid-template-columns:1fr auto}
  .site-branding img{width:120px;max-height:58px}
  .primary-nav,.osmo-header-tools .osmo-cart-link{display:none}
  .osmo-menu-toggle{display:block}
  .osmo-mobile-drawer{
    position:fixed;inset:0;background:#fff;z-index:1001;
    transform:translateX(100%);transition:transform .3s ease;
    overflow:auto;padding:24px 24px 36px;
  }
  .osmo-mobile-drawer.is-open{transform:translateX(0)}
  .osmo-mobile-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}
  .osmo-mobile-head img{width:125px}
  .osmo-mobile-close{border:0;background:transparent;font-size:34px;cursor:pointer}
  .osmo-mobile-nav ul{list-style:none;margin:0;padding:0}
  .osmo-mobile-nav li{border-bottom:1px solid #e3e5e6}
  .osmo-mobile-nav a{display:block;padding:15px 0;font-size:22px;font-weight:900;text-transform:uppercase}
  .osmo-mobile-contact{display:grid;gap:8px;margin:34px 0 22px;font-size:14px}
  .osmo-mobile-social{display:flex;gap:10px;flex-wrap:wrap}
  .osmo-mobile-social a{border:1px solid #111;padding:9px 12px;font-size:11px;font-weight:900;text-transform:uppercase}
  .woocommerce .products ul,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .osmo-footer-main{grid-template-columns:1fr 1fr}
  .osmo-footer-brand{grid-column:1/-1}
}
@media(min-width:1025px){
  .osmo-mobile-drawer{display:none!important}
}
@media(max-width:680px){
  :root{--osmo-gutter:18px}
  .osmo-nav-wrap{min-height:72px}
  .site-branding img{width:112px}
  .entry-content{padding:34px 0 54px}
  .entry-title{font-size:40px}
  .osmo-cards{grid-template-columns:1fr}
  .woocommerce .products ul,.woocommerce ul.products{grid-template-columns:1fr 1fr;gap:10px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px!important;padding:0 10px!important}
  .woocommerce ul.products li.product .price{padding:0 10px;font-size:12px!important}
  .osmo-footer-main{grid-template-columns:1fr;gap:34px;padding-top:38px}
  .osmo-footer-brand{grid-column:auto}
  .osmo-footer-nav{grid-template-columns:1fr}
  .osmo-footer-bottom-inner{display:grid}
  .osmo-whatsapp{right:15px;bottom:15px;width:50px;height:50px}
}


/* ---------------------------------------------------------
   OSMO custom cookie consent interface
--------------------------------------------------------- */
.osmo-cookie-backdrop{
  position:fixed;inset:0;z-index:12000;
  display:none;align-items:center;justify-content:center;
  background:rgba(0,0,0,.45);
  padding:24px;
}
.osmo-cookie-backdrop.is-open{display:flex}
.osmo-cookie-modal{
  width:min(820px,100%);
  max-height:min(86vh,760px);
  overflow:auto;
  background:#fff;
  border:1px solid #d8dcde;
  box-shadow:0 24px 80px rgba(0,0,0,.25);
}
.osmo-cookie-brand{
  display:flex;align-items:center;justify-content:space-between;
  gap:24px;padding:20px 24px;border-bottom:1px solid #e1e4e5;
}
.osmo-cookie-brand img{width:90px;height:auto}
.osmo-cookie-brand strong{font-size:18px;text-transform:uppercase;letter-spacing:.02em}
.osmo-cookie-tabs{
  display:grid;grid-template-columns:repeat(3,1fr);
  border-bottom:1px solid #e1e4e5;
}
.osmo-cookie-tab{
  border:0;background:#fff;padding:16px 18px;
  font-weight:900;cursor:pointer;
  border-bottom:3px solid transparent;
}
.osmo-cookie-tab[aria-selected="true"]{
  border-bottom-color:var(--osmo-green);
}
.osmo-cookie-panel{display:none;padding:22px 24px}
.osmo-cookie-panel.is-active{display:block}
.osmo-cookie-panel h2{
  margin:0 0 12px;font-size:24px;line-height:1.1;
  text-transform:none;letter-spacing:0;
}
.osmo-cookie-panel p{margin:0 0 12px;max-width:none}
.osmo-cookie-grid{
  display:grid;grid-template-columns:repeat(4,1fr);
  border-top:1px solid #e1e4e5;border-bottom:1px solid #e1e4e5;
}
.osmo-cookie-choice{
  min-height:132px;padding:18px 14px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:12px;text-align:center;border-right:1px solid #e1e4e5;
}
.osmo-cookie-choice:last-child{border-right:0}
.osmo-cookie-choice strong{font-size:14px}
.osmo-cookie-switch{
  position:relative;width:48px;height:28px;display:inline-block;
}
.osmo-cookie-switch input{
  opacity:0;width:0;height:0;position:absolute;
}
.osmo-cookie-slider{
  position:absolute;inset:0;border-radius:999px;background:#111;cursor:pointer;
  transition:.2s;
}
.osmo-cookie-slider:before{
  content:"";position:absolute;width:22px;height:22px;left:3px;top:3px;
  border-radius:50%;background:#fff;transition:.2s;
}
.osmo-cookie-switch input:checked + .osmo-cookie-slider{background:var(--osmo-green)}
.osmo-cookie-switch input:checked + .osmo-cookie-slider:before{transform:translateX(20px)}
.osmo-cookie-switch input:disabled + .osmo-cookie-slider{cursor:not-allowed;opacity:.78}
.osmo-cookie-actions{
  display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;
  padding:18px 20px 22px;
}
.osmo-cookie-actions button{
  min-height:52px;
  border:1px solid var(--osmo-green)!important;
  background:#fff!important;color:#111!important;
  font-weight:900!important;
}
.osmo-cookie-actions button:hover{background:#f5faf5!important}
.osmo-cookie-actions .osmo-cookie-accept-all{
  background:var(--osmo-green)!important;color:#fff!important;
}
.osmo-cookie-actions .osmo-cookie-accept-all:hover{background:var(--osmo-green-dark)!important}
.osmo-cookie-settings-link{
  appearance:none;border:0;background:transparent;padding:0;
  font:inherit;font-size:12px;color:inherit;cursor:pointer;text-decoration:underline;
  text-underline-offset:3px;
}
.osmo-cookie-details-list{
  display:grid;gap:14px;margin-top:18px;
}
.osmo-cookie-details-item{
  padding:14px 16px;background:#f6f7f5;border-left:3px solid var(--osmo-green);
}
.osmo-cookie-note{
  font-size:12px;color:#666;margin-top:14px;
}
@media(max-width:700px){
  .osmo-cookie-backdrop{padding:12px;align-items:flex-end}
  .osmo-cookie-modal{max-height:90vh}
  .osmo-cookie-brand{padding:16px}
  .osmo-cookie-tabs{grid-template-columns:1fr}
  .osmo-cookie-tab{padding:12px 14px;text-align:left;border-bottom:1px solid #eee}
  .osmo-cookie-tab[aria-selected="true"]{border-left:4px solid var(--osmo-green);border-bottom:1px solid #eee}
  .osmo-cookie-panel{padding:18px 16px}
  .osmo-cookie-grid{grid-template-columns:1fr 1fr}
  .osmo-cookie-choice{border-bottom:1px solid #e1e4e5}
  .osmo-cookie-choice:nth-child(2n){border-right:0}
  .osmo-cookie-actions{grid-template-columns:1fr;padding:14px}
}


/* ---------------------------------------------------------
   V4 refinement pass
--------------------------------------------------------- */
.osmo-nav-wrap{
  grid-template-columns:180px minmax(0,1fr) auto;
  min-height:86px;
}
.site-branding img{
  width:132px;
  max-height:68px;
}
.primary-nav a{
  min-height:86px;
  font-size:13px;
  letter-spacing:.015em;
}
.osmo-topbar-inner{
  min-height:34px;
}
.osmo-topbar{
  font-size:11px;
}
.osmo-footer-main{
  padding-top:48px;
  padding-bottom:40px;
}
.osmo-footer-brand img{
  width:138px;
}
.osmo-footer-contact{
  line-height:1.45;
}
.osmo-footer-contact strong{
  font-size:18px;
}
.osmo-footer-col h3{
  font-size:18px;
}
.osmo-footer-col a{
  font-size:13px;
}
.osmo-footer-bottom{
  padding-top:14px;
  padding-bottom:20px;
}
.osmo-footer-legal{
  align-items:center;
}
.osmo-cookie-settings-link{
  font-weight:700;
  text-decoration:none;
}
.osmo-cookie-settings-link:hover{
  color:var(--osmo-green);
  text-decoration:underline;
}

/* Cookie modal closer to official OSMO proportions */
.osmo-cookie-modal{
  width:min(900px,100%);
}
.osmo-cookie-brand{
  padding:18px 24px;
}
.osmo-cookie-brand img{
  width:74px;
}
.osmo-cookie-brand strong{
  font-size:15px;
  letter-spacing:.03em;
}
.osmo-cookie-tabs{
  min-height:54px;
}
.osmo-cookie-tab{
  font-size:14px;
  padding:15px 18px;
}
.osmo-cookie-panel{
  padding:24px 28px 26px;
}
.osmo-cookie-panel h2{
  font-size:22px;
  margin-bottom:14px;
}
.osmo-cookie-panel p{
  font-size:14px;
  line-height:1.7;
}
.osmo-cookie-grid{
  margin-top:2px;
}
.osmo-cookie-choice{
  min-height:124px;
}
.osmo-cookie-actions{
  padding:14px 20px 20px;
}
.osmo-cookie-actions button{
  min-height:50px;
  font-size:13px!important;
}

/* Cleaner default empty-site state before migration */
.home .entry-content{
  padding-top:42px;
  padding-bottom:56px;
}
.home .entry-content article > p:first-child{
  color:#777;
  font-size:14px;
}

/* Better mobile header/footer consistency */
@media(max-width:1024px){
  .osmo-nav-wrap{
    min-height:74px;
  }
  .site-branding img{
    width:112px;
  }
  .osmo-mobile-drawer{
    padding:22px 24px 32px;
  }
  .osmo-mobile-nav a{
    font-size:20px;
    padding:13px 0;
  }
}
@media(max-width:700px){
  .osmo-cookie-modal{
    width:100%;
    max-height:92vh;
  }
  .osmo-cookie-brand img{
    width:68px;
  }
  .osmo-cookie-panel{
    padding:16px;
  }
  .osmo-cookie-panel h2{
    font-size:20px;
  }
  .osmo-cookie-panel p{
    font-size:13px;
  }
  .osmo-cookie-choice{
    min-height:106px;
    padding:14px 10px;
  }
  .osmo-cookie-actions{
    gap:8px;
  }
}


/* =========================================================
   V5 — Post Migration Ready
========================================================= */

/* Main content rhythm */
.site-main,
.entry-content,
.woocommerce-page .site-main{
  min-height:520px;
}
.entry-content{
  max-width:1180px;
  margin:0 auto;
  padding:58px 24px 72px;
}
.entry-content > *:first-child{
  margin-top:0;
}
.entry-content img{
  max-width:100%;
  height:auto;
}

/* Legacy page headings: keep strong OSMO visual language but tame oversized imported styles */
.entry-content h1,
.entry-content h2,
.entry-content h3{
  line-height:1.08;
}
.entry-content h1{
  font-size:clamp(38px,5vw,74px);
  margin-bottom:28px;
}
.entry-content h2{
  font-size:clamp(28px,3.2vw,48px);
}
.entry-content h3{
  font-size:clamp(22px,2.4vw,34px);
}

/* Broken legacy image placeholders should not create giant empty bars */
.entry-content img[src=""],
.entry-content img:not([src]){
  display:none!important;
}
.entry-content p:empty{
  display:none;
}

/* Clean up legacy Contact Form 7 missing-form messages visually */
.osmo-static-contact-box{
  border:1px solid #d9ded7;
  background:#f6f8f3;
  padding:28px 30px;
  margin:30px 0;
  max-width:820px;
}
.osmo-static-contact-box h3{
  margin-top:0;
}
.osmo-static-contact-box a{
  color:var(--osmo-green);
  font-weight:700;
}
.osmo-contact-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  margin-top:22px;
}
.osmo-contact-card{
  border-top:1px solid #111;
  padding-top:14px;
}
.osmo-contact-label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#666;
}
.osmo-contact-value{
  margin-top:5px;
  font-size:17px;
  font-weight:700;
}

/* Dealers/company content — cleaner readable width */
.page .entry-content p,
.page .entry-content li{
  line-height:1.75;
}
.page .entry-content > p,
.page .entry-content > ul,
.page .entry-content > ol{
  max-width:900px;
}

/* WooCommerce refinements */
.woocommerce .woocommerce-breadcrumb{
  display:none;
}
.woocommerce .woocommerce-result-count{
  margin:0 0 24px;
}
.woocommerce .woocommerce-ordering{
  margin:0 0 28px;
}
.woocommerce ul.products{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after{
  display:none!important;
}
.woocommerce ul.products li.product{
  float:none!important;
  width:auto!important;
  margin:0!important;
  border:1px solid #dfe2df;
  padding:16px 16px 20px;
  background:#fff;
}
.woocommerce ul.products li.product a img{
  aspect-ratio:1/1;
  object-fit:contain;
  background:#fafafa;
  margin-bottom:18px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:17px;
  line-height:1.15;
  padding:0;
  min-height:40px;
}
.woocommerce ul.products li.product .price{
  color:#111;
  font-size:14px;
  margin-top:6px;
}
.woocommerce ul.products li.product .button{
  border:1px solid #111;
  background:#fff;
  color:#111;
  border-radius:0;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-weight:700;
  padding:12px 16px;
}
.woocommerce ul.products li.product .button:hover{
  background:#111;
  color:#fff;
}
.woocommerce span.onsale{
  background:var(--osmo-green);
}

/* Product detail */
.single-product div.product{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:48px;
}
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary{
  width:auto!important;
  float:none!important;
}
.single-product .product_title{
  font-size:clamp(34px,4vw,58px);
}

/* 404 */
.error404 .entry-content{
  min-height:500px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  flex-direction:column;
}
.error404 .entry-content h1{
  font-size:clamp(44px,7vw,96px);
}

/* Mobile */
@media(max-width:900px){
  .entry-content{
    padding:36px 20px 52px;
  }
  .woocommerce ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .single-product div.product{
    grid-template-columns:1fr;
    gap:26px;
  }
}
@media(max-width:600px){
  .woocommerce ul.products{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }
  .woocommerce ul.products li.product{
    padding:10px 10px 14px;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title{
    font-size:14px;
    min-height:34px;
  }
  .osmo-contact-grid{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   V5.1 — DIY Solutions landing page
========================================================= */
.osmo-diy-hero{
  max-width:1180px;
  margin:0 auto;
  padding:58px 24px 18px;
}
.osmo-diy-hero h1{
  font-size:clamp(42px,6vw,78px);
  margin:0 0 16px;
}
.osmo-diy-hero p{
  max-width:760px;
  line-height:1.7;
  color:#4b4b4b;
}
.osmo-diy-grid-wrap{
  max-width:1180px;
  margin:0 auto;
  padding:12px 24px 72px;
}
.osmo-diy-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.osmo-diy-card{
  border:1px solid #dfe2df;
  background:#fff;
  display:flex;
  flex-direction:column;
  min-height:100%;
}
.osmo-diy-thumb{
  aspect-ratio:16/10;
  background:#f5f5f5;
  overflow:hidden;
}
.osmo-diy-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.osmo-diy-card-body{
  padding:18px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.osmo-diy-card h2{
  font-size:22px;
  margin:0 0 10px;
  line-height:1.2;
}
.osmo-diy-card p{
  line-height:1.6;
  color:#555;
  margin:0 0 16px;
}
.osmo-diy-card a.osmo-diy-readmore{
  margin-top:auto;
  display:inline-flex;
  width:max-content;
  border:1px solid #111;
  color:#111;
  text-decoration:none;
  padding:10px 14px;
  font-weight:700;
}
.osmo-diy-card a.osmo-diy-readmore:hover{
  background:#111;
  color:#fff;
}
.osmo-diy-empty{
  border-top:1px solid #111;
  padding-top:18px;
  color:#555;
}
@media(max-width:900px){
  .osmo-diy-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:600px){
  .osmo-diy-hero{padding:36px 20px 12px;}
  .osmo-diy-grid-wrap{padding:8px 20px 52px;}
  .osmo-diy-grid{grid-template-columns:1fr;}
}


/* =========================================================
   V5.3 — Language selector / Google Translate UI cleanup
========================================================= */
html, body { top: 0 !important; }
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.goog-te-balloon-frame {
  display: none !important;
  visibility: hidden !important;
}
body > .skiptranslate { display:none !important; }
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
  display:none !important;
}
.goog-text-highlight {
  background: transparent !important;
  box-shadow:none !important;
}
.osmo-language button.is-active{
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:3px;
}
