/* Otkhiani storefront */
:root {
  --paper: #fffcf8;
  --ink: #302622;
  --wine: #773338;
  --line: #e4dad1;
}
.parent-bar {background: #44322c; color: #fff7ee;}
.parent-bar .wrap {min-height: 30px;}
.ot-header {background: #fffdf9f7;}
.ot-header .header-inner {min-height: 79px;}
.ot-header .ot-wordmark .ot-logo-window {width: clamp(165px, 16vw, 222px);}
.ot-header nav {font-size: 14.5px; gap: clamp(16px,2.4vw,38px);}
.ot-header-actions {gap: 18px;}
.shop-search-link {display: grid; place-items: center; width: 40px; height: 44px;}
.shop-search-link svg {width: 21px; height: 21px;}
.imeri-switch img {width: 84px;}

.shop-section {padding-block: clamp(34px,4vw,64px) 0; scroll-margin-top: 12px;}
.shop-heading {display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 21px;}
.shop-heading h2,.collections .section-heading h2 {font-size: clamp(24px,2.45vw,38px); letter-spacing: -.045em; line-height: 1.3; font-weight: 500;}
.shop-text-link {display: inline-flex; align-items: center; gap: 7px; color: var(--wine); font-size: 14.5px; min-height: 44px;}
.shop-text-link svg {width: 16px;}
.rail-actions {gap: 22px;}
.rail-actions button {width: 40px; height: 40px; background: transparent; color: var(--ink); border-color: #cbbeb2;}
.rail-actions button:disabled {opacity: .35; cursor: default;}
.category-rail {display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #c9b8a8 transparent; padding: 4px 0 10px;}
.category-tile {min-width: 0; scroll-snap-align: start; border-radius: 3px;}
.category-tile>div {display: grid; place-items: center; aspect-ratio: 1.53; padding: 9%; background: #f1ece4; overflow: hidden; border-radius: 3px;}
.category-tile img {width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; transition: transform .22s;}
.category-tile>span {display: block; padding-top: 9px; font-weight: 500; font-size: 15px; line-height: 1.55;}
.category-tile:focus-visible,.shelf-card:focus-visible {outline-offset: -3px;}
.category-tile:hover img,.shelf-card:hover img {transform: scale(1.035);}
.category-tile:hover span,.index-link:hover {color: var(--wine); text-decoration: underline; text-underline-offset: 4px;}
.collection-shelf-grid {display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px;}
.shelf-card {display: grid; position: relative; isolation: isolate; overflow: hidden; min-width: 0; align-content: end; aspect-ratio: 1.56; border-radius: 3px; background: #ddd4c8; color: white;}
.shelf-card img {position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .25s;}
.shelf-card::before {content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#211810c4,transparent 64%);}
.shelf-card>span {display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 15px 20px; font: clamp(23px,2.5vw,38px)/1.2 Georgia,serif; letter-spacing: -.04em;}
.shelf-card>span::after {content: '↗'; font: 22px/1 sans-serif;}
.collection-index {border-bottom: 1px solid var(--line);}
.collection-index summary {display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 10px 2px; cursor: pointer; font-size: 15px; list-style: none;}
.collection-index summary::-webkit-details-marker {display: none;}
.collection-index[open] summary span {transform: rotate(45deg);}
#collectionIndex {display: grid; grid-template-columns: repeat(auto-fit,minmax(138px,1fr)); gap: 4px 14px; padding: 0 0 18px;}
.index-link {padding: 9px 0; line-height: 1.4;}
.collections.section {padding-block: clamp(46px,5vw,76px);}
.collections .section-heading {margin-bottom: 22px;}
.furniture-card-image {background: #f5f2ed; isolation: isolate;}
.card-photo-frame {background: #fff; mix-blend-mode: multiply;}
.furniture-card:hover {transform: none;}
.furniture-card {border-radius: 4px;}
.furniture-card-copy {gap: 5px;}
.furniture-card-meta>span:first-child {font-size: 14px;}
.furniture-card-meta>span:last-child {font-size: 13px;}
.furniture-card-buy>button {width: 44px; height: 44px;}
.dialog-copy .detail-collection {text-decoration: underline; text-underline-offset: 4px;}
@media(max-width:920px) {
  html {scroll-padding-top: 130px;}
  .ot-header .header-inner {min-height: 0;}
  .ot-header .ot-wordmark .ot-logo-window {width: min(190px,100%);}
  .ot-header nav {justify-content: space-between;}
  .category-rail {grid-auto-columns: calc((100% - 3 * 12px) / 4); gap: 12px;}
}
@media(max-width:600px) {
  .ot-header-actions {gap: 4px;}
  .ot-header .ot-wordmark .ot-logo-window {width: min(148px,100%);}
  .ot-header .header-inner {gap: 4px 8px;}
  .ot-header nav {gap: 8px; font-size: 13px; line-height: 1.3; padding: 0;}
  .ot-header nav a {display: flex; align-items: center; min-height: 36px;}
  .imeri-switch img {width: 64px;}
  .shop-search-link {width: 36px;}
  .furniture-cart-link {min-height: 44px;}
  .furniture-cart-link>span {position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);}
  .feature-inner {min-height: clamp(345px,90vw,460px); position: relative; align-items: end; padding: 28px 0;}
  .feature-copy h1 {font-size: clamp(55px,13vw,78px); margin-bottom: 18px;}
  .feature-controls {position: absolute; right: 0; bottom: 28px; gap: 5px;}
  .feature-controls span {display: none;}
  .feature-controls button {width: 40px;height: 40px;}
  .feature-link {gap: 12px; padding: 10px 12px; font-size: 14px;}
  .shop-heading {flex-wrap: wrap; gap: 6px; margin-bottom: 14px;}
  .rail-actions {margin-left: auto; gap: 6px;}
  .rail-actions>div {display: none;}
  .shop-text-link {font-size: 13px;}
  .category-rail {grid-auto-columns: 38%; gap: 10px;}
  .category-tile>span {font-size: 14px;}
  .collection-shelf-grid {grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px;}
  .shelf-card {aspect-ratio: 1.2;}
  .shelf-card:first-child {grid-column: span 2; aspect-ratio: 1.95;}
  .shelf-card>span {padding: 10px; font-size: 24px;}
  .furniture-results-heading {flex-wrap: wrap;}
}
@media(prefers-reduced-motion:reduce) {
  html {scroll-behavior: auto;}
  .shelf-card img,.category-tile img {transition: none;}
}

.ot-prices {display:grid;gap:3px;align-content:start;font-variant-numeric:tabular-nums}
.ot-price-regular {display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;color:#6c5e58;font-size:14px;line-height:1.5}
.ot-price-final {display:flex;flex-direction:column;line-height:1.5}
.ot-prices .ot-price-final small {font-size:13px;color:#685a55}
.ot-prices .ot-price-final strong {display:block;font-size:22px;font-weight:650}
.ot-prices.is-promo .ot-price-final strong {color:#922f39}
.dialog-copy .ot-prices {margin-block:14px}
.dialog-copy .ot-price-final strong {font-size:30px}
.ot-price-request {font-weight:600;color:#64524c}
.ot-brand-select {display:grid;gap:3px;min-width:0;font-size:13px;font-weight:500}
.ot-brand-select select {width:100%;min-height:40px;max-width:250px;border:1px solid var(--line);padding:6px 12px;background:white;border-radius:4px}
.ot-search-actions {align-items:end;flex-wrap:wrap}
.room-filters {flex-wrap:wrap}
.furniture-card h3 a {display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.dialog-copy h2 {overflow-wrap:anywhere}
.furniture-photo-pending>span {max-width:98%;text-align:center;overflow-wrap:anywhere}
.furniture-pagination>span {display:grid;place-items:center}
@media(max-width:600px){.ot-brand-select{width:100%}.ot-brand-select select{max-width:none}.ot-prices .ot-price-final strong{font-size:18px}.ot-price-regular span{font-size:13px}}
.category-text-tile>span {font-size:clamp(13px,1.3vw,18px);text-align:center;color:var(--wine)}

/* Collection covers and catalogue navigation */
.ot-edit {display:grid;grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:10px;height:clamp(315px,32vw,470px);margin-top:18px}
.ot-feature {position:relative;isolation:isolate;overflow:hidden;border-radius:5px;display:flex;align-items:flex-end;background:#63594c;color:white}
.ot-feature-main {grid-row:span 2}
.ot-feature img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 54%;z-index:-2}
.ot-feature-side img {object-position:50% 51%}
.ot-feature:last-child img {object-position:50% 59%}
.ot-feature::before {content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#211910b8,transparent 70%),linear-gradient(90deg,#1d171644,transparent 70%)}
.ot-feature-copy {padding:clamp(18px,2.4vw,40px);min-width:0}
.ot-feature-copy>span:first-child {display:block;font-size:clamp(12px,1.1vw,16px);font-weight:600;letter-spacing:.045em}
.ot-feature h1,.ot-feature h2 {color:white;font-family:Georgia,serif;letter-spacing:-.04em;line-height:1.07;font-weight:400}
.ot-feature h1 {font-size:clamp(56px,6.1vw,94px);margin:0 0 13px}
.ot-feature h2 {font-size:clamp(28px,3vw,46px)}
.ot-feature-side .ot-feature-copy {padding:clamp(13px,1.5vw,25px)}
.ot-feature-cta {font-size:14px;display:inline-flex;align-items:center;gap:12px;border-bottom:1px solid #ffffffa6;padding-bottom:3px}
.ot-feature i {color:white;font:normal 20px/1 sans-serif}
.ot-feature-open {position:absolute;bottom:18px;right:19px;border:1px solid #ffffff8a;width:32px;height:32px;border-radius:50%;display:grid;place-items:center}
.ot-feature:hover .ot-feature-cta {border-color:white}
.ot-feature:focus-visible {outline-offset:2px}
.ot-header .shop-search-link {width:auto;gap:7px;display:inline-flex;align-items:center;font-size:14px}
.ot-browser {padding-block:clamp(30px,3.6vw,60px) 0;scroll-margin-top:10px}
.ot-browser-head,.ot-browse-title,.ot-results-head {display:flex;align-items:center;justify-content:space-between;gap:18px}
.ot-browser-head {margin-bottom:20px}
.ot-browser-head h2 {font-size:clamp(24px,2.7vw,40px);letter-spacing:-.045em;line-height:1.35;font-weight:550}
.ot-searchbox {display:flex;align-items:center;gap:12px;width:min(48%,580px);padding:5px 5px 5px 15px;margin:0;background:white;border:1px solid #bbaaa0;border-radius:5px}
.ot-searchbox:focus-within {outline:2px solid var(--wine);outline-offset:2px}
.ot-searchbox input {width:100%;min-width:0;background:transparent;border:0;min-height:36px;font-size:15px;outline:none}
.ot-searchbox input:focus-visible {outline:0}
.ot-searchbox input::placeholder {color:#73675e}
.ot-searchbox button {min-height:40px;padding:4px 19px;color:white;font-size:15px;background:var(--wine);border-radius:3px}
.ot-controls {border:1px solid var(--line);padding:12px 16px 16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(110px,.78fr) auto;gap:12px;background:#f3eee7;border-radius:5px}
.ot-controls>label,.ot-price-control,.ot-sort {display:flex;flex-direction:column;gap:3px;min-width:0;color:#5c504b;font-size:14px}
.ot-controls select,.ot-price-control summary,.ot-sort select {width:100%;min-width:0;min-height:41px;padding:6px 8px;border:1px solid #cfc2b6;border-radius:4px;color:var(--ink);background:white;font-size:14.5px}
.ot-controls select:disabled {opacity:.55}
.ot-controls .ot-sale-check {display:flex;flex-direction:row;align-items:center;align-self:end;min-height:41px;gap:6px;white-space:nowrap;color:var(--wine);font-size:14.5px}
.ot-sale-check input {height:17px;width:17px;accent-color:var(--wine);margin:0}
.ot-price-control details {position:relative}
.ot-price-control summary {display:flex;align-items:center;justify-content:space-between;gap:4px;list-style:none;cursor:pointer}
.ot-price-control summary::-webkit-details-marker {display:none}
.ot-price-control summary::after {content:'⌄'}
.ot-price-menu {position:absolute;top:calc(100% + 5px);right:0;z-index:5;width:240px;background:white;border:1px solid var(--line);border-radius:5px;padding:15px;box-shadow:0 10px 24px #432e211c}
.ot-range {display:grid;grid-template-columns:1fr 1fr;gap:9px}
.ot-range label {display:grid;gap:2px}
.ot-range input {width:100%;min-width:0;padding:7px;border:1px solid var(--line);border-radius:3px}
.ot-price-menu button {margin-top:10px;color:var(--wine);text-decoration:underline;text-underline-offset:3px}
#otRangeError {color:#9b2536}
.ot-more-filters {display:none}
#otActiveFilters {margin:10px 0 0}
.ot-browse-title,.ot-results-head {margin:21px 0 12px;scroll-margin-top:10px}
.ot-browse-title h3,.ot-results-head h3 {font-size:clamp(18px,1.65vw,25px);line-height:1.4;font-weight:550}
.ot-all-link {color:var(--wine);font-weight:550;display:inline-flex;align-items:center;gap:8px;min-height:42px}
.ot-all-link:hover {text-decoration:underline}
.ot-directory {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ot-department {display:flex;align-items:center;position:relative;overflow:hidden;min-height:90px;background:#f5f0ea;border:1px solid var(--line);border-radius:4px;transition:background .16s,border-color .16s}
.ot-department:hover,.ot-department:focus-visible {background:#ede3d9;border-color:#ac8f7f}
.ot-department img {width:32%;max-width:94px;height:84px;padding:6px;object-fit:contain;mix-blend-mode:multiply}
.ot-department>div {min-width:0;padding:10px;display:grid;gap:2px}
.ot-department span {font-size:clamp(13px,1.1vw,16px);font-weight:550;line-height:1.45}
.ot-department small,.ot-results-head p {color:#76685f;font-size:14px}
.ot-department-compact {grid-column:span 2;min-height:48px;background:transparent;padding:0 10px}
.ot-department-compact>div {display:flex;align-items:center;gap:10px}
.ot-department-compact::after {content:'→';margin-left:auto;padding:8px;color:var(--wine)}
.ot-sort {flex-direction:row;align-items:center;gap:9px}
.ot-sort select {width:auto}
#otResults {scroll-margin-top:12px}
.ot-results-head {margin-top:18px}
.ot-browser .no-results {grid-column:1 / -1}
@media(max-width:1050px) {
 .ot-controls {grid-template-columns:repeat(3,minmax(0,1fr))}
 .ot-controls .ot-sale-check {justify-self:start}
 .ot-header .shop-search-link span {display:none}
}
@media(max-width:760px) {
 .ot-browser-head {display:grid;gap:12px;margin-bottom:10px}
 .ot-searchbox {width:100%}
 .ot-edit {height:clamp(260px,51vw,350px);gap:6px;margin-top:10px}
 .ot-feature-copy {padding:16px}
 .ot-feature h1 {font-size:clamp(41px,8vw,68px)}
 .ot-feature-side .ot-feature-copy {padding:10px}
 .ot-feature-side h2 {font-size:clamp(20px,4vw,27px)}
 .ot-feature-open {display:none}
 .ot-directory {grid-template-columns:repeat(2,minmax(0,1fr))}
 .ot-department-compact {grid-column:auto}
 .ot-more-filters {display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 12px;min-height:42px;background:#f3eee7;color:var(--wine);border:1px solid var(--line);border-radius:4px 4px 0 0;font-weight:550;text-align:left}
 .ot-controls {grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 10px 12px;gap:8px;border-top:0;border-radius:0 0 4px 4px}
 .ot-controls:not(.ot-show-extra)>:nth-child(n+3) {display:none}
 .ot-price-menu {left:0;right:auto}
 .ot-department {min-height:70px}
 .ot-department img {height:66px}
 .ot-department-compact {min-height:44px}
 .ot-department-compact>div {display:grid;gap:0}
 .ot-sort {flex-direction:column;align-items:flex-start;gap:0}
 .ot-results-head {align-items:end}
 .ot-feature-cta {font-size:13px}
}
@media(max-width:420px) {
 .ot-edit {height:230px;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
 .ot-feature-copy {padding:10px}
 .ot-department span {font-size:14px}
 .ot-department>div {padding:6px}
 .ot-directory {gap:6px}
 .ot-browse-title {gap:4px}
 .ot-all-link {font-size:14px}
 .ot-searchbox input {font-size:16px}
}

.ot-back-directory{display:inline-flex;align-items:center;gap:.5rem;margin:8px 0 10px;color:var(--wine,#782a35);font-size:.8rem;font-weight:650}
.ot-back-directory:hover{text-decoration:underline}
