@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


/* ------ UTILITIES ------ */
:root {
    --jr-red-1: #cf2a2e;
    --jr-red-2: #B01030;
    --jr-black: #1A1A1A;
    --jr-gray-1: #495057;
    --jr-gray-2: #DEE2E6;
    --jr-white: #FFFFFF;
    --jr-black: #0a0a0a;
    --font-family-1: "Inter", sans-serif;

    --jr-text-color: ##1c1c1c;
}

body {
    font-family: var(--font-family-1);
}

/* ------ SCROLL TO TOP BUTTON ------ */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--jr-red-1);
    border: 1px solid var(--jr-red-1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-4px);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

.scroll-to-top i {
    font-size: 1.25rem;
    color: var(--jr-white);
    display: flex;
    font-weight: bold;
}

/* ------ COOKIE BANNER ------ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--jr-white);
    border-top: 1px solid var(--jr-black);
    z-index: 1000;
    padding: 1.5rem 24px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.cookie-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--jr-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cookie-icon i {
    font-size: 1.25rem;
    color: var(--jr-black);
}

.cookie-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cookie-message {
    font-family: var(--font-family-1);
    font-size: 0.95rem;
    color: var(--jr-black);
    line-height: 1.5;
    margin: 0;
}

.cookie-link {
    font-family: var(--font-family-1);
    font-size: 0.875rem;
    color: var(--jr-black);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.cookie-link:hover {
    opacity: 0.7;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.625rem 1.25rem;
    border: 1px solid var(--jr-black);
    border-radius: 4px;
    font-family: var(--font-family-1);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-secondary {
    background: var(--jr-white);
    color: var(--jr-black);
}

.cookie-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
}

.cookie-btn-primary {
    background: var(--jr-black);
    color: var(--jr-white);
    box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.3);
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.3);
}

.cookie-banner.visible ~ .scroll-to-top {
    bottom: 140px;
    transition: bottom 0.4s ease, all 0.3s ease;
}

/* ------ TOP BANNER ------ */
.top-banner {
    top: 0;
    left: 0;
    right: 0;
    background: var(--jr-red-1);
    color: var(--jr-white);
    z-index: 1001;
    padding: 0 24px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-banner.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.banner-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.banner-text {
    font-family: var(--font-family-1);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--jr-white);
}

.banner-content .btn-terciary-white {
    width: auto !important;
}

.banner-btn {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    padding: 0.375rem 0.875rem;
    background: var(--jr-white);
    color: var(--jr-black);
    border: 1px solid var(--jr-white);
    text-decoration: none;
    font-family: var(--font-family-1);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.banner-btn:hover {
    transform: translateY(-2px);
}

.banner-close {
    position: absolute;
    right: 0;
    background: none;
    border: none;
    color: var(--jr-white);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: opacity 0.2s ease;
}

.banner-close:hover {
    opacity: 0.7;
}

.navbar {
    top: 48px;
    transition: top 0.3s ease;
}

.top-banner.hidden ~ .navbar {
    top: 0;
}

.hero-section {
    padding-top: 142px; /* 48px banner + 70px navbar + 24px extra */
    transition: padding-top 0.3s ease;
}

.top-banner.hidden ~ * .hero-section,
body:has(.top-banner.hidden) .hero-section {
    padding-top: 94px; /* 70px navbar + 24px extra */
}


/* ------ NAVBAR ------ */
.navbar {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    background: var(--jr-black);
    z-index: 1000;
    padding: 0 24px;
    border: 1px solid black;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.navbar-left a {
    color: var(--jr-white);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--jr-black);
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-logo img {
    width: auto;
    height: 50px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-link {
    color: var(--jr-white);
    text-decoration: none;
    font-family: var(--font-family-1);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: opacity 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-link:hover {
    color: var(--jr-red-1);
}

.navbar-dropdown {
    position: relative;
}

.dropdown-trigger i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.navbar-dropdown:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--jr-white);
    border: 1px solid var(--jr-black);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 2px 2px 0 0 var(--jr-black);
}

.navbar-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    display: block;
    padding: 0.625rem 0.875rem;
    color: var(--jr-black);
    text-decoration: none;
    font-family: var(--font-family-1);
    font-size: 0.9rem;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.navbar-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-right {
    display: flex;
    gap: 2rem;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--jr-black);
    border-radius: 100px;
    padding: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-track {
    position: relative;
    width: 56px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
}

.toggle-icon {
    font-size: 0.75rem;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.moon-icon {
    color: var(--jr-black);
    opacity: 0.3;
}

.sun-icon {
    color: var(--jr-black);
    opacity: 1;
}

.toggle-thumb {
    position: absolute;
    left: 2px;
    width: 24px;
    height: 24px;
    background: var(--jr-black);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.theme-toggle.dark .toggle-thumb {
    transform: translateX(28px);
}

.theme-toggle.dark .moon-icon {
    opacity: 1;
}

.theme-toggle.dark .sun-icon {
    opacity: 0.3;
}





.navbar-btn {
    padding: 1rem;
    border: 1px solid var(--jr-red-1);
    text-decoration: none;
    font-family: var(--font-family-1);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--jr-red-1);
    color: var(--jr-white);
    box-shadow: 2px 2px 0 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--jr-red-1);
    box-shadow: 4px 4px 0 0 rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: var(--jr-red-1);
    color: var(--jr-white);
    box-shadow: 2px 2px 0 0 rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: var(--jr-red-1);
}



/* ------ RED VERSION (Default → Red background, White text | Hover → White background, Black text) ------ */
.btn-terciary {
    width: 100%;
    position: relative;
    padding: 1rem;
    text-decoration: none;
    font-family: var(--font-family-1);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    background: var(--jr-red-1);
    color: var(--jr-white);
    border: none;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.btn-terciary:hover {
    border: none;
    transform: translateY(-2px);
}

.btn-terciary .button-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    color: var(--jr-white);
    transition: color 0.5s ease;
}

.btn-terciary:hover .button-content {
    color: var(--jr-black);
}

.btn-terciary .mask-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--jr-white);
    -webkit-mask: url('https://raw.githubusercontent.com/robin-dela/css-mask-animation/master/img/urban-sprite.png');
    mask: url('https://raw.githubusercontent.com/robin-dela/css-mask-animation/master/img/urban-sprite.png');
    -webkit-mask-size: 3000% 100%;
    mask-size: 3000% 100%;
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
    z-index: 1;
}

.btn-terciary:hover .mask-layer {
    -webkit-animation: mask-hide 0.7s steps(29) forwards;
    animation: mask-hide 0.7s steps(29) forwards;
}

.btn-terciary:not(:hover) .mask-layer {
    -webkit-animation: mask-reveal 0.7s steps(29) forwards;
    animation: mask-reveal 0.7s steps(29) forwards;
}

