/* ========================================
   Product Details Page Styles
   ======================================== */

/* Product Hero Section */
.product-hero {
    background: #3b82f6;
    padding: calc(72px + 2rem) 0 1.5rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb .current {
    color: #fff;
    font-weight: 500;
}

/* Product Main Section */
.product-main-section {
    padding: 3rem 0;
    background: #fff;
}

.product-main-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 992px) {
    .product-main-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .product-image-column {
        order: -1;
    }
}

/* Product Info Column */
.product-info-column {
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

@media (max-width: 992px) {
    .product-info-column {
        padding-right: 0;
    }
}

.product-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.product-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-bestseller {
    background: #ef4444;
    color: #fff;
}

.badge-new {
    background: #f59e0b;
    color: #fff;
}

.product-price {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.product-price .amount,
.product-price .woocommerce-Price-amount {
    color: #ef4444;
}

.product-price del {
    font-size: 1.25rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.product-features-list {
    margin-bottom: 2rem;
}

.product-features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

.product-features-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin: 0;
    flex-wrap: wrap;
    align-items: stretch;
}

.product-actions form.woocommerce-form {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-actions form {
    flex: 1;
    min-width: 200px;
}

.product-actions .quantity {
    margin-bottom: 1rem;
}

.product-actions .single_add_to_cart_button,
.product-actions .btn-add-cart {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-add-cart {
    background: #ef4444;
    color: #fff;
}

.btn-add-cart:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-request-quote {
    background: #3b82f6;
    color: #fff;
}

.btn-request-quote:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.product-info-boxes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

.info-box svg {
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-box strong {
    color: #1e293b;
    font-weight: 600;
}

/* Product Image Column */
.product-image-column {
    position: relative;
}

.product-image-wrapper {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    gap: 1.5rem;
}

.product-main-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
}

.product-image-decoration {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    background: #fbbf24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    z-index: 2;
}

.product-gallery-thumbnails {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-thumb:hover {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-description {
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.product-description p {
    margin-bottom: 1rem;
}

/* What Can Kids Learn Section */
.what-learn-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 3rem;
}

.learn-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.learn-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.learn-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.learn-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #e0f2fe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
}

.learn-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.learn-card-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Skills and Ages Section */
.skills-ages-section {
    padding: 3rem 0;
    background: #fff;
}

.skills-ages-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.skills-title,
.ages-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skills-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: #475569;
    font-size: 1rem;
}

.skills-list li svg {
    color: #10b981;
    flex-shrink: 0;
}

.ages-badges {
    display: flex;
    gap: 1rem;
}

.age-badge {
    padding: 0.75rem 1.5rem;
    background: #fbbf24;
    color: #fff;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Adventure Section */
.adventure-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.adventure-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.adventure-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
}

.adventure-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.adventure-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
}

.adventure-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.adventure-image {
    background: #e0f2fe;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adventure-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

/* Three Columns Section */
.three-columns-section {
    padding: 4rem 0;
    background: #fff;
}

.three-columns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.column-card {
    text-align: center;
}

.column-card-image {
    background: #f0f7ff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.column-card-image img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

.column-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.column-card-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .product-main-layout {
        gap: 3rem;
    }
    
    .learn-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .product-main-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .product-info-column {
        padding-right: 0;
    }
    
    .adventure-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .adventure-image {
        order: -1;
    }
    
    .skills-ages-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .three-columns-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 2rem;
    }
    
    .product-price {
        font-size: 1.75rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .learn-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .adventure-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .product-hero {
        padding: calc(72px + 1rem) 0 1rem;
    }
    
    .breadcrumb {
        font-size: 0.75rem;
        gap: 0.25rem;
    }
    
    .product-main-section {
        padding: 1.5rem 0;
    }
    
    .product-main-layout {
        gap: 1.5rem;
    }
    
    .product-info-column {
        gap: 1rem;
    }
    
    .product-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .product-badges {
        gap: 0.5rem;
    }
    
    .badge {
        padding: 0.375rem 0.75rem;
        font-size: 0.65rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
    
    .product-price del {
        font-size: 1rem;
    }
    
    .product-features-list li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
        padding-left: 1rem;
    }
    
    .product-actions {
        gap: 0.75rem;
    }
    
    .product-actions .btn,
    .product-actions .single_add_to_cart_button {
        padding: 12px 18px;
        font-size: 0.95rem;
    }
    
    .info-box {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
    
    .info-box svg {
        width: 18px;
        height: 18px;
    }
    
    .product-image-wrapper {
        min-height: 240px;
        padding: 1.25rem;
    }
    
    .product-main-image {
        max-height: 200px;
    }
    
    .what-learn-section,
    .adventure-section,
    .three-columns-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .learn-card {
        padding: 1.25rem;
    }
    
    .learn-card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.875rem;
    }
    
    .learn-card-title {
        font-size: 1rem;
    }
    
    .learn-card-desc {
        font-size: 0.85rem;
    }
}
