/* ==============================
   Picoopic Font Family
============================== */

@font-face {
    font-family: 'Picoopic';
    src: url('/fonts/picoopic-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Picoopic';
    src: url('/fonts/picoopic-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Picoopic';
    src: url('/fonts/picoopic-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Picoopic';
    src: url('/fonts/picoopic-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --wine: #581c30;
    --wine-deep: #37121f;
    --gold: #ba8d45;
    --cream: #faf7f1;
    --ink: #30252a;
    --muted: #756b6a;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    width: 100%;
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    display: block;
}

:focus-visible {
    outline: 3px solid #c99b50 !important;
    outline-offset: 4px;
}

.page-shell {
    width: 100%;
    overflow: hidden;
}

.site-width {
    max-width: 1320px;
    margin-inline: auto;
}

.eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--gold);
}

.section-title {
    font-size: clamp(1.8rem, 3.1vw, 3rem);
    line-height: 1.45;
    font-weight: 800;
}

.section-space {
    padding-block: clamp(68px, 8vw, 120px);
}

.gold-rule {
    width: 65px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.announcement {
    background: var(--wine-deep);
    color: #f8ead3;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}
/* Header and responsive navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: rgba(255, 252, 247, 0.96);
    border-bottom: 1px solid rgba(186, 141, 69, 0.24);
    box-shadow: 0 12px 32px rgba(55, 18, 31, 0.08);
    backdrop-filter: blur(18px);
}

    .site-header .navbar > .container-fluid {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 28px;
    }

.desktop-main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2.2vw, 34px);
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

    .desktop-main-nav a {
        color: var(--ink);
        font-size: 0.9rem;
        font-weight: 600;
        white-space: nowrap;
        transition: color 0.25s ease;
    }

        .desktop-main-nav a:hover,
        .desktop-main-nav a:focus-visible {
            color: var(--gold);
        }

.desktop-nav-cta {
    white-space: nowrap;
    min-height: 44px;
    padding: 10px 19px;
    font-size: 0.86rem;
}

.mobile-bottom-nav {
    display: none;
}

.site-header {
    top: 0;
    z-index: 1050;
    background: rgba(255, 252, 247, 0.96);
    border-bottom: 1px solid rgba(186, 141, 69, 0.24);
    box-shadow: 0 12px 32px rgba(55, 18, 31, 0.08);
    backdrop-filter: blur(18px);
}

.brand-mark {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.5rem;
    flex: none;
}

.brand-name {
    font-weight: 800;
    color: var(--wine);
    font-size: 1.2rem;
    line-height: 1.25;
}

.brand-english {
    font-size: 0.65rem;
    letter-spacing: 0.17em;
    color: var(--gold);
    direction: ltr;
}

.navbar-nav .nav-link {
    color: var(--ink);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.6rem 0.7rem !important;
    transition: color 0.25s;
}

    .navbar-nav .nav-link:hover {
        color: var(--gold);
    }

.nav-cta,
.btn-gold,
.btn-outline-light-custom {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    padding: 12px 25px;
    font-weight: 700;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s, color 0.3s, border-color 0.3s;
}

.nav-cta,
.btn-gold {
    background: var(--wine);
    color: #fff;
    border: 1px solid var(--wine);
}

    .nav-cta:hover,
    .btn-gold:hover {
        background: #773047;
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(88, 28, 48, 0.22);
    }

.hero {
    position: relative;
    background: radial-gradient( circle at 38% 45%, #fff7e7 0%, #f8f0e5 42%, #efe3d7 100% );
    isolation: isolate;
}

    .hero::before {
        content: "";
        position: absolute;
        width: 480px;
        height: 480px;
        border: 1px solid rgba(186, 141, 69, 0.24);
        border-radius: 50%;
        right: -230px;
        top: -230px;
        pointer-events: none;
    }

.hero-content {
    padding-block: 85px 95px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.45rem, 5vw, 5.15rem);
    font-weight: 800;
    line-height: 1.35;
    color: var(--wine);
    max-width: 700px;
}

    .hero-title strong {
        color: var(--gold);
        font-weight: 800;
    }

.hero-copy {
    font-size: clamp(0.96rem, 1.3vw, 1.12rem);
    line-height: 2.1;
    color: #5f5151;
    max-width: 540px;
}

.btn-outline-light-custom {
    color: var(--wine);
    border: 1px solid var(--wine);
    background: transparent;
}

    .btn-outline-light-custom:hover {
        background: var(--wine);
        color: #fff;
        transform: translateY(-3px);
    }

.hero-visual {
    position: relative;
    min-height: 610px;
    padding: 42px 0 42px 28px;
}

.hero-photo {
    width: 100%;
    height: 100%;
    min-height: 530px;
    object-fit: cover;
    border-radius: 190px 190px 12px 12px;
    box-shadow: 22px 24px 0 rgba(186, 141, 69, 0.17), 0 24px 55px rgba(55, 18, 31, 0.16);
}

.hero-visual::after {
    content: "✦";
    position: absolute;
    left: -9px;
    top: 62px;
    color: var(--gold);
    font-size: 55px;
    text-shadow: 0 0 22px rgba(186, 141, 69, 0.38);
    animation: float 5s ease-in-out infinite;
}

.hero-seal {
    position: absolute;
    bottom: 79px;
    right: -42px;
    width: 128px;
    height: 128px;
    display: grid;
    place-items: center;
    text-align: center;
    background: var(--wine);
    border: 5px solid #f2ddaa;
    border-radius: 50%;
    box-shadow: 0 15px 30px #37121f44;
    transform: rotate(-10deg);
}

    .hero-seal span {
        font-size: 0.78rem;
        line-height: 1.8;
        color: #fff3d9;
    }

.category-section {
    background: #fffdf9;
}

.category-card {
    display: block;
    color: var(--ink);
    position: relative;
    overflow: hidden;
    border-radius: 145px 145px 10px 10px;
    background: #eadfd3;
    box-shadow: 0 12px 35px #37121f13;
    transition: transform 0.4s, box-shadow 0.4s;
}

    .category-card:hover {
        transform: translateY(-9px);
        box-shadow: 0 22px 44px #37121f26;
        color: var(--wine);
    }

    .category-card img {
        height: 330px;
        width: 100%;
        object-fit: cover;
        transition: transform 0.65s;
    }

    .category-card:hover img,
    .product-card:hover img {
        transform: scale(1.065);
    }

.category-caption {
    background: #fff;
    padding: 20px 22px;
    border-bottom: 2px solid var(--gold);
}

    .category-caption span {
        font-weight: 800;
        font-size: 1.1rem;
    }

    .category-caption small {
        color: var(--gold);
        font-size: 0.76rem;
    }

.collection-section {
    background: #f0e7dd;
}

.collection-slide {
    min-height: 430px;
    background: var(--wine);
    overflow: hidden;
    border-radius: 12px;
}

    .collection-slide img {
        width: 100%;
        height: 430px;
        object-fit: cover;
    }

.collection-copy {
    padding: 45px clamp(24px, 6vw, 86px);
    color: #fff;
}

    .collection-copy h3 {
        font-size: clamp(1.7rem, 3vw, 2.65rem);
        font-weight: 800;
        line-height: 1.5;
    }

    .collection-copy p {
        line-height: 2;
        color: #eddae0;
    }

    .collection-copy a {
        color: #fff6e7;
        border-bottom: 1px solid var(--gold);
        padding-bottom: 7px;
    }

.carousel-controls {
    display: flex;
    gap: 10px;
}

    .carousel-controls button {
        height: 48px;
        width: 48px;
        background: #fff;
        border: 1px solid #dec8a2;
        color: var(--wine);
        border-radius: 50%;
        font-size: 1.5rem;
        transition: background 0.25s, color 0.25s;
    }

        .carousel-controls button:hover {
            background: var(--wine);
            color: #fff;
        }

.product-section {
    background: #fffdf9;
}

.product-card {
    height: 100%;
    background: #fff;
    border: 1px solid #ede4d7;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 35px #37121f0d;
    transition: transform 0.35s, box-shadow 0.35s;
}

    .product-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 20px 40px #37121f1e;
    }

.product-image-wrap {
    position: relative;
    overflow: hidden;
    background: #efe6dc;
}

    .product-image-wrap img {
        width: 100%;
        height: 310px;
        object-fit: cover;
        transition: transform 0.65s;
    }

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--wine);
    color: #fff;
    padding: 7px 12px;
    border-radius: 3px;
    font-size: 0.72rem;
}

.product-name {
    font-weight: 800;
    font-size: 1.12rem;
    color: var(--wine);
}

.product-link {
    color: var(--wine);
    font-weight: 700;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px;
}

    .product-link:hover {
        color: var(--gold);
    }

.trust-section {
    background: var(--wine);
    color: #fff;
}

.trust-item {
    border: 1px solid #ffffff32;
    padding: 30px 20px;
    height: 100%;
    border-radius: 5px;
    transition: background 0.3s, transform 0.3s;
}

    .trust-item:hover {
        background: #ffffff13;
        transform: translateY(-5px);
    }

.trust-icon {
    font-size: 2rem;
    color: #e5bb71;
    line-height: 1;
}

.trust-item h3 {
    font-size: 1.03rem;
    font-weight: 800;
}

.trust-item p {
    font-size: 0.86rem;
    color: #e5d1d6;
    line-height: 1.9;
    margin: 0;
}

.story-section {
    background: #faf5ed;
}

.story-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 8px 120px 8px 8px;
    box-shadow: -20px 20px 0 #e8d4b4;
}

.story-copy {
    line-height: 2.2;
    color: #665b59;
}

.contact-section {
    background: radial-gradient( circle at 18% 20%, #7d3547, var(--wine-deep) 68% );
    color: #fff;
    position: relative;
}

    .contact-section::before {
        content: "✧";
        position: absolute;
        left: 8%;
        top: 6%;
        font-size: 110px;
        color: #e6bd7340;
        animation: float 6s ease-in-out infinite;
    }

    .contact-section p {
        color: #f0dfe2;
    }

.contact-button {
    background: #dfb56e;
    color: var(--wine-deep);
    border: 1px solid #dfb56e;
}

    .contact-button:hover {
        background: #f4d69c;
        color: var(--wine-deep);
    }

.site-footer {
    background: #26151c;
    color: #e9dfe0;
}

.footer-heading {
    font-weight: 800;
    color: #e7bb75;
    font-size: 1rem;
    margin-bottom: 22px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 12px;
    }

.site-footer a {
    color: #e9dfe0;
    transition: color 0.25s;
}

    .site-footer a:hover {
        color: #e7bb75;
    }

.footer-copy {
    line-height: 2;
    color: #cabdc1;
    font-size: 0.87rem;
}

.social-link {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #b9916570;
    border-radius: 50%;
    font-weight: 800;
}

.newsletter-input {
    background: #fffaf4;
    border: 1px solid #d2b68d;
    border-radius: 4px;
    min-height: 48px;
    padding: 10px 14px;
    width: 100%;
    color: var(--ink);
}

.newsletter-button {
    min-height: 48px;
    background: #d9aa61;
    color: #2b1720;
    border: 0;
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: 800;
    white-space: nowrap;
}

    .newsletter-button:hover {
        background: #f0ca8d;
    }

    .newsletter-button:disabled {
        opacity: 0.65;
        cursor: wait;
    }

.back-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b99165;
    border-radius: 4px;
    min-height: 42px;
    padding: 6px 16px;
}

.reveal {
    animation: rise 0.85s both;
}

.delay-1 {
    animation-delay: 0.13s;
}

.delay-2 {
    animation-delay: 0.25s;
}
/* Refined footer layout */
.footer-container {
    padding-top: 62px;
    padding-bottom: 24px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.25fr 0.8fr 1fr;
    gap: clamp(30px, 5vw, 78px);
    padding-bottom: 48px;
}

.footer-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

    .footer-brand-lockup .brand-mark {
        border-color: #c9a66b;
        color: #e7bb75;
    }

.footer-brand-name {
    color: #f7eee6;
    font-size: 1.12rem;
    font-weight: 800;
}

.footer-brand-english {
    color: #d5ae70;
    direction: ltr;
    letter-spacing: 0.16em;
    margin-top: 3px;
}

.footer-description {
    max-width: 330px;
}

.footer-heading {
    color: #e7bb75;
    font-size: 1rem;
    font-weight: 800;
    margin: 5px 0 22px;
}

.footer-navigation li {
    margin-bottom: 13px;
}

.footer-navigation a {
    display: inline-block;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 20px;
}

.footer-contact-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid #b9916570;
    border-radius: 12px;
    color: #e7bb75;
    font-size: 1.1rem;
}

.footer-contact-label {
    display: block;
    color: #e7bb75;
    font-size: 0.78rem;
    margin-bottom: 5px;
}

.footer-contact-value {
    display: block;
    color: #e9dfe0;
    font-size: 0.88rem;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.footer-contact-link {
    display: inline-block;
    color: #e7bb75 !important;
    font-size: 0.84rem;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid #ffffff20;
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.back-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b99165;
    border-radius: 5px;
    min-height: 40px;
    padding: 6px 15px;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .site-header {
        position: relative !important;
        top: auto !important;
        z-index: auto;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

        .site-header .navbar {
            padding-block: 12px !important;
        }

            .site-header .navbar > .container-fluid {
                justify-content: center;
            }

    .desktop-main-nav,
    .desktop-nav-cta {
        display: none;
    }

    .mobile-bottom-nav {
        position: fixed !important;
        top: auto !important;
        bottom: max(14px, env(safe-area-inset-bottom)) !important;
        left: 50% !important;
        right: auto !important;
        z-index: 1200;
        display: flex;
        align-items: center;
        gap: 12px;
        left: 50%;
        bottom: max(14px, env(safe-area-inset-bottom));
        transform: translateX(-50%);
        width: min(calc(100% - 32px), 440px);
        min-height: 68px;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        overflow: visible;
    }

    .mobile-nav-pill {
        flex: 1;
        width: 100%;
        min-width: 0;
        min-height: 68px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 1px;
        padding: 6px 7px;
        border: 1px solid rgba(186, 141, 69, 0.18);
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 9px 30px rgba(39, 22, 28, 0.2);
        backdrop-filter: blur(18px);
    }

    .mobile-nav-item {
        flex: 1 1 0;
        min-width: 0;
        min-height: 52px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: #858282;
        border-radius: 17px;
        transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }

        .mobile-nav-item:hover,
        .mobile-nav-item:focus-visible {
            color: var(--wine) !important;
            background: rgba(186, 141, 69, 0.13);
            box-shadow: inset 0 0 0 1px rgba(186, 141, 69, 0.18);
            transform: translateY(-2px);
            outline: none;
        }

            .mobile-nav-item:hover svg,
            .mobile-nav-item:focus-visible svg {
                color: var(--gold);
            }

        .mobile-nav-item svg {
            width: 22px;
            height: 22px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .mobile-nav-item span {
            font-size: 0.59rem;
            font-weight: 600;
            white-space: nowrap;
        }

        .mobile-nav-item:active {
            transform: scale(0.94);
        }

    body {
        padding-bottom: 94px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 36px 28px;
    }

    .footer-brand-column {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575px) {
    .footer-container {
        padding-top: 34px;
        padding-bottom: 18px;
    }

    .footer-main {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 25px 16px;
        padding-bottom: 24px;
    }

    .footer-brand-column {
        grid-column: 1 / -1;
        padding-bottom: 20px;
        border-bottom: 1px solid #ffffff18;
    }

    .footer-navigation-column,
    .footer-contact-column {
        grid-column: auto;
        min-width: 0;
    }

    .footer-brand-lockup {
        margin-bottom: 10px;
    }

    .footer-brand-name {
        font-size: 1rem;
    }

    .footer-description {
        max-width: 100%;
        font-size: 0.82rem;
        margin-bottom: 8px;
    }

    .footer-brand-column .d-flex.gap-2.mt-4 {
        margin-top: 12px !important;
    }

    .footer-heading {
        font-size: 0.9rem;
        margin: 0 0 15px;
    }

    .footer-navigation li {
        margin-bottom: 10px;
    }

    .footer-navigation a {
        font-size: 0.8rem;
    }

    .footer-contact-item {
        display: block;
        margin-bottom: 14px;
    }

    .footer-contact-icon {
        display: none;
    }

    .footer-contact-label {
        font-size: 0.72rem;
        margin-bottom: 3px;
    }

    .footer-contact-value {
        font-size: 0.76rem;
        line-height: 1.8;
    }

    .footer-contact-link {
        font-size: 0.73rem;
        line-height: 1.8;
    }

    .footer-bottom {
        flex-direction: row;
        align-items: center;
        text-align: right;
        gap: 8px;
    }

        .footer-bottom .back-top {
            align-self: auto;
            min-height: 35px;
            padding: 5px 10px;
            font-size: 0.75rem;
        }

    .footer-copy {
        font-size: 0.72rem;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    50% {
        transform: translateY(-14px) rotate(12deg);
    }
}

@media (max-width: 991px) {
    .hero-content {
        padding-block: 60px 20px;
    }

    .hero-visual {
        min-height: 460px;
        padding: 20px 30px 42px;
    }

    .hero-photo {
        min-height: 430px;
        max-height: 510px;
    }

    .hero-seal {
        right: 2px;
        bottom: 60px;
    }

    .navbar-collapse {
        padding: 14px 0 22px;
    }

    .nav-cta {
        margin-top: 10px;
    }
}

@media (max-width: 575px) {
    .hero-visual {
        min-height: 370px;
        padding: 10px 18px 35px;
    }

    .hero-photo {
        min-height: 330px;
        max-height: 350px;
        border-radius: 130px 130px 8px 8px;
    }

    .hero-seal {
        width: 95px;
        height: 95px;
        bottom: 43px;
        right: 1px;
    }

        .hero-seal span {
            font-size: 0.61rem;
        }

    .category-card img {
        height: 245px;
    }

    .collection-slide img {
        height: 250px;
    }

    .collection-copy {
        padding: 30px 24px 38px;
    }

    .product-image-wrap img {
        height: 240px;
    }

    .story-image {
        height: 350px;
    }

    .section-space {
        padding-block: 68px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Behnam live market board — isolated styles */
.market-rates-section {
    position: relative;
    overflow: hidden;
    padding: 76px 0 70px;
    background: radial-gradient( circle at 8% 12%, rgba(186, 141, 69, 0.1), transparent 27% ), linear-gradient(135deg, #fffdf9 0%, #f7efe5 100%);
    border-top: 1px solid rgba(186, 141, 69, 0.16);
    border-bottom: 1px solid rgba(186, 141, 69, 0.16);
}

.market-rates-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.market-rates-kicker {
    display: inline-block;
    color: #b58a4d;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    direction: ltr;
    margin-bottom: 10px;
}

.market-rates-heading h2 {
    color: #581c30;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 800;
    margin: 0 0 8px;
}

.market-rates-heading p {
    color: #81736b;
    font-size: 0.92rem;
    margin: 0;
}

.market-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: none;
    padding: 10px 15px;
    border: 1px solid rgba(186, 141, 69, 0.25);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.72);
    color: #725c43;
    font-size: 0.78rem;
}

.market-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b9b70;
    box-shadow: 0 0 0 4px rgba(59, 155, 112, 0.12);
}

.market-rates-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.market-rate-card {
    min-width: 0;
    position: relative;
    padding: 22px 20px 18px;
    border: 1px solid rgba(186, 141, 69, 0.22);
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 28px rgba(65, 35, 38, 0.055);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .market-rate-card:hover {
        transform: translateY(-4px);
        border-color: rgba(186, 141, 69, 0.55);
        box-shadow: 0 16px 34px rgba(65, 35, 38, 0.1);
    }

.market-rate-card-featured,
.market-rate-featured {
    background: linear-gradient(155deg, #64243a 0%, #431522 100%);
    border-color: #8d6249;
    box-shadow: 0 14px 30px rgba(69, 21, 37, 0.16);
}

.market-rate-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.market-rate-symbol {
    color: #a27b45;
    font-weight: 700;
    letter-spacing: 0.12em;
    direction: ltr;
}

.market-rate-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #a77c42;
    background: rgba(186, 141, 69, 0.12);
    font-size: 1.45rem;
}

.market-rate-featured .market-rate-symbol,
.market-rate-featured .market-rate-icon {
    color: #f0c77f;
}

.market-rate-featured .market-rate-icon {
    background: rgba(255, 255, 255, 0.1);
}

.market-rate-card h3 {
    color: #4a3034;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.market-rate-featured h3 {
    color: #fff7eb;
}

.market-rate-price {
    color: #581c30;
    font-size: clamp(1.15rem, 1.8vw, 1.55rem);
    font-weight: 800;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.market-rate-featured .market-rate-price {
    color: #f5d59d;
}

.market-rate-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
}

.market-rate-change {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 3px 9px;
    border-radius: 20px;
    background: #f1eee8;
    color: #82766b;
    font-size: 0.72rem;
    font-weight: 700;
    direction: ltr;
}

    .market-rate-change.is-up {
        color: #21845a;
        background: #e8f5ed;
    }

    .market-rate-change.is-down {
        color: #c34c55;
        background: #faebeb;
    }

.market-rate-featured .market-rate-change {
    color: #f4e5c8;
    background: rgba(255, 255, 255, 0.12);
}

.market-rate-unit {
    color: #93877d;
    font-size: 0.7rem;
    white-space: nowrap;
}

.market-rate-featured .market-rate-unit {
    color: #e7d4bd;
}

.market-rate-updated {
    border-top: 1px solid rgba(120, 95, 72, 0.13);
    margin-top: 16px;
    padding-top: 11px;
    color: #a09488;
    font-size: 0.68rem;
}

.market-rate-featured .market-rate-updated {
    border-color: rgba(255, 255, 255, 0.15);
    color: #d7c0a8;
}

.market-rates-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 19px;
    color: #928579;
    font-size: 0.72rem;
}

    .market-rates-footer a {
        color: #a77c42;
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.market-rates-section.is-error .market-live-dot {
    background: #c34c55;
    box-shadow: 0 0 0 4px rgba(195, 76, 85, 0.12);
}

@media (max-width: 991px) {
    .market-rates-section {
        padding: 58px 0 54px;
    }

    .market-rates-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }
}

@media (max-width: 575px) {
    .market-rates-section {
        padding: 43px 0 40px;
    }

    .market-rates-heading {
        align-items: flex-start;
        margin-bottom: 21px;
        gap: 12px;
    }

        .market-rates-heading h2 {
            font-size: 1.28rem;
        }

        .market-rates-heading p {
            font-size: 0.78rem;
        }

    .market-rates-kicker {
        font-size: 0.58rem;
        margin-bottom: 7px;
    }

    .market-live-indicator {
        padding: 8px 10px;
        font-size: 0.66rem;
        margin-top: 5px;
    }

    .market-rate-card {
        padding: 15px 13px 13px;
        border-radius: 15px;
    }

    .market-rate-card-top {
        margin-bottom: 13px;
    }

    .market-rate-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        font-size: 1.2rem;
    }

    .market-rate-symbol {
        font-size: 0.66rem;
    }

    .market-rate-card h3 {
        font-size: 0.82rem;
        margin-bottom: 8px;
    }

    .market-rate-price {
        font-size: 1.12rem;
    }

    .market-rate-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        margin-top: 6px;
    }

    .market-rate-change {
        min-height: 22px;
        font-size: 0.66rem;
    }

    .market-rate-unit {
        font-size: 0.65rem;
    }

    .market-rate-updated {
        font-size: 0.61rem;
        margin-top: 11px;
        padding-top: 8px;
    }

    .market-rates-footer {
        align-items: flex-start;
        flex-direction: column;
        font-size: 0.66rem;
        margin-top: 14px;
    }
}

/* Apply Picoopic to the entire website */

html {
    font-family: 'Picoopic', sans-serif;
}

body {
    font-family: 'Picoopic', sans-serif !important;
}

button,
input,
textarea,
select,
option {
    font-family: 'Picoopic', sans-serif !important;
}