:root {
 --primary: #a87838;
 --primary-dark: #825b2d;
 --dark: #202939;
 --text: #4f5968;
 --muted: #8a929e;
 --border: #e8e8e5;
 --light-bg: #faf9f6;
}
 
/* =================================
           MAIN SECTION
        ================================= */

.design-section { padding: 45px 0 70px;  background: #f5f5f5;}

/* ================================= HEADING  ================================= */

.design-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}
.design-eyebrow::before {
    content: "";
    width: 35px;
    height: 1px;
    background: var(--primary);
}
.design-title {
    margin: 0;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.1;
    letter-spacing: -2px;
    font-weight: 400;
}
.design-title strong {
    font-weight: 700;
}
.design-description {
    margin: 12px 0 28px;
    color: var(--muted);
    font-size: 15px;
}
/* =================================
           CATEGORY CAROUSEL
        ================================= */

.category-carousel {
    position: relative;
    padding: 0 0px 25px;
    border-bottom: 3px double #757778;
}
.category-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 3px 2px 8px;
}
 .category-track::-webkit-scrollbar {
 display: none;
}
/* CATEGORY CARD */

.category-card {
    flex: 0 0 170px;
    background: #fff; 
    border-radius: 10px;
    overflow: hidden;
    /*cursor: pointer;*/
    transition: all .25s ease;

   box-shadow: rgba(149, 157, 165, 0.2) 0px 4px 6px;
    margin-bottom: 20px;
    border: solid 1px #f1f1f1;
}
.category-card:hover {
    /*transform: translateY(-3px);*/
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}
.category-card.active {
    border: 2px solid #ffb911;
}
.category-image {
    height:110px;
    overflow: hidden;
    width: 100%;
    position: relative;
    margin: 0 auto;
}
.category-image img {
    max-width: 100%;
    max-height: 100%;
    position:absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    /*object-fit: cover;*/
    transition: transform .4s ease;
}
.category-card:hover img {
    transform: scale(1.06);
}
.category-name {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
/* =================================
           CAROUSEL ARROWS
        ================================= */

.category-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-65%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid #dededb;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 5px 18px rgba(0,0,0,.08);
    transition: .2s;
}
.category-arrow:hover {
    background:#102b44;
    border-color:#102b44;
    color: #fff;
}
.category-arrow.left {
    left: 0;
}
.category-arrow.right {
    right: 0;
}
.category-arrow i {
    font-size: 15px;
}
/* =================================
           FILTER BAR
        ================================= */

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
}
.filter-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.filter-btn {
    min-height:38px;
    padding: 0 17px;
    border: 1px solid #dededb;
    background: #fff;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color:#fff;
    white-space: nowrap;
    transition: .2s;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 4px 6px;
}
.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.filter-btn.active {
    background:#102b44;
    border-color:#102b44;
}
/* SORT */

.sort-area {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #242424;
    font-size: 16px;
    white-space: nowrap;
}
.sort-btn {
    border: 1px solid #dededb;
    background: #fff;
    border-radius: 25px;
    padding: 9px 15px;
    color: var(--dark);
}
/* =================================DESIGN GRID ================================= */

.design-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: .3s;
    height: 100%;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 4px 6px;
}
.design-card:hover {
    /*transform: translateY(-4px);*/
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}
/* =================================
           IMAGE
        ================================= */

.design-image2 {
    height:252px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.design-image2 img {
    max-width: 100%;
    max-height: 100%;
    
    transition: transform .5s ease;
}
.design-card2:hover .design-image img {
    transform: scale(1.04);
}
 @media (max-width: 768px) {
.design-image2 {
    height: 225px; 
}
}


 @media (max-width: 480px) {
.design-image2 {
    height: 230px;
   
}
}

/* CARD ACTIONS */

.card-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
}

.card-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #333;
    border: 0;
    border-radius: 4px;
    padding:2px 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.card-action i {
    font-size: 14px;
}

.card-action:hover {
    background:#102b44;
    color: #fff;
}
/* IMAGE COUNT */

.image-count {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 7px 11px;
    border-radius: 20px;
    background: rgba(25,25,25,.72);
    color: #fff;
    font-size: 12px;
}
/* =================================
           DESIGNER INFO
        ================================= */

