/* Premium Grid & Card Styles */
.pcs-grid, .pcs-single-wrapper {
    font-family: 'Jost', sans-serif;
}
.pcs-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 30px 0;
}

.pcs-card {
    scroll-margin-top: 100px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    padding: 35px;
    display: flex;
    flex-direction: row; /* Side-by-side! */
    gap: 45px;
    align-items: center;
    position: relative;
    transition: all 0.25s ease;
}

.pcs-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.pcs-card .pcs-image-container {
    flex: 1.3 1 50%;
    height: 520px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
    margin-bottom: 0;
    width: auto;
}

.pcs-card .pcs-main-image {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.15s ease-in-out;
}

.pcs-card .pcs-main-image.fade-out {
    opacity: 0;
}

.pcs-card-details {
    flex: 1.2 1 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pcs-card-details .pcs-colors-container {
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    position: static;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    box-shadow: none;
}

.pcs-card-details .pcs-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    box-shadow: none;
    border-radius: 0;
    width: auto;
    height: auto;
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.pcs-card-details .pcs-swatch:hover {
    transform: translateY(-3px);
}

.pcs-card-details .pcs-swatch-color-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px #e0e0e0;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pcs-card-details .pcs-swatch:hover .pcs-swatch-color-circle {
    transform: scale(1.1);
}

.pcs-card-details .pcs-swatch.active .pcs-swatch-color-circle {
    box-shadow: 0 0 0 2px #e30613;
}

.pcs-card-details .pcs-swatch-name {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #444;
    margin-top: 6px;
    letter-spacing: 0.5px;
    text-align: center;
}

.pcs-card-details .pcs-title {
    font-family: 'Oswald', 'Impact', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 52px;
    color: #222;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
    line-height: 1.15;
}

.pcs-card-details .pcs-card-footer {
    margin-top: 15px;
    padding: 0;
}

/* ==================================
   SINGLE PRODUCT PAGE STYLES 
   ================================== */
.pcs-single-page-wrapper {
    background: #f7f7f7;
    padding: 40px 0;
    font-family: 'Jost', sans-serif;
}

/* Breadcrumb / Header Banner */
.pcs-single-banner {
    background: #1c1c1c;
    padding: 40px 20px;
    text-align: center;
    border-bottom: 3px solid #e30613; /* Morse-tech red accent line */
    margin-bottom: 40px;
    border-radius: 4px;
}

.pcs-banner-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pcs-banner-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pcs-single-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* MAIN PRODUCT CARD */
.pcs-product-main-card {
    background: #ffffff;
    display: flex;
    flex-wrap: wrap;
    gap: 45px;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

/* Left Section: Gallery */
.pcs-product-gallery-section {
    flex: 1 1 500px;
    display: flex;
    gap: 20px;
    min-width: 0;
}

.pcs-gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 80px;
    flex-shrink: 0;
}

.pcs-thumbnail {
    width: 80px;
    height: 80px;
    border: 1.5px solid #eaeaea;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    background: #fafafa;
    transition: all 0.2s;
}

.pcs-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pcs-thumbnail.active {
    border-color: #000;
    box-shadow: 0 0 0 1px #000;
}

.pcs-product-main-image-wrap {
    flex-grow: 1;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    height: 650px;
    position: relative;
    overflow: hidden;
}

.pcs-product-main-image-wrap.no-thumbnails {
    width: 100%;
}

.pcs-product-main-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.15s ease-in-out;
}

.pcs-product-main-image-wrap img.fade-out {
    opacity: 0;
}

.pcs-slider-arrows {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 20px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.pcs-arrow {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s, color 0.2s;
}

.pcs-arrow:hover {
    transform: scale(1.2);
    color: #e30613;
}

/* Right Section: Details */
.pcs-product-info-section {
    flex: 1 1 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pcs-product-category {
    font-size: 13px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.pcs-product-title {
    font-family: 'Oswald', 'Impact', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 52px;
    color: #222;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
    line-height: 1.15;
}

.pcs-product-short-description {
    font-size: 22px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 25px;
}

.pcs-product-short-description p {
    margin: 0;
}

/* Colors Selection inside right info - placed at the top above title */
.pcs-product-colors-selection {
    margin-bottom: 25px;
    border-top: none;
    padding-top: 0;
}

.pcs-colors-swatch-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.pcs-single-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    box-shadow: none;
    border-radius: 0;
    width: auto;
    height: auto;
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.pcs-single-swatch:hover {
    transform: translateY(-3px);
}

.pcs-swatch-color-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px #e0e0e0;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pcs-single-swatch:hover .pcs-swatch-color-circle {
    transform: scale(1.1);
}

.pcs-single-swatch.active .pcs-swatch-color-circle {
    box-shadow: 0 0 0 2px #e30613;
}

.pcs-swatch-name {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #444;
    margin-top: 6px;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Highlights Section */
.pcs-product-highlights {
    background: #eef5fa;
    padding: 12px 18px;
    border-radius: 6px;
    margin-bottom: 25px;
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid #d9ebf5;
}

.pcs-highlight-row {
    font-size: 14px;
    color: #222;
    line-height: 1.4;
    background: transparent;
    padding: 0;
    border-left: none;
    width: auto;
    display: block;
    margin-bottom: 0;
}

.pcs-highlight-row strong {
    font-weight: 700;
    color: #111;
}

/* Feature Icons Row */
.pcs-product-features-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    border-top: 1.5px dashed #eee;
    padding-top: 20px;
}

.pcs-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 85px;
    text-align: center;
}

.pcs-feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdfdfd;
    border: 1px solid #eaeaea;
    border-radius: 50%;
    margin-bottom: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    transition: transform 0.2s ease;
}

