/* Wall Deco Complete Showcase - Curator Edition v2.1 */

:root {
    --wd-black: #111111;
    --wd-dark: #1a1a1a;
    --wd-gray: #777777;
    --wd-light: #f5f5f5;
    --wd-white: #ffffff;
    --wd-gold: #c9a962;
    --wd-font-serif: 'Playfair Display', serif;
    --wd-font-sans: 'Inter', sans-serif;
    --wd-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Base */
.wdcs-wrapper {
    font-family: var(--wd-font-sans);
    color: var(--wd-black);
    line-height: 1.6;
}

.wdcs-wrapper * { box-sizing: border-box; }

.wdcs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Buttons */
.wdcs-btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--wd-black);
    color: var(--wd-white);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    border: 1px solid var(--wd-black);
    text-decoration: none;
    transition: all 0.3s var(--wd-ease);
}

.wdcs-btn:hover {
    background: transparent;
    color: var(--wd-black);
}

.wdcs-btn-outline {
    background: transparent;
    color: var(--wd-black);
    border: 1px solid var(--wd-black);
}

.wdcs-btn-outline:hover {
    background: var(--wd-black);
    color: var(--wd-white);
}

/* Filter Bar (Reference: Earth/Gold Buttons) */
.wdcs-filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.wdcs-filter-btn {
    background: #f3f0eb; /* Beige/Stone Light */
    border: none;
    padding: 12px 30px;
    font-family: var(--wd-font-sans);
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px; /* Slight rounding like reference */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wdcs-filter-btn:hover {
    background: #e6e0d9;
    color: #222;
}

.wdcs-filter-btn.active {
    background: #d4a04d; /* Reference Gold */
    color: #fff;
    box-shadow: 0 5px 15px rgba(212, 160, 77, 0.3);
}

.wdcs-filter-btn.active::after { display: none; } /* Remove old underline */


/* Masonry Grid (Reference: Pinterest Style) */
.wdcs-grid {
    column-count: 3;
    column-gap: 30px;
    margin-bottom: 80px;
}

.wdcs-card {
    position: relative;
    break-inside: avoid; /* Prevent split */
    margin-bottom: 30px; /* Vertical gap */
    border-radius: 24px; /* High rounding */
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wdcs-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.wdcs-card-img-wrap {
    position: relative;
    overflow: hidden;
    margin: 0; /* Remove margin */
    /* aspect-ratio removed to allow natural height for masonry */
}

.wdcs-card-img {
    width: 100%;
    height: auto; /* Natural height */
    display: block;
    transition: transform 0.7s var(--wd-ease);
}

.wdcs-card:hover .wdcs-card-img {
    transform: scale(1.08); /* Slow zoom */
}

/* Overlay (Minimal) */
.wdcs-card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%); /* Gradient fade */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Bottom align */
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s;
}

.wdcs-card:hover .wdcs-card-overlay { opacity: 1; }

.wdcs-card-title {
    font-family: var(--wd-font-sans);
    font-size: 20px;
    margin: 0 0 5px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: 0.4s;
    font-weight: 300;
}
.wdcs-card:hover .wdcs-card-title { transform: translateY(0); }

.wdcs-card-title a { color: #fff; text-decoration: none; }

.wdcs-card-meta {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: 0.4s 0.1s;
}
.wdcs-card:hover .wdcs-card-meta { transform: translateY(0); }

/* Quick Look Button appearing on hover */
.wdcs-gallery-btn {
    background: #fff;
    color: #111;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    align-self: flex-start;
    transform: translateY(20px);
    transition: 0.4s 0.2s;
    cursor: pointer;
}
.wdcs-gallery-btn:hover { background: var(--wd-gold); color: #fff; }
.wdcs-card:hover .wdcs-gallery-btn { transform: translateY(0); }

/* Single Product - VORTEX Redesign (v3.0) */

/* 1. Main Layout */
.wdcs-single-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Image wider than Text */
    gap: 50px;
    padding: 60px 0;
    align-items: start;
    font-family: 'Inter', sans-serif; /* Explicit Font Reset */
}

/* 2. Header Row (Title + Icons) */
.wdcs-single-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    border-bottom: 2px solid transparent; /* Placeholder for alignment */
}

