@font-face {
    font-family: 'TT Hoves Pro';
    font-weight: 400;
    src: url('/assets/font/TT_Hoves_Pro_Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'TT Hoves Pro';
    font-weight: 500;
    src: url('/assets/font/TT_Hoves_Pro_Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'TT Hoves Pro';
    font-weight: 600;
    src: url('/assets/font/TT_Hoves_Pro_DemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'TT Hoves Pro';
    font-weight: 700;
    src: url('/assets/font/TT_Hoves_Pro_Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'TT Hoves Pro';
    font-weight: 800;
    src: url('/assets/font/TT_Hoves_Pro_ExtraBold.woff2') format('woff2');
}

h1,
h2,
h3,
h4,
h5,
h6,
.profile_label,
.profile_label_large,
.key_header,
strong,
.large {
    font-family: 'TT Hoves Pro', sans-serif !important;
}

body {
    overflow-x: hidden;
    font-family: 'TT Hoves Pro', sans-serif !important;
    background-color: rgb(242, 237, 231) !important;
}

h1 {
    font-weight: 800;
}

p {
    font-weight: 400;
}
.rebrand {
    
    .search-category .caret {
        border-top-color: #000;
    }

    .typeahead__container{
        font: 1rem 'TT Hoves Pro', sans-serif;
    }

    .mag-glass-icon{
        height: 25px;
        width: 25px;
        fill: rgb(156, 209, 133);
    }

    .browse-link a:hover {
        text-decoration: underline;
        color: rgb(187, 82, 42) !important;
        transition: color 0.2s ease;
    }
    .blog-browse-link a:hover {
        text-decoration: underline;
        color: rgb(187, 82, 42) !important;
        transition: color 0.2s ease;
    }

    .blog-card {
        margin-bottom: 15px;
    }

    .blog-content {
        border-bottom: 1px solid #E4E4E4;
    }

    .blog-card img {
        overflow: hidden;
        border-top: 1px solid #E4E4E4;
    }

    .blog-card h3 {
        font-size: 18px;
        text-align: left;
        font-weight: 500;
        margin: 0;
    }

    .blog-card a{
        font-weight: 500;
    }

    .typeahead__container .typeahead__empty {
        font-family: 'TT Hoves Pro', sans-serif !important;
    }

    .panel-primary>.panel-heading {
        background-color: rgb(27, 50, 27) !important;
        border-color: transparent !important;
        height: 38px;
        width: 100%;
        border-radius: 0px;
    }

    .panel-footer {
        background-color: #fff !important;
        border-top: 0px !important;
    }

    .container {
        padding-left: 0px;
        padding-right: 0px;
    }
    
    .search-btn {
        text-align: center;
        color: #000;
        position: relative;
        font-weight: 500 !important;
        font-size: 16px !important;
        text-transform: none;
        line-height: 25px !important;
        border: 2px solid rgb(156, 209, 133);
        border-radius: 0px;
        background: rgb(156, 209, 133);
        margin-bottom: 10px;
    }

    .search-btn:hover {
        background: rgb(27, 50, 27);
        color: rgb(156, 209, 133);
        border-color: rgb(27, 50, 27);
    }

    .search-btn.filter{
        font-size: 16px !important;
        font-weight: 400 !important;
        font-family: 'TT Hoves Pro', sans-serif !important;
        line-height: 25px !important;
        padding: 5px 15px;
        background-color: #fff;
        border: 1px solid #000;
        color: #000;
        transition: all 0.15s ease-in-out;
    }

    .search-btn.filter:hover {
        background-color: rgb(156, 209, 133);
    }

    .btn-black {
        background-color: #fff;
        background: #fff;
        color: #000;
        border: 2px solid #000;
        border-radius: 0px !important;
        font-family: 'TT Hoves Pro', sans-serif;
        font-weight: 500;
        height: 50px;
        padding: 0 20px;
        min-width: 97px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.15s ease-in-out;
    }
    .btn-black:focus, .btn-black:active {
        box-shadow: 0 0 0 2px rgb(156, 209, 133);
    }

    #home-ser.new-btn-orange {
        font-size: 16px;
        background: rgb(156, 209, 133);
        color: #000;
        border: 2px solid rgb(156, 209, 133);
        border-radius: 0px !important;
        font-family: 'TT Hoves Pro', sans-serif;
        font-weight: 500;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.15s ease-in-out;
        text-transform: uppercase;
    }
    #home-ser.new-btn-orange:hover{
        background: rgb(27, 50, 27);
        color: rgb(156, 209, 133);
        /* border-color: rgb(27, 50, 27); */
    }

    .cart-button-container .new-btn-orange {
        font-size: 16px;
        background: rgb(156, 209, 133);
        color: #000;
        border: 2px solid rgb(156, 209, 133);
        border-radius: 0px !important;
        font-family: 'TT Hoves Pro', sans-serif;
        font-weight: 500;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.15s ease-in-out;
        text-transform: uppercase;
    }
    .cart-button-container .new-btn-orange:hover{
        background: rgb(27, 50, 27);
        color: rgb(156, 209, 133);
        border-color: rgb(27, 50, 27);
    }

    .button-black:hover i.fa-solid.fa-angle-down,
    .button-black:focus i.fa-solid.fa-angle-down,
    .button-orange:hover i.fa-solid.fa-angle-down,
    .button-orange:focus i.fa-solid.fa-angle-down {
        color: #000 !important;
    }
    .button-orange:hover i.fa-solid.fa-angle-down {
        color: #fff !important;
    }

    #hero button#home-ser:hover {
        background: rgb(27, 50, 27) !important;
        color: #fff !important;
        border-color: rgb(27, 50, 27) !important;
    }
    @media (max-width: 1140px) {
        #hero button#home-ser {
            width: auto !important;
        }
    }

    /* Caret */
    i.fa-solid.fa-angle-down {
        padding: 0px 4px;
        font-size: 16px;
        color: #000;
    }

    /* input styles */
    input{ 
        font: 500 18px / 33px 'TT Hoves Pro', sans-serif;
        border: 2px solid #E4E4E4;
        border-radius: 0;
        box-shadow: none !important;
        background: #fff;
        font-weight: 400;
    }

    .typeahead__item,
    .typeahead__group-addon span {
        font-family: 'TT Hoves Pro', sans-serif !important;
    }

    /* Center search styles */
    .center-search {
        /* max-width: 800px; */
        /* margin: 0 auto; */
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .landing .center-search {
        max-width: 1000px !important;
    }

    .center-search input[type="text"],
    .center-search input {
        font: 500 18px / 33px 'TT Hoves Pro', sans-serif;
        border: 2px solid #000;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fff;
        height: 50px !important;
        padding: 10px 16px !important;
        line-height: 1.33 !important;
        width: 100% !important;
        font-weight: 400;
        color: #000;
    }

    .text-center .center-search .search-category:hover,
    .text-center .center-search .search-category:focus,
    .text-center .center-search .search-category:active {
        color: #000 !important;
        background: #fff !important;
    }

    .text-center .center-search .search-category:focus-visible {
        border-color: #ccc !important;
    }

    .center-search button.btn.btn-default.btn-lg.dropdown-toggle.search-category .fa-search:before {
        width: 17px;
        height: 18px;
    }

    .center-search button:hover i.fa-solid.fa-angle-down,
    .center-search button:focus i.fa-solid.fa-angle-down {
        color: #000 !important;
    }

    .text-search {
        font-size: 16px;
        font-weight: 500;
        color: #000;
        margin-right: 10px;
    }

    @media (max-width: 1140px) {
        .landing .center-search {
            max-width: 100% !important;
        }
    }

    @media (max-width: 767px) {
        .input-group-btn.search-submit-btn {
            display: none !important;
            visibility: hidden !important;
        }

        .input-group-btn.dropdown.search-dropdown {
            display: none !important;
            visibility: hidden !important;
        }

        .input-group.dropdown.search-dropdown {
            display: none !important;
            visibility: hidden !important;
        }
    }

    /* Small Addon Card Styling */
    .addon-card-link {
        height: 400px;
        /* margin: 5px; */
        display: block;
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    .addon-card-link:hover {
        transform: translateY(-3px);
        text-decoration: none;
    }

    .addon-card-link:hover .panel {
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    }
    
    .popular-addons-section .addon-card-link {
        height: 100%;
    }
    .small-addon-card h3{
        text-align: center;
    }
    .small-addon-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        margin: 5px 20px;
        background: #fff;
        /* height: 400px; */
        /* border-radius: 8px; */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.15s ease-in-out;
        text-decoration: none;
        color: inherit;
        height: 100%;
    }

    .small-addon-card:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }

    .small-addon-card .img {
        width: 120px;
        height: 120px;
        margin-bottom: 15px;
        border-radius: 0px;
        overflow: hidden;
        background: #f5f5f5;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .small-addon-card .img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .placeholder-addon-icon {
        width: 80%;
        height: 80%;
    }

    .small-addon-card .content {
        flex: 1;
        width: 100%;
    }

    .small-addon-card h3 {
        font-size: 16px;
        font-weight: 600;
        color: #000;
        margin: 0 0 10px 0;
        line-height: 1.3;
        text-align: center;
    }

    .small-addon-card p,
    .small-addon-card .content > *:not(h3) {
        font-size: 14px;
        color: #666;
        line-height: 1.5;
        margin: 0;
        text-align: center;
    }

    .small-addon-card .addons-rating {
        margin-top: 10px;
        justify-content: center;
    }
}