.pcs-feature-item:hover .pcs-feature-icon {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.pcs-feature-label {
    font-size: 9px;
    font-weight: 700;
    color: #555;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Stock Status Badge */
.pcs-stock-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    border-top: 1.5px dashed #eee;
    padding-top: 20px;
}

.pcs-in-stock-icon {
    display: flex;
    align-items: center;
}

.pcs-in-stock-text {
    font-size: 12px;
    font-weight: 700;
    color: #2e7d32;
    letter-spacing: 0.5px;
}

/* Action Button */
.pcs-product-actions {
    margin-top: 5px;
}

.pcs-enquire-now-btn {
    display: inline-block;
    padding: 12px 35px;
    background: #e30613;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    border: 2px solid #e30613;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(227, 6, 19, 0.15);
}

.pcs-enquire-now-btn:hover {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

/* TABS SECTION */
.pcs-product-tabs-container {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    margin-top: 40px;
    overflow: hidden;
}

.pcs-tabs-headers {
    display: flex;
    background: #fafafa;
    border-bottom: 1px solid #eaeaea;
}

.pcs-tab-btn {
    padding: 15px 30px;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    border-right: 1px solid #eaeaea;
    transition: color 0.2s, background 0.2s;
    font-family: inherit;
}

.pcs-tab-btn:hover {
    color: #000;
    background: #fdfdfd;
}

.pcs-tab-btn.active {
    background: #ffffff;
    color: #000;
    font-weight: 600;
}

.pcs-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e30613; /* Active tab line matches brand color */
}

.pcs-tabs-content {
    padding: 30px;
}

.pcs-tab-panel {
    display: none;
}

.pcs-tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.pcs-description-content {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

/* Spec list formating */
.pcs-description-content p {
    margin-top: 0;
    margin-bottom: 15px;
}

/* Reviews Panel Teaser */
.pcs-reviews-content {
    font-size: 14px;
    color: #555;
}

.pcs-no-reviews {
    font-style: italic;
    margin-bottom: 25px;
    color: #888;
}

.pcs-review-form-teaser {
    border-top: 1.5px solid #eee;
    padding-top: 25px;
}

.pcs-review-form-teaser h3 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0 0 10px 0;
}

.pcs-review-form-teaser p {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
}

.pcs-rating-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.pcs-stars {
    color: #ccc;
    font-size: 18px;
    letter-spacing: 2px;
    user-select: none;
}

.pcs-stars span {
    cursor: not-allowed;
}

.pcs-teaser-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
}

.pcs-teaser-textarea {
    width: 100%;
    height: 120px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
    background: #fafafa;
    cursor: not-allowed;
}

.pcs-teaser-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.pcs-teaser-inputs input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
    cursor: not-allowed;
}

.pcs-teaser-submit {
    align-self: flex-start;
    padding: 10px 25px;
    background: #999;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: not-allowed;
    text-transform: uppercase;
    font-size: 12px;
}

/* RELATED PRODUCTS SECTION */
.pcs-related-products-section {
    margin-top: 60px;
    margin-bottom: 20px;
}

.pcs-related-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 30px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.pcs-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pcs-related-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.25s ease;
    box-shadow: none;
}

.pcs-related-card:hover {
    box-shadow: none;
    transform: translateY(-5px);
}

.pcs-related-img-link {
    width: 100%;
    display: block;
}

.pcs-related-img-wrap {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
    margin-bottom: 15px;
}

.pcs-related-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pcs-related-card-title {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 15px 0;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcs-related-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.4;
}

.pcs-related-card-title a:hover {
    color: #e30613;
}

.pcs-related-card-action {
    width: 100%;
    margin-top: auto;
}

.pcs-related-enquire-btn {
    display: block;
    width: 100%;
    padding: 9px 15px;
    background: #e30613;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    border: 1.5px solid #e30613;
    transition: all 0.25s ease;
}

.pcs-related-enquire-btn:hover {
    background: #000000;
    border-color: #000000;
    color: #fff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsiveness */
@media (max-width: 991px) {
    .pcs-card {
        flex-direction: column;
        padding: 25px;
        gap: 30px;
    }
    
    .pcs-card .pcs-image-container {
        flex: 1 1 100%;
        width: 100%;
        height: 320px;
    }
    
    .pcs-card-details {
        flex: 1 1 100%;
        width: 100%;
    }

    .pcs-product-main-card {
        padding: 25px;
        gap: 30px;
    }
    
    .pcs-product-gallery-section {
        flex: 1 1 100%;
    }
    
    .pcs-product-info-section {
        flex: 1 1 100%;
    }
    
    .pcs-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pcs-product-main-image-wrap {
        height: 380px;
    }
    
    .pcs-card-details .pcs-title,
    .pcs-product-title {
        font-size: 38px;
    }
}

@media (max-width: 575px) {
    .pcs-card {
        padding: 15px;
        gap: 20px;
    }
    
    .pcs-card .pcs-image-container {
        height: 240px;
    }
    
    .pcs-card-details .pcs-title,
    .pcs-product-title {
        font-size: 28px;
    }
    
    .pcs-card-details .pcs-swatch-img-wrap {
        width: 50px;
        height: 50px;
    }

    .pcs-product-main-card {
        padding: 15px;
    }
    
    .pcs-product-gallery-section {
        flex-direction: column-reverse;
    }
    
    .pcs-gallery-thumbnails {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }
    
    .pcs-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .pcs-product-main-image-wrap {
        height: 280px;
    }
    
    .pcs-related-grid {
        grid-template-columns: 1fr;
    }
    
    .pcs-teaser-inputs {
        grid-template-columns: 1fr;
    }
    
    .pcs-tab-btn {
        padding: 12px 15px;
        font-size: 13px;
    }
}