/* Title: Matches "VORTEX" look */
.wdcs-single-title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 300 !important; /* Light/Thin */
    font-size: 42px !important;
    color: #0b4f6c; /* Teal/Blue tone from reference, or fallback to Gold/Black if preferred. Let's use a Premium Teal/Gold mix */
    color: #111; 
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}
/* Optional: Highlight word color if needed */
.wdcs-single-title strong { color: var(--wd-gold); }




/* Icons */
.wdcs-feature-icons { display: flex; gap: 12px; }
.wdcs-feature-icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    color: #888;
    background: #f5f5f5;
    border-radius: 50%;
    transition: all 0.3s;
}
.wdcs-feature-icon:hover {
    background: #111; color: #fff; transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.wdcs-feature-icon svg { width: 20px; height: 20px; }

/* 3. Metadata */
.wdcs-meta-list {
    margin-bottom: 40px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03); /* Soft BG shadow */
    border: 1px solid rgba(0,0,0,0.04);
}
.wdcs-meta-row {
    font-size: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    border-bottom: 1px dashed #eee;
    padding-bottom: 10px;
}
.wdcs-meta-row:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.wdcs-meta-label { font-weight: 700; min-width: 140px; color: #111; }
.wdcs-meta-val { font-weight: 400; font-style: italic; color: #555; font-family: 'Playfair Display', serif; font-size: 17px; }

/* 4. Actions */
.wdcs-actions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}
.wdcs-btn-pill {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px; padding: 0 32px;
    border-radius: 60px;
    font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
    text-decoration: none; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative; overflow: hidden;
}

/* Primary */
.wdcs-btn-fill {
    background: #111; color: #fff; border: 1px solid #111;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.wdcs-btn-fill:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    background: #000;
}
/* Visualizer Special */
.wdcs-btn-visualizer {
    background: linear-gradient(135deg, #c9a962 0%, #a0823c 100%);
    color: #fff; border: none;
    animation: wdcsPulse 2s infinite;
}

/* Outline */
.wdcs-btn-outline-pill {
    background: #fff; color: #111; border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.wdcs-btn-outline-pill:hover {
    border-color: #111; transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* 5. Gallery & Magnifier */
.wdcs-single-img-wrap {
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); /* Subtle depth */
}

.wdcs-single-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
.wdcs-thumb {
    border-radius: 6px;
    overflow: hidden;
    opacity: 0.5;
    transition: 0.2s;
    border: 2px solid transparent;
}
.wdcs-thumb.active {
    opacity: 1;
    border-color: #2a81c4; /* Active Blue */
}


/* Quick View Modal */
.wdcs-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    display: none;
    align-items: center; justify-content: center;
}
.wdcs-modal.open { display: flex; }
.wdcs-modal-content {
    background: #fff; width: 900px; max-width: 90%; height: 600px;
    display: flex; position: relative;
}
.wdcs-modal-img { flex: 1; background: #f5f5f5; object-fit: cover; }
.wdcs-modal-details { flex: 1; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.wdcs-modal-close {
    position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 24px; cursor: pointer;
}

/* Lightbox */
.wdcs-lightbox {
    position: fixed; inset: 0; background: #fff; z-index: 999999;
    display: none; align-items: center; justify-content: center;
}
.wdcs-lightbox.active { display: flex; }
.wdcs-lightbox img { max-width: 95vw; max-height: 95vh; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.wdcs-lightbox-close {
    position: absolute; top: 30px; right: 30px; font-size: 40px; cursor: pointer;
}

/* Responsive */
@media(max-width: 1000px) {
    .wdcs-grid { grid-template-columns: repeat(2, 1fr); }
    .wdcs-single-wrapper { grid-template-columns: 1fr; }
    .wdcs-modal-content { height: auto; flex-direction: column; }
    .wdcs-modal-img { height: 300px; }
}
@media(max-width: 600px) {
    .wdcs-grid { grid-template-columns: 1fr; }
}
