/* =========================================================
   BRANDS PAGES
   FIDAR AFARIN PISHRO
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --brands-gold: #D4AF37;

    --brands-gold-light: #F5D36C;

    --brands-black: #080808;

    --brands-black-2: #101010;

    --brands-black-3: #151515;

    --brands-white: #ffffff;

    --brands-text: #dddddd;

    --brands-muted: #929292;

    --brands-border:
        rgba(212,175,55,.18);

    --brands-radius: 18px;

}


/* =========================================================
   PAGE BASE
========================================================= */

body {

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(212,175,55,.055),
            transparent 38%
        ),
        #080808;

}


/* =========================================================
   COMMON
========================================================= */

.brands-hero,
.brands-intro,
.brands-section,
.brands-cta,
.brand-hero,
.brand-details-section,
.brand-cta {

    width: 100%;

}


.section-container {

    width: 92%;

    max-width: 1450px;

    margin: 0 auto;

}


/* =========================================================
   BRANDS HERO
========================================================= */

.brands-hero {

    position: relative;

    min-height: 430px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(212,175,55,.14),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #050505,
            #121212 50%,
            #050505
        );

    border-bottom:
        1px solid var(--brands-border);

}


.brands-hero::before {

    content: "";

    position: absolute;

    width: 650px;

    height: 650px;

    border:
        1px solid
        rgba(212,175,55,.08);

    border-radius: 50%;

    animation:
        brandsHeroRotate 25s linear infinite;

}


.brands-hero::after {

    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    border:
        1px solid
        rgba(255,255,255,.035);

    border-radius: 50%;

}


.brands-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.65),
            transparent,
            rgba(0,0,0,.65)
        );

}


.brands-hero-content {

    position: relative;

    z-index: 2;

    max-width: 850px;

    padding:
        130px 20px
        60px;

    text-align: center;

}


.brands-hero-badge {

    display: inline-block;

    margin-bottom: 18px;

    color: var(--brands-gold-light);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

}


.brands-hero-content h1 {

    margin: 0 0 18px;

    color: var(--brands-white);

    font-size: clamp(
        42px,
        5vw,
        70px
    );

    font-weight: 800;

    line-height: 1.15;

}


.brands-hero-content p {

    max-width: 720px;

    margin: 0 auto;

    color: #bcbcbc;

    font-size: 17px;

    line-height: 2;

}


/* =========================================================
   INTRO
========================================================= */

.brands-intro {

    padding:
        85px 0 45px;

    background:
        linear-gradient(
            180deg,
            #080808,
            #0b0b0b
        );

}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {

    text-align: center;

    margin-bottom: 45px;

}


.section-heading > span {

    display: block;

    margin-bottom: 10px;

    color: var(--brands-gold);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

}


.section-heading h2 {

    margin: 0 0 14px;

    color: var(--brands-white);

    font-size: 34px;

    font-weight: 800;

}


.section-heading p {

    max-width: 720px;

    margin: auto;

    color: var(--brands-muted);

    font-size: 15px;

    line-height: 1.9;

}


/* =========================================================
   TOOLBAR
========================================================= */

.brands-toolbar {

    display: grid;

    grid-template-columns:
        minmax(300px, 700px);

    justify-content: center;

    gap: 18px;

    padding: 24px;

    border:
        1px solid
        rgba(255,255,255,.06);

    border-radius:
        var(--brands-radius);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.018)
        );

    backdrop-filter:
        blur(15px);

}


.brands-search label {

    display: block;

    margin-bottom: 9px;

    color: #cfcfcf;

    font-size: 13px;

    font-weight: 600;

}


.brands-search-box {

    display: flex;

    gap: 8px;

}


.brands-search-box input {

    width: 100%;

    height: 48px;

    padding: 0 16px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 10px;

    outline: none;

    background:
        rgba(0,0,0,.45);

    color: white;

    font-family: inherit;

    font-size: 14px;

    transition: .3s ease;

}


.brands-search-box input::placeholder {

    color: #686868;

}


