/* ============================================================
SINGLE-FLOWERBOARD.CSS - Product Detail Page (Bunga Papan)
Akila Florist Starter Theme
Location: /assets/css/04-pages/single-flowerboard.css

CLEANED: Size Guide CSS Removed
============================================================ */

/* --- 1. PAGE BASE --- */
.st-flowerboard-page {
    background: var(--bg-color, #ffffff);
    min-height: 100vh;
}

/* --- 2. BOARD SPECIFICS SECTION --- */
.st-board-specifics {
    background: var(--bg-light, #f8f9fa);
    padding: 25px;
    border-radius: var(--border-radius, 12px);
    margin: 30px 0;
    border: 1px solid var(--border-color, #e0e0e0);
}

.st-board-specifics .st-info-title {
    margin-bottom: 20px;
    color: var(--primary-color, #333);
}

.st-board-table {
    width: 100%;
    background: var(--white, #ffffff);
    border-radius: var(--border-radius, 8px);
    overflow: hidden;
    border: 1px solid var(--border-color, #e0e0e0);
}

.st-board-table tr {
    border-bottom: 1px solid var(--border-color, #e0e0e0);
}

.st-board-table tr:last-child {
    border-bottom: none;
}

.st-board-table th,
.st-board-table td {
    padding: 15px 20px;
    text-align: left;
}

.st-board-table th {
    width: 40%;
    background: var(--bg-light, #f8f9fa);
    font-weight: 600;
    color: var(--text-muted, #666);
    font-size: 0.9rem;
}

.st-board-table td {
    color: var(--text-color, #333);
    font-size: 0.95rem;
}

/* Ownership Badge */
.st-ownership-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}

.st-ownership-badge.badge-rent {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.st-ownership-badge.badge-own {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

/* --- 3. CORPORATE INFO SECTION --- */
.st-corporate-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 25px;
    border-radius: var(--border-radius, 12px);
    margin: 30px 0;
    color: var(--white, #ffffff);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.st-corporate-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.st-corporate-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.st-corporate-item:first-child {
    padding-top: 0;
}

.st-corporate-item i {
    font-size: 1.5rem;
    color: var(--white, #ffffff);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.st-corporate-item strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--white, #ffffff);
}

.st-corporate-item span {
    font-size: 0.9rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* --- 4. GALLERY CAROUSEL --- */
.st-product-gallery {
    position: sticky;
    top: 100px;
}

.st-main-image {
    position: relative;
    border-radius: var(--border-radius, 12px);
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--bg-light, #f5f5f5);
}

.st-stock-badge,
.st-discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
}

.st-stock-badge.stock-ready {
    background: #10b981;
    color: white;
}

.st-discount-badge {
    left: auto;
    right: 15px;
    background: #ef4444;
    color: white;
}

/* Gallery Carousel Container */
.st-gallery-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: var(--card-aspect-ratio, 3/4);
    overflow: hidden;
    background: var(--bg-light, #f5f5f5);
    border-radius: var(--border-radius, 12px);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.st-gallery-carousel:active {
    cursor: grabbing;
}

.st-gallery-carousel img {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

/* Image Slides Container */
.st-gallery-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Slide */
.st-gallery-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: opacity, visibility;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Active Slide - VISIBLE */
.st-gallery-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Images */
.st-gallery-slide img,
.st-main-image img.img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none !important;
}

/* Swiper Pagination Dots */
.st-gallery-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.st-pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    margin: 0;
}

.st-pagination-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
}

.st-pagination-dot.active {
    background: var(--accent-color, #667eea);
    border-color: var(--accent-color, #667eea);
    transform: scale(1.4);
    width: 12px;
    height: 12px;
}

/* --- 5. FLOWER BOARD DELIVERY GRID --- */
.st-flowerboard-page .st-delivery-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.st-flowerboard-page .st-delivery-card {
    background: var(--white, #ffffff);
    padding: 25px 20px;
    border-radius: var(--border-radius, 12px);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color, #e0e0e0);
}

.st-flowerboard-page .st-delivery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color, #667eea);
}

.st-flowerboard-page .st-delivery-card i {
    font-size: 2.5rem;
    color: var(--accent-color, #667eea);
    margin-bottom: 15px;
    display: inline-block;
}

.st-flowerboard-page .st-delivery-card h4 {
    margin-bottom: 10px;
    color: var(--primary-color, #333);
    font-family: var(--font-heading, inherit);
    font-size: 1rem;
}

.st-flowerboard-page .st-delivery-card p {
    color: var(--text-muted, #666);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* --- 6. RESPONSIVE --- */
@media (max-width: 992px) {
    .st-board-specifics {
        padding: 20px;
    }

    .st-corporate-info {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .st-board-table th,
    .st-board-table td {
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .st-board-table th {
        width: 35%;
    }

    .st-corporate-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .st-corporate-item i {
        margin-bottom: 10px;
    }

    .st-gallery-pagination {
        bottom: 15px;
        padding: 6px 10px;
    }

    .st-pagination-dot {
        width: 8px;
        height: 8px;
    }

    .st-pagination-dot.active {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .st-board-specifics {
        padding: 15px;
    }

    .st-board-table {
        font-size: 0.8rem;
    }

    .st-board-table th,
    .st-board-table td {
        padding: 10px 12px;
    }

    .st-corporate-info {
        padding: 20px 15px;
    }
}

/* --- 7. SKIN-SPECIFIC ADJUSTMENTS --- */

/* Luxury Skin */
.skin-luxury .st-board-specifics {
    border-radius: 0;
    border-width: 1px 0 1px 0;
}

.skin-luxury .st-ownership-badge.badge-rent {
    background: #fef3c7;
    color: #78350f;
    border-color: #d97706;
}

.skin-luxury .st-ownership-badge.badge-own {
    background: #d1fae5;
    color: #064e3b;
    border-color: #059669;
}

.skin-luxury .st-corporate-info {
    background: linear-gradient(135deg, #083b50 0%, #a58d67 100%);
}

/* Playful Skin */
.skin-playful .st-board-specifics,
.skin-playful .st-delivery-card {
    border-radius: 25px;
}

.skin-playful .st-corporate-info {
    background: linear-gradient(135deg, #ff8da1 0%, #72ddf7 100%);
}

/* Modern Skin */
.skin-modern .st-board-specifics,
.skin-modern .st-delivery-card {
    border-radius: 12px;
}

.skin-modern .st-corporate-info {
    background: linear-gradient(135deg, #5B6D92 0%, #d18266 100%);
}

/* Corporate Skin */
.skin-corporate .st-board-specifics {
    border-radius: 4px;
}

.skin-corporate .st-board-table th {
    background: var(--primary-color, #00266f);
    color: var(--white, #ffffff);
}

.skin-corporate .st-corporate-info {
    background: linear-gradient(135deg, #00266f 0%, #fe9e01 100%);
}

.skin-corporate .st-ownership-badge.badge-own {
    background: #00266f;
    color: #ffffff;
}

/* Griya Bunga Skin */
.skin-griya-bunga .st-board-specifics {
    border-radius: 12px;
}

.skin-griya-bunga .st-corporate-info {
    background: linear-gradient(135deg, #6A5ACD 0%, #E6E6FA 100%);
    color: #2E2E2E;
}

.skin-griya-bunga .st-corporate-item strong,
.skin-griya-bunga .st-corporate-item span {
    color: #2E2E2E;
}

/* --- 8. CUSTOMER REVIEW SECTION --- */
.st-customer-review {
    background: var(--bg-light, #f8f9fa);
    padding: 60px 0;
    margin-top: 40px;
}

.st-customer-review .st-section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--primary-color, #333);
    font-family: var(--font-heading, inherit);
}

.st-customer-review .st-section-title i {
    color: var(--accent-color, #667eea);
    margin-right: 10px;
}

.st-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.st-review-card {
    background: var(--white, #ffffff);
    border-radius: var(--border-radius, 12px);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color, #e0e0e0);
}

.st-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.st-review-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-light, #f5f5f5);
}

.st-review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.st-review-card:hover .st-review-image img {
    transform: scale(1.05);
}

.st-review-caption {
    padding: 20px;
    background: var(--white, #ffffff);
    border-top: 1px solid var(--border-color, #f0f0f0);
}

.st-review-caption p {
    margin: 0;
    color: var(--text-color, #333);
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
}

.st-review-caption::before {
    content: '"';
    font-size: 2rem;
    color: var(--accent-color, #667eea);
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}

/* Responsive - Customer Review */
@media (max-width: 768px) {
    .st-customer-review {
        padding: 40px 0;
    }

    .st-review-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .st-customer-review .st-section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .st-review-grid {
        grid-template-columns: 1fr;
    }

    .st-review-caption p {
        font-size: 0.9rem;
    }
}

/* Skin-Specific Adjustments - Customer Review */
.skin-luxury .st-review-card {
    border-radius: 0;
    border-width: 1px 0 1px 0;
}

.skin-playful .st-review-card {
    border-radius: 25px;
}

.skin-corporate .st-review-card {
    border-radius: 4px;
}