.product-details-layout-5 {
    padding: 0px 20px;
    min-height: 100vh;
}

.product-detail-container {
    display: grid;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.gallery-section .image-gallery {
    background: #333;
    border-radius: 8px;
    padding: 20px;
}

.info-section {
    display: flex;
    align-items: flex-start;
}

.info-content {
    width: 100%;
}

.brand-name {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 15px;
}

.brand-name a {
    color: #999;
    text-decoration: none;
}

.product-name {
    font-size: 2.15em;
    font-weight: 400;
    letter-spacing: .15em;
    line-height: 1.2;
    text-transform: uppercase;
    color: inherit;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: inherit;
}

.rating-section .rating {
    display: flex;
    gap: 3px;
}

.rating-section .rating img {
    height: 16px;
}

.price-section {
    margin-bottom: 10px;
}

.price-display {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.original-price {
    font-size: 14px;
    color: #999;
}

.original-price del {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
}

.current-price {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.save-amount {
    font-size: 13px;
    color: #ff6b6b;
}

/* Text-based Price Structure Styles */
.price-display-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.original-price-text {
    color: inherit;
    font-size: 16px;
    font-weight: 400;
    text-decoration: line-through;
    opacity: 0.7;
}

.current-price-text {
    color: inherit;
    font-size: 1.5rem;
    font-weight: 700;
}

.save-amount-text {
    color: #ff4444;
    font-size: 16px;
    font-weight: 600;
}

.unit-price-info {
    margin-top: 5px;
    opacity: 0.8;
}

.unit-price-display {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #ccc;
}

.unit-label {
    color: #999;
}

.unit-current {
    color: #fff;
    font-weight: 600;
}

.unit-original {
    color: #999;
    text-decoration: line-through;
}

.shipping-text-simple {
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    display: inline-block;
    letter-spacing: .06em;
    font-weight: 500;
    line-height: 1.4;
    color: inherit;
    opacity: 0.8;
}


.short-description {
    font-size: 14px;
    line-height: 1.8;
    color: inherit;
    margin-bottom: 30px;
    max-width: 90%;
    opacity: 0.85;
}

.short-description p {
    color: inherit !important;
}

.attribute-group {
    margin-bottom: 10px;
}

.attribute-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    color: inherit;
}

.color-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.color-option {
    position: relative;
    cursor: pointer;
}

.color-option input[type="radio"] {
    display: none;
}

.color-box {
    display: none;
}

.color-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    min-width: 60px;
    height: 38px;
    border: 1px solid #555;
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.color-option input[type="radio"]:checked + .color-circle {
    border-color: #fff;
    box-shadow: 0 0 0 2px #fff;
    transform: scale(1.05);
}

.color-option:hover .color-circle {
    border-color: #ccc;
    transform: scale(1.02);
}

.color-name {
    display: block;
    background: transparent;
    border: 1px solid #555;
    color: inherit;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    text-transform: capitalize;
    border-radius: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 60px;
    text-align: center;
}

.color-option input[type="radio"]:checked~.color-name {
    border-color: #fff;
    color: #fff;
}

.color-option:hover .color-name {
    border-color: #ccc;
}

.option-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.option-btn {
    position: relative;
    cursor: pointer;
}

.option-btn input[type="radio"] {
    display: none;
}

.option-btn span {
    display: block;
    padding: 8px 16px;
    border: 2px solid #555;
    background: transparent;
    color: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.option-btn input[type="radio"]:checked+span {
    border-color: #fff;
}

.option-btn:hover span {
    border-color: #fff;
}

.stock-status {
    margin-bottom: 25px;
}

.details5-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.details5-badge-in-stock {
    background: #28a745;
    color: #fff;
}

.details5-badge-warning {
    background: #ffc107;
    color: #000;
}

.details5-badge-danger {
    background: #dc3545;
    color: #fff;
}

.quantity-section {
    margin-bottom: 25px;
}

.quantity-box {
    display: inline-flex;
    align-items: center;
    border: 2px solid;
    border-color: currentColor;
    overflow: hidden;
    transition: all 0.3s ease;
    background: transparent;
    opacity: 0.6;
}


.ubxBtn.ubxBtn-light {
    border: 1px solid #fff;
    line-height: 1.42;
    text-align: center;
    /* white-space: normal; */
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    /* letter-spacing: .3em; */
    padding: 13px 20px;
}

.details5-letter-spacing-3 {
    letter-spacing: .3em;
    white-space: normal;
}

.ubxBtn.ubxBtn-dark {
    line-height: 1.42;
    text-align: center;
    white-space: normal;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    /* letter-spacing: .3em; */
    padding: 15px 20px;
}

.quantity-box:hover {
    border-color: currentColor;
    opacity: 1;
}

.btn-qty {
    width: 35px;
    height: 35px;
    background: transparent;
    border: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.btn-qty:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-qty:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: transparent;
}

.btn-qty:disabled:hover {
    background: transparent;
}

.input-qty {
    width: 35px;
    height: 35px;
    text-align: center;
    background: transparent;
    border: none;
    color: inherit;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.input-qty::-webkit-outer-spin-button,
.input-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;

}

.btn-add-to-cart {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.btn-add-to-cart:hover {
    background: #fff;
    color: #000;
}

.btn-buy-now {
    background: #cc0000;
    color: #fff;
    border: 1px solid #cc0000;
}

.btn-buy-now:hover {
    background: #990000;
    border-color: #990000;
}

.additional-actions {
    display: flex;
    gap: 15px;
    padding-bottom: 30px;
    /* border-bottom: 1px solid #333; */
}

.action-icon {
    background: transparent;
    border: 2px solid;
    border-color: currentColor;
    color: inherit;
    width: 35px;
    height: 35px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    opacity: 0.6;
}

.action-icon:hover {
    border-color: currentColor;
    background: rgba(0, 0, 0, 0.1);
    opacity: 1;
}

/* Description Section */
.description-container {
    max-width: 1400px;
    margin: 0 auto;
    color: inherit;
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.85;
}

.description-container p {
    margin-bottom: 20px;
    text-align: justify;
}

.description-container img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
}

.description-container h1,
.description-container h2,
.description-container h3,
.description-container h4,
.description-container h5,
.description-container h6 {
    color: inherit;
    margin: 30px 0 15px 0;
    font-weight: 700;
}

.description-container ul,
.description-container ol {
    margin: 20px 0 20px 20px;
    color: inherit;
    opacity: 0.85;
}

.description-container li {
    margin-bottom: 10px;
}

@media (max-width: 1024px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-section {
        position: static;
    }

    .product-name {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .product-details-layout-5 {
        padding: 20px 15px;
    }

    .product-name {
        font-size: 28px;
    }

    .current-price {
        font-size: 28px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .description-section-full {
        padding: 40px 15px;
        margin-top: 40px;
    }

    .description-container {
        font-size: 14px;
    }
}
