/* ==================== RESET & BASE STYLES ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    background: linear-gradient(180deg, #f4f2f0 0%, #ede9e6 100%);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea {
    font-family: inherit;
    border: none;
    outline: none;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 20px;
}

.hero-logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    display: block;
}

.hero-content {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(0, 0, 0, 0.06);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.7);
    letter-spacing: 0;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 64px;
    line-height: 1;
    font-weight: 400;
    color: #000;
    letter-spacing: -0.03em;
    margin-bottom: 0;
}

.hero-title .italic {
    font-family: "Source Serif 4", Georgia, serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.05em;
}

/* ==================== LETTERS SECTION ==================== */
.letters-section {
    padding: 30px 20px;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: hidden;
}

.letters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 24px;
    padding: 12px 16px;
    border-radius: 50px;
    overflow: visible;
}

/* Location Filter Section */
/* .location-filters-section {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 8px;
    padding-top: 3px;
} */
.location-filters-section {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 8px;
    padding-top: 3px;
    overflow-x: visible;
}

.location-filters-section::-webkit-scrollbar {
    height: 4px;
}

.location-filters-section::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 2px;
}

.location-filters-section::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.location-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    background-color: #fff;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.7);
    white-space: nowrap;
    min-width: fit-content;
}

.location-btn:hover {
    border-color: rgba(0, 0, 0, 0.3);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.location-btn.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Filter Container */
.filters-wrapper {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex: 1;
    position: relative;
    align-items: center;
}

/* Category Buttons Row */
.category-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.filter-separator {
    width: 1px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.15);
    margin: 0 4px;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 50px;

    font-size: 15px;
    font-weight: 400;
    background-color: transparent;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.6);
    white-space: nowrap;
}

.filter-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #000;
}

