/* Single Product Page - Oemyadak Theme */

.oemyadak-product-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    background: #fff;
}

.oemyadak-product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
    direction: rtl;
}

.oemyadak-product-images {
    order: 1;
    direction: ltr;
}

.oemyadak-product-info {
    order: 2;
    direction: rtl;
}

.oemyadak-product-title {
    font-size: 28px;
    font-weight: 700;
    color: #2C2C2C;
    margin: 0 0 16px 0;
    line-height: 1.3;
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
}

.oemyadak-product-description {
    font-size: 16px;
    color: #4A4A4A;
    margin-bottom: 24px;
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
    line-height: 1.6;
}

.oemyadak-price-button {
    width: 100%;
    padding: 16px 24px;
    background: #00CED1;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 206, 209, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    margin-bottom: 20px;
    display: block;
}

.oemyadak-price-button:hover {
    background: #008B8B;
    box-shadow: 0 4px 12px rgba(0, 206, 209, 0.4);
    transform: translateY(-2px);
}

.oemyadak-price-button:active {
    transform: translateY(0);
}

.oemyadak-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.oemyadak-info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 2px solid #E5E5E5;
    transition: all 0.3s ease;
}

.oemyadak-info-card:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border-color: #00CED1;
    box-shadow: 0 4px 16px rgba(0, 206, 209, 0.15);
    transform: translateY(-2px);
}

.oemyadak-info-card svg {
    color: #00CED1;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.oemyadak-info-card-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.oemyadak-info-card-label {
    font-size: 13px;
    color: #8A8A8A;
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
    font-weight: 500;
}

.oemyadak-info-card-value {
    font-size: 15px;
    font-weight: 700;
    color: #2C2C2C;
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
}

.oemyadak-info-card-value.in-stock {
    color: #10B981;
}

.oemyadak-info-card-value.out-of-stock {
    color: #ef4056;
}

/* دکمه افزودن به سبد خرید - استایل دقیقاً مثل کارت قیمت */
.oemyadak-add-to-cart-card {
    margin-bottom: 20px !important;
    width: 100% !important;
}

.oemyadak-add-to-cart-card .cart {
    width: 100% !important;
}

.oemyadak-add-to-cart-card .quantity {
    display: none !important;
}

.oemyadak-add-to-cart-card .single_add_to_cart_button,
.oemyadak-add-to-cart-card button[type="submit"],
.oemyadak-add-to-cart-card .button {
    width: 100% !important;
    padding: 16px 24px !important;
    background: #00CED1 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    font-family: 'Vazir', Tahoma, Arial, sans-serif !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 206, 209, 0.3) !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    display: block !important;
}

.oemyadak-add-to-cart-card .single_add_to_cart_button:hover,
.oemyadak-add-to-cart-card button[type="submit"]:hover,
.oemyadak-add-to-cart-card .button:hover {
    background: #008B8B !important;
    box-shadow: 0 4px 12px rgba(0, 206, 209, 0.4) !important;
    transform: translateY(-2px) !important;
}

.oemyadak-add-to-cart-card .single_add_to_cart_button:active,
.oemyadak-add-to-cart-card button[type="submit"]:active,
.oemyadak-add-to-cart-card .button:active {
    transform: translateY(0) !important;
}

.oemyadak-add-to-cart-card .disabled,
.oemyadak-add-to-cart-card .disabled:hover {
    background: #cccccc !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Notification Popup */
.oemyadak-cart-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 32px;
    z-index: 99999;
    min-width: 400px;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    direction: rtl;
}

.oemyadak-cart-notification.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.oemyadak-cart-notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.oemyadak-cart-notification-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.oemyadak-notification-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #00CED1 0%, #40E0D0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: scaleIn 0.4s ease;
}

.oemyadak-notification-icon svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.oemyadak-notification-title {
    font-size: 20px;
    font-weight: 700;
    color: #2C2C2C;
    margin-bottom: 12px;
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
}

.oemyadak-notification-message {
    font-size: 15px;
    color: #4A4A4A;
    margin-bottom: 24px;
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
}

.oemyadak-notification-buttons {
    display: flex;
    gap: 12px;
    direction: rtl;
}

.oemyadak-notification-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.oemyadak-notification-btn-primary {
    background: linear-gradient(135deg, #00CED1 0%, #40E0D0 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 206, 209, 0.3);
}

.oemyadak-notification-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 206, 209, 0.4);
}

.oemyadak-notification-btn-secondary {
    background: #f5f5f5;
    color: #2C2C2C;
    border: 2px solid #E5E5E5;
}

.oemyadak-notification-btn-secondary:hover {
    background: #eeeeee;
    border-color: #00CED1;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .oemyadak-cart-notification {
        min-width: 90%;
        padding: 24px;
    }
    
    .oemyadak-notification-buttons {
        flex-direction: column;
    }
}

.oemyadak-feature-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.oemyadak-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 16px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 12px;
    border: 2px solid #E5E5E5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    cursor: pointer;
}

.oemyadak-feature-card:hover {
    background: linear-gradient(135deg, #00CED1 0%, #40E0D0 100%);
    border-color: #00CED1;
    box-shadow: 0 8px 24px rgba(0, 206, 209, 0.25);
    transform: translateY(-4px) scale(1.02);
}

.oemyadak-feature-card svg {
    width: 28px;
    height: 28px;
    color: #00CED1;
    transition: all 0.3s ease;
}

.oemyadak-feature-card:hover svg {
    color: #ffffff;
    transform: scale(1.15);
}

.oemyadak-feature-card-text {
    font-size: 13px;
    font-weight: 600;
    color: #2C2C2C;
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
    text-align: center;
    transition: color 0.3s ease;
}

.oemyadak-feature-card:hover .oemyadak-feature-card-text {
    color: #ffffff;
}

.oemyadak-shipping-info {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid #E5E5E5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.oemyadak-shipping-info:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border-color: #00CED1;
    box-shadow: 0 4px 16px rgba(0, 206, 209, 0.15);
    transform: translateY(-2px);
}

.oemyadak-shipping-info svg {
    color: #00CED1;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.oemyadak-shipping-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.oemyadak-shipping-title {
    font-size: 15px;
    font-weight: 600;
    color: #2C2C2C;
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
}

.oemyadak-shipping-method {
    font-size: 14px;
    color: #4A4A4A;
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .oemyadak-product-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .oemyadak-product-images {
        order: 2;
    }
    
    .oemyadak-product-info {
        order: 1;
    }
    
    .oemyadak-feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .oemyadak-product-wrapper {
        padding: 20px 15px;
    }
    
    .oemyadak-product-title {
        font-size: 24px;
    }
    
    .oemyadak-info-cards {
        grid-template-columns: 1fr;
    }
    
    .oemyadak-feature-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .oemyadak-feature-card {
        padding: 12px 8px;
    }
    
    .oemyadak-feature-card-text {
        font-size: 11px;
    }
}