/* Popular Addons Section Layout */
.popular-addons-section .row {
    display: flex;
    align-items: stretch;
}

.popular-addons-section .col-md-7 {
    display: flex;
    flex-direction: column;
    /* margin-bottom: 20px; */
}
.popular-addons-section .col-md-5 {
    display: flex;
    flex-direction: column;
    /* margin-bottom: 20px; */
}

.popular-addons-section .col-md-7 .row {
    display: flex;
    flex: 1;
    align-items: stretch;
    margin-bottom: 15px;
}

.popular-addons-section .col-md-7 .row:last-child {
    margin-bottom: 0;
}

.popular-addons-section .col-md-7 .row .col-sm-6 {
    display: flex;
    align-items: stretch;
}

.side-search-nav {
    max-width: 250px;
}

/* Highlighted addon card */
.addon-card-highlighted-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 24px;
}

.addon-card-highlighted {
    border: 1px solid #E4E4E4;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease;
    height: 100%;
}

.addon-card-highlighted:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.addon-card-highlighted-image {
    background: conic-gradient(from 228deg at 50% 50%, #9cd185 24deg, #435f3b 226.81deg, #1b321b 270deg, #6c925c 316.8deg, #9cd185 348deg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    position: relative;
    padding: 24px;
}

/* Desktop: equal-height columns side by side */
@media (min-width: 1200px) {
    .highlighted-collection-row {
        display: flex;
        align-items: stretch;
    }

    .highlighted-collection-main {
        display: flex;
        flex-direction: column;
    }

    .highlighted-collection-main .addon-card-highlighted {
        flex: 1;
    }

    .addon-img {
        border: none;
    }
}

/* Always: 2x2 grid for the small cards */
.highlighted-collection-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
}

