/* Store page only. Values follow assets/css/theme.css and design/system.md. */
.denti-store{padding-block:1.5rem 3rem}
.denti-store-breadcrumb{display:flex;gap:.65rem;align-items:center;margin-bottom:1.25rem;color:var(--denti-muted);font-size:.875rem}
.denti-store-breadcrumb a{text-decoration:none}
.denti-store-heading{display:flex;align-items:baseline;gap:1rem;margin-bottom:1.5rem}
.denti-store-heading h1{margin:0;font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.2}
.denti-store-heading p{margin:0;color:var(--denti-muted)}
.denti-store-filters{margin:0 0 1.5rem}

/* 1. Unified Search & Specialty Filter Bar */
.denti-search-bar{display:flex;align-items:center;gap:.65rem;margin-bottom:1.25rem}
.denti-search-input-wrap{position:relative;flex:1 1 auto;display:flex;align-items:center;min-width:200px}
.denti-search-icon{position:absolute;left:1rem;color:var(--denti-muted);pointer-events:none}
.denti-search-input-wrap input{width:100%;min-height:48px;padding:.65rem 2.25rem .65rem 2.85rem;border:1.5px solid var(--denti-line);border-radius:8px;background:var(--denti-white);color:var(--denti-ink);font-size:.95rem;transition:border-color .15s,box-shadow .15s}
.denti-search-input-wrap input:focus{border-color:var(--denti-green);outline:none;box-shadow:0 0 0 3px rgba(18,101,119,.12)}
.denti-search-clear{position:absolute;right:.85rem;color:var(--denti-muted);text-decoration:none;font-size:.9rem;padding:.2rem .4rem;border-radius:50%}
.denti-search-clear:hover{color:var(--denti-ink)}

.denti-specialty-select-wrap{position:relative;flex:0 0 260px;min-width:200px}
.denti-specialty-select{width:100%;min-height:48px;padding:.65rem 2rem .65rem .9rem;border:1.5px solid var(--denti-line);border-radius:8px;background:var(--denti-white);color:var(--denti-ink);font-size:.9rem;font-weight:550;cursor:pointer;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5d68' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .85rem center;transition:border-color .15s,box-shadow .15s}
.denti-specialty-select:focus{border-color:var(--denti-green);outline:none;box-shadow:0 0 0 3px rgba(18,101,119,.12)}

.denti-search-submit-btn{min-height:48px;padding:.65rem 1.4rem;font-size:.95rem;border-radius:8px;flex-shrink:0}
.denti-filter-toggle-btn{display:inline-flex;align-items:center;gap:.5rem;min-height:48px;padding:.65rem 1.15rem;border:1.5px solid var(--denti-line);border-radius:8px;background:var(--denti-white);color:var(--denti-ink);font-size:.9rem;font-weight:600;cursor:pointer;flex-shrink:0;transition:all .15s ease}
.denti-filter-toggle-btn:hover,.denti-filter-toggle-btn.is-active{background:var(--denti-soft);border-color:var(--denti-green);color:var(--denti-green)}
.denti-filter-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;background:var(--denti-green);color:#fff;font-size:.75rem;font-weight:700;border-radius:10px}

/* 2. Advanced Collapsible Filters Panel */
.denti-advanced-filters{display:none;background:var(--denti-soft);border:1px solid var(--denti-line);border-radius:8px;padding:1.25rem;margin-bottom:1.25rem;animation:dentiFadeDown .2s ease}
.denti-advanced-filters.is-open,.denti-advanced-filters:not([hidden]){display:block}
@keyframes dentiFadeDown{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.denti-advanced-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr)) auto;gap:1rem;align-items:end}
.denti-advanced-actions{display:flex;align-items:center;gap:.75rem}
.denti-apply-filters-btn{min-height:44px;padding:.5rem 1rem;font-size:.9rem;border-radius:6px}

