/* AnySmart Website - Aluminium & Glass Page CSS */

/* Root Variables - Matching AnySmart Theme */
:root {
    --primary-blue: #03a9f4;
    --light-gray: #e9e9e9;
    --dark-gray: #666666;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* Prevent horizontal overflow */
body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Hero section styles are imported from the component */

/* ========================================
   INTRO SECTION
======================================== */
.intro-section {
    background: var(--white);
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.intro-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.intro-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-text h2 {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--dark-gray);
    margin-bottom: 40px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.intro-text p {
    font-size: 1.15rem;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

/* ========================================
   PRODUCTS GRID SECTION
======================================== */
.products-grid-section {
    background: var(--light-gray);
    padding: 120px 40px;
    width: 100%;
    box-sizing: border-box;
}

.products-grid-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}



.product-card {
    background: var(--white);
    padding: 50px 30px;
    text-align: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px var(--shadow);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px var(--shadow-hover);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.4s ease;
}

.product-card:hover .product-icon-wrapper {
    transform: scale(1.1) rotateY(5deg);
}

.product-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: filter 0.4s ease;
}

.product-card:hover .product-icon-wrapper img {
    filter: grayscale(0);
}

.product-card h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin: 0;
    transition: color 0.3s ease;
}

.product-card:hover h3 {
    color: var(--primary-blue);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(3, 169, 244, 0.95) 0%, rgba(3, 169, 244, 0.9) 100%);
    padding: 25px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-overlay {
    transform: translateY(0);
}

