/*
 * Styles for the GreenShift Product Slider plugin.
 * These rules craft a card layout reminiscent of the uploaded sample
 * while keeping a clean, flexible structure. Feel free to tweak
 * colours and sizing to fit your own brand.
 */

.gsp-slider-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Swiper instance wrapper */
.gsp-swiper {
    width: 100%;
    height: auto;
    padding-bottom: 40px; /* space for pagination */
}

/* Ensure slides take up full width and center their content */
.gsp-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The card wrapper that holds image and content */
.gsp-card-wrapper {
    display: flex;
    flex-direction: row;
    background-color: #fff;
    color: #222;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-height: 300px;
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
}

/* Left side image */
.gsp-card-image {
    width: 45%;
    background-size: cover;
    background-position: center;
    min-height: 300px;
}

/* Right side content */
.gsp-card-content {
    width: 55%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-sizing: border-box;
}

/* Header area with title and type pill */
.gsp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gsp-card-title {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

.gsp-card-type {
    background-color: #c8e6c9;
    color: #000;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Subtitle text */
.gsp-card-subtitle {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0.3rem;
}

/* Stats container */
.gsp-card-stats {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

/* Individual stat pill */
.gsp-stat {
    border: 2px solid #000;
    border-radius: 8px;
    padding: 0.3rem 0.5rem;
    display: flex;
    gap: 0.25rem;
    font-size: 0.8rem;
    align-items: baseline;
}

.gsp-stat-label {
    font-weight: 700;
    margin-right: 0.2rem;
    text-transform: uppercase;
}

.gsp-stat-value {
    font-weight: 700;
}

/* Flavor and aroma container */
.gsp-card-descriptions {
    border: 2px solid #000;
    border-radius: 8px;
    padding: 0.4rem;
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.gsp-card-descriptions .gsp-description-item + .gsp-description-item {
    margin-top: 0.4rem;
}

/* Total terpenes line */
.gsp-total-terpenes {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 0.3rem;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.gsp-total-terpenes .gsp-total-value {
    font-size: 1.5rem;
    font-weight: 800;
    margin-right: 0.2rem;
}

/* Table of individual terpenes */
.gsp-terpenes-list table {
    font-size: 0.75rem;
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.3rem;
}

.gsp-terpenes-list td {
    padding: 0.2rem 0.3rem;
}

.gsp-terpenes-list tr:not(:last-child) td {
    border-bottom: 1px solid #ddd;
}

/* Effects section */
.gsp-effects {
    background-color: #000;
    color: #fff;
    border-radius: 8px;
    padding: 0.4rem;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.gsp-effects-title {
    font-weight: 700;
    display: block;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.gsp-effects ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gsp-effects li {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
}

/* Buttons */
.gsp-card-buttons {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.gsp-btn {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    transition: background-color 0.2s ease;
}

.gsp-product-btn {
    background-color: #ff5722;
    color: #fff;
}

.gsp-product-btn:hover {
    background-color: #e64a19;
}

.gsp-coa-btn {
    background-color: #607d8b;
    color: #fff;
}

.gsp-coa-btn:hover {
    background-color: #546e7a;
}

/* Swiper pagination bullets */
.swiper-pagination-bullet {
    background: #bbb;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #000;
}

/* Navigation arrows */
.swiper-button-next, .swiper-button-prev {
    color: #000;
}