@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

/* ===================== SCROLL FADE-IN-UP ANIMATION ===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
}

.fade-in-up.animated {
    animation: fadeInUp 0.7s ease forwards;
}

/* ======================================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
}

section {
    margin-bottom: 60px;
}

section:last-child {
    margin-bottom: 0;
}



.premium-accessories {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 90px 20px 10px;
}

.accessories-heading {
    max-width: 1051px;
    margin: 0 auto 60px;
    text-align: center;
}

.accessories-heading img {
    display: block;
    margin: 0 auto 15px;
}

.accessories-heading h2 {
    font-size: 42px;
    line-height: 100%;
    font-weight: 400;
    color: #18171C;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-family: 'Lora', sans-serif;
}

.accessories-heading p {
    max-width: 755px;
    margin: auto;
    font-size: 14px;
    line-height: 27px;
    color: #1C1614;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.post-type-archive-accessories .accessories-grid {
    max-width: 1248px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    justify-content: center;
}

.accessory-card {
    width: 100%;
}

.big-card {
    grid-column: span 2;
}

.accessory-card h3 {
    font-family: 'Bricolage Grotesque', sans-serif;
    margin-top: 20px;
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #18171C;
    line-height: 100%;
}

.image-box {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-1 .image-box,
.card-2 .image-box,
.card-3 .image-box,
.card-4 .image-box,
.card-5 .image-box,
.card-6 .image-box,
.card-7 .image-box,
.card-8 .image-box {
    width: 100%;
    height: 630px;
    background: transparent;
}

.img-default,
.img-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.card-1 img,
.card-2 img,
.card-3 img,
.card-4 img,
.card-5 img,
.card-6 img,
.card-7 img,
.card-8 img {
    width: 100%;
}

.img-default {
    opacity: 1 !important;
    z-index: 2;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.4s ease;
}

.img-hover {
    display: none !important;
}

.accessory-card:hover .img-default,
.accessory-card-link:hover .img-default {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1.04);
}

.accessory-card-link {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.accessory-card-link.big-card,
.big-card {
    grid-column: span 2;
}

@media(max-width:1024px) {
    .premium-accessories {
        padding: 70px 20px 10px;
    }

    .accessories-heading {
        margin-bottom: 45px;
    }

    .accessories-heading h2 {
        font-size: 30px;
        line-height: 40px;
    }

    .accessories-heading p {
        font-size: 15px;
        line-height: 24px;
    }

    .accessories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 100%;
    }

    .big-card {
        grid-column: span 2;
    }

    .card-1 .image-box,
    .card-2 .image-box,
    .card-3 .image-box,
    .card-4 .image-box,
    .card-5 .image-box,
    .card-6 .image-box,
    .card-7 .image-box,
    .card-8 .image-box {
        height: 450px;
    }
}

@media(max-width:768px) {
    .premium-accessories {
        padding: 60px 15px 10px;
    }

    .accessories-heading {
        margin-bottom: 35px;
    }

    .accessories-heading h2 {
        font-size: 28px;
        line-height: 38px;
    }

    .accessories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .big-card {
        grid-column: span 2;
    }

    .card-1 .image-box,
    .card-2 .image-box,
    .card-3 .image-box,
    .card-4 .image-box,
    .card-5 .image-box,
    .card-6 .image-box,
    .card-7 .image-box,
    .card-8 .image-box {
        height: 380px;
    }

    .accessory-card h3 {
        font-size: 13px;
        margin-top: 15px;
    }
}

@media(max-width:576px) {
    .premium-accessories {
        padding: 50px 15px 10px;
    }

    .accessories-heading {
        margin-bottom: 30px;
    }

    .accessories-heading img {
        width: 50px;
    }

    .accessories-heading h2 {
        font-size: 22px;
        line-height: 32px;
    }

    .accessories-heading p {
        font-size: 14px;
        line-height: 24px;
    }

    .accessories-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .big-card {
        grid-column: span 1;
    }

    .card-1 .image-box,
    .card-2 .image-box,
    .card-3 .image-box,
    .card-5 .image-box,
    .card-6 .image-box,
    .card-7 .image-box,
    .card-8 .image-box {
        height: 350px;
    }

    .card-4 .image-box {
        height: 420px;
    }

    .accessory-card h3 {
        font-size: 13px;
        margin-top: 12px;
    }
}

@media(max-width:400px) {
    .premium-accessories {
        padding: 40px 10px 10px;
    }

    .accessories-heading h2 {
        font-size: 18px;
        line-height: 28px;
    }

    .card-1 .image-box,
    .card-2 .image-box,
    .card-3 .image-box,
    .card-5 .image-box,
    .card-6 .image-box,
    .card-7 .image-box,
    .card-8 .image-box {
        height: 280px;
    }

    .card-4 .image-box {
        height: 340px;
    }

    .accessory-card h3 {
        font-size: 11px;
        margin-top: 10px;
        letter-spacing: 0.5px;
    }
}





/* ===================== BUTTON HOVER ANIMATION ===================== */
.contact-form button {
    width: 211px;
    height: 56px;
    background: #CBAA6A;
    color: #fff;
    border: none;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border-radius: 20px;
}

.contact-form button::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
    border-radius: 50%;
}

.contact-form button:hover::before {
    transform: scale(1);
}

.contact-form button:hover {
    background: #b08b49;
    box-shadow: 0 8px 30px rgba(203, 170, 106, 0.5),
        inset 0 2px 20px rgba(255, 255, 255, 0.2);
}

/* ================================================================== */