.filter-btn.active {
    background-color: #fff;
    color: #000;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* More Filters Section */
.more-filters-section {
    position: relative;
    display: inline-block;
}

.more-filters-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(0, 0, 0, 0.7);
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.more-filters-toggle:hover {
    background: white;
    border-color: rgba(0, 0, 0, 0.2);
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.more-filters-toggle.active {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.more-filters-toggle svg {
    transition: transform 0.3s ease;
}

.more-filters-toggle.active svg {
    transform: rotate(180deg);
}

/* Dropdown Panel */
.more-filters-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 480px;
    max-width: 600px;
    z-index: 1000;
    display: none;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dropdown arrow pointer */
.more-filters-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 24px;
    width: 16px;
    height: 16px;
    background: white;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .more-filters-dropdown {
        animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.more-filters-dropdown.show {
    display: block;
}

.more-filters-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    margin: 16px 0;
}

.filter-row {
    display: flex;
    gap: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.filter-group-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

.filter-select {
    width: 100%;
    height: 48px;
    padding: 0 40px 0 18px;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    background-color: #fafafa;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: #1a1a1a;
}

.filter-select:hover {
    border-color: rgba(0, 0, 0, 0.3);
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.filter-select:focus {
    outline: none;
    border-color: #1a1a1a;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.filter-select option {
    padding: 12px;
    font-size: 15px;
}

/* Reset Button */
.btn-reset {
    height: 52px;
    padding: 0 32px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-reset:hover {
    background: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-reset:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-reset svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-reset:hover svg {
    transform: rotate(90deg);
}

/* Search Box */
.search-container {
    width: 240px;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.search-input {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 44px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    background-color: #fff;
    transition: all 0.3s ease;
    font-weight: 400;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-input:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.search-input:focus {
    outline: none;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.search-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

/* Blog Cards Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.blog-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    cursor: pointer;
    display: block;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-8px);
}

.blog-card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 16px;
}

.zoom-btn {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
}

.blog-card-image-wrapper:hover .zoom-btn {
    opacity: 1;
}

.zoom-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.zoom-btn svg {
    width: 20px;
    height: 20px;
    color: white;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-hover-preview {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    transform: scale(1.05);
}

.blog-card-hover-zone {
    position: absolute;
    width: 33.333%;
    height: 100%;
    top: 0;
    z-index: 1;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.blog-card-hover-zone.zone-left {
    left: 0;
}

.blog-card-hover-zone.zone-middle {
    left: 33.333%;
}

.blog-card-hover-zone.zone-right {
    left: 66.666%;
}

.blog-card-hover-zone:hover ~ .blog-card-hover-preview {
    opacity: 1;
    transform: scale(1);
}

.blog-card-hover-zone:hover ~ .blog-card-image {
    opacity: 0;
    transform: scale(1.05);
}

.blog-card-content {
    padding: 0;
}

/* ==================== IMAGE MODAL ==================== */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.98));
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-modal.show {
    display: flex;
    animation: modalFadeIn 0.4s ease forwards;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    max-width: 1400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    animation: modalContentSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

@keyframes modalContentSlideUp {
    from {
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-image-container {
    width: 100%;
    max-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

.modal-image {
    max-width: 100%;
    max-height: 75vh;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    animation: imageZoomIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: brightness(1.05) contrast(1.05);
    transition: filter 0.3s ease;
}

.modal-image:hover {
    filter: brightness(1.1) contrast(1.1);
}

@keyframes imageZoomIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-image-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
    backdrop-filter: blur(10px);
    color: white;
    padding: 50px 24px 24px;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    border-radius: 0;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.modal-product-info {
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0 0 20px 20px;
    padding: 36px 48px;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

.modal-product-details {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
    justify-content: center;
}

.modal-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.modal-detail-label {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.1em;
}

.modal-detail-value {
    font-weight: 600;
    color: white;
    font-size: 16px;
}

.modal-detail-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg,
            rgba(74, 144, 226, 0.4) 0%,
            rgba(53, 122, 189, 0.4) 50%,
            rgba(74, 144, 226, 0.4) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(100, 200, 255, 0.5);
    border-radius: 20px;
    font-size: 15px;
    font-weight: 700;
    color: white;
    box-shadow:
        0 8px 32px rgba(74, 144, 226, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.modal-detail-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.modal-detail-badge:hover::before {
    left: 100%;
}

.modal-detail-badge:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 12px 48px rgba(74, 144, 226, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(100, 200, 255, 0.8);
}

.modal-detail-badge .modal-detail-label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.modal-detail-badge .modal-detail-value {
    font-size: 28px;
    font-weight: 900;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.modal-detail-separator {
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 2px;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-close:hover {
    background: linear-gradient(135deg, rgba(255, 80, 80, 0.25), rgba(255, 40, 40, 0.25));
    border-color: rgba(255, 100, 100, 0.5);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 28px rgba(255, 80, 80, 0.4);
}

.modal-close svg {
    width: 26px;
    height: 26px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-nav:hover {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.3), rgba(53, 122, 189, 0.3));
    border-color: rgba(100, 200, 255, 0.5);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 32px rgba(74, 144, 226, 0.5);
}

.modal-nav.prev {
    left: 24px;
}

.modal-nav.next {
    right: 24px;
}

.modal-nav svg {
    width: 28px;
    height: 28px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.modal-nav:hover svg {
    transform: scale(1.2);
}

.modal-nav.prev:hover svg {
    transform: translateX(-3px) scale(1.2);
}

.modal-nav.next:hover svg {
    transform: translateX(3px) scale(1.2);
}

.modal-counter {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85));
    backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(255, 255, 255, 0.25);
    padding: 10px 24px;
    border-radius: 25px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 10001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.modal-counter:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95));
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.6);
}

/* ==================== PRODUCT DETAILS MODAL ==================== */
.details-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10002;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.details-modal.show {
    display: flex;
    animation: modalFadeIn 0.4s ease forwards;
}

.details-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.95));
    backdrop-filter: blur(12px);
}

.details-modal-content {
    position: relative;
    width: 90%;
    max-width: 700px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    animation: detailsModalSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

@keyframes detailsModalSlideUp {
    from {
        transform: translateY(40px) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.details-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.details-modal-close:hover {
    background: linear-gradient(135deg, rgba(255, 80, 80, 0.95), rgba(255, 60, 60, 0.95));
    border-color: rgba(255, 100, 100, 0.3);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 80, 80, 0.4);
}

.details-modal-close svg {
    width: 22px;
    height: 22px;
    color: #333;
    transition: color 0.3s ease;
}

.details-modal-close:hover svg {
    color: white;
}

.details-modal-header {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.08) 0%, rgba(53, 122, 189, 0.05) 100%);
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.details-modal-image-wrapper {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    background: white;
}

.details-modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.details-modal-image-wrapper:hover .details-modal-image {
    transform: scale(1.08);
}

.details-modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-width: 0;
}

.details-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.details-modal-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.details-modal-category {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15), rgba(53, 122, 189, 0.15));
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    color: #357abd;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.details-modal-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.details-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.details-item {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.04) 100%);
    border: 2px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
}

.details-item:hover {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, rgba(53, 122, 189, 0.08) 100%);
    border-color: rgba(74, 144, 226, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.details-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

.details-value {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.details-value-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.9), rgba(53, 122, 189, 0.9));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    font-size: 24px;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    box-shadow:
        0 4px 16px rgba(74, 144, 226, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    transition: all 0.3s ease;
}

.details-value-badge:hover {
    transform: scale(1.05);
    box-shadow:
        0 6px 24px rgba(74, 144, 226, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

/* ==================== RESPONSIVE - IMAGE MODAL ==================== */
@media (max-width: 768px) {
    .image-modal {
        padding: 20px 12px;
    }

    .modal-content {
        max-width: 100%;
    }

    .modal-image-container {
        max-height: 60vh;
        border-radius: 16px 16px 0 0;
    }

    .modal-image {
        max-height: 60vh;
    }

    .modal-image-title {
        font-size: 15px;
        padding: 40px 16px 16px;
    }

    .modal-product-info {
        padding: 24px 20px;
        border-radius: 0 0 16px 16px;
    }

    .modal-product-details {
        gap: 20px;
        flex-direction: column;
    }

    .modal-detail-item {
        font-size: 14px;
        gap: 4px;
    }

    .modal-detail-label {
        font-size: 10px;
    }

    .modal-detail-value {
        font-size: 15px;
    }

    .modal-detail-badge {
        padding: 14px 28px;
    }

    .modal-detail-badge .modal-detail-value {
        font-size: 24px;
    }

    .modal-detail-separator {
        display: none;
    }

    .modal-close {
        width: 44px;
        height: 44px;
        top: 16px;
        right: 16px;
    }

    .modal-close svg {
        width: 22px;
        height: 22px;
    }

    .modal-nav {
        width: 48px;
        height: 48px;
    }

    .modal-nav.prev {
        left: 12px;
    }

    .modal-nav.next {
        right: 12px;
    }

    .modal-nav svg {
        width: 24px;
        height: 24px;
    }

    .modal-counter {
        top: 16px;
        padding: 8px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .image-modal {
        padding: 12px 8px;
    }

    .modal-image-container {
        max-height: 50vh;
        border-radius: 12px 12px 0 0;
    }

    .modal-image {
        max-height: 50vh;
    }

    .modal-image-title {
        font-size: 13px;
        padding: 30px 12px 12px;
    }

    .modal-product-info {
        padding: 20px 16px;
        border-radius: 0 0 12px 12px;
    }

    .modal-product-details {
        gap: 16px;
    }

    .modal-detail-item {
        font-size: 13px;
    }

    .modal-detail-label {
        font-size: 9px;
        letter-spacing: 0.08em;
    }

    .modal-detail-value {
        font-size: 14px;
    }

    .modal-detail-badge {
        padding: 12px 24px;
    }

    .modal-detail-badge .modal-detail-label {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .modal-detail-badge .modal-detail-value {
        font-size: 22px;
    }

    .modal-close {
        width: 40px;
        height: 40px;
        top: 12px;
        right: 12px;
    }

    .modal-close svg {
        width: 20px;
        height: 20px;
    }

    .modal-nav {
        width: 44px;
        height: 44px;
    }

    .modal-nav.prev {
        left: 8px;
    }

    .modal-nav.next {
        right: 8px;
    }

    .modal-nav svg {
        width: 22px;
        height: 22px;
    }

    .modal-counter {
        top: 12px;
        padding: 7px 16px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .modal-image-container {
        max-height: 45vh;
    }

    .modal-image {
        max-height: 45vh;
    }

    .modal-image-title {
        font-size: 12px;
        padding: 25px 10px 10px;
    }

    .modal-product-info {
        padding: 16px 12px;
    }

    .modal-detail-item {
        font-size: 12px;
    }

    .modal-detail-label {
        font-size: 8px;
    }

    .modal-detail-value {
        font-size: 13px;
    }

    .modal-detail-badge {
        padding: 10px 20px;
    }

    .modal-detail-badge .modal-detail-value {
        font-size: 20px;
    }

    .modal-nav {
        width: 40px;
        height: 40px;
    }

    .modal-nav svg {
        width: 20px;
        height: 20px;
    }

    .modal-close {
        width: 36px;
        height: 36px;
    }

    .modal-close svg {
        width: 18px;
        height: 18px;
    }
}

/* Responsive adjustments for details modal */
@media (max-width: 768px) {
    .details-modal-content {
        width: 95%;
        max-width: none;
        margin: 20px;
    }

    .details-modal-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px;
    }

    .details-modal-image-wrapper {
        width: 160px;
        height: 160px;
    }

    .details-modal-title {
        font-size: 24px;
    }

    .details-modal-body {
        padding: 24px;
    }

    .details-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 8px;
    font-weight: 500;
    transition: color 0.4s ease;
}

.blog-card:hover .blog-card-meta {
    color: rgba(0, 0, 0, 0.7);
}

.blog-card-category {
    font-weight: 500;
    color: rgba(0, 0, 0, 0.6);
    transition: color 0.4s ease;
}

.blog-card:hover .blog-card-category {
    color: rgba(0, 0, 0, 0.8);
}

/* Size and Stock Badge Layout */
.blog-card-size-stock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.size-text {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.stock-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.stock-badge.stock-low {
    background: #ffe5e5;
    color: #d32f2f;
}

.stock-badge.stock-low::before {
    background: #d32f2f;
}

.stock-badge.stock-medium {
    background: #fff3e0;
    color: #f57c00;
}

.stock-badge.stock-medium::before {
    background: #f57c00;
}

.stock-badge.stock-high {
    background: #e8f5e9;
    color: #388e3c;
}

.stock-badge.stock-high::before {
    background: #388e3c;
}

.blog-card:hover .stock-badge {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.blog-card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #000;
    letter-spacing: -0.02em;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blog-card:hover .blog-card-title {
    transform: translateX(6px);
}

.blog-card-finish {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.4s ease;
}

.blog-card:hover .blog-card-finish {
    transform: translateX(2px);
}

.blog-card-finish.low {
    background-color: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.blog-card-finish.medium {
    background-color: rgba(251, 191, 36, 0.1);
    color: #d97706;
}

.blog-card-finish.high {
    background-color: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.finish-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.finish-dot.low {
    background-color: #dc2626;
}

.finish-dot.medium {
    background-color: #d97706;
}

.finish-dot.high {
    background-color: #16a34a;
}

.blog-card-excerpt {
    display: none;
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(180deg, #f8f7f5 0%, #f2f0ed 100%);
    padding: 90px 20px 60px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1440px) {
    .footer-content {
        padding: 0;
    }
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    margin-bottom: 70px;
    align-items: start;
}

.footer-brand {
    max-width: 500px;
    padding-right: 20px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
}

.footer-logo-img {
    max-width: 190px;
    height: auto;
    margin-bottom: 28px;
    display: block;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.06));
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.footer-tagline {
    font-size: 19px;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 600;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}

.footer-cta {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.58);
    margin-bottom: 32px;
    line-height: 1.7;
}

.footer-locations {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 4px;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.65);
    font-weight: 500;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.location-item:hover {
    color: rgba(0, 0, 0, 0.85);
}

.location-item svg {
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.location-item:hover svg {
    opacity: 0.9;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-heading {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.footer-link {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.6);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #000;
}

/* Footer Inquiry Form */
.footer-inquiry {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 560px;
    padding: 0;
}

.footer-inquiry-text {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    width: 100%;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    color: #000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-input:hover,
.form-textarea:hover {
    border-color: rgba(0, 0, 0, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #000;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05), 0 6px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transition: left 0.5s ease;
}

.form-submit:hover::before {
    left: 100%;
}

.form-submit:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), 0 4px 10px rgba(0, 0, 0, 0.12);
}

.form-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.form-submit svg {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-submit:hover svg {
    transform: translateX(5px) rotate(-8deg);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
    margin: 70px 0 45px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    padding: 30px 40px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.footer-copyright {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.65);
    font-weight: 500;
    line-height: 1.5;
}

.footer-copyright strong {
    color: rgba(0, 0, 0, 0.95);
    font-weight: 700;
}

.footer-copyright a {
    color: rgba(0, 0, 0, 0.7);
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #000;
}

.footer-social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: #fff;
    border-radius: 13px;
    color: rgba(0, 0, 0, 0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
    background: #000;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: #000;
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1) rotate(-5deg);
}

/* ==================== NOTIFICATION ==================== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    background-color: #000;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 1000;
    max-width: 400px;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification.success {
    background-color: #10b981;
}

.notification.error {
    background-color: #ef4444;
}

/* ==================== HIDDEN STATE ==================== */
.hidden {
    display: none !important;
}

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

/* Desktop Large */
@media (min-width: 1440px) {
    .letters-section {
        padding: 80px 40px;
    }
}

/* Tablet Landscape */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
        gap: 24px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .letters-header {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 28px 28px 10px 28px;
    }

    .search-container {
        width: 100%;
        max-width: 100%;
    }

    .filters {
        width: 100%;
        gap: 16px;
    }

    .filter-group {
        flex: 1;
        min-width: 160px;
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-brand {
        max-width: 100%;
        padding-right: 0;
    }

    .footer-inquiry {
        max-width: 600px;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        padding: 28px 32px;
    }

    .footer-social {
        width: 100%;
        justify-content: center;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .hero {
        padding: 60px 24px;
        min-height: 60vh;
    }

    .hero-title {
        font-size: 48px;
    }

    .letters-section {
        padding: 50px 24px;
    }

    .location-filters-section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        padding-bottom: 12px;
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05);
    }

    .letters-header {
        padding-bottom: 8px;
    }

    .filters-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05);
        padding-bottom: 8px;
    }

    .filters-wrapper::-webkit-scrollbar {
        height: 4px;
    }

    .filters-wrapper::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 2px;
    }

    .filters-wrapper::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 2px;
    }

    .category-filters {
        flex-wrap: nowrap;
        flex-shrink: 0;
    }

    .more-filters-section {
        flex-shrink: 0;
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .footer {
        padding: 60px 24px 40px;
    }

    .footer-main {
        gap: 45px;
        margin-bottom: 50px;
    }

    .more-filters-section {
        position: static;
    }

    .more-filters-dropdown {
        position: fixed;
        left: 24px;
        right: 24px;
        top: auto;
        bottom: 24px;
        width: auto;
        min-width: auto;
        max-width: none;
        max-height: 60vh;
        overflow-y: auto;
        border-radius: 16px;
        padding: 24px 20px;
        z-index: 2000;
    }

    .modal-product-info {
        padding: 20px;
    }

    .modal-product-title {
        font-size: 20px;
    }

    .modal-product-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .modal-detail-separator {
        display: none;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .search-input {
        padding: 0 14px 0 36px;
        font-size: 14px;
    }

    .more-filters-dropdown {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        top: auto;
        width: auto;
        min-width: auto;
        max-width: none;
        padding: 16px 14px;
        max-height: 60vh;
        overflow-y: auto;
        border-radius: 14px;
        z-index: 2000;
    }

    .filter-row {
        flex-direction: column;
        gap: 10px;
    }

    .filter-group {
        width: 100%;
    }

    .filter-select {
        width: 100%;
        padding: 10px 36px 10px 12px;
        font-size: 13px;
        height: 40px;
        background-size: 11px;
        background-position: right 10px center;
        border-radius: 10px;
        border-width: 1.5px;
    }

    .filter-group-label {
        font-size: 9px;
        letter-spacing: 0.06em;
        margin-bottom: 4px;
    }

    .filter-actions {
        flex-direction: column;
        gap: 8px;
        margin-top: 4px;
    }

    .filter-actions button {
        width: 100%;
        justify-content: center;
        height: 40px;
        padding: 0 18px;
        font-size: 12px;
        border-radius: 12px;
    }

    .category-filters {
        justify-content: center;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .hero {
        padding: 16px 16px;
        min-height: 46vh;
    }

    .hero-title {
        font-size: 32px;
        letter-spacing: -0.02em;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 14px;
    }

    .location-btn {
        padding: 5px 4px;
        font-size: 9px;
    }

    .location-filters-section {
        gap: 10px;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .letters-section {
        padding: 10px 16px;
    }

    .letters-header {
        padding: 10px 12px;
        margin-bottom: 30px;
    }

    .filters-wrapper {
        gap: 6px;
        padding-bottom: 10px;
    }

    .category-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        flex-shrink: 1;
    }

    .filter-btn {
        /* padding: 11px 16px;
    font-size: 16px; */
        padding: 8px 10px;
        font-size: 10px;
    }
}


/* .filter-btn {
    padding: 11px 16px;
    font-size: 16px;
    /* padding: 8px 10px;
    font-size: 10px; */
}

*/ .more-filters-toggle {
    padding: 8px 18px;
    font-size: 13px;
    gap: 6px;
    width: auto;
    min-width: fit-content;
    white-space: nowrap;
    flex-shrink: 0;
}

.more-filters-toggle svg {
    width: 10px;
    height: 6px;
    flex-shrink: 0;
}

.more-filters-dropdown {
    padding: 14px 12px;
    max-height: 55vh;
    border-radius: 12px;
}

.filter-row {
    gap: 8px;
}

.filter-select {
    padding: 9px 34px 9px 11px;
    font-size: 12px;
    height: 38px;
    background-size: 10px;
    background-position: right 9px center;
    border-radius: 9px;
}

.filter-group-label {
    font-size: 8.5px;
    margin-bottom: 3px;
}

.filter-actions {
    gap: 7px;
    margin-top: 3px;
}

.filter-actions button {
    height: 38px;
    padding: 0 16px;
    font-size: 11.5px;
    border-radius: 11px;
}

.filter-separator {
    display: none;
}

.blog-card-content {
    padding: 7px;
}

.blog-card-title {
    font-size: 18px;
}

.footer {
    padding: 40px 16px 24px;
}

.footer-main {
    gap: 32px;
}

.form-row {
    grid-template-columns: 1fr;
    gap: 12px;
}

.form-submit {
    width: 100%;
}

.footer-bottom {
    flex-direction: column;
    gap: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
}


@media (max-width: 375px) {
    .hero-title {
        font-size: 28px;
    }

    .modal-product-title {
        font-size: 18px;
    }

    .more-filters-dropdown {
        padding: 12px 10px;
        max-height: 50vh;
        border-radius: 10px;
    }

    .filter-row {
        gap: 7px;
    }

    .filter-select {
        padding: 8px 32px 8px 10px;
        font-size: 11.5px;
        height: 36px;
        background-size: 9px;
        background-position: right 8px center;
        border-radius: 8px;
    }

    .filter-group-label {
        font-size: 8px;
        margin-bottom: 2px;
    }

    .filter-actions {
        gap: 6px;
    }

    .filter-actions button {
        height: 36px;
        padding: 0 14px;
        font-size: 11px;
        border-radius: 10px;
    }
}

/* ==================== CSS-ONLY FILTERING ==================== */

/* Style for radio button labels to look like buttons */
input[type="radio"][name="location"],
input[type="radio"][name="finish"] {
    display: none;
}

/* Active state for radio button labels */
input[type="radio"][name="location"]:checked + .location-btn {
    background-color: #000;
    color: #fff;
    border-color: #000;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

input[type="radio"][name="finish"]:checked + .filter-btn {
    background-color: #fff;
    color: #000;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Default - show all cards */
.blog-card {
    display: block;
}

/* Location filtering */
#loc-fort-myers:checked ~ .letters-header ~ .blog-grid .blog-card:not([data-location="fort-myers"]),
#loc-jacksonville:checked ~ .letters-header ~ .blog-grid .blog-card:not([data-location="jacksonville"]),
#loc-ocala:checked ~ .letters-header ~ .blog-grid .blog-card:not([data-location="ocala"]),
#loc-starke:checked ~ .letters-header ~ .blog-grid .blog-card:not([data-location="starke"]),
#loc-tampa:checked ~ .letters-header ~ .blog-grid .blog-card:not([data-location="tampa"]) {
    display: none;
}

/* Finish filtering */
#finish-matte:checked ~ .letters-header ~ .blog-grid .blog-card:not([data-finish="matte"]),
#finish-glossy:checked ~ .letters-header ~ .blog-grid .blog-card:not([data-finish="glossy"]),
#finish-textured:checked ~ .letters-header ~ .blog-grid .blog-card:not([data-finish="textured"]),
#finish-satin:checked ~ .letters-header ~ .blog-grid .blog-card:not([data-finish="satin"]) {
    display: none;
}

/* Combined filtering - location AND finish */
/* Fort Myers + filters */
#loc-fort-myers:checked ~ .letters-header #finish-matte:checked ~ * ~ .blog-grid .blog-card:not([data-location="fort-myers"][data-finish="matte"]),
#loc-fort-myers:checked ~ .letters-header #finish-glossy:checked ~ * ~ .blog-grid .blog-card:not([data-location="fort-myers"][data-finish="glossy"]),
#loc-fort-myers:checked ~ .letters-header #finish-textured:checked ~ * ~ .blog-grid .blog-card:not([data-location="fort-myers"][data-finish="textured"]),
#loc-fort-myers:checked ~ .letters-header #finish-satin:checked ~ * ~ .blog-grid .blog-card:not([data-location="fort-myers"][data-finish="satin"]),

/* Jacksonville + filters */
#loc-jacksonville:checked ~ .letters-header #finish-matte:checked ~ * ~ .blog-grid .blog-card:not([data-location="jacksonville"][data-finish="matte"]),
#loc-jacksonville:checked ~ .letters-header #finish-glossy:checked ~ * ~ .blog-grid .blog-card:not([data-location="jacksonville"][data-finish="glossy"]),
#loc-jacksonville:checked ~ .letters-header #finish-textured:checked ~ * ~ .blog-grid .blog-card:not([data-location="jacksonville"][data-finish="textured"]),
#loc-jacksonville:checked ~ .letters-header #finish-satin:checked ~ * ~ .blog-grid .blog-card:not([data-location="jacksonville"][data-finish="satin"]),

/* Ocala + filters */
#loc-ocala:checked ~ .letters-header #finish-matte:checked ~ * ~ .blog-grid .blog-card:not([data-location="ocala"][data-finish="matte"]),
#loc-ocala:checked ~ .letters-header #finish-glossy:checked ~ * ~ .blog-grid .blog-card:not([data-location="ocala"][data-finish="glossy"]),
#loc-ocala:checked ~ .letters-header #finish-textured:checked ~ * ~ .blog-grid .blog-card:not([data-location="ocala"][data-finish="textured"]),
#loc-ocala:checked ~ .letters-header #finish-satin:checked ~ * ~ .blog-grid .blog-card:not([data-location="ocala"][data-finish="satin"]),

/* Starke + filters */
#loc-starke:checked ~ .letters-header #finish-matte:checked ~ * ~ .blog-grid .blog-card:not([data-location="starke"][data-finish="matte"]),
#loc-starke:checked ~ .letters-header #finish-glossy:checked ~ * ~ .blog-grid .blog-card:not([data-location="starke"][data-finish="glossy"]),
#loc-starke:checked ~ .letters-header #finish-textured:checked ~ * ~ .blog-grid .blog-card:not([data-location="starke"][data-finish="textured"]),
#loc-starke:checked ~ .letters-header #finish-satin:checked ~ * ~ .blog-grid .blog-card:not([data-location="starke"][data-finish="satin"]),

/* Tampa + filters */
#loc-tampa:checked ~ .letters-header #finish-matte:checked ~ * ~ .blog-grid .blog-card:not([data-location="tampa"][data-finish="matte"]),
#loc-tampa:checked ~ .letters-header #finish-glossy:checked ~ * ~ .blog-grid .blog-card:not([data-location="tampa"][data-finish="glossy"]),
#loc-tampa:checked ~ .letters-header #finish-textured:checked ~ * ~ .blog-grid .blog-card:not([data-location="tampa"][data-finish="textured"]),
#loc-tampa:checked ~ .letters-header #finish-satin:checked ~ * ~ .blog-grid .blog-card:not([data-location="tampa"][data-finish="satin"]) {
    display: none !important;
}

/* Card link styling */
.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.blog-card-link:hover {
    text-decoration: none;
}

/* Image hover effect */
.blog-card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.hover-preview {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.blog-card-image-wrapper:hover .hover-preview {
    opacity: 1;
}

/* Footer spacing */
.footer {
    margin-top: 1.5rem;
}
