/* Decor Product v2.1.4 – optimized */
.section.decor-show-section{padding:22px 0 4px;}
.decor-container{max-width:1240px;margin:0 auto;padding:0 12px;}
.decor-header{display:flex;align-items:center;gap:14px;margin-bottom:10px;}
.decor-title{font-size:36px;line-height:1.15;font-weight:700;margin:0;white-space:nowrap;}
.decor-divider{flex:1;border-top:1px solid #e9ecef;height:0;}
.decor-viewall{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;color:#a21212;font-weight:700;text-decoration:none;white-space:nowrap;}
.decor-viewall::after{content:' \2192';margin-left:8px;}
.decor-viewall.desktop{display:inline-flex;}
.decor-mobile-viewall{display:none;text-align:center;margin-top:12px;}

/* subcats (scroll + drag via JS) */
.decor-subcats{display:flex;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;gap:18px;padding:2px 0 6px;margin:0;cursor:grab;}
.decor-subcats.dragging{cursor:grabbing;user-select:none;}
.decor-subcats::-webkit-scrollbar{display:none;}
.decor-subcat{position:relative;flex:0 0 auto;font-size:14px;font-weight:700;color:#111;text-decoration:none;white-space:nowrap;padding:0 2px;}
.decor-subcat + .decor-subcat{padding-left:18px;}
.decor-subcat + .decor-subcat::before{content:'';position:absolute;left:0;top:50%;width:1px;height:16px;background:#dedede;transform:translateY(-50%);}

/* grid */
.decor-grid{display:grid;gap:28px;grid-template-columns:repeat(5,minmax(0,1fr));}
@media (max-width:1200px){.decor-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:768px){.decor-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
.decor-card{background:#fff;border-radius:12px;padding:4px 4px 10px;transition:box-shadow .2s,transform .2s; text-align:center;}
.decor-card:hover{box-shadow:0 10px 28px rgba(0,0,0,.06);transform:translateY(-2px);}
.decor-thumb-wrap{position:relative;display:block;aspect-ratio:1/1;background:#fff;border:1px solid #ececec;border-radius:8px;overflow:hidden;}
.decor-thumb{width:100%;height:100%;object-fit:contain;transition:opacity .25s ease;}

/* overlay excerpt on hover (desktop hover-capable only) */
@media (hover:hover){
  .decor-thumb-wrap .decor-overlay{position:absolute;inset:0;background:rgba(255,255,255,.92);opacity:0;transition:opacity .25s ease;display:flex;align-items:flex-end;}
  .decor-thumb-wrap:hover .decor-overlay{opacity:1;}
  .decor-thumb-wrap:hover .decor-thumb{opacity:.7;}
}
.decor-overlay-inner{padding:12px 12px 10px;font-size:14px;line-height:1.4;color:#111;text-align:left;}

/* name + price */
.decor-name{font-size:15px;font-weight:400;line-height:1.35;margin:8px 10px 4px;min-height:auto;}
.decor-name a{color:#111;text-decoration:none;}
.decor-price{font-size:13px;color:#d11;font-weight:500;margin-bottom:6px;}

/* rating */
.decor-rating .star-rating{float:none;margin:0 auto;}

@media (max-width:768px){
  .decor-header .decor-viewall.desktop{display:none;}
  .decor-mobile-viewall{display:block;}
}
