/* ===================================
   Design Gallery Section
   =================================== */
.design-gallery-header {
    margin-top: 30px;
    margin-bottom: 40px;
    text-align: left;
}

.design-gallery-title {
    font-size: 44px;
    font-weight: 400;
    color: #262626;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.design-gallery-description {
        font-size: 20px;
    line-height: 32px;
    color: #262626;
    margin: 0;
    max-width: 720px;
}

.design-gallery-section {
    padding: 0;
    background-color: #ffffff;
}

.design-gallery-section .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
.container{
    display: block !important;
}
/* Hide page title if theme shows it */
/* .page-template-template-design-gallery .entry-title,
.page-template-template-design-gallery .page-title {
    display: none;
} */

/* Gallery Header - Hidden since tabs come first */
/* .design-gallery-header {
    display: none;
} */

/* ===================================
   Category Tabs (Yellow/White Cards)
   =================================== */

.category-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 20px auto 40px;
    padding: 0 0px;
}

.category-tab {
    padding: 25px 20px;
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: inherit;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* min-height: 140px; */
    position: relative;
}

.category-tab:first-child {
    border-right: none;
}

.category-tab:hover {
    background-color: #fff9e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.category-tab.active {
    background-color: #FFD700;
    border-color: #FFD700;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    z-index: 2;
}

.category-tab__title {
    font-size: 20px;
    font-weight: 600;
    color: #262626;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.category-tab__description {
    font-size: 16px;
    line-height: 26px;
    color: #262626;
    margin: 0;
}

/* ===================================
   Tab Content
   =================================== */

.tab-content-wrapper {
    position: relative;
    width: 100%;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Design Category Sections
   =================================== */

.design-category-section {
    margin-bottom: 80px;
    padding: 0 20px;
}

.design-category-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 40px;
}

.design-category-header__content {
    flex: 1;
    max-width: 700px;
}

.design-category-header__title {
    font-size: 28px;
    font-weight: 400;
    color: #262626;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.design-category-header__description {
    font-size: 18px;
    line-height: 30px;
    color: #262626;
    margin: 0;
}

.design-category-header__icon {
    flex-shrink: 0;
    max-width: 180px;
    margin-top: 10px;
}

.design-category-header__icon img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   Design Items Grid
   =================================== */

.design-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.design-item {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.design-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.design-item__link {
    text-decoration: none;
    display: block;
}

.design-item__image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f8f8f8;
    position: relative;
}

.design-item__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 15px;
}

.design-item:hover .design-item__image img {
    transform: scale(1.05);
}

.design-item__content {
    padding: 20px 24px;
    border-top: 1px solid #e8e8e8;
}

.design-item__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.design-item__label {
    font-size: 0.875rem;
    color: #0066cc;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.design-item__arrow {
    font-size: 1.2rem;
    color: #0066cc;
    transition: transform 0.3s ease;
}

.design-item:hover .design-item__arrow {
    transform: translateX(4px);
}

/* No designs message */
.no-designs-message {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.125rem;
    color: #666666;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.no-tabs-message {
    text-align: center;
    padding: 80px 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    margin: 40px 0;
}

.no-tabs-message p {
    font-size: 1.125rem;
    color: #666666;
}

/* ===================================
   Responsive Styles
   =================================== */

/* Large Tablets - 1024px and below */
@media (max-width: 1024px) {
    .design-category-header__title {
        font-size: 1.5rem;
    }

    .design-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .design-category-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .design-category-header__icon {
        max-width: 140px;
    }
}

/* Tablets - 768px and below */
@media (max-width: 768px) {
    .design-gallery-section {
        padding: 0;
    }

    .category-tabs {
        grid-template-columns: 1fr;
        gap: 0;
        margin: 20px auto 40px;
    }

    .category-tab {
        padding: 30px 24px;
        min-height: 110px;
        border: 1px solid #d0d0d0;
    }

    .category-tab:first-child {
        border-right: 1px solid #d0d0d0;
        border-bottom: none;
    }

    .category-tab__title {
        font-size: 1.25rem;
    }

    .category-tab__description {
        font-size: 0.95rem;
    }

    .design-category-section {
        margin-bottom: 60px;
        padding: 0 16px;
    }

    .design-category-header {
        margin-bottom: 30px;
    }

    .design-category-header__title {
        font-size: 1.375rem;
    }

    .design-category-header__icon {
        max-width: 120px;
    }

    .design-items {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .design-item__image {
        height: 200px;
    }

    .design-item__content {
        padding: 16px 20px;
    }

    .design-item__title {
        font-size: 1.0625rem;
    }
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
    .category-tabs {
        margin: 16px auto 30px;
        padding: 0 12px;
    }

    .category-tab {
        padding: 24px 16px;
        min-height: 100px;
    }

    .category-tab__title {
        font-size: 1.125rem;
    }

    .category-tab__description {
        font-size: 0.875rem;
    }

    .design-category-section {
        padding: 0 12px;
    }

    .design-category-header__title {
        font-size: 1.25rem;
    }

    .design-category-header__description {
        font-size: 0.9375rem;
    }

    .design-item__image {
        height: 180px;
        padding: 10px;
    }
}

/* Very Small Mobile - 375px and below */
@media (max-width: 375px) {
    .category-tab {
        padding: 20px 12px;
    }

    .design-item__image {
        height: 160px;
    }
}


