/* Storefront layout from the approved v0.5 mock-up. */
.ke-shop-nav-shell { min-height: 70px; background: var(--ke-beauty-bg); display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 0 clamp(22px,5vw,84px); border-bottom: 1px solid #ebe5dc; }

.ke-shop-nav { display: flex; gap: clamp(15px,2.5vw,36px); align-items: center; }

.ke-shop-nav a { border: 0; background: transparent; font-size: 12px; font-weight: 600; letter-spacing: .25px; color: #5d554d; padding: 11px 0; text-decoration: none; white-space: nowrap; }

.ke-shop-nav a:hover, .ke-shop-nav [aria-current] { color: #906e45; }

.ke-shop-search { display: flex; position: relative; width: min(250px,24vw); min-width: 140px; }

.ke-shop-search input { border: 1px solid #e5ddd2; background: white; border-radius: 25px; padding: 12px 38px 12px 17px; width: 100%; color: #352e28; font-size: 12px; min-height: 42px; }

.ke-shop-search button { position: absolute; right: 1px; top: 1px; height: 40px; width: 36px; border: 0; border-radius: 50%; background: transparent; color: #87683f; font-size: 22px; cursor: pointer; }

.ke-shop-account { border: 1px solid #e3dacf; border-radius: 40px; padding: 12px 13px; text-decoration: none; color: #4c4036; white-space: nowrap; font-size: 12px; }

.ke-shop-breadcrumb { font-size: 12px; color: #968879; padding: 27px 0 18px; overflow-wrap: anywhere; line-height: 1.7; }

.ke-shop-heading { background: var(--ke-beauty-sand); padding: 35px 40px; margin-bottom: 25px; }

.ke-shop-heading h1 { font-size: clamp(32px,4vw,47px); font-weight: 400; letter-spacing: -1.4px; line-height: 1.09; margin: 10px 0 11px; }

.ke-shop-heading .ke-shop-kicker { margin-bottom: 0; }

.ke-shop-heading > p:last-child { max-width: 620px; color: #7f786e; line-height: 1.65; font-size: 14px; margin-bottom: 0; }

.ke-shop-catalog-layout { display: grid; grid-template-columns: 222px minmax(0,1fr); gap: 38px; padding-bottom: 75px; }

.ke-shop-filter-group { padding: 22px 15px 18px 0; border-top: 1px solid #e6ddd1; }

.ke-shop-filter-group h2, .ke-shop-filter-group label { font: 700 13px var(--ke-beauty-sans); margin: 0 0 13px; display: block; }

.ke-shop-filter-group a { display: block; padding: 8px 0; color: #75685c; text-align: left; font-size: 12px; text-decoration: none; }

.ke-shop-filter-group [aria-current] { font-weight: 700; color: #977247; }

.ke-shop-filter-group select, .ke-shop-list-heading select { width: 100%; border: 1px solid #dfd4c7; border-radius: 0; padding: 12px; background: #fff; font-size: 12px; color: var(--ke-beauty-ink); min-height: 42px; }

.ke-shop-filter-apply { width: 100%; margin-top: 12px; font-weight: 400; font-size: 11px; padding: 10px; border-radius: 3px; }


.ke-shop-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 23px; }

.ke-shop-list-heading h2 { font-size: 31px; letter-spacing: -.45px; line-height: 1.16; margin: 8px 0 0; }

.ke-shop-list-heading .ke-shop-kicker { margin: 0; text-transform: uppercase; }

.ke-shop-list-heading select { max-width: 190px; padding: 11px 13px; }

.ke-shop-active-filters { font-size: 12px; color: #75685c; margin-bottom: 20px; }

.ke-shop-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }

.ke-shop-card { background: #fff; border: 1px solid #eee7dd; min-width: 0; }

.ke-shop-card:hover { box-shadow: 0 12px 35px #4635260d; }

.ke-shop-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }

.ke-shop-card__image { position: relative; height: 265px; overflow: hidden; }

.ke-shop-card__image > img { height: 100%; width: 100%; object-fit: contain; }

.ke-shop-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }

.ke-shop-brand { font-size: 10px; letter-spacing: 1.3px; text-transform: uppercase; color: #a38866; margin: 0 0 10px; line-height: 1.5; }

.ke-shop-card h2 { font-family: var(--ke-beauty-serif); font-size: 18px; font-weight: 700; min-height: 43px; line-height: 1.24; letter-spacing: normal; margin: 0 0 9px; overflow-wrap: anywhere; }

.ke-shop-card__description { font-size: 11px; color: #928779; line-height: 1.5; min-height: 31px; margin-bottom: 0; }

.ke-shop-card__bottom { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; }

.ke-shop-price { font-size: 14px; color: #42372e; font-weight: 700; }

.ke-shop-price del { color: #817c73; font-weight: 400; }

.ke-shop-price ins { text-decoration: none; }

.ke-shop-card__more { border-color: #baa181; border-radius: 3px; padding: 10px 11px; color: #6e5333; background: #fff; font-size: 11px; white-space: nowrap; font-weight: 400; min-height: 36px; }

.ke-shop-card__link:hover .ke-shop-card__more { color: white; background: #806543; }

.ke-shop-stock { font-size: 10px; margin: 10px 0 0; color: #8c3732; }

.ke-shop-badge { position: absolute; top: 14px; left: 14px; color: #6b593e; background: #fffaf0e8; padding: 7px 9px; font-size: 9px; letter-spacing: 1px; z-index: 1; }

.ke-shop-pagination { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 30px; font-size: 12px; }

.ke-shop-pagination > * { padding: 10px 14px; border: 1px solid #ddd6c9; border-radius: 4px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }

.ke-shop-pagination .current { background: #f4ece0; border-color: #aa895b; }

.ke-shop-empty { padding: 42px 18px; text-align: center; color: #817c73; }

.ke-shop-empty h2 { font-size: 25px; }

.ke-shop-detail__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(340px,.95fr); gap: 60px; padding: 10px 0 75px; }

.ke-shop-detail__image { height: 570px; overflow: hidden; }

.ke-shop-detail__image > img { height: 100%; width: 100%; object-fit: contain; }


.ke-shop-detail__content { padding-top: 30px; min-width: 0; }

.ke-shop-detail h1 { font-size: clamp(37px,4vw,56px); letter-spacing: -1.4px; line-height: 1.09; margin: 13px 0 11px; overflow-wrap: anywhere; }

.ke-shop-detail__content .ke-shop-brand { font-weight: 700; text-transform: none; letter-spacing: 2px; }

.ke-shop-detail__favorite { font-size: 11px; color: #87683f; margin-bottom: 8px; }

.ke-shop-detail__content .ke-shop-price { font: 28px var(--ke-beauty-serif); color: #785a3a; margin: 19px 0; }

.ke-shop-description { font-size: 14px; line-height: 1.85; color: #756b61; max-width: 510px; overflow-wrap: anywhere; }

.ke-shop-description--full { max-width: 800px; border-top: 1px solid #e3d9ca; padding: 24px 0 38px; }

.ke-shop-description--full h2 { font-size: 25px; }

.ke-shop-availability { border-top: 1px solid #e3d9ca; margin-top: 35px; padding-top: 24px; font-size: 12px; color: #786b5d; }

.ke-shop-availability .out-of-stock { color: #8c3732; }

.ke-shop-sku, .ke-shop-back { font-size: 12px; color: #786b5d; overflow-wrap: anywhere; }

.ke-shop-gallery { list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 16px 0 0; padding: 0; }

.ke-shop-gallery img { width: 100%; aspect-ratio: 1; object-fit: contain; }

.ke-shop-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: linear-gradient(136deg,#eee7de,#d9c8b8); color: #8b7155; }

.ke-shop-placeholder > span { font: 60px var(--ke-beauty-serif); }

.ke-shop-placeholder small { font-size: 11px; }

@media(max-width:1120px) { .ke-shop-nav { gap: 12px; }
 .ke-shop-search { width: 160px; }
 }

@media(max-width:800px) {
  .ke-shop-nav-shell { min-height: 65px; padding: 12px 20px; flex-wrap: wrap; gap: 12px; }

  .ke-shop-nav { order: 3; width: 100%; gap: 22px; flex-wrap: wrap; }

  .ke-shop-search { flex: 1; width: auto; min-width: 100px; }

  .ke-shop-catalog-layout { grid-template-columns: 1fr; }

  .ke-shop-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }


  .ke-shop-filter-group { padding-right: 0; }

  .ke-shop-filters { grid-column: 1/-1; }

  .ke-shop-detail__grid { grid-template-columns: 1fr; gap: 20px; }

  .ke-shop-detail__image { height: 330px; }

}

@media(max-width:550px) {
.ke-shop-logo__subtitle { max-width: 195px; line-height: 1.6; }

.ke-shop-logo { gap: 10px; }

.ke-shop-nav { gap: 8px 22px; }

  .ke-shop-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }

  .ke-shop-card__image { height: 172px; }

  .ke-shop-card__body { padding: 13px 10px; }

  .ke-shop-card h2 { font-size: 15px; min-height: 45px; }

  .ke-shop-card__description { font-size: 10px; }

  .ke-shop-card__bottom { flex-direction: column; align-items: stretch; gap: 12px; }

  .ke-shop-card__more { width: 100%; white-space: normal; }

  .ke-shop-card .ke-shop-price { font-size: 12px; }

  .ke-shop-list-heading { align-items: start; flex-direction: column; }

  .ke-shop-heading { padding: 25px 20px; }

}

@media(prefers-reduced-motion:reduce) { .ke-shop * { transition: none; }
 }

.ke-shop-related {padding:38px 0 65px;}

.ke-shop-related > h2 {font-size:clamp(29px,3vw,39px);margin:9px 0 27px;}

.ke-shop-related .ke-shop-grid {grid-template-columns:repeat(4,minmax(0,1fr));}

@media(max-width:1120px){.ke-shop-related .ke-shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}

@media(max-width:800px){.ke-shop-nav{flex-wrap:nowrap;overflow-x:auto;min-width:0;scrollbar-width:thin;padding-bottom:3px;}
}

@media(max-width:550px){.ke-shop-related .ke-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}


@media(max-width:800px){.ke-shop-sidebar{display:block;}
.ke-shop-filter-group a{display:inline-block;width:auto;margin-right:12px;}
}

.ke-shop-search-only{justify-content:flex-end;}