/* 4. Results Meta and Active Tags */
.denti-results-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;padding-bottom:.85rem;border-bottom:1px solid var(--denti-line);margin-bottom:1rem}
.denti-active-badges{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem}
.denti-active-badge{display:inline-flex;align-items:center;gap:.4rem;padding:.25rem .65rem;background:var(--denti-white);border:1px solid var(--denti-line);border-radius:14px;font-size:.8rem;color:var(--denti-ink)}
.denti-active-badge a{color:var(--denti-muted);text-decoration:none;font-size:.8rem;font-weight:700;line-height:1}
.denti-active-badge a:hover{color:#c94a4a}
.denti-active-promo-badge{background:#fff1f2;border-color:#fecdd3;color:#e11d48;font-weight:650}
.denti-active-promo-badge a{color:#e11d48}
.denti-active-promo-badge a:hover{color:#9f1239}
.denti-store-clear-inline{color:var(--denti-green);font-size:.8rem;font-weight:600;text-decoration:none;margin-left:.25rem}
.denti-store-clear-inline:hover{text-decoration:underline}

.denti-store-count{margin:0;color:var(--denti-muted);font-size:.9rem}
.denti-store-count strong{color:var(--denti-ink)}
.denti-store-select{display:grid;gap:.25rem;color:var(--denti-muted);font-size:.78rem;font-weight:650}
.denti-store-select select{width:100%;min-height:44px;padding:.5rem 2rem .5rem .7rem;border:1px solid var(--denti-line);border-radius:6px;background:var(--denti-white);color:var(--denti-ink);font-size:.875rem}
/* Product Grid & Cards - Modern E-Commerce */
.denti-store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;margin-top:1.5rem}

.denti-store-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid #e5e9ec;border-radius:14px;background:#ffffff;box-shadow:0 2px 6px rgba(0,0,0,0.03);transition:transform .22s cubic-bezier(0.16,1,0.3,1),box-shadow .22s cubic-bezier(0.16,1,0.3,1),border-color .22s ease}
.denti-store-card:hover{transform:translateY(-5px);box-shadow:0 14px 30px -8px rgba(18,101,119,0.16),0 4px 10px -2px rgba(0,0,0,0.04);border-color:rgba(18,101,119,0.35)}

/* Compact catalog cards only; landing offers and related products retain their layout. */
.denti-store .denti-store-grid{gap:1rem}
.denti-store .denti-store-media{height:180px;padding:.85rem}
.denti-store .denti-store-copy{padding:.85rem;gap:.4rem}
.denti-store .denti-store-copy .denti-product-title a{display:block;min-height:0;overflow:visible;-webkit-line-clamp:unset;overflow-wrap:anywhere}
.denti-store .denti-card-meta{flex-wrap:wrap}
.denti-store .denti-card-footer{padding-top:.6rem}
@media(max-width:600px){
  .denti-store .denti-store-grid{gap:.65rem}
  .denti-store .denti-store-media{height:140px;padding:.65rem}
  .denti-store .denti-store-copy{padding:.75rem;gap:.35rem}
  .denti-store .denti-card-footer>.denti-button{min-height:44px}
}

/* Image Media Container */
.denti-store-media{position:relative;display:flex;align-items:center;justify-content:center;height:240px;background:#ffffff;border-bottom:1px solid #f1f4f6;padding:1.25rem;overflow:hidden}
.denti-store-image-link{display:flex;width:100%;height:100%;align-items:center;justify-content:center;text-decoration:none}
.denti-store-media .denti-product-image{width:100%;height:100%;object-fit:contain;transition:transform .35s cubic-bezier(0.16,1,0.3,1)}
.denti-store-card:hover .denti-product-image{transform:scale(1.06)}

/* Badges on image */
.denti-store-badge{position:absolute;z-index:2;top:.85rem;left:.85rem;max-width:calc(100% - 1.7rem);padding:.25rem .7rem;border:1px solid rgba(18,101,119,0.18);border-radius:20px;background:rgba(255,255,255,0.96);backdrop-filter:blur(6px);color:var(--denti-green);font-size:.72rem;font-weight:700;box-shadow:0 2px 6px rgba(0,0,0,0.04);overflow-wrap:anywhere}
.denti-store-promo-badge{position:absolute;z-index:2;top:.85rem;left:.85rem;max-width:calc(100% - 1.7rem);display:inline-flex;align-items:center;gap:.3rem;padding:.28rem .75rem;background:linear-gradient(135deg,#e11d48 0%,#ea580c 100%);color:#fff;border-radius:20px;font-size:.72rem;font-weight:750;letter-spacing:.02em;box-shadow:0 3px 10px rgba(225,29,72,.35);overflow-wrap:anywhere}
.denti-store-variant-badge{position:absolute;z-index:2;top:.85rem;right:.85rem;padding:.2rem .6rem;background:#eef7f6;border:1px solid rgba(18,101,119,0.15);border-radius:20px;color:var(--denti-green);font-size:.7rem;font-weight:700;letter-spacing:.02em}

/* Placeholder for no image */
.denti-image-placeholder-box{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.4rem;color:#94a3b8}
.denti-placeholder-svg{color:#cbd5e1}
.denti-placeholder-text{font-size:.8rem;font-weight:600;color:#94a3b8;letter-spacing:.02em}

/* Card Body Content */
.denti-store-copy{display:flex;flex:1 1 auto;flex-direction:column;padding:1.2rem 1.25rem 1.25rem;gap:.5rem}
.denti-card-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-height:18px}
.denti-product-brand{font-size:.72rem;font-weight:800;color:var(--denti-green);text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.denti-product-sku{font-size:.72rem;font-family:monospace;color:#94a3b8}

.denti-store-copy .denti-product-title{margin:0;font-size:1.02rem;line-height:1.35;font-weight:650}
.denti-store-copy .denti-product-title a{color:#0f172a;text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em;transition:color .15s ease}
.denti-store-copy .denti-product-title a:hover{color:var(--denti-green)}

.denti-card-meta{display:flex;align-items:center;gap:.5rem;min-height:26px}
.denti-product-presentation-pill{display:inline-flex;align-items:center;gap:.35rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:.2rem .55rem;font-size:.78rem;color:#475569;font-weight:550}
.denti-product-presentation-pill svg{color:#64748b;flex-shrink:0}
.denti-product-promo-cond{display:inline-flex;align-items:center;background:#fff1f2;border:1px solid #fecdd3;color:#e11d48;font-size:.72rem;font-weight:600;padding:.15rem .5rem;border-radius:4px}

/* Footer Action */
.denti-card-footer{margin-top:auto;padding-top:.85rem;border-top:1px solid #f1f5f9;display:flex;flex-direction:column;gap:.65rem}
.denti-card-status{display:flex;align-items:center;gap:.45rem;font-size:.75rem;color:#64748b;font-weight:500}
.denti-status-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;display:inline-block;box-shadow:0 0 0 2px rgba(34,197,94,.2)}
.denti-card-footer>.denti-button{width:100%;min-height:44px;font-size:.9rem;font-weight:600;border-radius:8px;box-shadow:0 2px 4px rgba(18,101,119,.15);transition:all .18s ease}
.denti-card-footer>.denti-button:hover{box-shadow:0 4px 10px rgba(18,101,119,.28);transform:translateY(-1px)}
.denti-store-empty{margin-top:1rem;padding:1.5rem;border-radius:6px;background:var(--denti-soft)}
.denti-store-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:2rem}
.denti-store-pagination a,.denti-store-pagination span{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;padding:.5rem .75rem;border:1px solid var(--denti-green);border-radius:5px;text-decoration:none}
.denti-store-pagination .current{background:var(--denti-green);color:var(--denti-white)}
.denti-store-header .denti-navigation>a[aria-current]{text-decoration:underline;text-underline-offset:.35em}
.denti-store-footer{padding-block:2rem;background:var(--denti-soft)}
.denti-store-footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:2rem;font-size:.875rem}
.denti-store-footer-grid h2{margin:0 0 .75rem;font-size:1rem;line-height:1.3}
.denti-store-footer-grid ul{display:grid;gap:.65rem;margin:0;padding:0;list-style:none}
.denti-store-footer-grid li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.25rem .75rem}
.denti-store-footer-grid li>span:first-child{font-weight:650}
.denti-store-pending{color:var(--denti-muted);font-size:.8125rem}
.denti-store-footer-intro p{max-width:34ch;margin:.5rem 0 0;color:var(--denti-muted)}
.denti-brand-text{color:var(--denti-ink);font-size:1.125rem;font-weight:800;letter-spacing:-.02em;text-decoration:none}
.denti-brand-text span{color:var(--denti-green)}
.denti-store :focus-visible,.denti-store-footer a:focus-visible{outline:3px solid var(--denti-focus);outline-offset:3px}
@media(max-width:950px){.denti-store-heading{display:block}.denti-store-heading p{margin-top:.35rem}.denti-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.denti-store-footer-grid{grid-template-columns:1fr 1fr}.denti-store-footer-intro{grid-column:1/-1}}
@media(max-width:768px){.denti-search-bar{flex-wrap:wrap;gap:.65rem}.denti-search-input-wrap{flex:1 1 100%}.denti-specialty-select-wrap{flex:1 1 calc(60% - .35rem);min-width:0}.denti-search-submit-btn{flex:0 0 auto}.denti-filter-toggle-btn{flex:0 0 auto}}
@media(max-width:600px){.denti-store{padding-block:1rem 2rem}.denti-store-heading h1{font-size:1.8rem}.denti-search-bar{flex-wrap:wrap;gap:.5rem}.denti-search-input-wrap{flex:1 0 100%}.denti-specialty-select-wrap{flex:1 0 100%}.denti-search-submit-btn{flex:1 1 calc(50% - .25rem);justify-content:center}.denti-filter-toggle-btn{flex:1 1 calc(50% - .25rem);justify-content:center}.denti-store-toolbar{align-items:stretch;flex-wrap:wrap}.denti-store-count{width:100%;margin:0 0 .2rem}.denti-store-select{flex:1 1 calc(50% - .5rem);min-width:0}.denti-store-select select{width:100%;min-width:0}.denti-store-apply{flex:0 0 100%}.denti-store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.denti-store-card{border-radius:10px}.denti-store-media{height:165px;padding:.65rem}.denti-store-badge{display:none}.denti-store-variant-badge{top:.4rem;right:.4rem;font-size:.62rem;padding:.12rem .4rem}.denti-product-sku{display:none}.denti-card-header{min-height:14px}.denti-product-brand{font-size:.68rem}.denti-store-copy{padding:.75rem;gap:.35rem}.denti-store-copy .denti-product-title{font-size:.85rem;line-height:1.3;min-height:2.6em}.denti-product-presentation-pill{font-size:.7rem;padding:.15rem .4rem}.denti-card-footer{padding-top:.5rem;gap:.45rem}.denti-card-status{font-size:.68rem}.denti-status-dot{width:6px;height:6px}.denti-card-footer>.denti-button{min-height:36px;padding:.45rem .35rem;font-size:.75rem;border-radius:6px}.denti-store-footer-grid{grid-template-columns:1fr;gap:1.5rem}.denti-store-footer-intro{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.denti-store *{scroll-behavior:auto}}
