/* Pants Category Specific Styles */

.category-pants {
}

/* Container max-width */
.category-pants .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section - Pants */
.category-pants .category-hero {
    height: 400px;
    max-width: 100%;
    overflow: hidden;
}


/* Pants Grid Layout */
.pants-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem auto;
    align-items: stretch;
}

/* Left Column - Single large product */
.pants-grid .left-column {
    display: flex;
    flex-direction: column;
}

/* Right Column - Stacked products */
.pants-grid .right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Product Cards */
.category-pants .product-card {
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    flex: 1;
}


.pants-grid .right-column .product-card{

    flex-direction:row;
align-items: center;

border: 2px solid transparent;
  background-color: #EEEEF0;
background: url("/wp-content/uploads/line.webp") padding-box, linear-gradient(to bottom right, #EEEEF0 0%, #EEEEF0 0%) padding-box, linear-gradient(45deg, #001c71 0%, #ccc 25%, #ccc 75%, #001c71 100% ) border-box;
}

.pants-grid .right-column .product-card div{

    flex:1;

}







/* Gradient background for first product */
.category-pants .product-card.gradient-bg {
background-color: #ffffff;
border: 2px solid transparent;

border-top-left-radius: 5em;

background: radial-gradient(circle at -58% -69%, #fff 59%, transparent 102.05%) padding-box,
radial-gradient(circle at 48% 54%, #bfbfbf2c 50%, transparent 87.05%) padding-box,
radial-gradient(circle at 3% 7%, #bfbfbf2a 56%, transparent 77.05%) padding-box,
linear-gradient(51deg, #ffffff2f 56%, transparent 86.05%) padding-box,
linear-gradient(51deg, #fff 100%, #fff 100%) padding-box,
linear-gradient(45deg, #001c71 0%, #ccc 25%, #ccc 75%, #001c71 100% ) border-box;






}

/* Last card gets bottom-right radius */
.category-pants .product-card.last-card {
    border-radius: 0 0 5em 0;
}

/* Product Image Section */
.category-pants .product-image {
    position: relative;
    padding: 30px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

/* Adjust image size for left column */
.category-pants .left-column .product-image {
    min-height: 400px;
}

.category-pants .product-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 100%;
}

/* Product Info */
.category-pants .product-info {
    padding: 25px;
}

.category-pants .product-title {
}

.category-pants .product-price {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 500;
}

.category-pants .product-price .currency-code {
    font-size: 14px;
    color: #666;
    font-weight: 400;
    text-transform: uppercase;
}

/* Product Meta */
.category-pants .product-meta {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.4;
}

.category-pants .meta-label {
    font-weight: 600;
    color: #333;
    display: inline-block;
    min-width: 100px;
    width: 100%;
}

.category-pants .meta-value {
    color: #666;
}

/* Buttons */
.category-pants .product-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-pants .btn {
    display: block;
    text-align: center;
    padding: 14px 24px;
    border-radius: .5em;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-pants .btn-select {
    background: white;
    color: #333;
    border: 2px solid #333;
}

.category-pants .btn-select:hover {
    background: #333;
    color: white;
}

.category-pants .btn-customize {
    background: #333;
    color: white;
    border: 2px solid #333;
}

.category-pants .btn-customize:hover {
    background: #555;
    border-color: #555;
}

/* Custom Team Program Section */
.custom-team-program {
    position: relative;
    margin: 60px 0;
}

.custom-team-program .section-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.team-program-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Program Info */
.program-info .eyebrow {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 15px;
}

.program-info h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px;
}

.program-info h2 img {
    height: 40px;
}

.program-info .description {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.program-info .subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

/* CTA Section */
.cta-section {
    display: flex;
    align-items: center;
    gap: 40px;
}

.btn-details {
    background: white;
    color: #333;
    border: 2px solid #333;
    padding: 15px 40px;
    font-size: 16px;
}

.btn-details:hover {
    background: #333;
    color: white;
}

.contact-info {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

/* Visual Placeholder */
.visual-placeholder {
    width: 100%;
    height: 400px;
    background: url('/wp-content/uploads/product-pages/team-pattern.svg') center/cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


/* Responsive */
@media (max-width: 768px) {
    /* Reduce border radius on mobile */
.category-pants .product-card.gradient-bg {
        border-top-left-radius: 2em;
    }
    
    .category-pants .product-card.last-card {
        border-radius: 0 0 2em 0;
    }
    
    /* Stack grid on mobile */
    .pants-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }
    
    .pants-grid .right-column {
        gap: 15px;
    }
    
    /* Adjust image heights on mobile */
    .category-pants .left-column .product-image {
        min-height: 250px;
    }
    
    /* Stack team program section */
    .team-program-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    /* Stack Made in Canada section */
    .category-pants .made-in-canada-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .category-pants .video-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }
    .pants-grid .right-column .product-card{

    flex-direction:column;

}


}

/* Currency update loading state */
body.updating-currency .pants-grid {
    opacity: 0.5;
    pointer-events: none;
}