.brands-search-box input:focus {

    border-color:
        rgba(212,175,55,.6);

    box-shadow:
        0 0 0 3px
        rgba(212,175,55,.07);

}


#brandSearchButton {

    flex-shrink: 0;

    min-width: 100px;

    border: none;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            var(--brands-gold),
            var(--brands-gold-light)
        );

    color: #111;

    font-family: inherit;

    font-size: 13px;

    font-weight: 800;

    cursor: pointer;

    transition: .3s ease;

}


#brandSearchButton:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(212,175,55,.22);

}


/* =========================================================
   BRANDS SECTION
========================================================= */

.brands-section {

    padding:
        45px 0 100px;

    background: #0b0b0b;

}


/* =========================================================
   RESULTS INFO
========================================================= */

.brands-results-info {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 22px;

    color: #888;

    font-size: 14px;

}


.brands-results-info strong {

    color:
        var(--brands-gold-light);

    font-size: 16px;

}


/* =========================================================
   BRANDS GRID
========================================================= */

.brands-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 24px;

}


/* =========================================================
   BRAND CARD
========================================================= */

.brand-card {

    position: relative;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius:
        var(--brands-radius);

    background:
        linear-gradient(
            145deg,
            #151515,
            #0d0d0d
        );

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;

}


.brand-card::before {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            135deg,
            rgba(212,175,55,.07),
            transparent 35%
        );

    opacity: 0;

    transition: .35s ease;

}


.brand-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(212,175,55,.35);

    box-shadow:
        0 18px 45px
        rgba(0,0,0,.42),
        0 0 25px
        rgba(212,175,55,.06);

}


.brand-card:hover::before {

    opacity: 1;

}


/* =========================================================
   BRAND CARD LOGO
========================================================= */

.brand-card-logo {

    position: relative;

    height: 210px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    border-bottom:
        1px solid
        rgba(255,255,255,.05);

    background:
        radial-gradient(
            circle at center,
            rgba(255,255,255,.055),
            transparent 60%
        ),
        #101010;

}


.brand-card-logo img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    padding: 30px;

    transition:
        transform .45s ease;

}


.brand-card:hover
.brand-card-logo img {

    transform:
        scale(1.06);

}


.brand-logo-placeholder {

    width: 100px;

    height: 100px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(212,175,55,.3);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(212,175,55,.14),
            rgba(212,175,55,.04)
        );

    color:
        var(--brands-gold-light);

    font-size: 23px;

    font-weight: 800;

    letter-spacing: 1px;

}


/* =========================================================
   BRAND STATUS
========================================================= */

.brand-card-status {

    position: absolute;

    top: 15px;

    right: 15px;

    z-index: 3;

    padding:
        6px 12px;

    border-radius: 30px;

    color: #80e6a5;

    border:
        1px solid
        rgba(70,220,130,.22);

    background:
        rgba(20,120,60,.18);

    font-size: 11px;

    font-weight: 700;

    backdrop-filter:
        blur(8px);

}


/* =========================================================
   BRAND CONTENT
========================================================= */

.brand-card-content {

    position: relative;

    z-index: 2;

    padding: 24px;

}


.brand-card-label {

    display: inline-block;

    margin-bottom: 9px;

    color:
        var(--brands-gold);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.brand-card-content h3 {

    margin: 0 0 12px;

    color: white;

    font-size: 23px;

    font-weight: 800;

}


.brand-card-description {

    min-height: 55px;

    margin: 0 0 20px;

    color: #969696;

    font-size: 13px;

    line-height: 1.9;

}


.brand-card-actions {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;

}


.brand-card-actions a {

    min-height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    transition: .3s ease;

}


.brand-details-btn {

    color: #ddd;

    border:
        1px solid
        rgba(255,255,255,.1);

    background:
        rgba(255,255,255,.025);

}


.brand-details-btn:hover {

    color: white;

    border-color:
        rgba(255,255,255,.25);

    background:
        rgba(255,255,255,.07);

}


.brand-inquiry-btn {

    color: #111;

    background:
        linear-gradient(
            135deg,
            var(--brands-gold),
            var(--brands-gold-light)
        );

}


.brand-inquiry-btn:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(212,175,55,.2);

}


