/* ============================================
   WC Digital Products Marketplace - Complete Styling
   Professional design with no vendor references
   ============================================ */

/* ── Global product page base font ──────────────────────────── */
.classic-layout,
.modern-layout,
.detailed-layout {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1d2327;
}

/* ── WooCommerce standard product description improvements ───── */
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { font-size: 22px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-size: 15px; font-weight: 600; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 16px; line-height: 1.75; }
.woocommerce div.product p.price { font-size: 28px !important; font-weight: 800; }
.woocommerce div.product .product_title { font-size: 32px !important; font-weight: 800 !important; line-height: 1.25 !important; }

/* ========== CLASSIC LAYOUT ========== */
.classic-layout .product-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.classic-layout .awards-badge {
    background: #FFF3CD;
    border: 2px solid #FFC107;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
}

.classic-layout .awards-badge h4 {
    margin: 0 0 10px 0;
    color: #856404;
    font-weight: 700;
}

.classic-layout .awards-badge p {
    margin: 0;
    color: #856404;
    line-height: 1.6;
}

.classic-layout .product-actions {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.classic-layout .demo-btn,
.classic-layout .guide-btn {
    flex: 1;
    padding: 14px !important;
    border: 2px solid #3366FF !important;
    background: white !important;
    color: #3366FF !important;
    border-radius: 6px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.classic-layout .demo-btn:hover,
.classic-layout .guide-btn:hover {
    background: #3366FF !important;
    color: white !important;
}

.classic-layout .compatibility-info {
    margin: 20px 0;
    padding: 15px;
    background: #F7F8FA;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #555;
}

.classic-layout .logo-badges {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.classic-layout .logo-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    min-width: 130px;
}

.classic-layout .logo-badge strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
}

.classic-layout .logo-badge span {
    font-size: 11px;
    color: #666;
}

/* Logo Badge Colors */
.logo-badge.adobe strong { color: #FF0000; }
.logo-badge.pwa strong { color: #5A0FC8; }
.logo-badge.hyva strong { color: #00C896; }
.logo-badge.ada-wcag strong { color: #0066CC; }

.classic-layout .title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.classic-layout .m1-link {
    color: #3366FF;
    text-decoration: none;
    font-size: 15px;
}

.classic-layout .install-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #F8F9FA;
    border-radius: 6px;
    margin: 15px 0;
}

.classic-layout .install-price {
    font-weight: 700;
    color: #27AE60;
    font-size: 18px;
}

.classic-layout .support-select,
.classic-layout .edition-select {
    margin: 15px 0;
}

.classic-layout .support-select label,
.classic-layout .edition-select label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.classic-layout .support-select select,
.classic-layout .edition-select select {
    width: 100%;
    padding: 12px;
    border: 2px solid #E0E0E0;
    border-radius: 6px;
}

.classic-layout .feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.classic-layout .feature-list li {
    padding: 9px 0;
    color: #2d3748;
    font-size: 15px;
    line-height: 1.7;
}

.classic-layout .feature-list a {
    color: #3366FF;
    text-decoration: none;
}

.classic-layout .add-wishlist {
    width: 100%;
    padding: 14px;
    background: white;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin: 10px 0;
    transition: all 0.3s;
}

.classic-layout .add-wishlist:hover {
    border-color: #FF6B35;
    color: #FF6B35;
}

.classic-layout .request-custom {
    width: 100%;
    padding: 16px !important;
    background: white !important;
    border: 2px solid #3366FF !important;
    color: #3366FF !important;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 15px;
    display: block;
    text-align: center;
    text-decoration: none;
}

.classic-layout .request-custom:hover {
    background: #3366FF !important;
    color: white !important;
}

.classic-layout .pro-version-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin: 20px 0;
    transition: all 0.3s;
}

.classic-layout .pro-version-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* ========== MODERN LAYOUT ========== */
.modern-layout {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.modern-layout .product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.modern-layout .hero-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.modern-layout .hyva-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #00C896;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    z-index: 10;
}

.modern-layout .action-buttons {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.modern-layout .btn-outline {
    flex: 1;
    padding: 14px 28px;
    border: 2px solid #3366FF;
    border-radius: 8px;
    color: #3366FF;
    background: white;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modern-layout .btn-outline:hover {
    background: #3366FF;
    color: white;
}

.modern-layout .compatibility-info {
    margin: 20px 0;
    padding: 15px;
    background: #F7F8FA;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #555;
}

.modern-layout .logo-badges {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.modern-layout .logo-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    min-width: 140px;
}

.modern-layout .logo-badge img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.modern-layout .logo-label strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #333;
}

.modern-layout .logo-label span {
    font-size: 11px;
    color: #666;
}

.modern-layout .title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.modern-layout h1 {
    font-size: 40px;
    font-weight: 800;
    color: #1A1A1A;
    line-height: 1.2;
    margin: 0;
}

.modern-layout .m1-link {
    color: #3366FF;
    text-decoration: none;
    font-size: 15px;
}

.modern-layout .rating-block {
    margin: 20px 0;
}

.modern-layout .edition-pills {
    margin: 25px 0;
}

.modern-layout .edition-pills label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #666;
}

.modern-layout .pills {
    display: flex;
    gap: 10px;
}

.modern-layout .pill {
    padding: 12px 24px;
    border: 2px solid #E0E0E0;
    border-radius: 25px;
    background: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modern-layout .pill:hover {
    border-color: #3366FF;
}

.modern-layout .pill.active {
    background: #1A1A1A;
    border-color: #1A1A1A;
    color: white;
}

.modern-layout .price-block {
    margin: 30px 0;
}

.modern-layout .price-block .price {
    font-size: 52px;
    font-weight: 800;
    color: #1A1A1A;
}

.modern-layout .price-info {
    margin-left: 15px;
    color: #555;
    font-size: 15px;
}

.modern-layout .add-cart-orange {
    width: 100%;
    padding: 18px;
    background: #FF6B35;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    margin: 15px 0;
    transition: all 0.3s;
}

.modern-layout .add-cart-orange:hover {
    background: #E55A2A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.modern-layout .add-wishlist {
    width: 100%;
    padding: 14px;
    background: white;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin: 10px 0;
    transition: all 0.3s;
}

.modern-layout .add-wishlist:hover {
    border-color: #FF6B35;
    color: #FF6B35;
}

.modern-layout .support-info {
    margin: 25px 0;
    padding: 20px;
    background: #F0F8FF;
    border-left: 4px solid #3366FF;
    border-radius: 6px;
}

.modern-layout .support-info p {
    margin: 8px 0;
    color: #2d3748;
    font-size: 15px;
}

.modern-layout .support-info a {
    color: #3366FF;
    text-decoration: none;
}

.modern-layout .pro-version-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin: 20px 0;
    transition: all 0.3s;
}

.modern-layout .pro-version-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.modern-layout .feature-links {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.modern-layout .feature-links li {
    padding: 10px 0;
    color: #2d3748;
    font-size: 16px;
    line-height: 1.7;
}

.modern-layout .feature-links a {
    color: #3366FF;
    text-decoration: none;
}

.modern-layout .combo-section {
    margin: 60px 0;
    padding: 40px;
    background: #F7F8FA;
    border-radius: 12px;
}

.modern-layout .combo-section h3 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
}

.modern-layout .combo-section .red {
    color: #FF3B30;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
    .classic-layout .product-container,
    .modern-layout .product-hero {
        grid-template-columns: 1fr;
    }
    
    .modern-layout .pills {
        flex-wrap: wrap;
    }
    
    .logo-badges {
        justify-content: center;
    }
    
    .classic-layout .product-actions,
    .modern-layout .action-buttons {
        flex-direction: column;
    }
}

/* =====================
     My Account - plugin UI
     ===================== */
.wc-dpm-account-wrap {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 20px;
}
.wc-dpm-account-wrap .wc-dpm-sidebar {
    width: 280px;
}
.wc-dpm-account-wrap .wc-dpm-content {
    flex: 1 1 auto;
}
.wc-dpm-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.wc-dpm-page-title {
    font-size: 38px;
    margin: 0 0 18px 0;
    font-weight: 700;
}

/* Buttons */
.wc-dpm-btn-primary {
    background: #ff4500;
    color: #fff;
    padding: 12px 22px;
    border-radius: 6px;
    display: inline-block;
    text-decoration: none;
}

/* Badges */
.wc-dpm-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}
.wc-dpm-badge--green { background: #26a65b; color: #fff; }
.wc-dpm-badge--yellow { background: #f1c40f; color: #222; }

/* Orders table */
.wc-dpm-orders-table { width: 100%; border-collapse: collapse; }
.wc-dpm-orders-table thead th { text-align: left; padding: 14px 12px; color: #4a4a4a; font-weight: 600; }
.wc-dpm-orders-table tbody tr:nth-child(odd) { background: #fbfbfd; }
.wc-dpm-orders-table td { padding: 18px 12px; vertical-align: middle; }
.wc-dpm-order-number { font-size: 18px; font-weight: 700; color: #1e73be; }
.wc-dpm-order-sub { color: #777; font-size: 13px; margin-top: 4px; }

/* Downloads list */
.wc-dpm-downloads-list .download-item { border-bottom: 1px solid #f0f0f0; padding: 18px 0; display:flex; align-items:center; justify-content:space-between; }
.wc-dpm-downloads-list .download-item h3 { margin: 0; font-size: 18px; }
.wc-dpm-downloads-list .download-item .button { background:#ff4500; color:#fff; padding:10px 18px; border-radius:6px; text-decoration:none; }

@media (max-width: 880px) {
    .wc-dpm-account-wrap { flex-direction: column; }
    .wc-dpm-account-wrap .wc-dpm-sidebar { width: 100%; }
}