/* ------ WHITE VERSION (Default → White background, Black text | Hover → Black background, White text) ------ */
.btn-terciary-white {
    width: 100%;
    position: relative;
    padding: 1rem;
    text-decoration: none;
    font-family: var(--font-family-1);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    background: var(--jr-white);
    color: var(--jr-black);
    border: none;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.btn-terciary-white:hover {
    border: none;
    transform: translateY(-2px);
}

.btn-terciary-white .button-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    color: var(--jr-black);
    transition: color 0.5s ease;
}

.btn-terciary-white:hover .button-content {
    color: var(--jr-white);
}

.btn-terciary-white .mask-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--jr-black);
    -webkit-mask: url('https://raw.githubusercontent.com/robin-dela/css-mask-animation/master/img/urban-sprite.png');
    mask: url('https://raw.githubusercontent.com/robin-dela/css-mask-animation/master/img/urban-sprite.png');
    -webkit-mask-size: 3000% 100%;
    mask-size: 3000% 100%;
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
    z-index: 1;
}

.btn-terciary-white:hover .mask-layer {
    -webkit-animation: mask-hide 0.7s steps(29) forwards;
    animation: mask-hide 0.7s steps(29) forwards;
}

.btn-terciary-white:not(:hover) .mask-layer {
    -webkit-animation: mask-reveal 0.7s steps(29) forwards;
    animation: mask-reveal 0.7s steps(29) forwards;
}

/* ------ BLACK VERSION (Default → Black background, White text | Hover → Red background, White text) ------ */
.btn-terciary-black {
    width: 100%;
    position: relative;
    padding: 1rem;
    text-decoration: none;
    font-family: var(--font-family-1);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    background: var(--jr-black);
    color: var(--jr-white);
    border: none;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.btn-terciary-black:hover {
    border: none;
    transform: translateY(-2px);
}

.btn-terciary-black .button-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    color: var(--jr-white);
    transition: color 0.5s ease;
}

.btn-terciary-black:hover .button-content {
    color: var(--jr-white);
}

.btn-terciary-black .mask-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--jr-red-1);
    -webkit-mask: url('https://raw.githubusercontent.com/robin-dela/css-mask-animation/master/img/urban-sprite.png');
    mask: url('https://raw.githubusercontent.com/robin-dela/css-mask-animation/master/img/urban-sprite.png');
    -webkit-mask-size: 3000% 100%;
    mask-size: 3000% 100%;
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
    z-index: 1;
}

.btn-terciary-black:hover .mask-layer {
    -webkit-animation: mask-hide 0.7s steps(29) forwards;
    animation: mask-hide 0.7s steps(29) forwards;
}

.btn-terciary-black:not(:hover) .mask-layer {
    -webkit-animation: mask-reveal 0.7s steps(29) forwards;
    animation: mask-reveal 0.7s steps(29) forwards;
}


/* ------ SMALL VERSIONS ------ */
.btn-terciary-small {
    padding: .375rem .875rem;
    font-size: 0.95rem;
}

/* ------ SHARED ANIMATIONS ------ */
@keyframes mask-reveal {
    from {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }
    to {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }
}

@-webkit-keyframes mask-reveal {
    from {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }
    to {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }
}

@keyframes mask-hide {
    from {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }
    to {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }
}

@-webkit-keyframes mask-hide {
    from {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }
    to {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }
}







.navbar-mobile-toggle {
    display: none;
    background: var(--jr-red-1);
    border: 1px solid var(--jr-red-1);
    border-radius: 0;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1.25rem;
}

.navbar-mobile-toggle i {
    display: flex;
    color: var(--jr-white);
}

.navbar-mobile-menu {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    background: var(--jr-white);
    border-bottom: 1px solid var(--jr-white);
    max-height: calc(100vh - 71px);
    overflow-y: auto;
    padding: 1rem 24px;
    flex-direction: column;
    gap: 0.5rem;
}

.navbar-mobile-menu.active {
    display: flex;
    background: white;
    z-index: 100;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.navbar-overlay {
    position: fixed;
    top: 119px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.navbar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.top-banner.hidden ~ .navbar-overlay {
    top: 71px;
}

@media (max-width: 640px) {
    .navbar-overlay {
        top: 105px;
    }

    .top-banner.hidden ~ .navbar-overlay {
        top: 61px;
    }

    .navbar-logo img {
        width: auto;
        height: 50px;
    }
}

.mobile-link {
    padding: 0.75rem 1rem;
    color: var(--jr-black);
    text-decoration: none;
    font-family: var(--font-family-1);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.mobile-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-accordion {
    border-radius: 4px;
    overflow: hidden;
}

.mobile-accordion-trigger {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--jr-white);
    border: none;
    color: var(--jr-black);
    font-family: var(--font-family-1);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-accordion-trigger i {
    font-size: 0.875rem;
    transition: transform 0.2s ease;
}

.mobile-accordion.active .mobile-accordion-trigger i {
    transform: rotate(180deg);
}

.mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.02);
}

.mobile-accordion.active .mobile-accordion-content {
    max-height: 500px;
}

.mobile-dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--jr-black);
    text-decoration: none;
    font-family: var(--font-family-1);
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.mobile-dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-btn {
    padding: 0.75rem 1rem;
    text-decoration: none;
    font-family: var(--font-family-1);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.mobile-btn.btn-primary {
    background: var(--jr-red-1);
    color: var(--jr-white);
}

.mobile-btn.btn-secondary {
    background: var(--jr-white);
    color: var(--jr-black);
    box-shadow: 2px 2px 0 0 var(--jr-black);
}




/* CRITICAL: Show mobile toggle and hide desktop menu on mobile */
@media (max-width: 968px) {
    /* Show mobile toggle */
    .navbar-mobile-toggle {
        display: block !important;
    }
    
    /* Hide desktop menu */
    .navbar-menu {
        display: none !important;
    }
    
    /* Hide desktop buttons */
    .navbar-buttons {
        display: none !important;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .navbar-mobile-menu {
        width: 100%;
        max-width: 100vw;
    }
    
    .mobile-link {
        padding: 1rem 1.5rem;
    }
    
    .mobile-actions {
        padding: 0 1.5rem;
    }
}




/* ------ FOOTER ------ */
/* Footer */
footer {
    width: 100%;
    background: var(--jr-black);
    color: var(--jr-white);
    padding: 4rem 24px 2rem;
    display: flex;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* About Column */
.footer-about {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-section img {
    width: 60px;
    height: 60px;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--jr-white);
}

.footer-about-text {
    font-size: 0.95rem;
    color: var(--jr-white);
    opacity: 0.8;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--jr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jr-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--jr-white);
    color: var(--jr-black);
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.125rem;
}

/* Column Title */
.footer-column-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--jr-white);
    font-family: var(--font-family-1);
    margin-bottom: 0.5rem;
}

/* Links */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li {
    font-size: 0.95rem;
    font-family: var(--font-family-1);
}