/* =========================================================
   EMPTY
========================================================= */

.brands-empty {

    padding:
        80px 20px;

    text-align: center;

    border:
        1px dashed
        rgba(255,255,255,.1);

    border-radius:
        var(--brands-radius);

    background:
        rgba(255,255,255,.015);

}


.brands-empty-icon {

    margin-bottom: 18px;

    font-size: 42px;

    opacity: .7;

}


.brands-empty h3 {

    margin: 0 0 10px;

    color: white;

    font-size: 21px;

}


.brands-empty p {

    margin: 0;

    color: #777;

    font-size: 14px;

}


/* =========================================================
   PAGINATION
========================================================= */

.brands-pagination {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin-top: 50px;

}


.pagination-btn {

    width: 42px;

    height: 42px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 10px;

    background:
        rgba(255,255,255,.025);

    color: #aaa;

    font-family: inherit;

    cursor: pointer;

    transition: .3s ease;

}


.pagination-btn:hover {

    color: white;

    border-color:
        rgba(212,175,55,.35);

}


.pagination-btn.active {

    color: #111;

    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            var(--brands-gold),
            var(--brands-gold-light)
        );

    font-weight: 800;

}


/* =========================================================
   CTA
========================================================= */

.brands-cta,
.brand-cta {

    position: relative;

    overflow: hidden;

    padding:
        100px 0;

    background:
        radial-gradient(
            circle at center,
            rgba(212,175,55,.12),
            transparent 48%
        ),
        #070707;

    border-top:
        1px solid
        rgba(212,175,55,.1);

}


.brands-cta::before,
.brand-cta::before {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    top: 50%;

    left: 50%;

    transform:
        translate(-50%,-50%);

    border:
        1px solid
        rgba(212,175,55,.07);

    border-radius: 50%;

}


.brands-cta-content,
.brand-cta-content {

    position: relative;

    z-index: 2;

    max-width: 800px;

    margin: auto;

    text-align: center;

}


.brands-cta-content > span,
.brand-cta-content > span {

    display: block;

    margin-bottom: 12px;

    color:
        var(--brands-gold);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

}


.brands-cta-content h2,
.brand-cta-content h2 {

    margin: 0 0 18px;

    color: white;

    font-size: 34px;

    font-weight: 800;

}


.brands-cta-content p,
.brand-cta-content p {

    max-width: 650px;

    margin:
        0 auto 28px;

    color: #929292;

    font-size: 15px;

    line-height: 2;

}


.cta-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 190px;

    min-height: 52px;

    padding:
        0 28px;

    border-radius: 12px;

    color: #111;

    background:
        linear-gradient(
            135deg,
            var(--brands-gold),
            var(--brands-gold-light)
        );

    text-decoration: none;

    font-size: 14px;

    font-weight: 800;

    box-shadow:
        0 10px 30px
        rgba(212,175,55,.16);

    transition: .3s ease;

}


.cta-button:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 15px 35px
        rgba(212,175,55,.28);

}


/* =========================================================
   BRAND DETAIL
========================================================= */

.brand-details-section {

    padding:
        80px 0 100px;

    background: #0b0b0b;

}


.brand-back-wrapper {

    margin-bottom: 25px;

}


.brand-back-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    min-height: 42px;

    padding:
        0 16px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 10px;

    background:
        rgba(255,255,255,.025);

    color: #bcbcbc;

    text-decoration: none;

    font-size: 13px;

    transition: .3s ease;

}


.brand-back-btn:hover {

    color: white;

    border-color:
        rgba(212,175,55,.35);

    background:
        rgba(212,175,55,.06);

    transform:
        translateY(-2px);

}


/* =========================================================
   BRAND MAIN CARD
========================================================= */

.brand-main-card {

    display: grid;

    grid-template-columns:
        minmax(280px,.75fr)
        minmax(0,1.25fr);

    gap: 45px;

    padding: 40px;

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #151515,
            #0d0d0d
        );

    box-shadow:
        0 20px 50px
        rgba(0,0,0,.25);

}


