/* ============================================================
   NovaCELL Replica — Shop / Archive / Search Styles
   Matches source: hero → accordion → chips → trust → toolbar → 3-col grid
   ============================================================ */

.nc-shop {
    padding: 1.5rem 0 4rem;
}

/* ---- Breadcrumbs ---- */
.nc-breadcrumbs {
    font-size: 0.75rem;
    color: var(--nc-muted-foreground);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.nc-breadcrumbs a {
    color: var(--nc-muted-foreground);
    transition: color 0.15s;
}
.nc-breadcrumbs a:hover {
    color: var(--nc-gold);
}
.nc-breadcrumbs__sep {
    margin: 0 0.5rem;
    opacity: 0.5;
}
.nc-breadcrumbs__dash {
    color: var(--nc-gold);
}

/* ---- Hero Header ---- */
.nc-shop__header {
    margin-bottom: 1.75rem;
}
.nc-shop__header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.15;
}
@media (min-width: 768px) {
    .nc-shop__header h1 { font-size: 2.75rem; }
}
.nc-shop__subtitle {
    font-size: 1rem;
    color: var(--nc-muted-foreground);
    margin-top: 0.75rem;
    max-width: 640px;
    line-height: 1.6;
}
.nc-shop__description {
    max-width: 640px;
    font-size: 0.9375rem;
    color: var(--nc-muted-foreground);
    line-height: 1.65;
    margin-top: 0.75rem;
}

/* ---- Ordering Information Accordion ---- */
.nc-shop__ordering-info {
    margin-bottom: 1.5rem;
    max-width: 540px;
}
.nc-shop__ordering-info summary {
    cursor: pointer;
    list-style: none;
    padding: 0.875rem 1.25rem;
    border: 1px solid var(--nc-border);
    border-radius: var(--nc-radius);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--nc-foreground);
    transition: border-color 0.2s;
}
.nc-shop__ordering-info summary::-webkit-details-marker { display: none; }
.nc-shop__ordering-info summary:hover {
    border-color: var(--nc-gold);
}
.nc-shop__ordering-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nc-shop__ordering-info[open] summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.nc-shop__ordering-content {
    border: 1px solid var(--nc-border);
    border-top: none;
    border-radius: 0 0 var(--nc-radius) var(--nc-radius);
    padding: 1.25rem;
}
.nc-shop__ordering-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) {
    .nc-shop__ordering-grid { grid-template-columns: 1fr 1fr; }
}
.nc-shop__ordering-item strong {
    font-size: 0.8125rem;
    display: block;
    margin-bottom: 0.25rem;
}
.nc-shop__ordering-item p {
    font-size: 0.8125rem;
    color: var(--nc-muted-foreground);
    margin: 0;
    line-height: 1.5;
}

/* ---- Product Quick-Link Chips ---- */
.nc-shop__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}
.nc-shop__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid var(--nc-border);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--nc-foreground);
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}
.nc-shop__chip:hover {
    border-color: var(--nc-gold);
    color: var(--nc-gold);
}

/* ---- Trust Strip ---- */
.nc-shop__trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.25rem 0;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--nc-border);
    border-bottom: 1px solid var(--nc-border);
}
.nc-shop__trust-strip .nc-trust-badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--nc-muted-foreground);
}
.nc-shop__trust-strip .nc-trust-badge svg {
    width: 18px;
    height: 18px;
    color: var(--nc-gold);
    flex-shrink: 0;
}

/* ---- Toolbar ---- */
.nc-shop__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.nc-shop__count {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--nc-muted-foreground);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.nc-shop__sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nc-shop__sort-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--nc-muted-foreground);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}
.nc-select {
    appearance: none;
    background: var(--nc-card);
    border: 1px solid var(--nc-border);
    border-radius: var(--nc-radius);
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.8125rem;
    color: var(--nc-foreground);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.6rem center;
}

