/* ================================================================
   SERVICES CATALOG - Product Cards Style
   ================================================================ */

/* ===== FILTER BAR ===== */
.catalog-filter-section {
    padding: 25px 0;
    background: rgba(253, 248, 240, 0.97);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 68px;
    z-index: 100;
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
    box-shadow: 0 4px 20px rgba(160, 120, 48, 0.06);
}

.catalog-filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cat-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--warm-white);
    border: 1.5px solid rgba(201, 168, 76, 0.15);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.35s ease;
    white-space: nowrap;
}

.cat-filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    background: rgba(201, 168, 76, 0.05);
}

.cat-filter-btn.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: white;
    border-color: var(--gold);
    box-shadow: 0 5px 18px rgba(201, 168, 76, 0.35);
}

.cat-filter-btn i {
    font-size: 0.8rem;
}

/* ===== CATALOG SECTIONS ===== */
.catalog-section {
    padding: 70px 0;
    background: var(--cream);
}

.catalog-section.catalog-alt {
    background: var(--cream-2);
}

/* ===== CATALOG TITLE BAR ===== */
.catalog-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.ctb-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ctb-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.ctb-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--text-primary);
    margin-bottom: 3px;
}

.ctb-left p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.82rem;
}

/* ===== PRODUCT GRID - Horizontal Scroll ===== */
.product-grid {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    cursor: grab;
}

.product-grid:active {
    cursor: grabbing;
}

/* Custom Scrollbar */
.product-grid::-webkit-scrollbar {
    height: 6px;
}

.product-grid::-webkit-scrollbar-track {
    background: rgba(201, 168, 76, 0.08);
    border-radius: 10px;
    margin: 0 20px;
}

.product-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 10px;
}

.product-grid::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Firefox scrollbar */
.product-grid {
    scrollbar-width: thin;
    scrollbar-color: #C9A84C rgba(201, 168, 76, 0.08);
}

/* Product Card - Fixed width for scroll */
.product-card {
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: var(--warm-white);
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 15px rgba(160, 120, 48, 0.06);
    position: relative;
}

.product-card.hidden {
    display: none;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 60px rgba(160, 120, 48, 0.18);
    border-color: rgba(201, 168, 76, 0.3);
}

/* ===== SCROLL ARROWS ===== */
.product-scroll-wrapper {
    position: relative;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-70%);
    width: 44px;
    height: 44px;
    background: var(--warm-white);
    border: 1.5px solid rgba(201, 168, 76, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 5;
    transition: all 0.35s ease;
    box-shadow: 0 4px 18px rgba(160, 120, 48, 0.12);
}

.scroll-arrow:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: white;
    border-color: var(--gold);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.4);
    transform: translateY(-70%) scale(1.08);
}

.scroll-arrow.arrow-left {
    left: -22px;
}

.scroll-arrow.arrow-right {
    right: -22px;
}

.scroll-arrow.arrow-hidden {
    opacity: 0;
    pointer-events: none;
}

/* ===== SCROLL INDICATOR DOTS ===== */
.scroll-indicator-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.scroll-progress {
    width: 120px;
    height: 3px;
    background: rgba(201, 168, 76, 0.12);
    border-radius: 10px;
    overflow: hidden;
}

.scroll-progress-fill {
    height: 100%;
    width: 30%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 10px;
    transition: width 0.3s ease;
}

.scroll-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.scroll-hint i {
    font-size: 0.7rem;
    color: var(--gold);
    animation: scrollHintBounce 1.5s infinite ease-in-out;
}

@keyframes scrollHintBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* ===== PRODUCT CARD ===== */
.product-card {
    background: var(--warm-white);
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 15px rgba(160, 120, 48, 0.06);
    position: relative;
}

.product-card.hidden {
    display: none;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 60px rgba(160, 120, 48, 0.18);
    border-color: rgba(201, 168, 76, 0.3);
}

/* Image Wrapper */
.product-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.1);
}

/* Hover Actions */
.product-actions {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
    opacity: 0;
    transform: translateX(15px);
    transition: all 0.4s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.pa-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 253, 247, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pa-btn:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: white;
    border-color: var(--gold);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(201, 168, 76, 0.35);
}

/* Product Info */
.product-info {
    padding: 20px;
}

.product-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-dark);
    margin-bottom: 6px;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 15px;
}

.product-rating i {
    font-size: 0.7rem;
    color: #F59E0B;
}

.product-rating span {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-left: 5px;
}

/* Price Row */
.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-current {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-old {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-book-btn {
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: white;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.35s ease;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 3px 12px rgba(201, 168, 76, 0.25);
}

.product-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.45);
    color: white;
}

/* ===== CUSTOM ORDER CTA ===== */
.custom-order-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #2d2010, #1a1208);
    position: relative;
    overflow: hidden;
}

.custom-order-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08), transparent 60%);
    border-radius: 50%;
}

.coc-card {
    position: relative;
    z-index: 1;
    text-align: center;
}

.coc-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border: 1.5px solid rgba(201, 168, 76, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--gold-light);
    margin: 0 auto 28px;
}

.coc-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: white;
    margin-bottom: 14px;
}

.coc-card p {
    color: rgba(255, 248, 230, 0.6);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 35px;
    line-height: 1.85;
}

.coc-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.coc-buttons .btn-outline {
    color: var(--gold-light);
    border-color: rgba(201, 168, 76, 0.45);
}

.coc-buttons .btn-outline:hover {
    background: var(--gold);
    color: white;
    border-color: var(--gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .product-card {
        min-width: 260px;
        max-width: 260px;
    }

    .scroll-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .product-card {
        min-width: 240px;
        max-width: 240px;
    }

    .catalog-title-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .catalog-filter-section {
        position: relative;
        top: 0;
    }

    .cat-filter-btn {
        padding: 8px 15px;
        font-size: 0.78rem;
    }

    .product-info {
        padding: 15px;
    }

    .price-current {
        font-size: 1.15rem;
    }

    .product-book-btn {
        padding: 7px 14px;
        font-size: 0.72rem;
    }

    .catalog-section {
        padding: 45px 0;
    }

    .scroll-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .product-card {
        min-width: 220px;
        max-width: 220px;
    }

    .catalog-filter-bar {
        gap: 6px;
    }

    .cat-filter-btn {
        padding: 7px 12px;
        font-size: 0.72rem;
    }

    .cat-filter-btn i {
        display: none;
    }

    .product-grid {
        gap: 14px;
    }
}