/* Product Layout New Styles */

/* Video Responsive */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Countdown Timer */
.product-countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.countdown-item {
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 10px;
    min-width: 60px;
    text-align: center;
}

.countdown-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.countdown-text {
    font-size: 12px;
    color: #666;
}

/* Product Horizontal Style */
.product-details-img.product-horizontal-style {
    position: relative;
}

.zoompro-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.zoompro-span {
    display: block;
    text-align: center;
}

.zoompro {
    max-width: 100%;
    height: auto;
}

.product-labels {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1;
}

.product-labels .lbl {
    display: inline-block;
    margin-right: 5px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
}

.product-labels .pr-label1 {
    background-color: #00a1ff;
    color: #fff;
}

.product-labels .pr-label2 {
    background-color: #7f28c4;
    color: #fff;
}

.product-labels .on-sale {
    background-color: #ff4e00;
    color: #fff;
}

.product-buttons {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-buttons .btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    transition: all 0.3s ease;
}

.product-buttons .btn:hover {
    background-color: var(--primary);
    color: #fff;
}

.product-thumb-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.product-thumb-horizontal a {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.product-thumb-horizontal a.active,
.product-thumb-horizontal a:hover {
    opacity: 1;
    border-color: var(--primary);
}

.product-thumb-horizontal a img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* Product Details */
.product-main-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-review {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviewStar i {
    color: #ffc107;
    font-size: 16px;
}

.reviewLink {
    margin-left: 15px;
    color: var(--primary);
    text-decoration: underline;
}

.product-info p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.product-info .text {
    margin-left: 5px;
    font-weight: 500;
}

.stockLbl {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 5px;
}

.stockLbl.instock {
    background-color: #e8f5e9;
    color: #388e3c;
}

.stockLbl.outstock {
    background-color: #ffebee;
    color: #d32f2f;
}

.product-price {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.sort-description {
    margin: 15px 0;
    line-height: 1.6;
}

/* Product Swatches */
.product-swatches-option {
    margin-top: 20px;
}

.product-item {
    margin-bottom: 20px;
}

.product-item .label {
    margin-bottom: 10px;
    font-weight: 600;
}

.variants-clr {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.variants-clr .swatch {
    position: relative;
}

.variants-clr .swatch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.variants-clr .swatch label {
    display: block;
    cursor: pointer;
    margin: 0;
}

.variants-clr .swatch label span {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
}

.variants-clr .swatch.active label span,
.variants-clr .swatch input:checked + label span {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--primary);
}

.variants-size {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.variants-size .swatch {
    position: relative;
}

.variants-size .swatch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.variants-size .swatch label {
    display: block;
    cursor: pointer;
    margin: 0;
}

.variants-size .swatch .swatchLbl {
    display: block;
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 3px;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    font-size: 14px;
    transition: all 0.3s ease;
}

.variants-size .swatch.active .swatchLbl,
.variants-size .swatch input:checked + label .swatchLbl {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Product Action */
.product-action {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.product-form-quantity {
    display: flex;
    align-items: center;
}

.qtyField {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 3px;
    overflow: hidden;
}

.qtyField button {
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.qtyField input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.product-form-submit {
    margin-left: 15px;
}

.product-form-cart-submit,
.proceed-to-checkout {
    height: 40px;
    padding: 0 20px;
    font-weight: 600;
}

/* Product Info Links */
.infolinks {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.infolinks a {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
}

.infolinks a:hover {
    color: var(--primary);
}

.infolinks a i {
    margin-right: 5px;
}

/* Feature Text */
.featureText {
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.featureText i {
    margin-right: 10px;
    font-size: 18px;
    color: var(--primary);
}

/* Social Sharing */
.social-sharing {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.sharing-lbl {
    margin-right: 15px;
}

.btn--share {
    margin-right: 10px;
    color: #666;
    transition: all 0.3s ease;
}

.btn--share:hover {
    color: var(--primary);
}

.share-title {
    display: none;
}

/* Product Tabs */
.tabs-listing {
    margin-top: 40px;
}

.product-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

.product-tabs li {
    margin: 0 15px;
}

.product-tabs li a {
    display: block;
    padding: 10px 0;
    font-weight: 600;
    color: #666;
    position: relative;
    cursor: pointer;
}

.product-tabs li.active a {
    color: var(--primary);
}

.product-tabs li.active a:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.tabs-ac-style {
    padding: 15px;
    background-color: #f5f5f5;
    margin-bottom: 15px;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
}

.tabs-ac-style:after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.tab-content {
    padding: 20px 0;
}

.checkmark-info {
    padding-left: 20px;
    list-style: none;
}

.checkmark-info li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.checkmark-info li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
}
