/* ============================================
   GLOBAL STYLES
   ============================================ */
body {
    background-color: #F6F1E8;
    position: relative;
}

/* ============================================
   STICKY NAVIGATION
   ============================================ */
nav.gsap-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: rgba(246, 241, 232, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(216, 204, 188, 0.15);
    transition: all 0.3s ease;
    height: 60px;
    padding: 0 16px;
}

@media (min-width: 768px) {
    nav.gsap-nav {
        height: 70px;
        padding: 0 32px;
    }
}

@media (min-width: 1024px) {
    nav.gsap-nav {
        height: 80px;
        padding: 0 80px;
    }
}

nav.gsap-nav.scrolled {
    background-color: rgba(246, 241, 232, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* ============================================
   LOGO SIZE
   ============================================ */
nav.gsap-nav .logo-img {
    height: 32px;
}

@media (min-width: 768px) {
    nav.gsap-nav .logo-img {
        height: 40px;
    }
}

@media (min-width: 1024px) {
    nav.gsap-nav .logo-img {
        height: 50px;
    }
}

/* ============================================
   NAVIGATION LINKS
   ============================================ */
.nav-link {
    position: relative;
    text-decoration: none;
    padding-bottom: 3px;
    transition: color 0.3s ease;
    font-size: 13px;
}

@media (min-width: 1024px) {
    .nav-link {
        font-size: 14px;
    }
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: #064347;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #064347;
}

/* ============================================
   MOBILE MENU
   ============================================ */
#mobileMenu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(246, 241, 232, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 9999 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobileMenu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#mobileMenu .nav-link {
    font-size: 22px;
    font-weight: 500;
    color: #2D2A26;
    padding-bottom: 8px;
    position: relative;
}

#mobileMenu .nav-link:hover {
    color: #064347;
    transform: scale(1.1);
}

#mobileMenu .nav-link.active {
    color: #064347;
}

#mobileMenu .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: #064347;
}

#mobileMenuBtn {
    gap: 4px;
    padding: 8px;
    cursor: pointer;
    position: relative;
    z-index: 99999 !important;
}

#mobileMenuBtn span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #2D2A26;
    border-radius: 2px;
    transition: all 0.3s ease;
}

#mobileMenuBtn.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

#mobileMenuBtn.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

#mobileMenuBtn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ============================================
   SHOP SECTION - FIXED COLUMNS
   ============================================ */

/* Desktop default - 4 columns */
#shopSection {
    column-count: 4;
    column-gap: 1.5rem;
    transition: none;
}

/* Each card */
#shopSection .group,
#shopSection .art-card {
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    break-inside: avoid-column;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}
#shopSection .group{
    height:100%;
}

#shopSection .group .text-gray-600{
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
    min-height:63px;
}

/* Hidden items - completely remove from flow */
#shopSection .group.hidden,
#shopSection .art-card.hidden {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    border: none !important;
    visibility: hidden !important;
    position: absolute !important;
    width: 0 !important;
}

/* No Results Message - Full width center */
#noResultsMessage {
    width: 100%;
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    display: block !important;
    position: relative;
    left: 0;
    right: 0;
}

/* ============================================
   RESPONSIVE COLUMNS
   ============================================ */
@media (max-width: 639px) {
    #shopSection {
        column-count: 1 !important;
        column-gap: 1rem !important;
    }
    #shopSection .group,
    #shopSection .art-card {
        margin-bottom: 1rem;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    #shopSection {
        column-count: 2 !important;
        column-gap: 1.25rem !important;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    #shopSection {
        column-count: 3 !important;
        column-gap: 1.5rem !important;
    }
}

@media (min-width: 1280px) {
    #shopSection {
        column-count: 4 !important;
        column-gap: 1.5rem !important;
    }
}

/* ============================================
   SEARCH BAR STYLING
   ============================================ */
#searchInput {
    transition: all 0.3s ease;
}

#searchInput:focus {
    border-color: #064347;
    box-shadow: 0 0 0 4px rgba(6, 67, 71, 0.08);
    transform: translateY(-1px);
}

#searchInput::placeholder {
    color: #A09B94;
    font-weight: 300;
    letter-spacing: 0.3px;
}

#searchInput:focus+.fa-search {
    color: #064347;
}

#searchInput+.fa-search {
    transition: color 0.3s ease;
}

/* ============================================
   CUSTOM DROPDOWN
   ============================================ */
#categoryFilter {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #FBF8F3;
    border: 1.5px solid #D8CCBC;
    border-radius: 50px;
    padding: 12px 48px 12px 24px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 500;
    color: #2D2A26;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23064347' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px 8px;
}

#categoryFilter:hover {
    border-color: #064347;
    box-shadow: 0 4px 20px rgba(6, 67, 71, 0.08);
    transform: translateY(-1px);
}

#categoryFilter:focus {
    outline: none;
    border-color: #064347;
    box-shadow: 0 0 0 4px rgba(6, 67, 71, 0.1), 0 4px 20px rgba(6, 67, 71, 0.08);
    transform: translateY(-1px);
}

#categoryFilter option {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    font-weight: 400;
    padding: 10px 16px;
    background-color: #FBF8F3;
    color: #2D2A26;
    letter-spacing: 0.3px;
}

@media (max-width: 640px) {
    #categoryFilter {
        width: 100%;
        font-size: 15px;
        padding: 10px 44px 10px 18px;
        min-width: unset;
    }
}

/* ============================================
   MISC
   ============================================ */
.organic-mask {
    -webkit-mask-image: radial-gradient(ellipse at center, black 60%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, black 60%, transparent 100%);
}

.hover-lift {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #F6F1E8;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #064347;
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #0a5c61;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #064347 #F6F1E8;
}

#shopSection .relative img {
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
    background-color: #EFE7DB;
}

#shopSection .relative {
    background-color: #EFE7DB;
}

/* Darker sizes */
#shopSection .group .font-mono,
#shopSection .art-card .font-mono {
    color: #2D2A26 !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

#shopSection .group .font-mono br+br,
#shopSection .art-card .font-mono br+br {
    color: #6B6862 !important;
    font-weight: 400 !important;
}

#noResultsMessage {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ============================================
   FIX INSTAGRAM ICON IN NAVBAR
   ============================================ */

/* Desktop navbar icon fix */
nav.gsap-nav .desktop-icons a i {
    font-size: 18px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

nav.gsap-nav .desktop-icons a {
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    border: 1.5px solid #234E70 !important;
    color: #234E70 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

nav.gsap-nav .desktop-icons a:hover {
    background-color: #234E70 !important;
    color: white !important;
    transform: scale(1.1) !important;
}

/* Mobile menu icon fix */
#mobileMenu a i.fa-instagram {
    font-size: 24px !important;
    line-height: 1 !important;
}

/* Contact section icon fix */
#contact .fa-instagram {
    font-size: 18px !important;
}