.highlighted-collection-grid-item .panel {
    overflow: hidden;
}

.highlighted-collection-grid-item {
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}

.highlighted-collection-grid-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.highlighted-collection-grid-item .addon-card-container {
    flex: 1;
    margin-bottom: 0;
}

.highlighted-collection-grid-item .addon-card-container .panel {
    height: 100%;
    margin-bottom: 0;
    border-radius: 0 !important;
}

.highlighted-collection-grid-item .addon-card-container .panel .panel-heading,
.highlighted-collection-grid-item .addon-card-container .panel .panel-footer {
    border-radius: 0 !important;
}

/* Tablet: columns stack — keep highlighted card horizontal so it stays visually distinct */
@media (max-width: 1199px) {
    .highlighted-collection-main {
        margin-bottom: 20px;
    }

    .addon-card-highlighted {
        display: flex;
        flex-direction: row;
    }

    .addon-card-highlighted-image {
        width: 220px;
        min-width: 220px;
        min-height: unset;
        flex-shrink: 0;
    }

    .addon-card-highlighted-body {
        border-top: none;
        border-left: 1px solid #E4E4E4;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Mobile: back to vertical, keep dark header visible */
@media (max-width: 575px) {
    .addon-card-highlighted {
        flex-direction: column;
    }

    .addon-card-highlighted-image {
        width: 100%;
        min-width: unset;
        min-height: 180px;
    }

    .addon-card-highlighted-body {
        border-top: 1px solid #E4E4E4;
        border-left: none;
    }

    .highlighted-collection-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.addon-card-highlighted-logo {
    background: #fff;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.addon-card-highlighted-image img {
    max-height: 84px;
    max-width: 140px;
    object-fit: contain;
    display: block;
}

.addon-card-highlighted-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #bb522a;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.addon-card-highlighted-body {
    padding: 20px 24px 24px;
    border-top: 1px solid #E4E4E4;
}

.addon-card-highlighted-tag {
    margin-bottom: 10px;
    display: inline-block;
}

.addon-card-highlighted-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #1b321b;
}

.addon-card-highlighted-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 16px;
    line-height: 1.6;
}

.addon-card-highlighted-cta {
    color: #9cd185;
    font-weight: 500;
    font-size: 14px;
    margin: 0;
    transition: color 0.2s ease;
}

.addon-card-highlighted-link:hover .addon-card-highlighted-cta {
    color: #bb522a;
}