/* =========================================================
   BRAND LOGO DETAIL
========================================================= */

.brand-main-logo-wrapper {

    min-height: 360px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius: 18px;

    background:
        radial-gradient(
            circle at center,
            rgba(255,255,255,.055),
            transparent 60%
        ),
        #101010;

}


.brand-main-logo {

    width: 100%;

    height: 100%;

    max-height: 360px;

    object-fit: contain;

    padding: 45px;

}


.brand-logo-fallback {

    width: 125px;

    height: 125px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(212,175,55,.3);

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(212,175,55,.14),
            rgba(212,175,55,.04)
        );

    color:
        var(--brands-gold-light);

    font-size: 28px;

    font-weight: 800;

    letter-spacing: 1px;

}


/* =========================================================
   BRAND INFORMATION
========================================================= */

.brand-main-information {

    display: flex;

    flex-direction: column;

    justify-content: center;

    min-width: 0;

}


.brand-main-label {

    display: inline-block;

    margin-bottom: 12px;

    color:
        var(--brands-gold);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

}


.brand-main-information h1 {

    margin: 0 0 18px;

    color: white;

    font-size: clamp(
        32px,
        4vw,
        48px
    );

    font-weight: 800;

}


.brand-description {

    margin-bottom: 28px;

    color: #999;

    font-size: 15px;

    line-height: 2.2;

}


.brand-meta {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;

    margin-bottom: 28px;

}


.brand-meta-item {

    padding:
        15px 16px;

    border:
        1px solid
        rgba(255,255,255,.055);

    border-radius: 10px;

    background:
        rgba(255,255,255,.025);

}


.brand-meta-item span {

    display: block;

    margin-bottom: 7px;

    color: #666;

    font-size: 11px;

}


.brand-meta-item strong {

    display: block;

    color: #ddd;

    font-size: 13px;

}


.brand-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

}


.brand-actions a {

    min-height: 48px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        0 20px;

    border-radius: 10px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    transition: .3s ease;

}


.brand-website-btn {

    color: #ddd;

    border:
        1px solid
        rgba(255,255,255,.1);

    background:
        rgba(255,255,255,.025);

}


.brand-website-btn:hover {

    color: white;

    border-color:
        rgba(255,255,255,.25);

    background:
        rgba(255,255,255,.07);

}


.brand-actions .brand-inquiry-btn {

    color: #111;

    background:
        linear-gradient(
            135deg,
            var(--brands-gold),
            var(--brands-gold-light)
        );

}


.brand-actions .brand-inquiry-btn:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(212,175,55,.2);

}


/* =========================================================
   RELATED PRODUCTS
========================================================= */

.brand-products-section {

    margin-top: 70px;

}


.brand-products-heading {

    margin-bottom: 35px;

    text-align: center;

}


.brand-products-heading span {

    display: block;

    margin-bottom: 9px;

    color:
        var(--brands-gold);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

}


.brand-products-heading h2 {

    margin: 0 0 12px;

    color: white;

    font-size: 32px;

    font-weight: 800;

}


.brand-products-heading p {

    margin: 0;

    color: #777;

    font-size: 14px;

}


.brand-products-grid {

    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 24px;

}


/* =========================================================
   RELATED PRODUCT CARD
========================================================= */

.brand-product-card {

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius:
        var(--brands-radius);

    background:
        linear-gradient(
            145deg,
            #151515,
            #0d0d0d
        );

    transition: .35s ease;

}


.brand-product-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(212,175,55,.32);

    box-shadow:
        0 15px 35px
        rgba(0,0,0,.3);

}


.brand-product-image {

    height: 210px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.045),
            transparent 65%
        ),
        #101010;

    border-bottom:
        1px solid
        rgba(255,255,255,.05);

}


.brand-product-image img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    padding: 25px;

}


.brand-product-content {

    padding: 20px;

}


