/* nd-home.shared.css: built by redesign/speed-1205/tools/css_shared.py from nd-home.css (rules of the other page kinds). Do not edit: change nd-home.css and run the script again. */
.nd .nd-h2{margin: 0; font: 800 26px/1.2 var(--nd-font-h); color: var(--nd-text);}
.nd .nd-h3{margin: 0 0 12px; font: 800 20px/1.25 var(--nd-font-h);}
.nd .nd-sec-head{display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px;}
.nd .nd-more{display: inline-flex; align-items: center; gap: 4px; min-height: 32px; font-weight: 600; color: var(--nd-navy);}
.nd .nd-more::after{content: "→";}
.nd .nd-cards{list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px;}
.nd .nd-card{position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px; background: #fff; border: 1px solid var(--nd-line); border-radius: var(--nd-r-lg); transition: box-shadow .2s, border-color .2s; min-width: 0;}
.nd .nd-card:hover{border-color: var(--nd-green-sign); box-shadow: 0 16px 28px rgba(16, 34, 58, .14);}
.nd .nd-card__img{display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: var(--nd-r); background: #fff; overflow: hidden;}
.nd .nd-card__img img{width: 100%; height: 100%; object-fit: contain; display: block;}
.nd .nd-card .nd-badge{position: absolute; left: 22px; top: 22px;}
.nd .nd-card__name{color: var(--nd-text); font-size: 14px; line-height: 1.4; font-weight: 500; min-height: calc(2 * 1.4em); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-decoration: none;}
.nd .nd-card__name:hover{color: var(--nd-navy); text-decoration: underline;}
.nd .nd-rate{display: inline-flex; align-items: center; gap: 4px; min-height: 20px; color: var(--nd-text-2); font-size: 13px; text-decoration: none;}
.nd .nd-rate b{color: var(--nd-text); font-weight: 600;}
.nd .nd-stock{display: inline-flex; align-items: center; gap: 6px; font: 600 13px var(--nd-font); color: #1a7034;}
.nd .nd-stock::before{content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--nd-green);}
.nd .nd-card__buy{margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;}
.nd .nd-price{display: flex; flex-direction: column; min-width: 0;}
.nd .nd-price s{font-size: 13px; color: var(--nd-text-2);}
.nd .nd-price__now{font: 800 21px/1.15 var(--nd-font-h); color: var(--nd-text); white-space: nowrap;}
.nd .nd-price__now--sale{color: var(--nd-red);}
.nd .nd-btn{display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--nd-r); font: 600 15px var(--nd-font); text-decoration: none !important; cursor: pointer; white-space: nowrap;}
.nd .nd-btn--buy{background: var(--nd-green); color: #fff !important;}
.nd .nd-btn--buy:hover{background: #18692f;}
.nd .nd-badge{display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; font: 700 12px var(--nd-font); white-space: nowrap;}
.nd .nd-badge--sale{min-width: 44px; height: 26px; justify-content: center; border-radius: 13px; background: var(--nd-sale); color: #fff; font: 800 14px var(--nd-font-h);}
.nd .nd-tab{flex: none; min-height: 44px; padding: 0 16px; border: 1px solid var(--nd-line); border-radius: var(--nd-r-sm); background: #fff; color: var(--nd-text); font: 500 14px var(--nd-font);}
.nd .nd-tab::first-letter{text-transform: uppercase;}
.nd .nd-tab[aria-selected="true"]{background: var(--nd-navy); border-color: var(--nd-navy); color: #fff; font-weight: 600;}
@media (max-width: 1023px){.nd .nd-h2, .nd .nd-home h2.mp-title{font-size: 20px !important;}}
@media (max-width: 639px){.nd .nd-card{padding: 10px; gap: 6px; border-radius: 14px;}
.nd .nd-card__name{font-size: 13px; min-height: calc(3 * 1.4em); -webkit-line-clamp: 3;}
.nd .nd-card .nd-badge{left: 16px; top: 16px;}
.nd .nd-card__buy{flex-direction: column; align-items: stretch;}
.nd .nd-price__now{font-size: 18px;}}
.nd .nd-row-nav{position: absolute; top: calc(50% + 14px); z-index: 2; width: 44px; height: 44px; border: 1px solid var(--nd-line); border-radius: 50%; background: #fff; color: var(--nd-text); box-shadow: 0 6px 16px rgba(16, 34, 58, .16); display: flex; align-items: center; justify-content: center;}
.nd .nd-row-nav[disabled]{opacity: 0; pointer-events: none;}
.nd .nd-row-nav--prev{left: -18px;}
.nd .nd-row-nav--next{right: -18px;}
@media (max-width: 1023px){.nd .nd-row-nav{display: none;}}
