/* CafeDentist shop landing and catalog. */
.cd-shop { padding-top: 26px; padding-bottom: 80px; }
.cd-shop__breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: #718995; font-size: 12px; }
.cd-shop__breadcrumb a { color: #288d9d; text-decoration: none; }
.cd-shop__breadcrumb a:hover { text-decoration: underline; }

.cd-shop__hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); align-items: center; min-height: 385px; overflow: hidden; border-radius: 26px; background: radial-gradient(circle at 83% 28%, rgba(76, 207, 216, .24), transparent 31%), linear-gradient(120deg, #17354b 0%, #154c61 53%, #148e98 100%); box-shadow: 0 22px 55px rgba(16, 68, 85, .16); color: #fff; }
.cd-shop__hero::before { content: ''; position: absolute; inset: auto auto -170px -80px; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; pointer-events: none; }
.cd-shop__hero-copy { position: relative; z-index: 2; padding: 46px 55px 46px 20px; }
.cd-shop__hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.23); border-radius: 99px; background: rgba(255,255,255,.09); color: #d9f7f9; font-size: 11px; font-weight: 700; }
.cd-shop__hero-kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: #72e6db; box-shadow: 0 0 0 4px rgba(114,230,219,.15); }
.cd-shop__hero h1 { max-width: 620px; margin: 18px 0 12px; color: #fff; font-size: clamp(29px, 3.1vw, 43px); font-weight: 800; line-height: 1.55; letter-spacing: -.4px; }
.cd-shop__hero h1 span { display: block; color: #7ee2e4; }
.cd-shop__hero p { max-width: 555px; margin: 0; color: #d2e4eb; font-size: 13px; line-height: 2.1; }
.cd-shop__hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cd-shop__button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 21px; border-radius: 10px; font-size: 12px; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s; }
.cd-shop__button:hover { transform: translateY(-2px); }
.cd-shop__button--primary { background: #fff; color: #15546a; box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.cd-shop__button--primary:hover { color: #0e6b79; box-shadow: 0 12px 27px rgba(0,0,0,.2); }
.cd-shop__button--ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.07); }
.cd-shop__button--ghost:hover { background: rgba(255,255,255,.15); color: #fff; }
.cd-shop__hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: #d3e8ed; font-size: 11px; }
.cd-shop__hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.cd-shop__hero-trust i { width: 18px; height: 18px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(116,220,196,.2); color: #83e5c9; font-style: normal; font-size: 11px; }
.cd-shop__hero-art { position: relative; align-self: stretch; min-height: 360px; display: grid; place-items: center; }
.cd-shop__hero-orbit { position: absolute; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.cd-shop__hero-orbit--outer { width: min(390px,90%); }
.cd-shop__hero-orbit--inner { width: min(285px,65%); border-style: dashed; border-color: rgba(255,255,255,.24); }
.cd-shop__hero-tooth { position: relative; display: grid; place-items: center; width: 210px; height: 210px; border-radius: 50%; background: linear-gradient(140deg, #42c5ce, #75dbe3); box-shadow: 0 20px 55px rgba(0, 22, 35, .2), inset 0 1px rgba(255,255,255,.5); transform: rotate(-9deg); }
.cd-shop__hero-tooth svg { width: 95px; height: 110px; filter: drop-shadow(0 10px 10px rgba(4,77,99,.2)); }
.cd-shop__hero-float { position: absolute; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.65); border-radius: 13px; background: rgba(255,255,255,.93); box-shadow: 0 14px 32px rgba(4, 42, 54, .18); color: #506d79; font-size: 10px; line-height: 1.65; }
.cd-shop__hero-float strong { color: #183d51; font-size: 11px; }
.cd-shop__hero-float-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: #dcf6f5; color: #19969d; font-size: 15px; }
.cd-shop__hero-float--top { top: 55px; right: 16px; }
.cd-shop__hero-float--bottom { bottom: 48px; left: 18px; }

.cd-shop__benefits { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin: 20px 0 56px; overflow: hidden; border: 1px solid #e2edef; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px rgba(26,43,53,.04); }
.cd-shop__benefit { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 84px; padding: 15px; }
.cd-shop__benefit + .cd-shop__benefit { border-right: 1px solid #e6eef0; }
.cd-shop__benefit-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px; background: #e8f7f9; color: #249eac; font-size: 23px; line-height: 1; }
.cd-shop__benefit strong, .cd-shop__benefit span:last-child { display: block; }
.cd-shop__benefit strong { color: #1c384a; font-size: 12px; }
.cd-shop__benefit div span { margin-top: 2px; color: #79909a; font-size: 10px; }

.cd-shop__section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.cd-shop__section-heading h2 { margin: 2px 0 0; color: #193647; font-size: clamp(20px, 2.1vw, 27px); line-height: 1.45; }
.cd-shop__section-heading > a { color: #158d9b; font-size: 12px; font-weight: 700; text-decoration: none; }
.cd-shop__section-heading > a:hover { text-decoration: underline; }
.cd-shop__eyebrow { color: #249eac; font-size: 11px; font-weight: 700; }
.cd-shop__section-mark { color: #b9e6e9; font-size: 31px; line-height: 1; }
.cd-shop__categories { margin-bottom: 60px; }
.cd-shop__category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cd-shop__category { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; min-height: 205px; padding: 18px 14px 20px; border: 1px solid #dfeaec; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(26,43,53,.04); color: #23404e; text-align: center; text-decoration: none; transition: transform .22s, border-color .22s, box-shadow .22s; }
.cd-shop__category:hover { transform: translateY(-4px); border-color: #79cbd0; box-shadow: 0 16px 34px rgba(23,98,116,.11); color: #126d7b; }
.cd-shop__category-image { display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 10px; border-radius: 20px; background: #f0f9fa; color: #42adb7; }
.cd-shop__category-image img { width: 76px; height: 76px; object-fit: contain; mix-blend-mode: multiply; }
.cd-shop__category-image svg { width: 42px; height: 42px; }
.cd-shop__category-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 700; }
.cd-shop__category-count { margin-top: 4px; color: #859aa3; font-size: 10px; }
.cd-shop__category-arrow { position: absolute; left: 14px; bottom: 12px; color: #76c4cc; font-size: 18px; line-height: 1; transition: transform .2s; }
.cd-shop__category:hover .cd-shop__category-arrow { transform: translateX(-3px); }

.cd-shop__catalog { scroll-margin-top: 24px; }
.cd-shop__catalog::after { content: ''; display: table; clear: both; }
.cd-shop__catalog .woocommerce-result-count { float: right; margin: 4px 0 22px; line-height: 44px; color: #637f8b; }
.cd-shop__catalog .woocommerce-ordering { float: left; margin: 0 0 22px; }
.cd-shop__catalog .woocommerce-ordering select { min-width: 205px; border-color: #d6e6e9; box-shadow: 0 3px 10px rgba(23,78,91,.04); }
.cd-shop__catalog ul.products { clear: both; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; align-items: stretch; padding: 0; margin: 0; list-style: none; }
.cd-shop .cd-shop__catalog ul.products { grid-template-columns: repeat(5, minmax(0,1fr)); }
.cd-shop__catalog ul.products::before, .cd-shop__catalog ul.products::after { display: none; }
.cd-shop__catalog ul.products li.product { float: none !important; clear: none !important; width: 100% !important; min-width: 0; margin: 0 !important; }
.cd-shop__catalog ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex: 1; flex-direction: column; text-decoration: none; }
.cd-shop__catalog ul.products li.product img { aspect-ratio: 1; object-fit: contain; background: #f7fbfc; }
.cd-shop__catalog ul.products li.product .woocommerce-loop-product__title { min-height: 3.6em; }
.cd-shop__catalog ul.products li.product .price { margin-top: auto; }
.cd-shop__catalog .woocommerce-pagination { clear: both; padding-top: 12px; }
.cd-shop__catalog .woocommerce-info { clear: both; }
.cd-shop__description:not(:empty) { margin-top: 55px; padding: 25px 30px; border: 1px solid #e0ebed; border-radius: 16px; background: #fff; color: #405968; line-height: 2.1; }
.cd-shop__description:not(:empty) > *:first-child { margin-top: 0; }
.cd-shop__description:not(:empty) > *:last-child { margin-bottom: 0; }

@media (max-width: 1000px) {
  .cd-shop__hero { grid-template-columns: 1.1fr .9fr; }
  .cd-shop__hero-copy { padding-right: 34px; }
  .cd-shop__hero-tooth { width: 175px; height: 175px; }
  .cd-shop__hero-float--top { right: 4px; }
  .cd-shop__catalog ul.products { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .cd-shop .cd-shop__catalog ul.products { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .cd-shop { padding-top: 18px; }
  .cd-shop__hero { grid-template-columns: 1fr; }
  .cd-shop__hero-copy { padding: 34px 30px 18px; }
  .cd-shop__hero-art { min-height: 220px; }
  .cd-shop__hero-tooth { width: 145px; height: 145px; }
  .cd-shop__hero-tooth svg { width: 72px; height: 85px; }
  .cd-shop__hero-orbit--outer { width: 245px; }
  .cd-shop__hero-orbit--inner { width: 185px; }
  .cd-shop__hero-float--top { top: 22px; right: 12%; }
  .cd-shop__hero-float--bottom { bottom: 18px; left: 10%; }
  .cd-shop__benefits { margin-bottom: 40px; }
  .cd-shop__category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cd-shop__catalog ul.products { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .cd-shop .cd-shop__catalog ul.products { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 540px) {
  .cd-shop__hero { border-radius: 18px; }
  .cd-shop__hero-copy { padding: 28px 22px 8px; }
  .cd-shop__hero h1 { font-size: 27px; }
  .cd-shop__hero p { font-size: 12px; }
  .cd-shop__hero-trust { gap: 8px 15px; }
  .cd-shop__hero-art { min-height: 195px; }
  .cd-shop__hero-float { padding: 6px 8px; font-size: 9px; }
  .cd-shop__hero-float strong { font-size: 9px; }
  .cd-shop__hero-float-icon { width: 25px; height: 25px; }
  .cd-shop__hero-float--top { right: 2%; }
  .cd-shop__hero-float--bottom { left: 2%; }
  .cd-shop__benefits { grid-template-columns: 1fr; }
  .cd-shop__benefit { min-height: 64px; justify-content: flex-start; padding-right: 22px; }
  .cd-shop__benefit + .cd-shop__benefit { border-right: 0; border-top: 1px solid #e6eef0; }
  .cd-shop__category { min-height: 170px; padding: 13px 9px 18px; }
  .cd-shop__category-image { width: 70px; height: 70px; }
  .cd-shop__category-image img { width: 60px; height: 60px; }
  .cd-shop__category-image svg { width: 34px; height: 34px; }
  .cd-shop__category-name { font-size: 11px; }
  .cd-shop__categories { margin-bottom: 44px; }
  .cd-shop__catalog .woocommerce-result-count, .cd-shop__catalog .woocommerce-ordering { float: none; display: block; margin: 0 0 10px; }
  .cd-shop__catalog .woocommerce-result-count { line-height: 1.7; }
  .cd-shop__catalog .woocommerce-ordering select { width: 100%; }
  .cd-shop__catalog ul.products li.product .woocommerce-loop-product__title { min-height: 4.5em; }
  .cd-shop__description:not(:empty) { padding: 18px; }
}

/* Product search results use the catalog grid without the shop landing sections. */
.cd-product-search { padding-top: 26px; padding-bottom: 80px; }
.cd-product-search__intro { margin-bottom: 30px; padding: 24px 30px; border: 1px solid #dce9ec; border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(26,43,53,.05); }
.cd-product-search__breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-bottom: 20px; color: #79909a; font-size: 11px; }
.cd-product-search__breadcrumb a { color: #1b8c99; text-decoration: none; }
.cd-product-search__breadcrumb a:hover { text-decoration: underline; }
.cd-product-search__intro-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.cd-product-search__intro h1 { margin: 4px 0 6px; color: #193647; font-size: clamp(22px,2.4vw,31px); line-height: 1.5; overflow-wrap: anywhere; }
.cd-product-search__intro p { margin: 0; color: #718995; font-size: 12px; }
.cd-product-search__form { display: flex; flex: 0 1 380px; min-width: 270px; height: 45px; overflow: hidden; border: 1px solid #cbdfe3; border-radius: 10px; background: #f9fcfd; }
.cd-product-search__form:focus-within { border-color: #29adb2; box-shadow: 0 0 0 3px rgba(41,173,178,.12); }
.cd-product-search__form input[type="search"] { flex: 1; min-width: 0; padding: 0 13px; border: 0; outline: 0; background: transparent; color: #234451; font: 12px IRANSansX,Tahoma,sans-serif; }
.cd-product-search__form input[type="search"]::placeholder { color: #91a5ac; }
.cd-product-search__form button { flex: 0 0 auto; padding: 0 20px; border: 0; background: #29adb2; color: #fff; font: 700 12px IRANSansX,Tahoma,sans-serif; cursor: pointer; }
.cd-product-search__form button:hover { background: #178c96; }
.cd-product-search__results ul.products { grid-template-columns: repeat(4,minmax(0,1fr)); }
.cd-product-search__results .woocommerce-info { margin: 0; padding: 24px; border: 1px solid #cce9ec; border-right: 4px solid #29adb2; border-radius: 12px; background: #f0fafb; color: #3a6571; }
@media (max-width: 1000px) { .cd-product-search__results ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 760px) {
  .cd-product-search { padding-top: 18px; padding-bottom: 50px; }
  .cd-product-search__intro-row { align-items: stretch; flex-direction: column; gap: 17px; }
  .cd-product-search__form { flex: none; width: 100%; min-width: 0; }
  .cd-product-search__results ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 540px) { .cd-product-search__intro { padding: 18px; } }

/* Keep the product grid near the top of the shop page. */
.cd-shop { padding-top: 18px; }
.cd-shop__breadcrumb { margin-bottom: 10px; }
.cd-shop__hero { grid-template-columns: minmax(0,1fr) 220px; min-height: 225px; border-radius: 18px; }
.cd-shop__hero-copy { padding: 24px 34px; }
.cd-shop__hero h1 { margin: 10px 0 4px; font-size: clamp(24px,2.6vw,32px); }
.cd-shop__hero h1 span { display: inline; }
.cd-shop__hero p { font-size: 12px; line-height: 1.8; }
.cd-shop__hero-actions { margin-top: 14px; }
.cd-shop__hero-trust { margin-top: 12px; }
.cd-shop__hero-art { min-height: 225px; }
.cd-shop__hero-orbit--outer { width: 205px; }
.cd-shop__hero-orbit--inner { width: 155px; }
.cd-shop__hero-tooth { width: 115px; height: 115px; }
.cd-shop__hero-tooth svg { width: 57px; height: 66px; }
.cd-shop__hero-float { display: none; }
.cd-shop__benefits { margin: 12px 0 22px; }
.cd-shop__benefit { min-height: 64px; padding: 9px; }
.cd-shop__categories { margin-bottom: 26px; }
.cd-shop__categories .cd-shop__section-heading { margin-bottom: 12px; }
.cd-shop__categories .cd-shop__section-heading h2 { font-size: 19px; }
.cd-shop__category-grid { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.cd-shop__category { flex: 0 0 135px; min-height: 118px; padding: 9px 8px 13px; scroll-snap-align: start; }
.cd-shop__category-image { width: 44px; height: 44px; margin-bottom: 5px; border-radius: 10px; }
.cd-shop__category-image img { width: 40px; height: 40px; }
.cd-shop__category-image svg { width: 28px; height: 28px; }
.cd-shop__category-name { font-size: 10px; }
.cd-shop__category-count { font-size: 9px; }
.cd-shop__category-arrow { bottom: 6px; left: 7px; font-size: 13px; }
@media (max-width: 760px) {
  .cd-shop__hero { display: block; min-height: 0; }
  .cd-shop__hero-copy { padding: 23px; }
  .cd-shop__hero h1 { font-size: 24px; }
  .cd-shop__hero-art { display: none; }
  .cd-shop__benefits { display: none; }
  .cd-shop__categories { margin-top: 20px; }
  .cd-shop__category-grid { display: flex; }
}
