:root {
    --brand-green: #1a3c34;
    --brand-gold: #d4af37;
    --light-bg: #fdfbf7;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--brand-green);
    line-height: 1.1;
}

.price-tag {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    background: #23473c;
    color: #e2f49d;
    padding: 2px 15px;
    border-radius: 4px;
}

.badge-artisanal {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #e2f49d;
    padding: 5px 15px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
}

.btn-success-dark {
    background-color: var(--brand-green);
    color: white;
    border: none;
    border-radius: 30px;
    transition: 0.3s;
}

.btn-success-dark:hover {
    background-color: #0d211d;
    color: white;
}

.weight-btn {
    border-radius: 20px;
    padding: 5px 20px;
    font-size: 0.9rem;
}

.thumbnail-stack img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
}

.thumbnail-stack img.border-active {
    opacity: 1;
    border: 1px solid var(--brand-green);
}

.review-card {
    background: #f8f5f0;
    border-radius: 8px;
}

.avatar {
    width: 35px;
    height: 35px;
    background: #e2f49d;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: bold;
}

.story-box {
    background-color: var(--brand-green);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ls-wide {
    letter-spacing: 3px;
}
.thumb-image{
    cursor:pointer;
    border:2px solid transparent;
    transition:0.3s;
}

.thumb-image:hover{
    border-color:#0b3d2e;
}

.border-active{
    border:2px solid #0b3d2e !important;
}
/* ==============================
MAIN IMAGE
============================== */

.main-image-container img{

    height: 620px;

    width: 100%;

    object-fit: cover;

    border-radius: 12px;
}

/* ==============================
THUMBNAILS
============================== */

.thumbnail-stack img{

    width: 75px;

    height: 75px;

    object-fit: cover;

    border-radius: 8px;

    cursor: pointer;

    opacity: 0.7;

    transition: 0.3s;
}

.thumbnail-stack img:hover{

    opacity: 1;

    transform: scale(1.03);
}

.thumb-image{

    border: 2px solid transparent;
}

.border-active{

    border: 2px solid var(--brand-green) !important;

    opacity: 1 !important;
}

/* ==============================
PRICE ALIGNMENT
============================== */

.price-tag{

    display: inline-flex;

    align-items: center;

    justify-content: center;
}

/* ==============================
VARIANT BUTTONS
============================== */

.variant-btn{

    min-width: 90px;

    border-radius: 30px;

    transition: 0.3s;
}

.variant-btn.active{

    background-color: var(--brand-green);

    border-color: var(--brand-green);

    color: white;
}

.variant-btn:disabled{

    opacity: 0.5;

    cursor: not-allowed;
}

/* ==============================
ADD TO CART BUTTON
============================== */

.btn-success-dark:disabled{

    opacity: 0.6;

    cursor: not-allowed;
}

/* ==============================
STOCK STATUS
============================== */

#stock-status{

    font-size: 1.1rem;
}

/* ==============================
RESPONSIVE
============================== */

@media(max-width: 991px){

    .main-image-container img{

        height: 450px;
    }

    .product-title{

        font-size: 2rem;
    }
}
/* DESKTOP */

.thumbnail-stack{

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    width: 96px;
}

.thumbnail-stack img{

    width: 80px;

    height: 80px;
}

.main-image-container{

    flex: 1;
}


/* MOBILE */

@media(max-width:768px){

    .thumbnail-stack{

        flex-direction: row;

        width: 100%;

        margin-bottom: 15px;
    }

    .thumbnail-stack img{

        width: 60px;

        height: 60px;
    }
}
/* ==============================
IMAGE ZOOM
============================== */

/* ==============================
AMAZON STYLE IMAGE ZOOM
============================== */

.main-image-container{

    overflow: hidden;

    border-radius: 12px;

    position: relative;

    cursor: zoom-in;
}

.zoom-image{

    width: 100%;

    height: 620px;

    object-fit: cover;

    transition: transform 0.1s ease;
}
/* ==============================
STORY BOX
============================== */

.story-box{

    background-color: var(--brand-green);

    border-radius: 12px;

    height: 420px;

    overflow: hidden;

    padding: 40px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.story-box p{

    font-size: 1.2rem !important;

    line-height: 1.5;

    color: white;

    overflow: hidden;

    display: -webkit-box;

    line-clamp: 8;

    -webkit-line-clamp: 8;

    -webkit-box-orient: vertical;

    text-overflow: ellipsis;
}


/* CLOSE HERE ↑ */

@media(max-width:768px){

    .story-box{

        min-height: auto;

        max-height: none;
    }

.story-box .display-6{

    font-size: 1.5rem;

    line-clamp: 6;

    -webkit-line-clamp: 6;
}
}
.related-products-section{

    background: #f8f5ef;
}

.related-title{

    font-size: 52px;

    font-family: "Cormorant Garamond", serif;

    color: #143d35;

    font-weight: 500;
}

.related-card{

    background: white;

    border-radius: 12px;

    overflow: hidden;

    transition: 0.3s ease;

    height: 100%;

    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.related-card:hover{

    transform: translateY(-6px);
}

.related-image-wrapper{

    display: block;

    overflow: hidden;
}

.related-image{

    width: 100%;

    height: 320px;

    object-fit: cover;

    transition: 0.4s ease;
}

.related-card:hover .related-image{

    transform: scale(1.05);
}

.related-content{

    padding: 20px;
}

.related-product-title{

    font-size: 24px;

    color: #143d35;

    margin-bottom: 10px;

    font-family: "Cormorant Garamond", serif;
}

.related-description{

    color: #666;

    font-size: 14px;

    line-height: 1.7;

    min-height: 48px;
}

.related-price{

    color: #c8a96b;

    font-weight: 600;

    font-size: 20px;

    margin-top: 15px;
}
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: 0.2s;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ffc107;
}
.star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    font-size: 32px;
    color: #ddd;
    cursor: pointer;
    padding: 0 2px;
    transition: color 0.2s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #ffc107;
}