.designer-info {
    min-height: 78px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    gap: 11px;
}
.designer-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    overflow: hidden;
    
    border: 1px solid #e3e0e0;
}
.designer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.designer-name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}
.designer-role {
    margin: 4px 0 0;
    font-size: 12px;
    color:#282727;
    text-transform: uppercase;
    letter-spacing: .7px;
}
.designer-arrow {
    margin-left: auto;
    font-size: 19px;
    color: #777;
}
/* =================================
           LOCAL PRO CARD
        ================================= */

.pro-card {
    height: 100%;
    min-height: 428px;
    padding: 30px 25px;
    border-radius: 12px;
    border: 1px solid #e9dfd1;
    background: linear-gradient(  135deg,  #fffdf9,  #f5ede1  );
    position: relative;
    overflow: hidden;
}
.pro-small {
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.pro-title {
    margin: 14px 0;
    font-size: 29px;
    line-height: 1.15;
    font-weight: 700;
}
.pro-text {
    color: #777;
    font-size: 14px;
    line-height: 1.65;
    max-width: 310px;
}
.pro-form {
    display: flex;
    margin-top: 25px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ded8ce;
}
.pro-location {
    flex: 1;
    padding: 13px;
    font-size: 13px;
}
.pro-submit {
    border: 0;
    padding: 0 15px;
    background: var(--primary-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.pro-features {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    border-top: 1px solid #e2d9cc;
    padding-top: 15px;
}
.pro-feature {
    flex: 1;
    text-align: center;
    color: #777;
    font-size: 10px;
}
.pro-feature i {
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 18px;
}


        /* =================================
           TABLET
        ================================= */

        @media (max-width: 1199px) {
.category-card {
    flex-basis: 155px;
}
.design-image {
    height: 300px;
}
}


        /* =================================
           MOBILE
        ================================= */

        @media (max-width: 767px) {
.design-section {
    padding: 30px 0 50px;
}
.design-title {
    font-size: 34px;
    letter-spacing: -1px;
}
.design-description {
    font-size: 14px;
}
/* CATEGORY */

.category-carousel {
    padding-left:0px;
    padding-right:0px;
}
.category-card {
    flex: 0 0 calc(50% - 8px);
}
.category-image {
    height: 107px;
}
.category-arrow {
    width: 34px;
    height: 34px;
}
/* FILTER */

.filter-bar {
    display: block;
}
.filter-left {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
}
 .filter-left::-webkit-scrollbar {
 display: none;
}
.filter-btn {
    flex-shrink: 0;
    font-size: 13px;
    padding: 0 14px;
}
.sort-area {
    margin-top: 15px;
    justify-content: space-between;
}
/* IMAGE */

.design-image {
    height: 330px;
}
/* PRO CARD */

.pro-card {
    min-height: 390px;
}
}


        /* =================================
           SMALL MOBILE
        ================================= */

        @media (max-width: 480px) {
.design-eyebrow {
    font-size: 10px;
}
.design-title {
    font-size: 30px;
}
.category-card {
    flex-basis: calc(50% - 7px);
}
.category-name {
    font-size: 12px;
}
.design-image {
    height: 280px;
}
.pro-title {
    font-size: 26px;
}
.pro-form {
    display: block;
}
.pro-location {
    padding: 12px;
    border-bottom: 1px solid #eee;
}
.pro-submit {
    width: 100%;
    padding: 12px;
}
}
/*============================================*/

.location-filter {
    position: relative;
    display: inline-block;
}

.filter-select {
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 9px 35px 9px 14px;
    min-width: 110px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    outline: none;
}

.filter-select:focus {
    border-color: #222;
}

.location-filter::after {
    content: "\f282";
    font-family: "bootstrap-icons";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    pointer-events: none;
}


.filter-dropdown {
    position: relative;
    display: inline-block;
}

.filter-select {
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    border: 1px solid #bbbbbb;
    border-radius: 6px;
    padding:6px 30px 6px 12px;
    width: 100px;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    outline: none;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 4px 6px;
}

.filter-select:focus {
    border-color: #222;
}

.filter-dropdown::after {
    content: "\f282";
    font-family: "bootstrap-icons";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    pointer-events: none;
}

.sort-dropdown {
    position: relative;
    display: inline-block;
}

.sort-select {
    appearance: none;
    -webkit-appearance: none;
    background: #fff; 
    padding: 6px 30px 6px 10px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    outline: none;
    min-width: 145px;
    border: 1px solid #bbbbbb;
    border-radius: 6px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 4px 6px;
     font-weight: 600;
}

.sort-dropdown::after {
    content: "\f282";
    font-family: "bootstrap-icons";
    position: absolute;
    right:10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    pointer-events: none;
}