.footer-links a {
    color: var(--jr-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-links i {
    font-size: 0.875rem;
}

/* Newsletter */
.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-newsletter-text {
    font-size: 0.95rem;
    font-family: var(--font-family-1);
    color: var(--jr-white);
    opacity: 0.8;
    line-height: 1.5;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--jr-white);
    background: transparent;
    color: var(--jr-white);
    font-family: var(--font-family-1);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

.footer-input::placeholder {
    color: var(--jr-white);
    opacity: 0.5;
}

.footer-subscribe-btn {
    padding: 0.75rem 1rem;
    border: 1px solid var(--jr-white);
    background: var(--jr-white);
    color: var(--jr-black);
    font-family: var(--font-family-1);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-subscribe-btn:hover {
    background: var(--jr-red-1);
    color: var(--jr-white);
    border-color: var(--jr-red-1);
}

.footer-disclaimer {
    font-size: 0.8rem;
    font-family: var(--font-family-1);
    color: var(--jr-white);
    opacity: 0.6;
    line-height: 1.4;
}

.footer-link {
    color: var(--jr-white);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.9rem;
    font-family: var(--font-family-1);
    color: var(--jr-white);
    opacity: 0.7;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.875rem;
    color: var(--jr-red-1);
    text-decoration: none;
}

.footer-bottom-links p {
    font-size: 0.875rem;
    color: var(--jr-white);
    text-decoration: none;
}

.footer-bottom-links a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    footer {
        padding: 3rem 24px 1.5rem;
    }

    .footer-container {
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-about {
        grid-column: auto;
    }

    .footer-logo-section img {
        width: 50px;
        height: 50px;
    }

    .footer-logo-text {
        font-size: 1.25rem;
    }

    .footer-column-title {
        font-size: 1rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-newsletter-text {
        font-size: 0.9rem;
    }

    .footer-input,
    .footer-subscribe-btn {
        font-size: 0.9rem;
        padding: 0.625rem 0.875rem;
    }

    .footer-disclaimer {
        font-size: 0.75rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-copyright {
        width: 100%;
    }

    .footer-bottom-links {
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }

    footer {
        padding: 2rem 24px 1rem;
    }
}

@media (max-width: 480px) {
    .footer-logo-text {
        font-size: 1.125rem;
    }

    .footer-about-text {
        font-size: 0.875rem;
    }

    .footer-social {
        gap: 0.5rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .social-link i {
        font-size: 1rem;
    }

    .footer-column-title {
        font-size: 0.95rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    footer {
        padding: 1.5rem 24px 1rem;
    }

    .footer-container {
        gap: 1.5rem;
    }

    .footer-copyright {
        font-size: 0.85rem;
    }
}




/* PRELOADER */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--jr-red-1);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader.slide-up {
    transform: translateY(-100%);
}

.preloader-logo {
    width: 150px;
    height: 150px;
    opacity: 0;
    animation: fadeInOut 6s ease-in-out forwards;
}

.preloader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    23% {
        opacity: 0;
    }
    33% {
        opacity: 1;
    }
    46% {
        opacity: 0;
    }
    56% {
        opacity: 1;
    }
    69% {
        opacity: 0;
    }
    79% {
        opacity: 1;
    }
    90% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}









/* WOOCOMMERCE BY NICOLE */
.woocommerce-page .woocommerce,
.woocommerce .woocommerce {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

@media (max-width: 480px) {
    .woocommerce-page .woocommerce,
    .woocommerce .woocommerce {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products[class*=columns-] li.product, 
    .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100% !important;
    }
}

.woocommerce ul.products li.product {
    transition: transform 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
}

.woocommerce ul.products li.product {
    border: 1px solid black;
}

.woocommerce ul.products li.product a img {
    margin: 0 !important;
}

.woocommerce ul.products li.product a h2 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: var(--jr-black, #000000) !important;
    margin-bottom: 1rem !important;
    padding: 1.5rem 1.5rem 0 1.5rem !important;
    line-height: 1.4 !important;
    margin-left
}

.woocommerce ul.products li.product a .artwork-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0 1.5rem 0 1.5rem !important;
}

.woocommerce ul.products li.product a .artwork-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--jr-gray-1, #666666);
}

.woocommerce ul.products li.product a .artwork-info-item i {
    font-size: 0.875rem;
    color: var(--jr-black, #000000);
}

.woocommerce ul.products li.product a .artwork-info-label {
    font-weight: 600;
    color: var(--jr-black, #000000);
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
    color: var(--jr-red-1, #cf2a2e) !important;
}

.woocommerce ul.products li.product .price {
    padding: 0 1.5rem 0 1.5rem !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1em !important;
}

.woocommerce ul.products li.product .button {
    margin-top: 0 !important;
    margin: 0 1.5rem 1.5rem 1.5rem !important;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    color: var(--jr-red-1, #cf2a2e) !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.woocommerce div.product p.stock {
    color: var(--jr-black, #cf2a2e) !important;
    font-size: 1rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.woocommerce div.product .product_meta .posted_in a {
    text-decoration: none;
    font-style: italic;
    color: var(--jr-red-1, #cf2a2e);
}


/* ========================================
   SINGLE PRODUCT PAGE LAYOUT
   ======================================== */

/* Product page layout - Image and Summary side by side */
.woocommerce div.product {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

/* Image takes 50% */
.woocommerce div.product div.images {
    flex: 0 0 calc(50% - 1.5rem);
    max-width: calc(50% - 1.5rem);
    margin: 0;
}

/* Summary takes 50% */
.woocommerce div.product div.summary {
    flex: 0 0 calc(50% - 1.5rem);
    max-width: calc(50% - 1.5rem);
    margin-bottom: 0 !important;
    padding: 0 2rem 2rem 2rem;
}

@media (max-width: 480px) {
    .woocommerce div.product div.summary {
        padding: 0 0 1.5rem 0;
    }
}

/* Related products take full width (100%) */
.woocommerce div.product .related.products {
    flex: 0 0 100%;
    width: 100%;
    margin-top: 3rem !important;
    clear: both;
}

.woocommerce div.product .related.products h2{
    margin-bottom: 1.5rem !important;
}

/* Stack buttons vertically in the summary */
.woocommerce div.product form.cart {
    display: flex;
    flex-direction: column;
    gap: 0 !important;
    margin: 0 !important;
}

.woocommerce div.product form.cart .button {
    width: 100%;
    margin: 0 !important;
}

/* Custom Product Title */
.woocommerce-breadcrumb:not(.custom-breadcrumb) {
    display: none;
}

.custom-product-title {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: var(--jr-black, #000000) !important;
    margin-bottom: 1rem !important;
}

/* Custom Artwork Info */
.custom-artwork-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.custom-artwork-info .artwork-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--jr-gray-1, #666666);
}

.custom-artwork-info .artwork-info-item i {
    font-size: 1rem;
    color: var(--jr-black, #000000);
}

.custom-artwork-info .artwork-info-label {
    font-weight: 600;
    color: var(--jr-black, #000000);
}

/* Custom Product Description */
.custom-product-description {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    line-height: 1.6;
    color: var(--jr-gray-1, #666666);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.product-description-content {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--jr-gray-1, #666666);
}

.product-description-content p {
    margin-bottom: 1rem;
}

/* Hide default WooCommerce title if it still appears */
.woocommerce div.product .product_title {
    display: none;
}

/* Responsive - Everything 100% on mobile */
@media (max-width: 768px) {
    .woocommerce div.product div.images,
    .woocommerce div.product div.summary {
        flex: 0 0 100%;
        max-width: 100%;
    }
}





.woocommerce-message {
    border-top-color: var(--jr-red-1);
}

.woocommerce-message::before {
    color: var(--jr-red-1);
}

.woocommerce-message .button {
    background: var(--jr-red-1) !important;
    color: white !important;
    border-radius: 0px !important;
}

.woocommerce-message .button:hover {
    background: var(--jr-red-2);
}


.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
    padding: 1rem;
    display: flex;
    border: none !important;
}

.woocommerce nav.woocommerce-pagination ul {
    border: none !important;
}

/* Pagination colors */
.woocommerce-pagination .page-numbers li a.page-numbers,
.woocommerce-pagination .page-numbers li span.page-numbers {
    background: var(--jr-white, #ffffff);
    color: var(--jr-black, #000000);
}

/* Hover state */
.woocommerce-pagination .page-numbers li a.page-numbers:hover {
    background: var(--jr-black, #000000);
    color: var(--jr-white, #ffffff);
}

/* Active/Current page */
.woocommerce-pagination .page-numbers li span.page-numbers.current {
    background: var(--jr-red-1, #dc3545);
    color: var(--jr-white, #ffffff);
}

/* Next/Previous arrows */
.woocommerce-pagination .page-numbers li a.next,
.woocommerce-pagination .page-numbers li a.prev {
    background: var(--jr-black, #000000);
    color: var(--jr-white, #ffffff);
}

.woocommerce-pagination .page-numbers li a.next:hover,
.woocommerce-pagination .page-numbers li a.prev:hover {
    background: var(--jr-red-1, #dc3545);
}





















/* ========================================
   WOOCOMMERCE SHOP WITH SIDEBAR
   ======================================== */


.shop-content-wrapper {
    display: flex;
    gap: 2rem;
}


/* Mobile responsive fixes for shop layout */
@media (max-width: 968px) {
    .shop-content-wrapper {
        flex-direction: column;
    }
    
    .shop-sidebar {
        width: 100%;
        max-width: 100%;
        width: 100% !important;
    }
    
    .shop-sidebar .widget {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 640px) {
    .shop-container {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .shop-content-wrapper {
        gap: 0;
    }
}



.shop-main {
    flex: 1;
}

.shop-controls {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.shop-controls .woocommerce-result-count {
    margin: 0 !important;
    font-size: 14px;
}

.shop-controls .woocommerce-ordering {
    width: 100%;
}

.shop-controls .woocommerce-ordering select {
    width: 100%;
}


.wc-block-product-filter-price-slider .text input[type=text] {
    max-width: 100px !important;
    border-radius: 0px !important;
}



.woocommerce .woocommerce-result-count {
    margin: 0 !important;
}

/* Shop container */
.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.shop-sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* Shop main content */
.shop-main {
    flex: 1;
}

/* Widget styling */
.shop-sidebar .widget {
    display: flex;
    margin-bottom: 1.5rem;
    background: var(--jr-white);
}

.shop-sidebar .widget-title {
    font-family: var(--font-family-1);
    color: var(--jr-black);
}


.wc-block-product-filter-checkbox-list__items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}



/* Responsive */
@media (max-width: 968px) {
    .shop-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .shop-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .shop-container {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    :where(.wc-block-product-filters) .wc-block-product-filters__close-overlay span, :where(.wc-block-product-filters) .wc-block-product-filters__open-overlay span {
        font-size: 1rem;
    }
    
    :where(.wc-block-product-filters).is-overlay-opened .wc-block-product-filters__overlay-dialog {
        padding: 2rem;
    }
}


:where(.wc-block-product-filters) .wc-block-product-filters__overlay-footer {
    background: white;
    box-shadow: none !important;
}

:where(.wc-block-product-filters) .wc-block-product-filters__overlay-footer button {
    background: black;
    padding: 1rem;
    color: white;
    border: none !important;
}




/* ========================================
   SINGLE PRODUCT PAGE
   ======================================== */

.single-product-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 24px;
}

/* Fix product layout */
.woocommerce div.product {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.woocommerce div.product div.images {
    flex: 0 0 calc(50% - 1.5rem);
    max-width: calc(50% - 1.5rem);
    margin: 0;
}

.woocommerce div.product div.summary {
    flex: 0 0 calc(50% - 1.5rem);
    max-width: calc(50% - 1.5rem);
}

/* Related products */
.woocommerce div.product .related.products {
    flex: 0 0 100%;
    width: 100%;
    margin-top: 3rem !important;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce div.product div.images,
    .woocommerce div.product div.summary {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .single-product-container {
        padding: 2rem;
    }
}






/* ========================================
   BLOG LAYOUT
   ======================================== */

.blog-content-wrapper {
    display: flex;
    gap: 5rem;
}

/* Blog container */
.blog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
    display: flex;
    gap: 0;
    flex-direction: column;
}

.single-post-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
    display: flex;
    gap: 5rem;
    flex-direction: row;
}


/* Blog main content */
.blog-main,
.single-post-main {
    flex: 1;
}

/* Blog sidebar */
.blog-sidebar,
.single-post-sidebar {
    flex: 0 0 320px;
    max-width: 320px;
}

/* Blog header */
.blog-header {
    margin-bottom: 0;
}

.blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--jr-black);
    margin-bottom: 1.2rem;
}

.blog-description {
    font-size: 1.125rem;
    color: var(--jr-gray-1);
    line-height: 1.6;
}

/* Blog post cards */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-post-card {
    border: 1px solid var(--jr-black);
    background: var(--jr-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1.5rem;
}

.blog-post-card:hover {
    transform: translateY(-8px);
}

.post-thumbnail {
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-header {
    margin-bottom: 1rem;
}

.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.post-category {
    padding: 0.25rem 0.75rem;
    background: var(--jr-red-1);
    color: var(--jr-white);
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0;
    transition: background 0.2s ease;
}

.post-category:hover {
    background: var(--jr-black);
}

.post-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--jr-black);
    margin: 1rem 0 !important;
    line-height: 1.3;
}

.post-title a {
    color: inherit;
    text-decoration: none;
}

.post-title a:hover {
    color: var(--jr-red-1);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--jr-gray-1);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta i {
    font-size: 0.875rem;
}

.post-excerpt {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--jr-gray-1);
    margin-bottom: 1.5rem;
}

.post-content footer {
    display: inline;
    border-top: 1px solid var(--jr-gray-2);
    padding: 0;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--jr-black);
    color: var(--jr-white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.read-more i {
    display: flex;
}

.read-more:hover {
    background: var(--jr-red-1);
    transform: translateY(-2px);
}

/* Single post styles */
.single-post-header {
    margin-bottom: 2rem;
}

.single-post .post-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.single-post .post-meta {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--jr-gray-2);
}

.author-avatar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar img {
    border-radius: 50%;
}

.meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.featured-image {
    margin: 2rem 0;
}

.featured-image img {
    width: 100%;
    height: auto;
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: var(--jr-gray-1);
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--jr-black);
}

.post-content p {
    margin-bottom: 1rem !important;
    font-size: 1rem !important;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin: 2rem 0 1rem;
    color: var(--jr-black);
}

.post-footer {
    border-top: 1px solid var(--jr-gray-2);
    padding: 0;
    display: flex;
    flex-direction: column;
    background: var(--jr-white);
    color: var(--jr-black);
}

.post-tags {
    margin-bottom: 2rem;
}

.post-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--jr-gray-2);
    color: var(--jr-black);
    text-decoration: none;
    border-radius: 4px;
    margin: 0.25rem;
    font-size: 0.875rem;
    transition: background 0.2s ease;
}

.post-tag:hover {
    background: var(--jr-red-1);
    color: var(--jr-white);
}

.post-share {
    background: var(--jr-white);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.share-buttons a {
    background: var(--jr-red-1) !important;
    border-radius: 0px;
}

.share-buttons i {
    display: flex;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--jr-white);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.share-button:hover {
    transform: translateY(-2px);
}

.share-button.facebook { background: #3b5998; }
.share-button.twitter { background: #1da1f2; }
.share-button.linkedin { background: #0077b5; }
.share-button.email { background: var(--jr-red-1); }

.author-box {
    display: none;
    gap: 2rem;
    padding: 2rem;
    background: var(--jr-gray-2);
    border-radius: 8px;
    margin: 2rem 0;
}

.author-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.author-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--jr-red-1);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
}

.author-link:hover {
    color: var(--jr-black);
}

.related-posts {
    margin: 3rem 0;
}

.related-posts h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.related-post {
    border: 1px solid var(--jr-gray-2);
    padding: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.related-post-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.related-post-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.related-post-content a {
    color: var(--jr-black);
    text-decoration: none;
}

.related-post-content a:hover {
    color: var(--jr-red-1);
}

.related-post-date {
    font-size: 0.875rem;
    color: var(--jr-gray-1);
}

/* Widget styles */
.blog-sidebar .widget,
.single-post-sidebar .widget {
    margin-bottom: 2rem;
    background: var(--jr-white);
}

.blog-sidebar form {
    display: flex;
}

.blog-sidebar form label {
    width: 100% !important;
}

.widget-title {
    font-family: var(--font-family-1);
    color: var(--jr-black);
    padding-bottom: 0.5rem;
}

.categories-list,
.recent-posts,
.popular-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.categories-list li,
.recent-posts li,
.popular-posts li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--jr-gray-2);
}

.categories-list li:last-child,
.recent-posts li:last-child,
.popular-posts li:last-child {
    border-bottom: none;
}

.categories-list a,
.recent-posts a,
.popular-posts a {
    color: var(--jr-black);
    text-decoration: none;
    justify-content: space-between;
    align-items: center;
}

.categories-list a:hover,
.recent-posts a:hover,
.popular-posts a:hover {
    color: var(--jr-red-1);
}

.categories-list .count {
    background: var(--jr-gray-2);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

.recent-posts .post-date,
.popular-posts .post-date {
    font-size: 0.875rem;
    color: var(--jr-gray-1);
    display: block;
    margin-top: 0.25rem;
}

.popular-posts a {
    font-weight: 400 !important;
}

.popular-posts li {
    display: flex;
    align-items: flex-start;
}

.popular-post-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.popular-post-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-mini {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-details h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.author-details p {
    font-size: 0.95rem;
    color: var(--jr-gray-1);
    margin-bottom: 0.5rem;
}

.author-details a {
    color: var(--jr-red-1);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}

.author-details a:hover {
    text-decoration: underline;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud a {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--jr-gray-2);
    color: var(--jr-black);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.tag-cloud a:hover {
    background: var(--jr-red-1);
    color: var(--jr-white);
}

/* Search form */
.widget_search form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.search-field {
    width: 100% !important;
    font-size: inherit !important;
}

.widget_search input[type="search"] {
    flex: 1;
    padding: 0.75rem 0 0.75rem 0.75rem;
    border: none;
    border-right: none;
    font-family: var(--font-family-1);
}

input[type="search"] {
    flex: 1;
    padding: 0.75rem 0 0.75rem 0.75rem;
    border: 1px solid var(--jr-black);
    font-family: var(--font-family-1);
}

.blog-sidebar input[type="submit"] {
    padding: 0.75rem 1rem;
    background: var(--jr-black);
    color: var(--jr-white);
    border: 1px solid var(--jr-black);
    cursor: pointer;
    font-size: inherit !important;
}

.wp-block-search__inside-wrapper {
    border: 1px solid var(--jr-black);
}

.widget_search button {
    padding: 0.75rem 1rem;
    background: var(--jr-black);
    color: var(--jr-white);
    border: 1px solid var(--jr-black);
    cursor: pointer;
}

.widget_search button:hover {
    background: var(--jr-red-1);
}

/* Blog pagination */
.blog-pagination {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--jr-gray-2);
}

.navigation.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    color: var(--jr-black);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.page-numbers.current,
.page-numbers:hover:not(.dots) {
    background: var(--jr-red-1);
    color: var(--jr-white);
}

.page-numbers.dots {
    border: none;
}

.page-numbers.prev,
.page-numbers.next {
    padding: 0 1.25rem;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--jr-gray-2);
}

.comments-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    padding: 1.5rem;
    border: 1px solid var(--jr-gray-2);
    margin-bottom: 1.5rem;
}

.comment-awaiting-moderation {
    margin-bottom: 1rem;
}

.commentlist {
    margin-top: 2rem;
}

.commentlist li {
    list-style: none;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.comment-author img {
    border-radius: 50%;
}

.comment-meta {
    background: var(--jr-white);
    color: var(--jr-black);
    display: flex;
    padding: 0;
    flex-direction: column;
}

.comment-metadata {
    font-size: 0.875rem;
    color: var(--jr-gray-1);
    margin-bottom: 1rem;
}

.comment-metadata a {
    font-size: 0.875rem;
    color: var(--jr-red-1) !important;
    text-decoration: none !important;
}

.comment-content {
    line-height: 1.6;
}

.comment-reply-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--jr-black);
    color: var(--jr-white);
    text-decoration: none;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.comment-reply-link:hover {
    background: var(--jr-red-1);
}

.comment-respond {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--jr-gray-2);
}

.comment-notes {
    margin-bottom: 1rem;    
}

.comment-reply-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--jr-black);
    font-family: var(--font-family-1);
    margin-bottom: 1rem;
}

.comment-form textarea {
    min-height: 150px;
}

.comment-form .submit {
    padding: 0.75rem 1.5rem;
    background: var(--jr-black);
    color: var(--jr-white);
    border: 1px solid var(--jr-black);
    font-weight: 600;
    font-size: inherit;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comment-form .submit:hover {
    background: var(--jr-red-1);
    border-color: var(--jr-red-1);
}

/* Responsive */
@media (max-width: 968px) {
    .blog-container,
    .single-post-container {
        flex-direction: column;
        padding: 3rem 2rem;
    }
    
    .blog-sidebar,
    .single-post-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .single-post .post-title {
        font-size: 2.25rem;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .blog-content-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .blog-container,
    .single-post-container {
        padding: 2rem;
    }
    
    .blog-title {
        font-size: 2rem;
    }
    
    .single-post .post-title {
        font-size: 1.75rem;
    }
    
    .post-meta {
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .navigation.pagination {
        flex-wrap: wrap;
    }
    
    .blog-content-wrapper {
        flex-direction: column;
    }
}


@media (max-width: 480px) {
    .post-meta .author-avatar {
        display: none;
    }
}

.product  .woocommerce-Price-amount {
    color: var(--jr-red-1) !important;
}





/* ========================================
   MOSTRAR TÍTULOS DE CART Y CHECKOUT
   ======================================== */

/* Mostrar título en página Cart */
.woocommerce-cart .page-title {
    display: block !important;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--jr-black);
    margin-bottom: 2rem;
}


body {
    contain: layout;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}


.woocommerce-checkout .wp-block-woocommerce-checkout {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrado horizontal */
    /* o align-items: flex-start; para izquierda */
    /* o align-items: flex-end; para derecha */
}


/* Título del Checkout */
.woocommerce-checkout .wp-block-woocommerce-checkout::before {
    content: 'Finalizar Compra';
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--jr-black);
    padding: 5rem 2rem 1.2rem 2rem !important;
    max-width: 1400px;
    font-family: var(--font-family-1);
    text-align: start;
    margin: 0 !important;
    width: -webkit-fill-available;
}

/* Asegurar que no haya espacio extra arriba */
.wp-block-woocommerce-checkout {
    padding-top: 0 !important;
}

.woocommerce table.shop_table {
    border-radius: 0;
}

.cart_totals h2 {
    margin-bottom: 1rem !important;
}

.checkout-button {
    background: var(--jr-red-1) !important;
    border-radius: 0 !important;
}

.product-remove a {
    background: var(--jr-red-1) !important;
    
}

.woocommerce a.remove {
    color: var(--jr-white) !important;
    font-size: 2rem;
}

.woocommerce #content table.cart td.actions .coupon, .woocommerce table.cart td.actions .coupon, .woocommerce-page #content table.cart td.actions .coupon, .woocommerce-page table.cart td.actions .coupon {
    
    display: flex;
}

button, .button {
    border-radius: 0px !important;
}


.woocommerce #content table.cart td.actions .input-text, .woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text {
    
    width: 120px !important;
    
}


.wc-block-checkout .wc-block-components-sidebar-layout {
    max-width: 1400px !important;
}

.wp-block-woocommerce-checkout {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wc-block-components-sidebar-layout {
    padding: 0 !important;
}

@media (max-width: 1460px) {
    .wc-block-components-sidebar-layout {
        padding: 0 2rem !important;
    }
}

.wc-block-components-form .wc-block-components-text-input input[type=email], .wc-block-components-form .wc-block-components-text-input input[type=number], .wc-block-components-form .wc-block-components-text-input input[type=password], .wc-block-components-form .wc-block-components-text-input input[type=tel], .wc-block-components-form .wc-block-components-text-input input[type=text], .wc-block-components-form .wc-block-components-text-input input[type=url], .wc-block-components-text-input input[type=email], .wc-block-components-text-input input[type=number], .wc-block-components-text-input input[type=password], .wc-block-components-text-input input[type=tel], .wc-block-components-text-input input[type=text], .wc-block-components-text-input input[type=url] {
    
    border-radius: 0 !important;
}

.wc-blocks-components-select .wc-blocks-components-select__select {
    border-radius: 0 !important;
}


.wc-block-components-notice-banner.is-error {
    border-radius: 0 !important;
}

.wp-block-woocommerce-checkout-order-summary-block .checkout-order-summary-block-fill {
    border-radius: 0 !important;
}

#add_payment_method table.cart img, .woocommerce-cart table.cart img, .woocommerce-checkout table.cart img {
    width: 100px;
}

#add_payment_method #payment div.form-row, .woocommerce-cart #payment div.form-row, .woocommerce-checkout #payment div.form-row {
    padding: 0 !important;
}

#add_payment_method #payment ul.payment_methods, .woocommerce-cart #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods {
    margin: 0 !important;
}

.wc-block-components-product-badge {
    background: var(--jr-red-1) !important;
    color: var(--jr-white) !important;
    border: none !important;
    border-radius: 0 !important;
}

.wc-block-components-checkout-place-order-button {
    background: var(--jr-red-1) !important;
    color: var(--jr-white) !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 1rem;
}

@media (max-width: 640px) {
    .woocommerce-cart .page-title {
        font-size: 2rem !important;
    }
    
    .cart_totals h2 {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 480px) {
    .woocommerce-checkout .wp-block-woocommerce-checkout::before {
        font-size: 2rem;
        padding: 2rem 2rem 0 2rem !important;
    }
}









/* ========================================
   CHECKOUT CLÁSICO - RESUMEN A LA DERECHA
   ======================================== */


/* RESET COMPLETO de WooCommerce */
.woocommerce-checkout .woocommerce {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

@media (max-width: 768px) {
    .woocommerce-checkout .woocommerce {
        padding: 0 2rem !important;
    }
    
    .checkout-title {
        padding: 2rem 2rem 1.2rem 2rem !important;
        font-size: 2rem !important;
    }
}

/* Título principal del checkout */
.woocommerce-checkout h1.page-title,
.woocommerce-checkout h1.entry-title {
    font-family: var(--font-family-1) !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: var(--jr-black) !important;
    margin-bottom: 2rem !important;
    text-align: left !important;
    padding: 0 !important;
    border: none !important;
}

/* Blog header */
.checkout-header {
    margin-bottom: 0;
    display: flex;
    justify-content: center;
}

.checkout-title {
    padding: 5rem 2rem 1.2rem 2rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--jr-black);
    margin-bottom: 0;
    max-width: 1400px;
    width: 100%;
}

/* OCULTAR el título "Tu pedido" */
.woocommerce-checkout h3#order_review_heading {
    display: none !important;
}

/* Cupón - estilo moderno */
.woocommerce-form-coupon-toggle {
    background: #dcd7e2 !important;
    color: var(--jr-black) !important;
    padding: 1rem 1.5rem !important;
    margin-bottom: 2rem !important;
    border: none !important;
    border-radius: 0 !important;
    display: none !important;
}

.woocommerce-info::before {
    display: contents;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
    background: transparent !important;
    border: none !important;
    color: inherit !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a {
    color: var(--jr-red-1) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a:hover {
    text-decoration: underline !important;
}

/* Formulario de cupón */
.checkout_coupon {
    background: var(--jr-white) !important;
    border: 1px solid var(--jr-black) !important;
    padding: 1.5rem !important;
    margin-bottom: 2rem !important;
    display: none !important;
}

.checkout_coupon p.form-row {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
}

.checkout_coupon .form-row-first {
    flex: 1 !important;
    margin-bottom: 0 !important;
}

.checkout_coupon .input-text {
    width: 100% !important;
    padding: 1rem !important;
    border: 1px solid var(--jr-black) !important;
    border-radius: 0 !important;
    font-family: var(--font-family-1) !important;
}

.checkout_coupon button {
    padding: 1rem 2rem !important;
    background: var(--jr-black) !important;
    color: var(--jr-white) !important;
    border: none !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.checkout_coupon button:hover {
    background: var(--jr-red-1) !important;
}

.checkout_coupon .clear {
    clear: both !important;
}

/* CONTENEDOR PRINCIPAL - Layout 2 columnas (Formularios izquierda, Resumen derecha) */
.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: 1fr 400px !important;
    gap: 3rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 1024px) {
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* Información del cliente va a la IZQUIERDA */
#customer_details {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    width: 100% !important;
}

/* Resumen del pedido va a la DERECHA */
#order_review {
    grid-column: 2 !important;
    grid-row: 1 !important;
}

@media (max-width: 1024px) {
    #customer_details {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    
    #order_review {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
}

#customer_details .col2-set {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

#customer_details .col-1,
#customer_details .col-2 {
    width: 100% !important;
    float: none !important;
    margin-bottom: 3rem !important;
    padding: 0 !important;
}

.woocommerce-shipping-fields {
    display: none !important;
}

/* Secciones dentro de la columna izquierda */
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields {
    background: var(--jr-white) !important;
    border: 1px solid var(--jr-black) !important;
    padding: 2rem !important;
    margin-bottom: 3rem !important;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
    font-family: var(--font-family-1) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--jr-black) !important;
    margin-bottom: 1.2rem !important;
    padding-bottom: 0 !important;
}

.woocommerce-input-wrapper input {
    padding: 12px 16px !important;
}

/* Grid de campos del formulario */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Información adicional sin grid (full width por defecto) */
.woocommerce-additional-fields__field-wrapper {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-billing-fields__field-wrapper p,
.woocommerce-shipping-fields__field-wrapper p,
.woocommerce-additional-fields__field-wrapper p {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Textarea de información adicional a full width */
.woocommerce-additional-fields__field-wrapper textarea {
    width: 100% !important;
    min-height: 120px !important;
}

/* Por defecto todos los campos ocupan 1 columna (para formar 2 columnas) */
.woocommerce-billing-fields__field-wrapper p,
.woocommerce-shipping-fields__field-wrapper p {
    grid-column: span 1 !important;
}

/* Campos que deben ocupar el ancho completo (2 columnas) */
.woocommerce-billing-fields__field-wrapper p.form-row-wide,
.woocommerce-shipping-fields__field-wrapper p.form-row-wide,
.woocommerce-additional-fields__field-wrapper p.form-row-wide,
#billing_country_field,
#billing_address_1_field,
#billing_address_2_field,
#billing_city_field {
    grid-column: 1 / -1 !important;
}

/* Campos lado a lado (ocupan 1 columna cada uno) */
#billing_state_field,
#billing_postcode_field,
#billing_phone_field,
#billing_email_field {
    grid-column: span 1 !important;
}

/* Labels mejorados */
.woocommerce form .form-row label {
    display: block !important;
    font-family: var(--font-family-1) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: var(--jr-black) !important;
}

.woocommerce form .form-row .required {
    color: var(--jr-red-1) !important;
    opacity: 1 !important;
}

.woocommerce form .form-row {
    width: 100% !important;
}

/* Inputs modernos - SOBREESCRIBIR TODO */
.woocommerce form .form-row input[type="text"],
.woocommerce form .form-row input[type="email"],
.woocommerce form .form-row input[type="tel"],
.woocommerce form .form-row input[type="password"],
.woocommerce form .form-row input[type="number"],
.woocommerce form .form-row textarea {
    width: 100% !important;
    padding: 16px 12px !important;
    font-family: var(--font-family-1) !important;
    font-size: 1rem !important;
    background: var(--jr-white) !important;
    border: 1px solid var(--jr-black) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus {
    outline: none !important;
    border-color: var(--jr-red-1) !important;
    box-shadow: 0 0 0 2px rgba(207, 42, 46, 0.1) !important;
}

/* Selects - SOBREESCRIBIR TODO */
.woocommerce form .form-row select,
.woocommerce form .form-row .select2-selection {
    width: 100% !important;
    padding: 16px 12px !important;
    font-family: var(--font-family-1) !important;
    font-size: 1rem !important;
    background: var(--jr-white) !important;
    border: 1px solid var(--jr-black) !important;
    border-radius: 0 !important;
    height: auto !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Select2 personalizado */
.select2-container--default .select2-selection--single {
    border: 1px solid var(--jr-black) !important;
    border-radius: 0 !important;
    height: 52px !important;
    padding: 0 !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: var(--font-family-1) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 10px !important;
}

/* Resumen del pedido (columna derecha) */
#order_review {
    background: var(--jr-white) !important;
    border: 1px solid var(--jr-black) !important;
    padding: 2rem !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    position: sticky !important;
    top: 2rem !important;
    height: fit-content !important;
}

/* Tabla del pedido - SOBREESCRIBIR TODO */
.woocommerce-checkout-review-order-table {
    width: 100% !important;
    border: none !important;
    border-collapse: collapse !important;
    margin-bottom: 1rem !important;
}

.woocommerce-checkout-review-order-table thead {
    background: var(--jr-black) !important;
}

.woocommerce-checkout-review-order-table thead th {
    color: var(--jr-white) !important;
    font-family: var(--font-family-1) !important;
    font-weight: 500 !important;
    border: none !important;
    text-align: left !important;
}

.woocommerce-checkout-review-order-table tbody td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    font-family: var(--font-family-1) !important;
    vertical-align: top !important;
}

.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
    font-family: var(--font-family-1) !important;
    border: none !important;
    text-align: left !important;
}

.woocommerce-checkout-review-order-table tfoot tr.order-total th,
.woocommerce-checkout-review-order-table tfoot tr.order-total td {
    background: rgba(207, 42, 46, 0.1) !important;
    font-weight: 500 !important;
}

/* Métodos de pago - DISEÑO MODERNO */
#payment {
    background: var(--jr-white) !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

#payment ul.wc_payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 2rem 0 !important;
    border: none !important;
}

#payment ul.wc_payment_methods li.wc_payment_method {
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

#payment ul.wc_payment_methods li.wc_payment_method:last-child {
    border-bottom: none !important;
}

#payment ul.wc_payment_methods li.wc_payment_method label {
    display: flex !important;
    align-items: center !important;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    position: relative !important;
}

#payment ul.wc_payment_methods li.wc_payment_method label:hover {
    background: rgba(0, 0, 0, 0.02) !important;
}

#payment ul.wc_payment_methods li.wc_payment_method input[type="radio"] {
    margin-right: 1rem !important;
    width: 20px !important;
    height: 20px !important;
    accent-color: var(--jr-red-1) !important;
}

/* N1CO ESPECIALMENTE DISEÑADO */
#payment ul.wc_payment_methods li.payment_method_n1co label {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: var(--jr-black) !important;
    gap: 0.5rem !important;
}

#payment ul.wc_payment_methods li.payment_method_n1co label img {
    margin-left: auto !important;
    height: 24px !important;
    width: auto !important;
    max-width: none !important;
    filter: grayscale(100%) !important;
    transition: filter 0.2s ease !important;
}

/* Primera imagen (logo n1co) */
#payment ul.wc_payment_methods li.payment_method_n1co label img:first-of-type {
    height: 20px !important;
}

/* Imágenes de tarjetas (Visa, MasterCard) */
#payment ul.wc_payment_methods li.payment_method_n1co label img:not(:first-of-type) {
    height: 20px !important;
    margin-left: 0.25rem !important;
}

#payment ul.wc_payment_methods li.payment_method_n1co input[type="radio"]:checked ~ label img {
    filter: grayscale(0%) !important;
}

/* Descripción de métodos de pago */
#payment .payment_box {
    background: white !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: var(--font-family-1) !important;
}

#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
    font-size: 14px !important;
}

