/**
 * Single Product Page Styles
 * Custom styling for VerdenoGarden WooCommerce single product pages
 * 
 * @version 1.0.0
 */

/* ========================================
   BREADCRUMB SECTION - UPDATED DESIGN
======================================== */
.product-breadcrumb {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%) !important;
    border-bottom: 2px solid rgba(76, 175, 80, 0.1);
}

.crumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.crumb li {
    color: #666;
    font-size: 14px;
    position: relative;
}

.crumb li:not(:last-child):after {
    content: '/';
    margin: 0 10px;
    color: #999;
}

.crumb li a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.crumb li a i {
    margin-right: 5px;
    font-size: 12px;
}

.crumb li a:hover {
    color: #4CAF50;
}

.crumb li.active {
    color: #2E7D32;
    font-weight: 600;
}

.badge-sale,
.badge-featured {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-left: 10px;
}

.badge-sale {
    background: linear-gradient(135deg, #ff5252 0%, #e91e63 100%);
    color: white;
    animation: pulse-red 2s infinite;
}

.badge-featured {
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    color: #333;
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(233, 30, 99, 0); }
    100% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0); }
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

/* ========================================
   PRODUCT GALLERY
======================================== */
.product-gallery-container {
    position: relative;
}

.product-main-gallery {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-main-gallery .item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    cursor: zoom-in;
}

.product-main-gallery img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.product-thumb-gallery {
    display: flex;
    gap: 10px;
}

.product-thumb-gallery .item {
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.product-thumb-gallery .item:hover {
    border-color: #2D7B2C;
}

.product-thumb-gallery .item.active {
    border-color: #2D7B2C;
    box-shadow: 0 2px 8px rgba(45, 123, 44, 0.2);
}

.product-thumb-gallery img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

/* Owl Carousel Custom Navigation */
.product-main-gallery .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}