/* ---- Shop Grid — 3 columns on desktop like source ---- */
.nc-shop__grid {
    grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 640px) {
    .nc-shop__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .nc-shop__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Product Card (source-matching layout) ---- */
.nc-product-card {
    display: flex;
    flex-direction: column;
    background: var(--nc-card);
    border: 1px solid var(--nc-border);
    border-radius: var(--nc-radius);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.nc-product-card:hover {
    box-shadow: var(--nc-shadow-md);
    transform: translateY(-2px);
}
.nc-product-card__image {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: #1a1a1a;
}
.nc-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.nc-product-card:hover .nc-product-card__image img {
    transform: scale(1.03);
}
.nc-product-card__body {
    padding: 1rem 1.25rem 0.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.nc-product-card__cat {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border: 1px solid var(--nc-border);
    border-radius: var(--nc-radius);
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--nc-muted-foreground);
    width: fit-content;
    letter-spacing: 0.01em;
}
.nc-product-card__title {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
}
.nc-product-card__title a {
    color: var(--nc-foreground);
}
.nc-product-card__title a:hover {
    color: var(--nc-gold);
}
.nc-product-card__purity {
    display: inline-flex;
    align-items: center;
    padding: 0.1875rem 0.5rem;
    border: 1px solid var(--nc-gold);
    border-radius: var(--nc-radius);
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--nc-gold);
    width: fit-content;
}
.nc-product-card__desc {
    font-size: 0.8125rem;
    color: var(--nc-muted-foreground);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 0.125rem;
}
.nc-product-card__bundle {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #166534;
    background: #dcfce7;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    margin-top: 0.25rem;
    width: fit-content;
}
.nc-product-card__bundle svg {
    width: 14px;
    height: 14px;
    color: #166534;
    flex-shrink: 0;
}
.nc-product-card__footer {
    padding: 0.75rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
}
.nc-product-card__price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--nc-foreground);
}
.nc-product-card__from {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--nc-muted-foreground);
}
.nc-product-card__cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--nc-gradient-gold);
    color: var(--nc-primary-foreground);
    flex-shrink: 0;
    transition: opacity 0.2s;
}
.nc-product-card:hover .nc-product-card__cart-icon {
    opacity: 0.85;
}
.nc-product-card__footer--shop {
    flex-direction: column;
    gap: 0.75rem;
}
.nc-product-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--nc-radius);
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.nc-product-card__btn--outline {
    border: 1px solid var(--nc-border);
    color: var(--nc-foreground);
    background: transparent;
}
.nc-product-card__btn--outline:hover {
    border-color: var(--nc-gold);
    color: var(--nc-gold);
}
.nc-product-card__btn--filled {
    border: none;
    color: var(--nc-primary-foreground);
    background: var(--nc-gradient-gold);
}
.nc-product-card__btn--filled:hover {
    opacity: 0.9;
}
.nc-product-card__btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ---- Sale Badge ---- */
.nc-product-card__sale {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    background: #dc2626;
    padding: 0.1875rem 0.5rem;
    border-radius: 9999px;
    z-index: 1;
}

/* ---- Pagination ---- */
.nc-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}
.nc-pagination ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nc-pagination li {
    display: inline-flex;
}
.nc-pagination li a,
.nc-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    font-size: 0.875rem;
    border-radius: var(--nc-radius);
    border: 1px solid var(--nc-border);
    color: var(--nc-foreground);
    background: var(--nc-card);
    transition: border-color 0.15s, background 0.15s;
}
.nc-pagination li a:hover {
    border-color: var(--nc-gold);
    color: var(--nc-gold);
}
.nc-pagination li span.current {
    background: var(--nc-gradient-gold);
    color: var(--nc-primary-foreground);
    border-color: transparent;
    font-weight: 600;
}

/* ---- Empty State ---- */
.nc-shop__empty {
    text-align: center;
    padding: 4rem 1rem;
}
.nc-shop__empty h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.nc-shop__empty p {
    color: var(--nc-muted-foreground);
}
.nc-shop__empty a {
    color: var(--nc-gold);
    font-weight: 500;
}

/* ---- SEO Content Zone ---- */
.nc-shop__seo-content {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--nc-border);
}
.nc-shop__seo-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.nc-shop__seo-content p {
    font-size: 0.9375rem;
    color: var(--nc-muted-foreground);
    line-height: 1.65;
}