#payment .payment_box:before {
    display: none !important;
}

/* N1CO destacado */
.payment_method_n1co .payment_box {
    background: white !important;
    border-left: 3px solid #4275F2 !important;
}

.payment_method_n1co .payment_box p {
    margin-bottom: 1rem !important;
}

.payment_method_n1co .payment-info {
    background: white !important;
    padding: 0 !important;
    border: none !important;
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    font-family: var(--font-family-1) !important;
}

/* Términos y condiciones */
.woocommerce-terms-and-conditions-wrapper {
    background: rgba(0, 0, 0, 0.02) !important;
    padding: 1.5rem !important;
    margin: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    display: none !important;
}

.woocommerce-privacy-policy-text {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    color: var(--jr-gray-1) !important;
}

.woocommerce-privacy-policy-text p {
    margin: 0 !important;
}

.woocommerce-privacy-policy-text a {
    color: var(--jr-red-1) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.woocommerce-privacy-policy-text a:hover {
    text-decoration: underline !important;
}

/* BOTÓN DE PAGO - DISEÑO ESPECTACULAR */
.woocommerce #place_order {
    width: 100% !important;
    padding: 1.25rem !important;
    font-family: var(--font-family-1) !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    background: var(--jr-red-1) !important;
    color: var(--jr-white) !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-top: 1rem !important;
    position: relative !important;
    overflow: hidden !important;
}