.product-main-gallery .owl-nav button {
    position: absolute;
    background: rgba(255, 255, 255, 0.9) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-main-gallery .owl-nav button:hover {
    background: #2D7B2C !important;
    color: white;
}

.product-main-gallery .owl-prev {
    left: 20px;
}

.product-main-gallery .owl-next {
    right: 20px;
}

/* ========================================
   PRODUCT INFORMATION
======================================== */
.product-title {
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-short-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.product-short-description p {
    margin-bottom: 15px;
}

/* Rating */
.de-rating-ext {
    display: flex;
    align-items: center;
    gap: 10px;
}

.d-stars {
    color: #ffc107;
}

.d-stars i {
    margin-right: 2px;
    font-size: 16px;
}

.rating-value {
    font-weight: 600;
    color: #333;
}

.review-count {
    color: #666;
    font-size: 14px;
}

/* Price */
.product-price-wrapper {
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.line-through {
    text-decoration: line-through;
}

.op-5 {
    opacity: 0.5;
}

.text-primary {
    color: #2D7B2C !important;
}

.bg-color-2 {
    background: #dc3545;
}

.rounded-20px {
    border-radius: 20px;
}

/* ========================================
   PRODUCT OPTIONS
======================================== */
.group.radio__button {
    margin-bottom: 25px;
}

.group.radio__button h5 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.group.radio__button input[type="radio"] {
    display: none;
}

.group.radio__button label {
    display: inline-block;
    padding: 10px 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.group.radio__button label:hover {
    border-color: #2D7B2C;
    background: rgba(45, 123, 44, 0.05);
}

.group.radio__button input[type="radio"]:checked + label {
    background: #2D7B2C;
    color: white;
    border-color: #2D7B2C;
}

/* Quantity Selector */
.de-number {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    width: 150px !important;
    height: 40px !important;
    background: #fff;
}

.de-number span {
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8f9fa;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #666;
    border: none;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
}

.de-number span.d-minus,
.de-number .quantity-minus {
    border-right: 1px solid #e9ecef;
}

.de-number span.d-plus,
.de-number .quantity-plus {
    border-left: 1px solid #e9ecef;
}

.de-number span:hover {
    background: #2D7B2C;
    color: white;
}

.de-number input,
.de-number .quantity-input {
    width: 70px !important;
    height: 40px !important;
    display: inline-block !important;
    text-align: center !important;
    border: none !important;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background: transparent;
    padding: 0;
    margin: 0;
    -moz-appearance: textfield;
    flex-shrink: 0;
}

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

.no-border {
    border: none !important;
}

.no-bg {
    background: transparent !important;
}

/* ========================================
   BUTTONS
======================================== */
.btn-main {
    display: inline-block;
    padding: 14px 35px;
    background: #2D7B2C;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-main:hover {
    background: #145714;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(45, 123, 44, 0.3);
}

.btn-main.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 35px;
    background: transparent;
    color: #2D7B2C;
    border: 2px solid #2D7B2C;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #2D7B2C;
    color: white;
}

/* Stock Status */
.stock-status {
    font-size: 14px;
    font-weight: 500;
}

.stock-status.in-stock {
    color: #28a745;
}

.stock-status.out-of-stock {
    color: #dc3545;
}

.stock-status i {
    margin-right: 5px;
}

/* ========================================
   PRODUCT META
======================================== */
.product-meta {
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.meta-item {
    margin-bottom: 10px;
    font-size: 14px;
}

.meta-label {
    font-weight: 600;
    color: #333;
    margin-right: 10px;
}

.meta-value {
    color: #666;
}

.meta-value a {
    color: #2D7B2C;
    text-decoration: none;
}

.meta-value a:hover {
    text-decoration: underline;
}

/* ========================================
   PRODUCT SHARE
======================================== */
.product-share {
    padding-top: 20px;
}

.product-share h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    color: #666;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: #2D7B2C;
    color: white;
    transform: translateY(-3px);
}

/* ========================================
   PRODUCT TABS
======================================== */
.product-tabs {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 30px;
}

.product-tabs .nav-item {
    margin-right: 30px;
}

.product-tabs .nav-link {
    color: #666;
    font-weight: 600;
    font-size: 16px;
    padding: 15px 0;
    border: none;
    border-bottom: 3px solid transparent;
    background: none;
    transition: all 0.3s ease;
}

.product-tabs .nav-link:hover {
    color: #2D7B2C;
}

.product-tabs .nav-link.active {
    color: #2D7B2C;
    border-bottom-color: #2D7B2C;
}

.product-tab-content {
    padding: 30px 0;
}

.product-description {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

.product-description h2,
.product-description h3,
.product-description h4 {
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
}

.product-description ul,
.product-description ol {
    margin: 20px 0;
    padding-left: 30px;
}

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

/* Product Attributes Table */
.product-attributes {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.attribute-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.attribute-row:last-child {
    border-bottom: none;
}

.attribute-label {
    font-weight: 600;
    color: #333;
    width: 150px;
    margin-right: 20px;
}

.attribute-value {
    color: #666;
    flex: 1;
}

/* Care Instructions */
.care-instructions {
    background: #f0f8f0;
    border-left: 4px solid #2D7B2C;
    padding: 20px;
    border-radius: 8px;
}

.care-instructions h3 {
    color: #2D7B2C;
    margin-bottom: 15px;
}

.care-instructions ul {
    list-style: none;
    padding: 0;
}

.care-instructions li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: #666;
}

.care-instructions li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2D7B2C;
    font-weight: bold;
}

/* ========================================
   REVIEWS SECTION
======================================== */
.product-reviews {
    padding: 20px 0;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    border-bottom: 1px solid #e9ecef;
    padding: 20px 0;
}

.comment:last-child {
    border-bottom: none;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.comment-author-name {
    font-weight: 600;
    color: #333;
    margin-right: 10px;
}

.comment-date {
    color: #999;
    font-size: 14px;
}

.comment-rating {
    margin-bottom: 10px;
}

.comment-text {
    color: #666;
    line-height: 1.6;
}

/* Review Form */
.comment-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.comment-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #2D7B2C;
    box-shadow: 0 0 0 3px rgba(45, 123, 44, 0.1);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* ========================================
   RELATED PRODUCTS
======================================== */
.bg-light {
    background: #f8f9fa;
}

.de__pcard {
    background: white;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.de__pcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.atr__images {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
}

.atr__promo {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc3545;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.atr__image-main {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.de__pcard:hover .atr__image-main {
    transform: scale(1.05);
}

.atr__extra-menu {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.de__pcard:hover .atr__extra-menu {
    opacity: 1;
}

.atr__extra-menu > * {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.atr__extra-menu > *:hover {
    background: #2D7B2C;
    color: white;
    transform: scale(1.1);
}

.de__pcard h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0;
}

.de__pcard h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.de__pcard h3 a:hover {
    color: #2D7B2C;
}

.atr__main-price {
    font-size: 20px;
    font-weight: 700;
    color: #2D7B2C;
}

.atr__main-price del {
    color: #999;
    font-size: 16px;
    margin-right: 10px;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 991px) {
    .product-main-gallery .item {
        min-height: 400px;
    }
    
    .product-title {
        font-size: 28px;
    }
    
    .product-tabs .nav-item {
        margin-right: 20px;
    }
}

@media (max-width: 767px) {
    .product-main-gallery .item {
        min-height: 300px;
    }
    
    .product-thumb-gallery {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
    
    .group.radio__button label {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .btn-main,
    .btn-secondary {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .product-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .product-tabs .nav-item {
        margin-right: 15px;
    }
    
    .product-tabs .nav-link {
        font-size: 14px;
        padding: 12px 0;
    }
    
    .attribute-label {
        width: 120px;
    }
}

@media (max-width: 575px) {
    .crumb {
        font-size: 12px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .de-number {
        transform: scale(0.9);
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Product Notifications */
.product-notification {
    position: fixed;
    top: 100px;
    right: -400px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    z-index: 10000;
    transition: right 0.3s ease;
}

.product-notification.show {
    right: 20px;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-left: 4px solid;
}

.notification-success .notification-content {
    border-left-color: #28a745;
}

.notification-success i {
    color: #28a745;
}

.notification-error .notification-content {
    border-left-color: #dc3545;
}

.notification-error i {
    color: #dc3545;
}

.notification-warning .notification-content {
    border-left-color: #ffc107;
}

.notification-warning i {
    color: #ffc107;
}

.notification-info .notification-content {
    border-left-color: #17a2b8;
}

.notification-info i {
    color: #17a2b8;
}

.notification-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #999;
}

/* Product Lightbox */
.product-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-close:before,
.lightbox-close:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #fff;
}

.lightbox-close:before {
    transform: rotate(45deg);
}

.lightbox-close:after {
    transform: rotate(-45deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev i,
.lightbox-next i {
    color: #fff;
    font-size: 20px;
}

/* Disabled Buttons */
.btn-main.disabled,
.btn-secondary.disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.7;
}

/* Loading State */
.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* ========================================
   ENHANCED GALLERY SPACING FIX
======================================== */
.product-gallery-container {
    position: relative;
    padding-bottom: 30px;
}

.product-main-gallery {
    margin-bottom: 25px !important;
    position: relative;
    z-index: 1;
}

.product-thumb-gallery {
    margin-top: 30px !important;
    padding: 10px 0;
    position: relative;
    z-index: 2;
}

.product-thumb-gallery .owl-stage-outer {
    overflow: visible !important;
    padding: 10px 0;
}

.product-thumb-gallery .item {
    margin: 0 8px;
    position: relative;
    background: #fff;
}

.product-thumb-gallery .item:hover {
    border-color: #4CAF50;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
    z-index: 10;
}

/* ========================================
   QUANTITY SELECTOR FIX
======================================== */
.quantity-wrapper.de-number {
    display: flex !important;
    flex-direction: row !important;
}

.group:has(.de-number) {
    display: inline-block !important;
    margin-right: 20px;
}

/* ========================================
   PRODUCT FORM & ACTION BUTTONS
======================================== */
form.cart.product-form {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.product-actions {
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    margin-top: 30px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: 100% !important;
    clear: both !important;
}

.product-actions .d-flex {
    display: flex !important;
    gap: 15px;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: 100% !important;
}

.btn-add-to-cart {
    flex: 1;
    padding: 18px 40px;
    background: linear-gradient(135deg, #66BB6A 0%, #4CAF50 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-add-to-cart:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.35);
}

.btn-add-to-cart:hover:before {
    left: 100%;
}

.btn-out-of-stock {
    flex: 1;
    padding: 18px 40px;
    background: #f5f5f5;
    color: #999;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-wishlist {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.btn-wishlist i {
    font-size: 24px;
    color: #666;
    transition: all 0.3s ease;
}

.btn-wishlist:hover {
    background: #ffebee;
    border-color: #e91e63;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.2);
}

.btn-wishlist:hover i {
    color: #e91e63;
    transform: scale(1.1);
}

.wishlist-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.btn-wishlist:hover .wishlist-tooltip {
    opacity: 1;
}

/* ========================================
   MOBILE RESPONSIVE STYLES
======================================== */
@media (max-width: 991px) {
    /* Tablet Styles */
    .product-title {
        font-size: 28px !important;
    }
    
    .product-gallery-container {
        margin-bottom: 30px;
    }
    
    .btn-add-to-cart,
    .btn-out-of-stock {
        padding: 15px 30px;
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    /* Mobile Breadcrumb */
    .product-breadcrumb {
        padding: 15px 0 !important;
    }
    
    .crumb {
        font-size: 12px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .crumb::-webkit-scrollbar {
        display: none;
    }
    
    .crumb li a i {
        display: none; /* Hide icons on mobile to save space */
    }
    
    .badge-sale,
    .badge-featured {
        font-size: 10px;
        padding: 5px 12px;
        margin-left: 5px;
    }
    
    /* Mobile Gallery */
    .product-gallery-container {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .product-main-gallery {
        margin-bottom: 15px !important;
    }
    
    .product-main-gallery .item {
        border-radius: 8px;
    }
    
    .product-thumb-gallery {
        margin-top: 15px !important;
        padding: 5px 0;
    }
    
    .product-thumb-gallery .item {
        margin: 0 4px;
        height: 60px;
    }
    
    .product-thumb-gallery img {
        height: 60px;
        object-fit: cover;
    }
    
    /* Mobile Product Info */
    .product-title {
        font-size: 24px !important;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .product-short-description {
        font-size: 14px;
        padding: 15px;
        margin-bottom: 20px !important;
    }
    
    /* Mobile Price */
    .product-price-wrapper {
        padding: 15px;
        margin-bottom: 20px !important;
    }
    
    .product-price-wrapper .text-primary {
        font-size: 28px !important;
    }
    
    .product-price-wrapper .line-through {
        font-size: 16px !important;
    }
    
    /* Mobile Product Options */
    .group.radio__button label {
        padding: 10px 15px;
        font-size: 14px;
        margin: 3px;
    }
    
    /* Mobile Quantity Selector */
    .quantity-wrapper,
    .group:has(.de-number) {
        display: block !important;
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .de-number {
        width: 100% !important;
        max-width: 200px;
        margin: 0 auto;
        height: 45px;
    }
    
    .de-number span {
        width: 50px;
        font-size: 18px;
    }
    
    .de-number input {
        font-size: 16px;
    }
    
    /* Mobile Action Buttons */
    .product-actions {
        padding-top: 15px;
        margin-top: 20px;
    }
    
    .product-actions .d-flex {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-add-to-cart,
    .btn-out-of-stock {
        width: 100%;
        padding: 16px 25px;
        font-size: 16px;
        border-radius: 8px;
    }
    
    .btn-add-to-cart i,
    .btn-out-of-stock i {
        margin-right: 8px;
    }
    
    .btn-wishlist {
        width: 100%;
        height: 50px;
        border-radius: 8px;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    
    .btn-wishlist i {
        font-size: 20px;
    }
    
    .btn-wishlist:after {
        content: 'Favorilere Ekle';
        font-size: 16px;
        color: #666;
    }
    
    .btn-wishlist:hover:after {
        color: #e91e63;
    }
    
    .wishlist-tooltip {
        display: none; /* Hide tooltip on mobile */
    }
    
    /* Mobile Stock Status */
    .stock-status {
        font-size: 14px;
        padding: 8px 15px;
        margin-bottom: 15px !important;
    }
    
    /* Mobile Product Meta */
    .product-meta {
        padding: 15px;
        border-radius: 8px;
        margin-top: 20px;
    }
    
    .meta-item {
        font-size: 13px;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 10px;
    }
    
    .meta-label {
        min-width: auto;
        margin-bottom: 5px;
        font-weight: 600;
    }
    
    /* Mobile Tabs */
    .product-tabs {
        margin-bottom: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .product-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .product-tabs .nav {
        flex-wrap: nowrap;
        white-space: nowrap;
    }
    
    .product-tabs .nav-link {
        padding: 12px 20px;
        font-size: 14px;
        min-width: auto;
    }
    
    .product-tab-content {
        padding: 20px 0;
    }
    
    .product-description {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .product-attributes {
        padding: 15px;
        border-radius: 8px;
    }
    
    .attribute-row {
        flex-direction: column;
        padding: 10px 0;
    }
    
    .attribute-label {
        margin-bottom: 5px;
    }
    
    /* Mobile Section Spacing */
    .pt-100 {
        padding-top: 40px !important;
    }
    
    .pb-100 {
        padding-bottom: 40px !important;
    }
    
    .mt75 {
        margin-top: 50px !important;
    }
    
    /* Container padding on mobile */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 575px) {
    /* Extra Small Devices */
    .product-title {
        font-size: 22px !important;
    }
    
    .product-price-wrapper .text-primary {
        font-size: 24px !important;
    }
    
    .product-price-wrapper .line-through {
        font-size: 14px !important;
    }
    
    .btn-add-to-cart,
    .btn-out-of-stock {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .product-tabs .nav-link {
        padding: 10px 15px;
        font-size: 13px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Touch devices */
    .btn-add-to-cart,
    .btn-out-of-stock,
    .btn-wishlist {
        -webkit-tap-highlight-color: transparent;
    }
    
    .product-thumb-gallery .item {
        min-height: 70px;
        min-width: 70px;
    }
    
    .group.radio__button label {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .de-number span {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Disable hover effects on touch devices */
    .product-thumb-gallery .item:hover {
        transform: none;
        box-shadow: none;
    }
    
    .btn-add-to-cart:hover {
        transform: none;
    }
    
    .btn-wishlist:hover {
        transform: none;
        background: #fff;
        border-color: #e0e0e0;
    }
}

/* Sticky Add to Cart for Mobile */
@media (max-width: 767px) {
    .sticky-mobile-cart {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        padding: 10px 15px;
        z-index: 999;
        display: none;
    }
    
    .sticky-mobile-cart.show {
        display: block;
    }
    
    .sticky-mobile-cart .d-flex {
        display: flex;
        gap: 10px;
        align-items: center;
    }
    
    .sticky-mobile-cart .price {
        font-size: 18px;
        font-weight: 700;
        color: #4CAF50;
    }
    
    .sticky-mobile-cart .btn-add-to-cart,
    .sticky-mobile-cart .btn-add-to-cart-sticky {
        flex: 1;
        padding: 12px 20px;
        font-size: 14px;
        background: linear-gradient(135deg, #66BB6A 0%, #4CAF50 100%);
        color: white;
        border: none;
        border-radius: 8px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    /* Mobile-specific touch feedback */
    .touched {
        opacity: 0.8;
        transform: scale(0.98);
    }
    
    /* Read more link style */
    .read-more {
        color: #4CAF50;
        font-weight: 600;
        text-decoration: none;
        margin-left: 5px;
    }
    
    /* Mobile image gallery indicators */
    .product-main-gallery .owl-dots {
        display: block !important;
        text-align: center;
        margin-top: 10px;
    }
    
    .product-main-gallery .owl-dot {
        display: inline-block;
        width: 8px;
        height: 8px;
        margin: 0 4px;
        background: #ddd;
        border-radius: 50%;
        transition: all 0.3s ease;
    }
    
    .product-main-gallery .owl-dot.active {
        background: #4CAF50;
        width: 24px;
        border-radius: 4px;
    }
    
    /* Mobile loading optimization */
    @media (max-width: 767px) {
        /* Optimize images for mobile */
        .product-main-gallery img,
        .product-thumb-gallery img {
            will-change: transform;
        }
        
        /* Smooth scrolling for tabs */
        .product-tabs.scrolling {
            scroll-behavior: smooth;
        }
        
        /* Better tap targets */
        button, 
        .btn,
        input[type="radio"] + label,
        .de-number span {
            min-height: 44px;
            min-width: 44px;
        }
        
        /* Optimize font loading */
        body {
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
    }
}