/* Customer home screen rebuilt from the approved mobile reference. */
:root{
  --home-green:#0b4a35;
  --home-green-2:#1e6b4c;
  --home-ink:#123d30;
  --home-sage:#657b70;
  --home-cream:#faf8f2;
  --home-mist:#eaf1e7;
  --home-warm:#9a6b2f;
}
.mobile-header-search,.mobile-header-update{display:none}
.basket-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hero-step svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

@media (max-width:680px){
  body{background:var(--home-cream)}
  .announcement{display:none!important}
  .header{
    position:relative;top:auto;height:92px;min-height:92px;padding:calc(12px + env(safe-area-inset-top)) 20px 12px;
    background:var(--home-cream);box-shadow:none;border-bottom:0
  }
  .brand{gap:10px;min-width:0}
  .brand-icon{width:50px;height:50px;border-radius:14px;background:var(--home-green);font-size:31px;box-shadow:0 8px 18px rgba(11,74,53,.12)}
  .brand strong{max-width:none;font-size:21px;letter-spacing:-.035em;color:var(--home-green);font-weight:900}
  .brand small{display:none}
  .head-actions{gap:9px;flex:none}
  .language-wrap,.theme-toggle,.account-button{display:none!important}
  .mobile-header-update{
    display:inline-flex!important;align-items:center;justify-content:center;height:38px;padding:0 10px;border:1px solid #c7ddd0;border-radius:999px;
    background:#eaf1e7;color:var(--home-green);font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer
  }
  .mobile-header-search,.basket-button{
    display:grid!important;place-items:center;width:48px;height:48px;min-width:48px;padding:0;border:0;border-radius:18px;
    background:#f0f1eb;color:var(--home-green);box-shadow:none;position:relative
  }
  .mobile-header-search svg,.basket-icon{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .basket-label{display:none}
  .basket-button .cart-badge{position:absolute;right:-2px;top:-3px;width:auto;min-width:19px;height:19px;padding:0 5px;background:#c65d3f;color:#fff;border:2px solid var(--home-cream);font-size:9px}
  .basket-button .cart-badge:empty{display:none}
  main.shell{width:100%;margin:0}
  .hero{
    display:grid;grid-template-columns:1fr;grid-template-rows:auto 250px auto;min-height:0;margin:0;border:0;border-radius:0;overflow:hidden;
    background:
      radial-gradient(circle at 88% 6%,rgba(110,144,84,.2),transparent 23%),
      radial-gradient(circle at 12% 45%,rgba(255,255,255,.92),transparent 42%),
      linear-gradient(145deg,#fbfaf4 0%,#f0f3e7 62%,#e5edda 100%);
    isolation:isolate
  }
  .hero::before,.hero::after{content:"";position:absolute;z-index:0;border-radius:999px;background:rgba(60,101,62,.17);filter:blur(14px);transform:rotate(-28deg)}
  .hero::before{width:170px;height:38px;right:-48px;top:30px}
  .hero::after{width:120px;height:28px;right:18px;top:78px}
  .hero-main{padding:36px 30px 6px;z-index:3}
  .hero h1{margin:0;color:var(--home-green);font-size:clamp(42px,11vw,51px);line-height:1.08;letter-spacing:-.065em;font-weight:950;white-space:nowrap}
  .hero p{margin:14px 0 0;color:var(--home-sage);font-size:19px;line-height:1.35;letter-spacing:.06em;font-weight:650;white-space:nowrap}
  .hero-cta{
    width:196px;min-width:196px;min-height:56px;margin-top:20px;padding:0 25px;border-radius:999px;
    background:linear-gradient(135deg,var(--home-green-2),var(--home-green));color:#fff;font-size:21px;font-weight:850;box-shadow:0 12px 24px rgba(11,74,53,.15)
  }
  .hero-cta span:last-child{font-size:27px;font-weight:400}
  .hero-art{grid-row:2;position:relative;min-height:230px;height:230px;padding:0;overflow:hidden;z-index:2}
  .hero-sun{display:none}
  .hero-pedestal{position:absolute;z-index:0;left:8%;right:4%;bottom:-43px;height:145px;border-radius:50%;background:linear-gradient(180deg,#fbfaf5,#e5e0d5);box-shadow:0 24px 42px rgba(49,61,42,.13),inset 0 4px 12px rgba(255,255,255,.9)}
  .hero-products-composite{position:absolute!important;z-index:3!important;left:2%;right:0;bottom:0;width:96%!important;max-width:none!important;height:220px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;object-fit:contain!important;object-position:center bottom;aspect-ratio:auto!important;filter:drop-shadow(0 15px 13px rgba(37,49,29,.16));transform:none!important}
  .hero-steps{
    grid-column:1;display:grid;grid-template-columns:1fr 18px 1fr 18px 1fr;align-items:center;gap:0;margin:8px 14px 14px;padding:18px 12px 17px;
    border:1px solid rgba(255,255,255,.88);border-radius:25px;background:rgba(255,255,255,.72);box-shadow:0 10px 30px rgba(29,56,39,.06);backdrop-filter:blur(8px)
  }
  .hero-step{display:flex;min-width:0;align-items:center;flex-direction:column;text-align:center;color:var(--home-green)}
  .hero-step-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:7px;border-radius:50%;background:var(--home-mist)}
  .hero-step strong{font-size:15px;line-height:1.25;white-space:nowrap;font-weight:900;letter-spacing:-.02em}
  .hero-step small{margin-top:5px;color:var(--home-sage);font-size:10px;line-height:1.35;white-space:nowrap}
  .hero-step-arrow{color:#86998d;font-size:31px;font-weight:300;text-align:center;transform:translateY(1px)}
  .demo-banner{margin:0 14px 15px;padding:12px 15px;border:1px solid #eadfc9;border-radius:16px;background:#fff8e9;color:var(--home-warm);font-size:11px;line-height:1.55;align-items:center}
  .demo-banner>span{font-size:17px}
  .catalog-section,.promotion-section,.shop-contact{margin-left:14px;margin-right:14px}
  .catalog-section{padding-top:28px}
  .mobile-tabbar{
    height:calc(72px + env(safe-area-inset-bottom));padding:5px 10px env(safe-area-inset-bottom);background:rgba(255,255,255,.97);border-top:1px solid #e4e9e1;box-shadow:0 -10px 30px rgba(24,55,39,.08);backdrop-filter:blur(14px)
  }
  .mobile-tabbar .nav-tab{color:#52675d;font-size:11px;font-weight:750;gap:3px;border-radius:18px;transition:color .15s,background .15s}
  .mobile-tabbar .nav-tab svg{width:25px;height:25px;stroke-width:1.8}
  .mobile-tabbar .nav-tab.selected{color:#fff;background:linear-gradient(145deg,var(--home-green-2),var(--home-green));margin:2px 1px;min-height:56px}
  .mobile-tabbar .nav-tab[data-tab="cart"].has-items{color:#fff;background:linear-gradient(145deg,var(--home-green-2),var(--home-green));border-radius:18px;margin:2px 1px;min-height:56px}
  .mobile-tabbar .nav-badge{right:-11px;top:-8px}
  html[data-theme=dark] body{background:#101915}
  html[data-theme=dark] .header{background:#101915}
  html[data-theme=dark] .brand strong{color:#e8f1e9}
  html[data-theme=dark] .mobile-header-search,html[data-theme=dark] .basket-button{background:#1e2c24;color:#a3d5bb}
  html[data-theme=dark] .hero{background:radial-gradient(circle at 88% 6%,rgba(95,145,103,.24),transparent 24%),linear-gradient(145deg,#17251e,#21372b 65%,#294330)}
  html[data-theme=dark] .hero h1{color:#ecf6ee}
  html[data-theme=dark] .hero p{color:#b8c9bc}
  html[data-theme=dark] .hero-products-composite{filter:drop-shadow(0 16px 14px rgba(0,0,0,.35))}
  html[data-theme=dark] .hero-steps{background:rgba(25,42,33,.9);border-color:#354a3d}
  html[data-theme=dark] .hero-step{color:#d8eddf}
  html[data-theme=dark] .hero-step-icon{background:#2a4535}
  html[data-theme=dark] .hero-step small{color:#a9bcaf}
  html[data-theme=dark] .mobile-tabbar{background:rgba(21,33,25,.97);border-color:#354a3d}
}

@media (max-width:370px){
  .header{padding-left:14px;padding-right:14px}
  .brand-icon{width:46px;height:46px}.brand strong{font-size:19px}
  .mobile-header-update{
    display:inline-flex!important;align-items:center;justify-content:center;height:38px;padding:0 10px;border:1px solid #c7ddd0;border-radius:999px;
    background:#eaf1e7;color:var(--home-green);font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer
  }
  .mobile-header-search,.basket-button{width:44px;height:44px;min-width:44px;border-radius:16px}
  .hero-main{padding-left:22px;padding-right:22px}
  .hero h1{font-size:40px}.hero p{font-size:16px}.hero-cta{width:180px;min-width:180px;font-size:19px}
  .hero-art{height:232px;min-height:232px}
  .hero-steps{margin-left:10px;margin-right:10px;padding-left:6px;padding-right:6px}
  .hero-step strong{font-size:13px}.hero-step small{font-size:9px}.hero-step-icon{width:44px;height:44px}
}

@media (min-width:681px){
  .hero{min-height:430px;background:linear-gradient(145deg,#fbfaf5 0%,#eef3e7 72%,#dfe9d8 100%)}
  .hero-main{padding-top:64px}
  .hero h1{color:var(--home-green);font-weight:900}
  .hero-art{min-height:320px}
  .hero-art .hero-products-composite{position:absolute;left:2%;right:2%;bottom:0;width:96%;max-width:none;height:310px;margin:0;object-fit:contain;object-position:center bottom;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none;filter:drop-shadow(0 15px 13px rgba(37,49,29,.16))}
  .hero-steps{padding:18px}
  .hero-step{display:flex;align-items:center;gap:10px}
  .hero-step small{color:var(--muted);font-weight:500}
  .hero-step-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e5ede1}
  .hero-step-arrow{font-size:24px;color:var(--muted)}
}

/* V7.20.0 Storefront 2-Column Thumbnail Grid + Detailed Descriptions + Click-to-View Lightbox */
.v719-head-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.v719-view-switch{display:inline-flex;align-items:center;padding:3px;border-radius:999px;background:#eaf1e7;border:1px solid #cde0d3;gap:2px}
.v719-view-btn{border:0;background:transparent;color:#14382d;font-size:12px;font-weight:800;padding:5px 10px;border-radius:999px;cursor:pointer;white-space:nowrap;min-height:30px}
.v719-view-btn.active{background:#194b38;color:#fff;box-shadow:0 2px 6px rgba(11,74,53,.2)}
#productGrid.grid-thumb-4{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important}
@media (min-width:960px){#productGrid.grid-thumb-4{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}}
@media (min-width:1240px){#productGrid.grid-thumb-4{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}}
#productGrid.grid-thumb-4 .product-card{border-radius:12px!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;min-width:0!important;height:100%!important}
#productGrid.grid-thumb-4 .product-visual{height:auto!important;aspect-ratio:1/1!important;cursor:zoom-in!important;padding:6px!important;background:#f8faf6!important}
#productGrid.grid-thumb-4 .product-visual img{object-fit:contain!important;width:100%!important;height:100%!important}
#productGrid.grid-thumb-4 .product-body{padding:8px 8px 10px!important;gap:4px!important;min-width:0!important;display:flex!important;flex-direction:column!important;flex:1!important}
#productGrid.grid-thumb-4 .product-cat,#productGrid.grid-thumb-4 .product-unit,#productGrid.grid-thumb-4 .detail-button{display:none!important}
#productGrid.grid-thumb-4 .product-body h3{font-size:13px!important;line-height:1.3!important;min-height:34px!important;max-height:34px!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;word-break:break-word!important;cursor:pointer}
#productGrid.grid-thumb-4 .product-body p{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;font-size:11px!important;line-height:1.35!important;color:var(--muted,#5a6b62)!important;margin:0!important;min-height:30px!important;cursor:pointer}
#productGrid.grid-thumb-4 .product-price{font-size:14px!important;line-height:1.2!important;margin-top:auto!important;padding-top:2px!important;white-space:nowrap!important}
#productGrid.grid-thumb-4 .product-price small{font-size:10.5px!important}
#productGrid.grid-thumb-4 .product-buttons{margin-top:4px!important;display:block!important}
#productGrid.grid-thumb-4 .add-button{width:100%!important;min-height:32px!important;padding:6px 8px!important;font-size:12px!important;border-radius:9px!important;white-space:nowrap!important}
#productGrid.grid-thumb-4 .card-counter{width:100%!important;height:32px!important;border-radius:9px!important}
#productGrid.grid-thumb-4 .card-counter button{height:26px!important;min-width:26px!important;width:26px!important;font-size:14px!important}
#productGrid.grid-thumb-4 .card-counter b{font-size:12.5px!important}
#productGrid.grid-thumb-4 .load-more-products{grid-column:1/-1!important}
.product-visual[data-lightbox],.detail-photo[data-lightbox],.promotion-photo[data-lightbox]{cursor:zoom-in;position:relative}
.photo-zoom-badge{position:absolute;right:4px;bottom:4px;z-index:2;padding:1px 5px;border-radius:999px;background:rgba(15,35,26,.52);color:rgba(255,255,255,.94);font-size:8.5px;font-weight:600;line-height:1.25;pointer-events:none;backdrop-filter:blur(3px)}
#productGrid.grid-thumb-4 .photo-zoom-badge{right:3px;bottom:3px;padding:1px 4px;font-size:8px}
.image-lightbox{position:fixed;inset:0;z-index:9999;background:rgba(10,18,14,.92);display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:12px;padding:max(14px,env(safe-area-inset-top)) 14px max(16px,env(safe-area-inset-bottom));backdrop-filter:blur(6px)}
.image-lightbox.hidden{display:none!important}
.image-lightbox-close{position:fixed;top:max(12px,env(safe-area-inset-top));right:12px;z-index:10000;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(18,32,25,.82);color:#fff;font-size:24px;line-height:1;display:grid;place-items:center;cursor:pointer}
.image-lightbox-stage{flex:1;width:100%;display:flex;align-items:center;justify-content:center;overflow:auto;-webkit-overflow-scrolling:touch;padding:24px 0 4px}
.image-lightbox-img{max-width:min(94vw,760px);max-height:60vh;width:auto;height:auto;object-fit:contain;border-radius:14px;background:#fff;padding:8px;box-shadow:0 18px 48px rgba(0,0,0,.45);transition:transform .22s ease;cursor:zoom-in;user-select:none}
.image-lightbox-img.zoomed{transform:scale(1.75);cursor:zoom-out}
.image-lightbox-caption{width:100%;max-width:560px;background:rgba(255,255,255,.97);color:#14382d;border-radius:16px;padding:12px 14px;box-shadow:0 12px 32px rgba(0,0,0,.3);display:flex;flex-direction:column;gap:8px}
.image-lightbox-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.image-lightbox-head h3{margin:0;font-size:15px;line-height:1.3;color:#102b22}
.image-lightbox-head strong{font-size:16px;color:#c94c1a;white-space:nowrap}
.image-lightbox-meta p{margin:4px 0 0;font-size:12.5px;line-height:1.48;color:#3d5247}
.image-lightbox-hint{margin-top:4px;font-size:11px;color:#6c7f75}
.image-lightbox-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:8px}
.image-lightbox-actions .detail-button,.image-lightbox-actions .add-button{min-height:38px;font-size:13px;border-radius:10px}
html[data-theme=dark] .v719-view-switch{background:#182b22;border-color:#2e4a3c}
html[data-theme=dark] .v719-view-btn{color:#dceae1}
html[data-theme=dark] .v719-view-btn.active{background:#2a6e51;color:#fff}
html[data-theme=dark] #productGrid.grid-thumb-4 .product-visual{background:#1a2620!important}
html[data-theme=dark] .image-lightbox-caption{background:#15241d;color:#e4f0e8}
html[data-theme=dark] .image-lightbox-head h3{color:#f1f8f3}
html[data-theme=dark] .image-lightbox-meta p{color:#b7cabe}