.product-overlay p {
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   FEATURE SECTION
======================================== */
.feature-section {
    background: var(--white);
    padding: 120px 40px;
    width: 100%;
    box-sizing: border-box;
}

.feature-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-images {
    position: relative;
}

.feature-image-main {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
    aspect-ratio: 4 / 3;
    height: 500px;
}

.feature-image-main::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(3, 169, 244, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.feature-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, opacity 0.4s ease;
}

.feature-images:hover .feature-image-main img {
    transform: scale(1.05);
}

.feature-content h2 {
    font-size: 3rem;
    font-weight: 300;
    color: var(--dark-gray);
    margin-bottom: 35px;
    letter-spacing: -1px;
}

.feature-text p {
    font-size: 1.05rem;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.feature-highlight {
    background: var(--light-gray);
    border-left: 4px solid var(--primary-blue);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 8px 8px 0;
}

.feature-highlight h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.feature-highlight p {
    margin-bottom: 0;
    color: var(--dark-gray);
}

.partnership-badge {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0288d1 100%);
    padding: 25px 30px;
    border-radius: 8px;
    margin: 40px 0;
    text-align: center;
}

.partnership-badge p {
    color: var(--white);
    margin-bottom: 8px;
}

.partnership-badge p:last-child {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.feature-cta {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 16px 50px;
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(3, 169, 244, 0.3);
    margin-top: 20px;
}

.feature-cta:hover {
    background: #0288d1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 169, 244, 0.4);
}

/* ========================================
   GALLERY SECTION
======================================== */
.gallery-section {
    background: var(--light-gray);
    padding: 120px 40px;
    width: 100%;
    box-sizing: border-box;
}

.gallery-header {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.gallery-header h2 {
    font-size: 3rem;
    font-weight: 300;
    color: var(--dark-gray);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.gallery-header p {
    font-size: 1.1rem;
    color: var(--dark-gray);
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 2px 8px var(--shadow);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.gallery-item.gallery-item--visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item.gallery-item--visible:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 1 / 1;
}

/* ========================================
   LIGHTBOX MODAL
======================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--primary-blue);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--white);
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    border-radius: 4px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1200px) {
    .products-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .intro-text h2 {
        font-size: 2.8rem;
    }
    
    .feature-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .feature-image-main {
        height: 400px;
    }
    
    .feature-content h2 {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .factsheets-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .factsheets-image {
        min-height: 300px;
        max-height: 400px;
    }
    
    .factsheets-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .intro-section {
        padding: 80px 25px;
    }
    
    .intro-text h2 {
        font-size: 2.2rem;
    }
    
    .intro-text p {
        font-size: 1.05rem;
    }
    
    .products-grid-section {
        padding: 80px 25px;
    }
    
    .products-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        padding: 40px 25px;
    }
    
    .feature-section {
        padding: 80px 25px;
    }
    
    .feature-image-main {
        height: 350px;
    }
    
    .feature-content h2 {
        font-size: 2rem;
    }
    
    .feature-highlight {
        padding: 25px 20px;
    }
    
    .gallery-section {
        padding: 80px 25px;
    }
    
    .gallery-header h2 {
        font-size: 2.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .factsheets-section {
        padding: 40px 25px;
    }
    
    .factsheets-title {
        font-size: 1.8rem;
    }
    
    .factsheet-row {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .factsheet-btn {
        width: 100%;
    }
    
    .fund-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .intro-section {
        padding: 60px 25px;
    }
    
    .intro-content {
        width: 100%;
        max-width: 100%;
    }
    
    .intro-text {
        width: 100%;
        max-width: 100%;
    }
    
    .intro-text h2 {
        font-size: 1.8rem;
    }
    
    .intro-text p {
        font-size: 1rem;
    }
    
    .products-grid-section {
        padding: 60px 25px;
    }
    
    .product-card {
        padding: 35px 20px;
    }
    
    .product-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .product-card h3 {
        font-size: 1.05rem;
    }
    
    .feature-section {
        padding: 60px 20px;
    }
    
    .feature-container {
        gap: 40px;
        max-width: 100%;
    }
    
    .feature-images {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .feature-image-main {
        height: 250px;
        width: 100%;
        margin: 0;
    }
    
    .feature-image-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .feature-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .feature-content h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .feature-text {
        width: 100%;
    }
    
    .feature-text p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }
    
    .feature-highlight {
        padding: 20px;
        margin: 25px 0;
        border-radius: 0 6px 6px 0;
    }
    
    .feature-highlight h3 {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }
    
    .feature-highlight p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .partnership-badge {
        padding: 20px;
        margin: 25px 0;
        border-radius: 6px;
    }
    
    .partnership-badge p {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .partnership-badge p:last-child {
        font-size: 0.85rem;
        margin-bottom: 0;
    }
    
    .feature-cta {
        display: block;
        padding: 14px 30px;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        margin-top: 25px;
    }
    
    .gallery-section {
        padding: 60px 25px;
    }
    
    .gallery-header h2 {
        font-size: 1.8rem;
    }
    
    .gallery-header p {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 40px;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .lightbox-prev,
    .lightbox-next {
        padding: 10px 15px;
        font-size: 20px;
    }
    
    .factsheets-section {
        padding: 30px 15px;
    }
    
    .factsheets-title {
        font-size: 1.5rem;
    }
    
    .factsheets-image {
        min-height: 250px;
    }
    
    .factsheet-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .download-all-btn {
        padding: 14px 30px;
    }
}

/* ========================================
   OLD SECTIONS (IF NEEDED)
======================================== */
.factsheets-section {
    background: #d3d3d3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 40px;
}

.factsheets-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.factsheets-title {
    font-size: 3rem;
    font-weight: 300;
    color: #000000;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0;
}

.factsheets-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

/* Left Column: Image */
.factsheets-image {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.factsheets-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
    aspect-ratio: 1 / 1;
}

/* Right Column: Content */
.factsheets-content {
    display: flex;
    flex-direction: column;
}

/* Factsheets List */
.factsheets-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.factsheet-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #666666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.factsheet-row:hover {
    padding-left: 10px;
}

.factsheet-row.convenience-row {
    border-bottom: 2px solid #8b7340;
    padding-bottom: 0;
}

.fund-name {
    font-size: 1.1rem;
    color: #000000;
    font-weight: 400;
    line-height: 1.5;
}

.factsheet-btn {
    background: #000000;
    color: white;
    border: none;
    padding: 12px 50px;
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.factsheet-btn:hover {
    background: #333333;
}

.download-all-btn {
    background: #8b7340;
    padding: 14px 50px;
    font-size: 1rem;
}

.download-all-btn:hover {
    background: #a67c00;
}

/* ========================================
   GALLERY TAGS – colour & type overlays
======================================== */
.gallery-tags {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 28px 8px 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
    pointer-events: none;
}

.tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.58rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.6;
}

/* Product-type tag */
.tag-type {
    background: var(--primary-blue);
    color: #fff;
}

/* Glass-type tag – same pill style as colour, with a dot */
.tag-glass {
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
}

.tag-glass::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
    flex-shrink: 0;
    vertical-align: middle;
}

/* Clear glass – essentially invisible/transparent dot */
.tag-glass--clear-glass::before {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* White translucent – solidly white but slightly transparent */
.tag-glass--white-translucent::before {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Obscure glass – even less solid, quite frosted */
.tag-glass--obscure-glass::before {
    background: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Colour tags – neutral pill with a coloured dot */
.tag-colour {
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
}

.tag-colour::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
    flex-shrink: 0;
    vertical-align: middle;
}

.tag-colour--white::before {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.tag-colour--bronze::before {
    background: #7a4a10;
}
.tag-colour--charcoal::before {
    background: #3a4a5a;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.tag-colour--matt-black::before {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.tag-colour--natural-anodised::before {
    background: linear-gradient(135deg, #d0d0d0 0%, #a8b0b8 40%, #c8cdd2 70%, #b0b8c0 100%);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

/* ========================================
   GALLERY – description overlay on hover
======================================== */
.gallery-desc-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 36px; /* sits above the tags strip */
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item.gallery-item--visible:hover .gallery-desc-overlay {
    opacity: 1;
}

.gallery-desc-overlay p {
    color: #fff;
    font-size: 0.8rem;
    text-align: center;
    margin: 0;
    line-height: 1.45;
}

/* ========================================
   GALLERY – filter states
======================================== */
.gallery-grid.filter-active .gallery-item.gallery-item--visible {
    opacity: 0.15;
    transform: scale(0.97);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    will-change: transform, opacity;
}

.gallery-grid.filter-active .gallery-item.gallery-item--visible.gallery-item--highlight {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 3px var(--primary-blue), 0 8px 24px rgba(3, 169, 244, 0.35);
}

.gallery-grid.filter-active .gallery-item.gallery-item--visible.gallery-item--highlight:hover {
    transform: translateY(-4px) scale(1);
    box-shadow: 0 0 0 3px var(--primary-blue), 0 14px 32px rgba(3, 169, 244, 0.45);
}

/* ========================================
   GALLERY QUICK FILTERS
======================================== */
.gallery-quick-filters {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

#qf-dropdowns {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ---- Desktop / tablet: flat label + chips ---- */
.qf-dropdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qf-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dark-gray);
    opacity: 0.55;
}

/* Trigger pill hidden on desktop */
.qf-trigger        { display: none; }

/* Panel sits flat, no dropdown chrome */
.qf-panel {
    position: static;
    display: block;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    border-radius: 0;
}

/* Chips */
.qf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.qf-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1.5px solid rgba(102, 102, 102, 0.35);
    border-radius: 20px;
    background: transparent;
    color: var(--dark-gray);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.qf-chip:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.qf-chip--active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
}

/* Colour dots */
.qf-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.qf-dot--white      { background: #e0e0e0; border: 1px solid rgba(0, 0, 0, 0.15); }
.qf-dot--bronze     { background: #7a4a10; }
.qf-dot--charcoal   { background: #3a4a5a; }
.qf-dot--matt-black      { background: #111; border: 1px solid rgba(200, 200, 200, 0.25); }
.qf-dot--natural-anodised { background: linear-gradient(135deg, #d0d0d0 0%, #a8b0b8 40%, #c8cdd2 70%, #b0b8c0 100%); border: 1px solid rgba(0,0,0,0.15); }

/* Glass type dots for quick-filter chips */
.qf-dot--clear-glass       { background: rgba(180, 210, 230, 0.25); border: 1px solid rgba(180, 210, 230, 0.7); }
.qf-dot--white-translucent { background: rgba(230, 235, 240, 0.72); border: 1px solid rgba(200, 210, 220, 0.6); }
.qf-dot--obscure-glass     { background: rgba(200, 210, 220, 0.38); border: 1px solid rgba(180, 195, 210, 0.55); }

.qf-chip--active .qf-dot--white { border-color: rgba(255, 255, 255, 0.6); }

/* Clear button */
.qf-clear {
    align-self: flex-start;
    margin-top: 28px; /* lines up roughly with first chip row */
    padding: 6px 14px;
    background: transparent;
    border: 1.5px solid rgba(102, 102, 102, 0.35);
    border-radius: 20px;
    color: var(--dark-gray);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
}

.qf-clear--visible {
    opacity: 1;
    pointer-events: all;
}

.qf-clear:hover {
    background: var(--dark-gray);
    border-color: var(--dark-gray);
    color: #fff;
}

/* Chevron (only visible on mobile) */
.qf-chevron {
    width: 10px;
    height: 6px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

/* ---- Mobile: switch to dropdown pills ---- */
@media (max-width: 600px) {
    .gallery-quick-filters {
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        padding: 0 15px;
        margin-bottom: 24px;
    }

    #qf-dropdowns {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .qf-dropdown {
        position: relative;
        flex-direction: column;
        gap: 0;
    }

    /* Hide desktop label, show trigger pill */
    .qf-label   { display: none; }

    .qf-trigger {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 15px;
        border: 1.5px solid rgba(102, 102, 102, 0.35);
        border-radius: 20px;
        background: var(--white);
        color: var(--dark-gray);
        font-size: 0.85rem;
        font-weight: 500;
        cursor: pointer;
        transition: border-color 0.2s ease, color 0.2s ease;
        white-space: nowrap;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .qf-trigger:hover,
    .qf-trigger--active {
        border-color: var(--primary-blue);
        color: var(--primary-blue);
    }

    .qf-trigger-text strong { font-weight: 600; }

    .qf-dropdown--open .qf-chevron { transform: rotate(180deg); }

    /* Panel becomes floating dropdown */
    .qf-panel {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        z-index: 200;
        background: var(--white);
        border: 1.5px solid rgba(102, 102, 102, 0.2);
        border-radius: 12px;
        padding: 14px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        min-width: 200px;
        display: none;
    }

    .qf-dropdown--open .qf-panel { display: block; }

    .qf-clear {
        margin-top: 0;
        padding: 8px 14px;
    }
}

/* ========================================
   ACTIVE PRODUCT CARD (filter selected)
======================================== */
.product-card--active {
    background: var(--primary-blue) !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 32px rgba(3, 169, 244, 0.45) !important;
}

.product-card--active::before {
    transform: scaleX(1) !important;
    background: rgba(255, 255, 255, 0.4) !important;
}

.product-card--active h3 {
    color: var(--white) !important;
}

.product-card--active .product-overlay {
    transform: translateY(0) !important;
}

.product-card--active .product-icon-wrapper img {
    filter: brightness(0) invert(1) !important;
}

/* ========================================
   LIGHTBOX CAPTION
======================================== */
#lightbox-caption {
    position: absolute;
    bottom: 70px; /* above nav buttons */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    padding: 0 20px;
    text-align: center;
}

.lightbox-tags {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.lightbox-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* ========================================
   GALLERY HEADER
======================================== */