.brand-product-category {

    display: inline-block;

    margin-bottom: 8px;

    color:
        var(--brands-gold);

    font-size: 11px;

    font-weight: 700;

}


.brand-product-content h3 {

    margin: 0 0 15px;

    color: white;

    font-size: 18px;

    font-weight: 750;

}


.brand-product-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 43px;

    border:
        1px solid
        rgba(255,255,255,.1);

    border-radius: 9px;

    color: #ddd;

    background:
        rgba(255,255,255,.025);

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    transition: .3s ease;

}


.brand-product-btn:hover {

    color: white;

    border-color:
        rgba(212,175,55,.3);

    background:
        rgba(212,175,55,.06);

}


/* =========================================================
   DETAIL STATE
========================================================= */

.brand-state {

    padding:
        90px 20px;

    text-align: center;

    border:
        1px dashed
        rgba(255,255,255,.1);

    border-radius:
        var(--brands-radius);

    background:
        rgba(255,255,255,.015);

}


.brand-state-icon {

    margin-bottom: 18px;

    font-size: 42px;

}


.brand-state h2 {

    margin: 0 0 10px;

    color: white;

    font-size: 23px;

}


.brand-state p {

    margin: 0 0 20px;

    color: #777;

    font-size: 14px;

    line-height: 2;

}


.brand-state-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 46px;

    padding:
        0 22px;

    border-radius: 10px;

    color: #111;

    background:
        linear-gradient(
            135deg,
            var(--brands-gold),
            var(--brands-gold-light)
        );

    text-decoration: none;

    font-size: 13px;

    font-weight: 800;

}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes brandsHeroRotate {

    from {

        transform:
            rotate(0deg);

    }

    to {

        transform:
            rotate(360deg);

    }

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (min-width: 1500px) {

    .brands-grid {

        grid-template-columns:
            repeat(4,minmax(0,1fr));

    }


    .brand-products-grid {

        grid-template-columns:
            repeat(4,minmax(0,1fr));

    }

}


@media (max-width: 992px) {

    .brands-grid {

        grid-template-columns:
            repeat(2,minmax(0,1fr));

    }


    .brand-main-card {

        grid-template-columns: 1fr;

    }


    .brand-main-logo-wrapper {

        min-height: 320px;

    }


    .brand-products-grid {

        grid-template-columns:
            repeat(2,minmax(0,1fr));

    }

}


@media (max-width: 768px) {

    .brands-hero {

        min-height: 320px;

    }


    .brands-hero-content {

        padding:
            90px 20px
            50px;

    }


    .brands-intro {

        padding:
            60px 0 35px;

    }


    .brands-section {

        padding:
            35px 0 70px;

    }


    .brands-toolbar {

        grid-template-columns: 1fr;

        padding: 18px;

    }


    .brands-grid {

        grid-template-columns: 1fr;

    }


    .brand-card-actions {

        grid-template-columns: 1fr;

    }


    .brands-cta,
    .brand-cta {

        padding:
            70px 0;

    }


    .brands-cta-content h2,
    .brand-cta-content h2 {

        font-size: 28px;

    }


    .brand-details-section {

        padding:
            55px 0 75px;

    }


    .brand-main-card {

        padding: 22px;

        border-radius: 15px;

    }


    .brand-main-logo-wrapper {

        min-height: 270px;

    }


    .brand-meta {

        grid-template-columns: 1fr;

    }


    .brand-actions {

        flex-direction: column;

    }


    .brand-actions a {

        width: 100%;

    }


    .brand-products-section {

        margin-top: 55px;

    }


    .brand-products-grid {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 480px) {

    .brands-hero-content h1 {

        font-size: 36px;

    }


    .brands-hero-content p {

        font-size: 14px;

    }


    .section-heading h2 {

        font-size: 28px;

    }


    .brands-search-box {

        flex-direction: column;

    }


    #brandSearchButton {

        width: 100%;

        min-height: 46px;

    }


    .brand-card-logo {

        height: 190px;

    }


    .brand-main-information h1 {

        font-size: 30px;

    }


    .brand-products-heading h2 {

        font-size: 27px;

    }

}