.woocommerce #place_order:hover {
    background: var(--jr-black) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Efecto de pulso al cargar */
.woocommerce #place_order:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper,
    .woocommerce-additional-fields__field-wrapper {
        grid-template-columns: 1fr !important;
        margin-bottom: 3rem !important;
    }
    
    .woocommerce-billing-fields,
    .woocommerce-shipping-fields,
    .woocommerce-additional-fields {
        padding: 0 !important;
    }
    
    #order_review {
        padding: 1.5rem !important;
        position: static !important;
    }
    
    #payment ul.wc_payment_methods li.wc_payment_method label {
        padding: 1rem !important;
        flex-wrap: wrap !important;
    }
    
    #add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
        text-align: center !important;
    }
    
    /* Fix para n1co en mobile */
    #payment ul.wc_payment_methods li.payment_method_n1co label {
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
    }
    
    #payment ul.wc_payment_methods li.payment_method_n1co label img {
        margin-left: 0.25rem !important;
        height: 18px !important;
    }
    
    #payment ul.wc_payment_methods li.payment_method_n1co label img:first-of-type {
        height: 16px !important;
    }
}

@media (max-width: 480px) {
    .woocommerce-checkout .woocommerce {
        padding: 0 2rem !important;
    }
    
    .woocommerce-checkout h1.page-title,
    .woocommerce-checkout h1.entry-title {
        font-size: 2rem !important;
    }
    
    .woocommerce-billing-fields, 
    .woocommerce-shipping-fields, 
    .woocommerce-additional-fields {
        border: none !important;
    }
    
    .woocommerce-billing-fields h3,
    .woocommerce-shipping-fields h3,
    .woocommerce-additional-fields h3 {
        font-size: 1.25rem !important;
        font-weight: 500 !important;
    }
    
    .woocommerce #place_order {
        padding: 1rem !important;
        font-size: 1rem !important;
    }
    
    #order_review {
        padding: 0 !important;
        border: none !important;
    }
}

