.nav-buy-now {
    padding: 10px 20px;
    font-size: 13px;
}

.footer-contact-link {
    color: var(--white);
    text-decoration: none;
}

.footer-contact-hours {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-address {
    color: var(--white);
    font-size: 13px;
    line-height: 1.5;
}

/* Shared product card used on the home page, product list and detail suggestions. */
.products-grid,
.list-grid,
.suggest-grid {
    display: grid;
    gap: 24px;
}

.products-grid,
.list-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.suggest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-showcase-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--white);
    color: inherit;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.product-showcase-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.product-showcase-card:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.product-showcase-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / .82;
    padding: 16px;
    background: var(--bg-gray);
}

.product-showcase-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-showcase-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #f0ad4e;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.product-showcase-badge.is-selling {
    background: var(--primary-color);
}

.product-showcase-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 18px;
}

.product-showcase-title {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--text-dark);
    font-size: 18px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-showcase-description {
    display: -webkit-box;
    min-height: 40px;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-showcase-features {
    display: grid;
    gap: 7px;
    min-height: 78px;
    margin: 0 0 16px;
    padding: 12px;
    border-radius: 12px;
    background: var(--bg-gray);
    list-style: none;
}

.product-showcase-features li {
    display: flex;
    gap: 8px;
    color: var(--text-dark);
    font-size: 12px;
    line-height: 1.35;
}

.product-showcase-features i {
    flex: 0 0 auto;
    margin-top: 1px;
    color: var(--primary-color);
}

.product-showcase-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
}

.product-showcase-list-price {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.35;
    text-decoration: line-through;
}

.product-showcase-current-price {
    color: var(--text-dark);
    font-size: 13px;
    line-height: 1.4;
}

.product-showcase-current-price strong {
    color: var(--primary-color);
    font-size: 20px;
    white-space: nowrap;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .products-grid,
    .list-grid,
    .suggest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .btn {
        min-height: 44px;
    }

    .modal-overlay {
        padding: 16px;
    }

    .modal-container {
        max-height: calc(100dvh - 32px);
        padding: 28px 20px;
    }

    .toast {
        right: 16px;
        bottom: 16px;
        left: 16px;
    }

    .products-grid,
    .list-grid,
    .suggest-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .product-showcase-image-wrap {
        aspect-ratio: 1 / .72;
        padding: 12px;
    }

    .product-showcase-body {
        padding: 16px;
    }

    .product-showcase-title {
        font-size: 17px;
    }

    .product-showcase-description {
        min-height: 0;
        margin-bottom: 12px;
        font-size: 12px;
    }

    .product-showcase-features {
        min-height: 0;
        margin-bottom: 14px;
        padding: 10px;
    }

    .product-showcase-current-price strong {
        font-size: 18px;
    }
}
