*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#f7f5f0;font-family:Arial,sans-serif}.mockup{position:relative;width:100%;max-width:1600px;margin:0 auto;line-height:0}.mockup img{display:block;width:100%;height:auto}.hotspot{position:absolute;display:block;z-index:2;cursor:pointer}.catalog-link{left:38.7%;top:3.4%;width:5.5%;height:3.8%}.hero-catalog{left:6.2%;top:44.1%;width:22%;height:5.2%}.home-link{left:26.5%;top:1%;width:5%;height:6%}@media(min-width:1601px){.mockup{max-width:1600px}}@media(max-width:600px){.mockup{width:100%}}

.booking-buttons{position:fixed;right:18px;bottom:18px;z-index:5;display:flex;gap:10px;align-items:center;max-width:calc(100vw - 20px)}
.booking-buttons a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:13px 18px;border-radius:12px;color:#fff;text-decoration:none;font:600 14px/1.2 Arial,sans-serif;box-shadow:0 4px 18px #0002;white-space:nowrap}
.telegram-booking{background:#2188c9;border:1px solid #4a9ed1}.telegram-booking:hover{background:#1674ae}
.max-booking{background:#59634b;border:1px solid #737d65}.max-booking:hover{background:#454e39}
@media(max-width:600px){.booking-buttons{right:8px;bottom:8px;left:8px;gap:7px}.booking-buttons a{flex:1;min-width:0;padding:11px 6px;font-size:12px;white-space:normal;text-align:center}}

/* Search added without changing the approved artwork */
.site-search{display:flex;align-items:center;gap:8px;width:min(720px,calc(100% - 32px));padding:7px 8px 7px 16px;background:#fff;border:1px solid #d9ddd3;border-radius:14px;box-shadow:0 8px 28px #26301c18;line-height:1.2;position:relative;z-index:4}.site-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#30352c;font:15px/1.4 Arial,sans-serif;padding:9px 2px}.site-search input::placeholder{color:#777d72}.site-search button{border:0;border-radius:10px;background:#59634b;color:white;font:600 14px Arial,sans-serif;padding:12px 18px;cursor:pointer}.site-search button:hover{background:#454e39}.search-icon{font:28px/1 Arial,sans-serif;color:#59634b}.home-search{position:absolute;left:6.2%;top:51%;width:min(560px,57%)}.catalog-search-wrap{position:absolute;z-index:4;top:7.5%;left:50%;transform:translateX(-50%);width:min(720px,90%);line-height:1.2}.catalog-search-wrap .site-search{width:100%}.search-results{margin-top:8px;padding:14px;background:#fff;border:1px solid #e0e2dc;border-radius:14px;box-shadow:0 8px 28px #26301c18;max-height:55vh;overflow:auto;color:#30352c}.search-results h2{font:600 16px Arial,sans-serif;margin:0 0 10px}.search-result{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #eceee8;font:14px/1.4 Arial,sans-serif}.search-result strong{display:block}.search-result small{color:#6b7167}.search-result .price{white-space:nowrap;font-weight:700}.search-empty{font:14px/1.5 Arial,sans-serif;color:#656b61}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){.home-search{left:5%;top:51%;width:90%;padding:5px 6px 5px 11px;gap:5px}.site-search input{font-size:12px}.site-search button{font-size:12px;padding:11px 12px}.search-icon{font-size:23px}.catalog-search-wrap{top:7%;width:94%}.search-result{font-size:12px}}


/* Карточки из Supabase: добавлены ниже утверждённого макета, сам макет не изменён */
.live-catalog{max-width:1240px;margin:36px auto 120px;padding:0 22px;color:#30352c;line-height:1.45;font-family:Arial,sans-serif}.live-catalog-heading{margin:0 0 18px}.live-catalog-heading .eyebrow{font-size:12px;letter-spacing:.12em;color:#737d65;font-weight:700;margin:0 0 7px}.live-catalog-heading h1{font-size:clamp(24px,3vw,36px);margin:0 0 8px}.live-catalog-heading p:last-child{color:#6b7167;margin:0}.catalog-status{padding:12px 0;color:#62695c;font-size:14px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{background:#fff;border:1px solid #e2e4dc;border-radius:16px;overflow:hidden;box-shadow:0 5px 20px #26301c0a;display:flex;flex-direction:column;min-width:0}.product-card .product-photo{height:220px;background:#f5f5f1;display:flex;align-items:center;justify-content:center;padding:16px}.product-card .product-photo img{width:100%;height:100%;object-fit:contain}.product-card .no-photo{color:#92978c;font-size:13px;text-align:center}.product-card .product-info{padding:16px;display:flex;flex-direction:column;gap:9px;flex:1}.product-card h2{font-size:18px;line-height:1.3;margin:0}.product-card .product-category{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#737d65;font-weight:700}.product-card .product-description{font-size:14px;color:#666d61;margin:0}.product-card .specs{font-size:12px;color:#666d61;overflow-wrap:anywhere}.product-card .prices{display:flex;gap:12px;flex-wrap:wrap;margin-top:auto;padding-top:6px}.product-card .price-item{font-size:14px;font-weight:700}.product-card .price-item small{display:block;font-size:11px;color:#73796f;font-weight:400}.product-card .book-product{display:inline-flex;justify-content:center;margin-top:5px;background:#59634b;color:white;text-decoration:none;border-radius:10px;padding:11px 14px;font-size:13px;font-weight:700}.product-card .book-product:hover{background:#454e39}.catalog-status.error{color:#a33}.catalog-status.notice{background:#fff8e8;border:1px solid #ead9ad;border-radius:10px;padding:12px}.search-result{align-items:center}.search-result button{border:1px solid #d9ddd3;background:#f7f5f0;color:#30352c;border-radius:8px;padding:7px 10px;cursor:pointer}.product-card[hidden]{display:none}@media(max-width:850px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-card .product-photo{height:190px}}@media(max-width:560px){.live-catalog{padding:0 12px;margin-top:24px}.product-grid{grid-template-columns:1fr;gap:12px}.product-card .product-photo{height:220px}.product-card .product-info{padding:14px}.product-card h2{font-size:17px}}

/* Реальный каталог: динамические карточки должны быть в начале страницы, а не под длинным макетом-картинкой. */
.real-catalog-page{margin:0;background:#f7f7f2;color:#30352c;font-family:Arial,sans-serif;min-height:100vh}
.catalog-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px clamp(16px,4vw,56px);background:#fff;border-bottom:1px solid #e2e4dc}
.catalog-brand{font-weight:900;letter-spacing:.04em;font-size:20px;color:#30352c;text-decoration:none}
.catalog-back{color:#59634b;text-decoration:none;font-size:14px;font-weight:700}
.real-catalog{max-width:1240px;margin:0 auto;padding:26px 22px 70px}
.real-catalog .catalog-search-wrap{position:relative;inset:auto;transform:none;width:100%;max-width:760px;margin:0 0 30px;z-index:1}
.real-catalog .site-search{position:relative;inset:auto;width:100%;box-sizing:border-box;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dfe2d8;border-radius:14px;padding:8px 10px 8px 16px;box-shadow:0 5px 18px #26301c0a}
.real-catalog .site-search input{position:static;flex:1;min-width:0;width:auto;height:42px;border:0;outline:none;background:transparent;color:#30352c;font:inherit}
.real-catalog .site-search button{position:static;flex:none;border:0;border-radius:9px;background:#59634b;color:white;padding:12px 18px;font-weight:700;cursor:pointer}
.real-catalog .search-icon{position:static;font-size:24px;color:#737d65}
.real-catalog .live-catalog{position:static;max-width:none;margin:0;padding:0;color:#30352c}
.real-catalog .live-catalog-heading{margin-bottom:18px}
.real-catalog .live-catalog-heading>p:last-child{color:#6b7167;margin-top:8px}
.real-catalog .catalog-status{min-height:20px}
.real-catalog .catalog-status:empty{display:none}
.real-catalog .search-results{position:static;width:100%;box-sizing:border-box;margin-top:10px}
.real-catalog .catalog-booking{position:static;display:flex;flex-wrap:wrap;gap:10px;max-width:100%;margin-top:32px}
.real-catalog .catalog-booking a{white-space:normal;text-align:center}
.real-catalog .product-grid{width:100%;min-width:0;align-items:stretch}
.real-catalog .product-card .product-photo{flex:none;min-width:0}
.real-catalog .product-card .book-product{align-items:center;min-height:44px;text-align:center;overflow-wrap:anywhere}
.real-catalog .search-result{justify-content:normal}
.real-catalog .search-result button{min-height:44px}
.real-catalog .catalog-booking a:focus-visible{outline:3px solid #30352c;outline-offset:3px}
/* Keep catalog content inside its grid and allow long product names to wrap. */
.real-catalog .product-card .product-info{min-width:0;overflow-wrap:anywhere}
.real-catalog .product-card .product-photo img{display:block;min-width:0}
.real-catalog .search-result{display:grid;grid-template-columns:minmax(0,1fr) auto auto}
.real-catalog .search-result>div{min-width:0;overflow-wrap:anywhere}
.real-catalog .search-result button{white-space:nowrap}
@media(max-width:560px){
  .real-catalog .search-result{grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .real-catalog .search-result>div{grid-column:1 / -1}
  .real-catalog .search-result .price{white-space:normal}
}
@media(max-width:560px){.real-catalog{padding:18px 12px 45px}.catalog-topbar{padding:15px 12px}.real-catalog .site-search{gap:6px;padding-left:10px}.real-catalog .site-search button{padding:11px 12px}.real-catalog .product-grid{grid-template-columns:1fr}}

/* Navigation stays aligned with the artwork; sections sit outside its coordinate space. */
.home-logo{left:6.5%;top:1%;width:18%;height:8.5%}
.home-link{left:31.3%;top:3.4%;width:5.6%;height:3.8%}
.rental-link{left:46.7%;top:3.4%;width:12%;height:3.8%}
.about-link{left:60.5%;top:3.4%;width:4.2%;height:3.8%}
.contacts-link{left:66.5%;top:3.4%;width:5.2%;height:3.8%}
.hero-catalog{top:45.6%;height:4.4%}
.hero-rental{left:29.5%;top:45.6%;width:22%;height:4.4%}
.all-catalog{left:78%;top:58.6%;width:17.5%;height:2.5%}
.hotspot:focus-visible{outline:3px solid #59634b;outline-offset:2px;border-radius:5px}
.home-sections{max-width:1240px;margin:0 auto;padding:0 24px 110px;color:#30352c;line-height:1.6}
.home-section{padding:42px 0;border-top:1px solid #d9ddd3;scroll-margin-top:24px}
.home-section h2{font-size:clamp(25px,3vw,38px);line-height:1.2;margin:0 0 22px}
.home-section p,.home-section ol{max-width:760px}
.home-section li{padding:5px 0}
.home-section a{color:#59634b;text-underline-offset:4px}
.section-eyebrow{font-size:12px;letter-spacing:.12em;color:#737d65;font-weight:700;margin:0 0 10px}
.home-section .section-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 18px;background:#59634b;border:1px solid #737d65;border-radius:12px;color:#fff;text-decoration:none;font-size:14px;font-weight:600}
.home-section .section-button:hover{background:#454e39}
.contact-note{font-size:13px;color:#6b7167}
@media(max-width:600px){.home-sections{padding:0 18px 100px}.home-section{padding:28px 0}}
/* On phones the search field needs its own space below the artwork. */
@media(max-width:600px){.home-search{top:100%;margin-top:12px}.home-sections{padding-top:82px}}