/* Limpiar floats que rompen el layout */
.woocommerce-checkout form.checkout:after,
#customer_details:after,
.col2-set:after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* Asegurar que no haya espacios no deseados */
.woocommerce-checkout br {
    display: none !important;
}

/* Notificaciones */
.woocommerce-notices-wrapper {
    margin-bottom: 2rem !important;
}

.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    border-radius: 0 !important;
    border: 1px solid var(--jr-black) !important;
    background: var(--jr-white) !important;
    color: var(--jr-black) !important;
    padding: 1rem 1.5rem !important;
}

.woocommerce-message {
    border-left-color: var(--jr-red-1) !important;
}

.woocommerce-message::before {
    color: var(--jr-red-1) !important;
}

/* Animación de carga */
.woocommerce-checkout .blockUI.blockOverlay {
    background: rgba(255, 255, 255, 0.9) !important;
}

.woocommerce-checkout .blockUI.blockOverlay:before {
    border-color: var(--jr-red-1) transparent var(--jr-red-1) transparent !important;
}


.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before {
    display: contents !important;
}

body.woocommerce {
    overflow: hidden !important;
}

.shop-sidebar .widget {
    margin-bottom: 0 !important;
}



.woocommerce .order_details {
    margin: 2rem 0 3rem 0 !important;
}

.woocommerce-customer-details address {
    margin: 1.2rem 0 3rem 0!important;
    padding: 1rem !important;
    display: flex !important;
    gap: 1rem !important;
    flex-direction: column !important;
}

.woocommerce-order-overview .woocommerce-thankyou-order-details .order_details {
    
}


.woocommerce-notice .woocommerce-notice--success .woocommerce-thankyou-order-received {
    margin: 1rem 0 !important;
}

.woocommerce .woocommerce-customer-details, .woocommerce .woocommerce-order-details, .woocommerce .woocommerce-order-downloads {
    margin-bottom: 1rem !important;
}

.woocommerce .woocommerce-customer-details address {
    border-radius: 0 !important;
    padding: 1rem !important;
    border-bottom-width: 1px !important;
    border-right-width: 1px !important;
}
