.product-detail {
    padding: 80px 0;
    background: #ffffff;
}

.product-detail__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.product-detail__gallery {
    position: sticky;
    top: 100px;
}

.product-detail__main-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.product-detail__main-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.product-detail__info {
    padding: 10px 0;
}

.product-detail__category {
    display: none; /* Hide old category display if using meta row */
}

.product-detail__title {
    font-size: 36px;
    font-weight: 800;
    color: #111111;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.product-detail__meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    color: #666;
    font-size: 15px;
    font-weight: 500;
}

.product-detail__meta .divider {
    color: #ddd;
}

.product-detail__meta .stars {
    color: #f3b21a;
    display: flex;
    gap: 4px;
    font-size: 14px;
}

.product-detail__status {
    margin-bottom: 25px;
}

.product-detail__status .status-label {
    color: #e04848;
    font-size: 24px;
    font-weight: 700;
}

.product-detail__excerpt {
    font-size: 16px;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 35px;
}

.product-detail__purchase {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.quantity-wrapper label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    color: #111;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    width: 36px;
    height: 36px;
    background: #f8f8f8;
    border: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
}

.qty-btn:hover {
    background: #eee;
}

.qty-input {
    width: 50px;
    height: 36px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    outline: none;
    background: #fff;
}

.button-group {
    display: flex;
    gap: 12px;
}

.btn-buy-now, .btn-add-cart {
    height: 52px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    transition: all 0.3s;
    flex: 1;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-buy-now {
    background: #f3b21a;
    color: #fff;
}

.btn-buy-now:hover {
    background: #250900;
    transform: translateY(-2px);
}

.btn-add-cart {
    background: #250900;
    color: #fff;
}

.btn-add-cart:hover {
    background: #f3b21a;
    transform: translateY(-2px);
}

.product-detail__cta {
    display: flex;
    gap: 20px;
}

.product-detail__button {
    flex: 1;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3b21a;
    color: #ffffff;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-detail__button:hover {
    background: #250900;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-detail__tabs {
    margin-top: 80px;
    border-top: 1px solid #eeeeee;
    padding-top: 60px;
}

.nav-tabs {
    border-bottom: 0;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.nav-tabs .nav-link {
    border: 0;
    background: none;
    font-size: 20px;
    font-weight: 700;
    color: #999999;
    padding: 0 0 10px;
    position: relative;
    text-transform: uppercase;
}

.nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #f3b21a;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-tabs .nav-link.active {
    color: #f3b21a;
    background: none;
}

.nav-tabs .nav-link.active::after {
    width: 100%;
}

.tab-content {
    font-size: 17px;
    line-height: 1.8;
    color: #444444;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.tab-content-wrapper {
    position: relative;
    max-height: 400px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.tab-content-wrapper.is-long::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #ffffff);
    pointer-events: none;
}

.read-more-wrapper {
    text-align: center;
    margin-top: 20px;
    display: none;
}

.tab-content-wrapper.is-long + .read-more-wrapper {
    display: block;
}

.btn-read-more {
    background: none;
    border: 1px solid #f3b21a;
    color: #f3b21a;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-read-more:hover {
    background: #f3b21a;
    color: #fff;
}

/* Modal Customization */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-header {
    border-bottom: 1px solid #eee;
    padding: 20px 30px;
}

.modal-title {
    font-weight: 800;
    color: #250900;
}

.modal-body {
    padding: 30px;
    font-size: 16px;
    line-height: 1.8;
}

.related-products {
    padding: 80px 0;
    background: #fcfcfc;
}

.related-title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.related-title h2 {
    margin: 0;
    color: #f3b21a;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
}

.related-title span {
    flex-grow: 1;
    height: 1px;
    background: #f3b21a;
    position: relative;
}

.related-title span::after {
    content: "";
    width: 6px;
    height: 6px;
    background: #f3b21a;
    border-radius: 50%;
    position: absolute;
    right: 0;
    top: -3px;
}

@media (max-width: 991.98px) {
    .product-detail__grid { grid-template-columns: 1fr; gap: 40px; }
    .product-detail__gallery { position: static; }
    .product-detail__title { font-size: 32px; }
    .nav-tabs { gap: 20px; }
    .nav-tabs .nav-link { font-size: 16px; }
}
