/* Premium Grid & Card Styles */
.pcs-grid, .pcs-single-wrapper {
    font-family: 'Jost', sans-serif;
}
.pcs-grid {
    display: grid;
    grid-gap: 20px;
    margin: 30px 0;
}
.pcs-grid-cols-4 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.pcs-grid-cols-3 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

.pcs-card {
    background: #fdfdfd;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.pcs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1); /* Hover shadow */
}

.pcs-card-header {
    font-size: 11px;
    color: #666;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}
.pcs-compare-checkbox {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.pcs-image-container {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
}

.pcs-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease; /* Fade effect for switching images */
}
.pcs-main-image.fade-out {
    opacity: 0;
}

.pcs-card-content {
    flex-grow: 1;
    padding: 13px 20px;
}

.pcs-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 15px 0 8px 0;
    line-height: 1.4;
}

.pcs-price {
    font-size: 15px;
    font-weight: 700;
    color: #0b5aa5; /* Trustworthy blue */
    margin: 0 0 20px 0;
}

.pcs-card-footer {
    margin-top: auto;
    padding: 0 20px 20px 20px;
}

.pcs-know-more {
    display: inline-block;
    padding: 10px 24px;
    background: #ffffff;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.pcs-know-more:hover {
    background: #0b5aa5;
    color: #fff;
    border-color: #0b5aa5;
    box-shadow: 0 4px 10px rgba(11, 90, 165, 0.2);
}

/* Colors Container aligned to right edge inside card */
.pcs-colors-container {
    position: absolute;
    bottom: 25px;
    right: 20px;
    display: flex;
    flex-direction: column; /* Vertical stacking */
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 8px 6px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Nice float effect */
}

.pcs-swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.pcs-swatch.active {
    box-shadow: 0 0 0 2px #0b5aa5;
}

.pcs-swatch.text-swatch {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: #555;
    box-shadow: none;
}

/* ==================================
   SINGLE PRODUCT PAGE STYLES 
   ================================== */
.pcs-single-wrapper {
    background: #fdfdfd;
    padding: 60px 20px;
}

.pcs-single-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
}

/* Left Section: Gallery */
.pcs-single-left {
    flex: 1 1 500px;
    display: flex;
    gap: 20px;
}

.pcs-single-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 80px;
}

.pcs-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s;
    background: #f9f9f9;
}

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

.pcs-thumbnail.active {
    border-color: #0b5aa5;
    box-shadow: 0 2px 10px rgba(11,90,165,0.2);
}

.pcs-single-main-image-wrap {
    flex-grow: 1;
    position: relative;
    background: #f5eedf; /* Beautiful beige/gold background similar to the image */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 400px;
    padding-bottom: 50px;
}

.pcs-single-main-image-wrap img {
    width: 100%;
    height: calc(100% - 50px);
    object-fit: cover; /* Cover to ensure full width */
    transition: opacity 0.3s;
}
.pcs-single-main-image-wrap img.fade-out {
    opacity: 0;
}

.pcs-slider-arrows {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
}

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

/* Right Section: Details */
.pcs-single-right {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pcs-share-wrapper {
    position: absolute;
    top: 0;
    left: -60px; /* Offset to the left of the content */
}

.pcs-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ccc;
    color: #555;
    transition: all 0.3s;
}

.pcs-share-btn:hover {
    background: #eee;
    color: #000;
}

.pcs-product-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 20px;
}

.pcs-btn-compare {
    background: transparent;
    border: 1px solid #0b5aa5;
    color: #0b5aa5;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}
.pcs-btn-compare:hover {
    background: #0b5aa5;
    color: #fff;
}

.pcs-single-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.pcs-single-price-wrap {
    margin-bottom: 30px;
}

.pcs-single-mrp {
    font-size: 24px;
    font-weight: bold;
    color: #0b5aa5;
}

.pcs-single-tax {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

.pcs-single-colors {
    margin-bottom: 40px;
}

.pcs-color-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #444;
}

.pcs-single-swatch-list {
    display: flex;
    gap: 12px;
}

.pcs-single-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ccc;
    transition: all 0.2s;
}

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

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

.pcs-single-actions {
    display: flex;
    gap: 20px;
}

.pcs-btn-outline {
    display: inline-block;
    padding: 10px 30px;
    background: transparent;
    color: #333;
    border: 1px solid #0b5aa5;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.pcs-btn-outline:hover {
    background: #0b5aa5;
    color: #fff;
}
