@import url("https://fonts.googleapis.com/css2?family=Anton&family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap");

.product-details-content{
    display: flex;
    align-items: center;
    gap: 60px;
}
.product-gallery{
    max-width: 500px;
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
}
.product-gallery img{
    width: 100%;
    height: auto;
}
.product-details-info{
    flex: 1;
}

.details-name{
    font-size: 48px;
    margin-bottom: 12px;
}
.details-size{
    font-size: 16px;
    margin-bottom: 16px;
}
.details-price{
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 24px;
}
.details-old-price{
    font-size: 18px;
    font-weight: 400;
    color: var(--p-color);
    margin-left: 5px;
}
.details-description{
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 24px;
}
.product-actions{
    display: flex;
    align-items: center;
    gap: 16px;
}
/* Style product quantity controls */
.product-quantity-controls{
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    overflow: hidden;
    background-color: var(--card-bg);
}

.product-quantity-controls button{
    width: 40px;
    height: 48px;
    border: none;
    background: transparent;
    color: var(--main-color);
    font-size: 22px;
}

.product-quantity-controls button:not(:disabled):hover{
    background-color: var(--bg-color);
}

.product-quantity-controls button:disabled{
    opacity: 0.35;
    cursor: not-allowed;
}

#product-quantity{
    width: 48px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--text-color);
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

#product-quantity::-webkit-inner-spin-button,
#product-quantity::-webkit-outer-spin-button{
    -webkit-appearance: none;
    margin: 0;
}
.add-to-cart{
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    background-color: var(--main-color);
    color: var(--white-color);
    transition: background-color 0.3s;
}
.add-to-cart:not(:disabled):hover{
    background-color: var(--button-hover-bg);
}
.details-extra{
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}
.details-extra h2{
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}
.details-benefits{
    margin-bottom: 24px;
    padding-left: 20px;
    color: var(--p-color);
}
.details-benefits li{
    margin-bottom: 8px;
}
.details-extra p{
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.8;
}
.details-includes{
    padding-left: 20px;
    margin-bottom: 24px;
    color: var(--p-color);
}
.details-includes li{
    margin-bottom: 8px;
}
/* Start Cart */
.cart-panel{
    position: fixed;
    inset: 0 0 0 auto;
    margin: 0;
    width: 420px;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    padding: 24px;
    border: none;
    background-color: var(--card-bg);
    color: var(--text-color);
    overflow-y: auto;
}
.cart-panel::backdrop{
    background-color: rgb(0 0 0 / 40%);
}
.cart-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.cart-header h2{
    font-size: 32px;
}
.cart-close{
    border: none;
    background: transparent;
    color: var(--main-color);
}
.cart-summary{
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
/* End Cart */