.shop-content {
    padding-top: 80px;
    padding-bottom: 100px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

/* Elegant, clean card with a subtle border and warm premium shadow */
.product-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #FAF6F0; /* Soft luxury warm border */
    box-shadow: 0 10px 30px rgba(26, 16, 10, 0.035);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 146, 42, 0.25);
    box-shadow: 0 22px 45px rgba(26, 16, 10, 0.08);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Padded container with flex-centering handles any uploaded image dimensions gracefully */
.product-img-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 280px;
    background-color: #FAF8F5; /* Premium soft champagne off-white */
    padding: 0; /* remove inner breathing so image can be full-bleed */
    display: block;
    transition: background-color 0.4s ease;
    border-bottom: 1px solid #FAF6F0;
}

.product-card:hover .product-img-wrapper {
    background-color: #FDFDFB; /* Elegant bright highlight transition */
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fill the entire card area */
    object-position: center center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05); /* Sophisticated hover zoom */
}

/* Breathable editorial paddings */
.product-info {
    padding: 26px 26px 12px 26px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: flex-start;
}

/* Medium-weight, elegant capitalized styling (soft and luxury-oriented, not too bold!) */
.product-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.02rem;
    font-weight: 500; /* Sophisticated medium weight, NOT too bold */
    line-height: 1.45;
    color: var(--text-dark);
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.9em; /* Rigid block height keeps title rows aligned */
}

.product-desc {
    font-size: 0.86rem;
    color: var(--text-mid);
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.8em; /* Strict block height keeps descriptions aligned */
}

/* Price & Button Action Row */
.product-actions {
    padding: 12px 26px 26px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #FAF6F0; /* Soft divider line */
}

/* Elegant gold price lettering */
.product-price {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--gold);
    margin: 0;
    flex: 1;
    letter-spacing: -0.01em;
}

/* Exquisite gold outline button replicating the screenshot perfectly */
.product-actions .btn-outline-dark {
    border: 1.5px solid var(--gold) !important;
    color: var(--gold) !important;
    background: transparent !important;
    border-radius: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 20px;
    min-width: auto;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1.2;
}

.product-actions .btn-outline-dark:hover {
    background-color: var(--gold) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(200, 146, 42, 0.2);
}

/* Responsive Grid Adjustments */
@media (max-width: 1100px) {
    .shop-content {
        padding-top: 60px;
        padding-bottom: 80px;
    }
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .product-img-wrapper {
        height: 240px;
        padding: 0;
    }
}

@media (max-width: 720px) {
    .shop-content {
        padding-top: 40px;
        padding-bottom: 60px;
    }
    .shop-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .product-img-wrapper {
        height: 220px;
    }
    .product-info {
        padding: 20px 20px 10px 20px;
    }
    .product-actions {
        padding: 12px 20px 20px 20px;
        flex-direction: row;
        align-items: center;
    }
    .product-actions .btn-outline-dark {
        padding: 10px 16px;
    }
}

