:root {
    --bg-dark: #02050A;
    --text-main: #FFFFFF;
    --text-muted: #8892B0;
    --accent: #C69C6D; /* Gold */
    --accent-blue: #001F7A; /* Deep Blue */
    --border-light: rgba(255, 255, 255, 0.1);
    --border-gold: rgba(198, 156, 109, 0.3);
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(136, 146, 176, 0.1);
    --link-bg: rgba(0, 0, 0, 0.5);
}



















* {








    margin: 0;








    padding: 0;








    box-sizing: border-box;








}

















/* Scroll Animations */








.fade-element {








    opacity: 0;








    transform: translateY(30px);








    transition: opacity 0.8s ease-out, transform 0.8s ease-out;








}








.fade-element.in-view {








    opacity: 1;








    transform: translateY(0);








}

















body {
    








    font-family: 'Inter', sans-serif;








    background-color: var(--bg-dark);








    color: var(--text-main);








    overflow-x: hidden;








    cursor: none; /* Hide default cursor */








}

















/* Let all links and buttons also have no default cursor */








a, button {








    cursor: none !important;








}

















/* Custom Cursor */








#custom-cursor {








    position: fixed;








    top: 0;








    left: 0;








    pointer-events: none;








    z-index: 99999;








}








.cursor-dot {








    position: fixed;








    top: 0;








    left: 0;








    width: 6px;








    height: 6px;








    background-color: #ffffff;








    border-radius: 50%;








    transform: translate(-50%, -50%);








    pointer-events: none;








    z-index: 9999;








}








.cursor-outline {








    position: fixed;








    top: 0;








    left: 0;








    width: 32px;








    height: 32px;








    border: 1px solid var(--accent);








    border-radius: 50%;








    transform: translate(-50%, -50%);








    pointer-events: none;








    z-index: 9998;








}

















h1, h2, h3, h4, h5, .subtitle, .logo, .page-num {








    font-family: 'Montserrat', sans-serif !important; font-weight: 900 !important;








}

















/* Background Canvas in Hero */








#canvas-hero-vial {








    position: absolute;








    top: 0;








    left: 0;








    width: 100%;








    height: 100%;








    z-index: -1;








    pointer-events: none;








}

















/* Navbar */








.navbar {








    display: flex;








    justify-content: space-between;








    align-items: center;








    padding: 2rem 4rem;








    position: absolute;








    width: 100%;








    top: 0;








    z-index: 100;








}

















.nav-links {








    display: flex;








    list-style: none;








    gap: 3rem;








}

















.nav-links a {








    color: var(--text-muted);








    text-decoration: none;








    font-size: 0.75rem;








    font-weight: 500;








    letter-spacing: 2px;








    padding-bottom: 0.5rem;








    transition: color 0.3s;








}

















.nav-links a:hover, .nav-links a.active {








    color: var(--text-main);








}








.nav-links a.active {








    border-bottom: 2px solid var(--accent);








}

















.nav-actions {








    display: flex;








    align-items: center;








    gap: 1.5rem;








}

















.icon-btn {








    background: none;








    border: none;








    color: var(--text-main);








    cursor: pointer;








}

















.cart-btn {








    background: none;








    border: none;








    color: var(--text-main);








    font-size: 0.75rem;








    font-weight: 500;








    letter-spacing: 1px;








    cursor: pointer;








    border-left: 1px solid var(--border-light);








    padding-left: 1.5rem;








}

















/* Side Pagination */








.side-pagination {








    position: absolute;








    left: 4rem;








    top: 50%;








    transform: translateY(-50%);








    display: flex;








    flex-direction: column;








    align-items: center;








    gap: 1rem;








    z-index: 10;








}

















.page-num {








    font-size: 0.65rem;








    color: var(--text-muted);








    writing-mode: vertical-rl;








    transform: rotate(180deg);








    letter-spacing: 2px;








}








.page-num.active {








    color: var(--text-main);








}








.page-line {








    width: 1px;








    height: 20px;








    background: var(--border-light);








}








.page-line-bottom {








    width: 1px;








    height: 60px;








    background: var(--border-light);








}

















/* Right Indicator */








.right-indicator {








    position: absolute;








    right: 4rem;








    top: 40%;








    display: flex;








    align-items: center;








    gap: 1rem;








    z-index: 10;








}

















.dot-ring {








    width: 24px;








    height: 24px;








    border: 1px solid var(--accent);








    border-radius: 50%;








    position: relative;








    display: flex;








    align-items: center;








    justify-content: center;








}








.dot-ring::after {








    content: '';








    width: 6px;








    height: 6px;








    background: var(--text-main);








    border-radius: 50%;








}

















.right-indicator span {








    font-size: 0.65rem;








    color: var(--text-muted);








    letter-spacing: 2px;








}

















/* Hero Section */








.hero {








    height: 100vh;








    display: flex;








    align-items: center;








    padding-left: 12rem;








    position: relative;








}

















.hero-content {








    max-width: 50%;








    z-index: 10;








    position: relative;








}

















.subtitle {








    color: var(--accent);








    font-size: 0.75rem;








    letter-spacing: 3px;








    margin-bottom: 1rem;








}

















.hero h1 {








    font-size: 3.2rem;








    line-height: 1.2;








    margin-bottom: 1.5rem;








    background: linear-gradient(to right, #fff, var(--accent));








    -webkit-background-clip: text;








    -webkit-text-fill-color: transparent;








}

















.description {








    color: var(--text-muted);








    font-size: 0.85rem;








    letter-spacing: 2px;








    line-height: 1.8;








    margin-bottom: 3rem;








}

















.btn-outline {


    position: relative;


    display: inline-block;


    padding: 1rem 2rem;


    background: transparent;


    color: var(--accent);


    text-decoration: none;


    font-size: 0.75rem;


    font-weight: 500;


    letter-spacing: 2px;


    border-radius: 50px;


    overflow: hidden;


    cursor: pointer;


    border: none;


    z-index: 1;


    transition: all 0.3s ease;


    box-shadow: 0 0 10px rgba(198, 156, 109, 0.4);


}

















.btn-outline::before {








    content: '';








    position: absolute;








    top: 3px;








    left: 3px;








    right: 3px;








    bottom: 3px;








    background-color: var(--bg-dark);








    border-radius: 50px;








    z-index: -1;








    transition: background-color 0.3s ease;








}

















.btn-outline::after {








    content: '';








    position: absolute;








    top: -50%;








    left: -50%;








    width: 200%;








    height: 200%;








    background: conic-gradient(transparent 50%, var(--accent) 90%, #ffffff 100%);








    z-index: -2;








    animation: rotateBorder 2.5s linear infinite, blinkBorder 1.2s ease-in-out infinite alternate;








}

















@keyframes rotateBorder {








    0% { transform: rotate(0deg); }








    100% { transform: rotate(360deg); }








}

















@keyframes blinkBorder {








    0% { opacity: 0.3; filter: blur(0px); }








    50% { opacity: 1; filter: blur(2px); }








    100% { opacity: 0.6; filter: blur(1px); }








}

















.btn-outline:hover {


    color: var(--text-main);


    box-shadow: 0 0 25px rgba(198, 156, 109, 0.8);


}

















.btn-outline:hover::before {








    background-color: var(--accent);








}

















.molecule-info {








    position: absolute;








    right: 4rem;








    bottom: 25%;








    border: 1px solid var(--border-light);








    padding: 1.5rem;








    background: rgba(2,5,10,0.5);








    backdrop-filter: blur(5px);








}








.molecule-info p {








    font-size: 0.65rem;








    color: var(--text-muted);








    letter-spacing: 2px;








    margin-bottom: 0.5rem;








    min-height: 1.2em; /* Keep height even when empty */








}








.molecule-info p::after {








    content: '|';








    opacity: 0;








    animation: blink 1s infinite;








}








.molecule-info p:empty::after {








    content: '';








    animation: none;








}








@keyframes blink {








    0%, 100% { opacity: 0; }








    50% { opacity: 1; }








}








.molecule-info p:last-child { margin-bottom: 0; }

















.scroll-indicator {








    position: absolute;








    bottom: 4rem;








    left: 12rem;








    display: flex;








    align-items: center;








    gap: 1rem;








}








.circle-zero {








    width: 32px;








    height: 32px;








    border: 1px solid var(--border-light);








    border-radius: 50%;








    display: flex;








    align-items: center;








    justify-content: center;








    font-size: 0.75rem;








    color: var(--text-muted);








}








.scroll-indicator span {








    font-size: 0.65rem;








    letter-spacing: 2px;








    color: var(--text-muted);








}

















/* Science Section */








/* Science Section (Lab Banner) */
.science-evolves {
    position: relative;
    padding: 6rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #02050A url('lab-banner.png') no-repeat right center;
    background-size: cover;
    min-height: 50vh;
}

.science-evolves::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(2,5,10,1) 0%, rgba(2,5,10,0.8) 40%, rgba(2,5,10,0) 100%);
    z-index: 1;
}

.science-left, .science-right {
    position: relative;
    z-index: 2;
}

.science-left {
    flex: 1;
}
.science-left h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.science-left .highlight {
    font-size: 1.2rem;
    color: var(--accent);
    letter-spacing: 2px;
}

.science-right {
    flex: 1;
    max-width: 450px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.science-right p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2rem;
}


















/* Catalog */








.featured-peptides {








    padding: 6rem 4rem;








}








.section-top {








    display: flex;








    justify-content: space-between;








    align-items: center;








    margin-bottom: 4rem;








}








.section-title {








    display: flex;








    align-items: center;








    gap: 2rem;








}








.section-title h3 {








    font-size: 1rem;








    letter-spacing: 2px;








}








.section-title .line {








    width: 40px;








    height: 1px;








    background: var(--accent);








}

















.catalog-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;








}








.filter-btn {








    text-transform: uppercase;








    transition: all 0.3s ease;








}








.filter-btn:not(.active) {








    color: var(--text-muted);








}








.filter-btn:not(.active)::after {








    opacity: 0.3; /* Dim the glow for inactive filters */








}








.filter-btn.active {








    color: var(--accent);








}








.filter-btn:hover {








    color: var(--bg-dark) !important;








}

















.products-container {








    display: grid;








    grid-template-columns: repeat(4, 1fr);








    gap: 2rem;








}

















.prod-card {








    background: rgba(2,5,10,0.4);








    border: 1px solid var(--border-light);








    padding: 2rem 1.5rem;








    display: flex;








    flex-direction: column;








    position: relative;








    transition: border-color 0.3s;








}








.prod-card:hover {








    border-color: var(--accent);








}

















.prod-vial-container {








    width: 100%;








    height: 200px;








    margin-bottom: 1.5rem;








    position: relative;








    cursor: pointer;








}

















.prod-vial-canvas {








    width: 100%;








    height: 100%;








}

















.prod-info {








    display: flex;








    flex-direction: column;








    gap: 0.5rem;








}








.prod-name {








    font-size: 1.25rem;








    letter-spacing: 1px;








}

.prod-presentation {
    font-size: 0.75rem;
    color: var(--accent);
    margin-top: -0.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: left;
}









.prod-cat {








    font-size: 0.65rem;








    color: var(--text-muted);








    text-transform: uppercase;








    letter-spacing: 1px;








}








.prod-icon {








    margin-top: 0.2rem;








    width: 24px;








    height: 24px;








    opacity: 0.5;








}

















.prod-action {








    margin-top: 2rem;








    display: flex;








    justify-content: space-between;








    align-items: center;








    border-top: 1px solid var(--border-light);








    padding-top: 1rem;








}








.prod-qty {








    font-size: 0.75rem;








    color: var(--text-muted);








}








.prod-price {








    background: none;








    border: none;








    color: var(--text-main);








    font-size: 0.9rem;








    font-weight: 600;








    cursor: pointer;








    display: flex;








    align-items: center;








    gap: 0.5rem;








    transition: color 0.3s;








}








.prod-price:hover {








    color: var(--accent);








}

















/* Features */








.features-grid {








    display: grid;








    grid-template-columns: repeat(4, 1fr);








    border-top: 1px solid var(--border-light);








    border-bottom: 1px solid var(--border-light);








}








.feat-box {








    padding: 3rem 2rem;








    border-right: 1px solid var(--border-light);








    display: flex;








    flex-direction: column;








    align-items: flex-start;








    gap: 1.5rem;








}








.feat-box:last-child {








    border-right: none;








}








.feat-text h4 {








    font-size: 0.85rem;








    margin-bottom: 0.5rem;








    letter-spacing: 1px;








    color: var(--accent);








}








.feat-text p {








    font-size: 0.75rem;








    color: var(--text-muted);








    line-height: 1.5;








}

















/* Elevate */








/* Elevate Section (Rocks & Podium) */




.elevate-research {




    padding-top: 2rem; 




    padding-bottom: 0;




    text-align: center;




    position: relative;




    overflow: hidden;




    height: 110vh; /* Make it even taller to guarantee space for the vial */




    display: flex;




    flex-direction: column;




    justify-content: flex-start;




    align-items: center;




    background: #02050A url('rocks-banner.jpg') no-repeat center bottom;




    background-size: cover;




}









.elevate-content {




    position: relative;




    z-index: 10;




    margin-top: 0;




    width: 100%;




    /* Keep it tight at the top */




}









.elevate-content h2 {




    font-size: 1.8rem; /* Scaled down heavily so it doesn't touch the vial */




    line-height: 1.2;




    margin-bottom: 0.5rem;




    text-transform: uppercase;




    letter-spacing: 2px;




    color: #ffffff;




    font-weight: 700;




}




.elevate-content p {




    color: var(--accent);




    font-size: 0.7rem;




    letter-spacing: 3px;




    margin-bottom: 1rem;




    text-transform: uppercase;




    font-weight: 600;




}









/* Custom Link Style for Elevate */




.elevate-content .link-arrow {




    font-size: 0.75rem;




    color: var(--accent);




    border-bottom: none;




    position: relative;




    padding-top: 1rem;




    display: inline-block;




    letter-spacing: 2px;




}




.elevate-content .link-arrow::before {




    content: '';




    position: absolute;




    top: 0;




    left: 50%;




    transform: translateX(-50%);




    width: 80px;




    height: 1px;




    background: var(--accent);




}




.elevate-content .link-arrow:hover {




    color: var(--text-main);




}




.filter-btn {



    text-transform: uppercase;



    transition: all 0.3s ease;



}



.filter-btn:not(.active) {



    color: var(--text-muted);



}



.filter-btn:not(.active)::after {



    opacity: 0.3; /* Dim the glow for inactive filters */



}



.filter-btn.active {



    color: var(--accent);



}



.filter-btn:hover {



    color: var(--bg-dark) !important;



}







.products-container {



    display: grid;



    grid-template-columns: repeat(4, 1fr);



    gap: 2rem;



}







.prod-card {



    background: rgba(2,5,10,0.4);



    border: 1px solid var(--border-light);



    padding: 2rem 1.5rem;



    display: flex;



    flex-direction: column;



    position: relative;



    transition: border-color 0.3s;



}



.prod-card:hover {



    border-color: var(--accent);



}







.prod-vial-container {



    width: 100%;



    height: 200px;



    margin-bottom: 1.5rem;



    position: relative;



    cursor: pointer;



}







.prod-vial-canvas {



    width: 100%;



    height: 100%;



}







.prod-info {



    display: flex;



    flex-direction: column;



    gap: 0.5rem;



}



.prod-name {



    font-size: 1.25rem;



    letter-spacing: 1px;



}



.prod-cat {



    font-size: 0.65rem;



    color: var(--text-muted);



    text-transform: uppercase;



    letter-spacing: 1px;



}



.prod-icon {



    margin-top: 0.2rem;



    width: 24px;



    height: 24px;



    opacity: 0.5;



}







.prod-action {



    margin-top: 2rem;



    display: flex;



    justify-content: space-between;



    align-items: center;



    border-top: 1px solid var(--border-light);



    padding-top: 1rem;



}



.prod-qty {



    font-size: 0.75rem;



    color: var(--text-muted);



}



.prod-price {



    background: none;



    border: none;



    color: var(--text-main);



    font-size: 0.9rem;



    font-weight: 600;



    cursor: pointer;



    display: flex;



    align-items: center;



    gap: 0.5rem;



    transition: color 0.3s;



}



.prod-price:hover {



    color: var(--accent);



}







/* Features */



.features-grid {



    display: grid;



    grid-template-columns: repeat(4, 1fr);



    border-top: 1px solid var(--border-light);



    border-bottom: 1px solid var(--border-light);



}



.feat-box {



    padding: 3rem 2rem;



    border-right: 1px solid var(--border-light);



    display: flex;



    flex-direction: column;



    align-items: flex-start;



    gap: 1.5rem;



}



.feat-box:last-child {



    border-right: none;



}



.feat-text h4 {



    font-size: 0.85rem;



    margin-bottom: 0.5rem;



    letter-spacing: 1px;



    color: var(--accent);



}



.feat-text p {



    font-size: 0.75rem;



    color: var(--text-muted);



    line-height: 1.5;



}







/* Elevate */



/* Elevate Section (Rocks & Podium) */



.elevate-research {



    padding-top: 2rem; 



    padding-bottom: 0;



    text-align: center;



    position: relative;



    overflow: hidden;



    height: 110vh; /* Make it even taller to guarantee space for the vial */



    display: flex;



    flex-direction: column;



    justify-content: flex-start;



    align-items: center;



    background: #02050A url('rocks-banner.jpg') no-repeat center bottom;



    background-size: cover;



}







.elevate-content {



    position: relative;



    z-index: 10;



    margin-top: 0;



    width: 100%;



    /* Keep it tight at the top */



}







.elevate-content h2 {



    font-size: 1.8rem; /* Scaled down heavily so it doesn't touch the vial */



    line-height: 1.2;



    margin-bottom: 0.5rem;



    text-transform: uppercase;



    letter-spacing: 2px;



    color: #ffffff;



    font-weight: 700;



}



.elevate-content p {



    color: var(--accent);



    font-size: 0.7rem;



    letter-spacing: 3px;



    margin-bottom: 1rem;



    text-transform: uppercase;



    font-weight: 600;



}







/* Custom Link Style for Elevate */



.elevate-content .link-arrow {



    font-size: 0.75rem;



    color: var(--accent);



    border-bottom: none;



    position: relative;



    padding-top: 1rem;



    display: inline-block;



    letter-spacing: 2px;



}



.elevate-content .link-arrow::before {



    content: '';



    position: absolute;



    top: 0;



    left: 50%;



    transform: translateX(-50%);



    width: 80px;



    height: 1px;



    background: var(--accent);



}



.elevate-content .link-arrow:hover {



    color: var(--text-main);



}



.elevate-content .link-arrow:hover::before {



    background: #fff;



}







/* Blue Glow Button */

.btn-blue-glow {



    position: relative;



    display: inline-block;



    padding: 1rem 2.5rem;



    background: transparent;



    color: var(--text-main);



    text-decoration: none;



    font-size: 0.8rem;



    font-weight: 700;



    letter-spacing: 2px;



    border-radius: 50px;



    overflow: hidden;



    cursor: pointer;



    border: none;



    z-index: 1;



    transition: all 0.3s ease;



    margin-top: -15px;



    box-shadow: 0 0 15px rgba(0, 102, 255, 0.4);



}







.btn-blue-glow::before {



    content: '';



    position: absolute;



    top: 2px;



    left: 2px;



    right: 2px;



    bottom: 2px;



    background-color: rgba(0, 31, 122, 0.95); /* Deep Cronos Blue */



    border-radius: 50px;



    z-index: -1;



    transition: background-color 0.3s ease;



}







.btn-blue-glow::after {



    content: '';



    position: absolute;



    top: -50%;



    left: -50%;



    width: 200%;



    height: 200%;



    background: conic-gradient(transparent 50%, #0099ff 90%, #ffffff 100%);



    z-index: -2;



    animation: rotateBorder 2s linear infinite, blinkBorder 1.2s ease-in-out infinite alternate;



}







.btn-blue-glow:hover {



    color: var(--text-main);



    box-shadow: 0 0 25px rgba(0, 153, 255, 0.8);



    transform: scale(1.05);



}







.btn-blue-glow:hover::before {



    background-color: rgba(0, 102, 255, 1);



}







/* Glowing Rocks Effect */




.rock-glow {




    position: absolute;




    border-radius: 50%;




    filter: blur(50px);




    opacity: 0.7;




    z-index: 2;




    mix-blend-mode: screen;




    pointer-events: none;




}




.glow-left {




    width: 300px; height: 300px;




    background: radial-gradient(circle, rgba(0,102,255,0.8) 0%, transparent 70%);




    bottom: -50px; left: -50px;




    animation: pulseGlowSide 4s ease-in-out infinite alternate;




}




.glow-right {




    width: 350px; height: 350px;




    background: radial-gradient(circle, rgba(0,153,255,0.7) 0%, transparent 70%);




    bottom: -80px; right: -80px;




    animation: pulseGlowSide 5s ease-in-out infinite alternate 1s;




}




.glow-bottom {




    width: 600px; height: 200px;




    background: radial-gradient(circle, rgba(0,75,255,0.9) 0%, transparent 70%);




    bottom: -50px; left: 50%;




    transform: translateX(-50%);




    animation: pulseGlowBottom 6s ease-in-out infinite alternate 2s;




}









@keyframes pulseGlowSide {




    0% { opacity: 0.3; transform: scale(0.9); }




    100% { opacity: 0.9; transform: scale(1.1); }




}




@keyframes pulseGlowBottom {




    0% { opacity: 0.3; transform: translateX(-50%) scale(0.9); }




    100% { opacity: 0.9; transform: translateX(-50%) scale(1.1); }




}









/* Animated Background Rings */




.bg-rings {




    position: absolute;




    bottom: 30%; 




    left: 50%;




    transform: translateX(-50%);




    width: 0;




    height: 0;




    z-index: 3;




    pointer-events: none;




    mix-blend-mode: overlay; 




}









.ring {




    position: absolute;




    border-radius: 50%;




    border: 2px solid rgba(198,156,109,0.8);




    top: 50%; left: 50%;




    transform: translate(-50%, -50%);




    animation: rippleRing 8s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);




}









.ring-1 { animation-delay: 0s; }






.ring-2 { animation-delay: 2s; }






.ring-3 { animation-delay: 4s; }






.ring-4 { animation-delay: 6s; }













@keyframes rippleRing {






    0% {






        width: 100px;






        height: 100px;






        opacity: 0.8;






        border-width: 2px;






        box-shadow: 0 0 15px rgba(198,156,109,0.4), inset 0 0 15px rgba(198,156,109,0.4);






    }






    100% {






        width: 1200px;






        height: 1200px;






        opacity: 0;






        border-width: 1px;






    }






}




















/* Footer */








footer {








    padding: 4rem 4rem 2rem;








    border-top: 1px solid var(--border-light);








}








.footer-columns {








    display: grid;








    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;








    gap: 2rem;








    margin-bottom: 4rem;








}








.copyright {








    margin-top: 0.2rem;








    font-size: 0.65rem;








    color: var(--text-muted);








}








.footer-nav h5, .footer-subscribe h5 {








    font-size: 0.75rem;








    letter-spacing: 2px;








    margin-bottom: 1.5rem;








    color: var(--text-main);








}








.footer-nav ul {








    list-style: none;








}








.footer-nav ul li {








    margin-bottom: 1rem;








}








.footer-nav a {








    color: var(--text-muted);








    text-decoration: none;








    font-size: 0.75rem;








    transition: color 0.3s;








}








.footer-nav a:hover {








    color: var(--accent);








}








.input-group {








    display: flex;








    border-bottom: 1px solid var(--border-light);








    padding-bottom: 0.5rem;








    margin-bottom: 1.5rem;








}








.input-group input {








    background: none;








    border: none;








    color: var(--text-main);








    flex-grow: 1;








    outline: none;








    font-size: 0.75rem;








}








.input-group button {








    background: none;








    border: none;








    color: var(--text-main);








    cursor: pointer;








}








.socials {








    display: flex;








    gap: 1rem;








}








.socials span {








    font-size: 0.75rem;








    color: var(--text-muted);








    cursor: pointer;








}








.footer-disclaimer {








    text-align: right;








    font-size: 0.65rem;








    color: var(--text-muted);








    letter-spacing: 1px;








}

















/* Sidebar Cart */








.cart-sidebar {








    position: fixed;








    top: 0;








    right: -400px;








    width: 400px;








    max-width: 100vw;








    height: 100vh;








    background: var(--bg-dark); /* kept */








    border-left: 1px solid var(--border-light);








    z-index: 1000;








    display: flex;








    flex-direction: column;








    transition: right 0.3s ease;








}








.cart-sidebar.open { right: 0 !important; }








.cart-overlay {








    position: fixed;








    top: 0; left: 0; width: 100vw; height: 100vh;








    background: rgba(0,0,0,0.7);








    backdrop-filter: blur(5px);








    z-index: 999;








    opacity: 0;








    pointer-events: none;








    transition: opacity 0.3s ease;








}








.cart-overlay.open { opacity: 1; pointer-events: auto; }








.cart-header { padding: 1.5rem; border-bottom: 1px solid var(--border-light); display: flex; justify-content: space-between; }








.close-btn { background: none; border: none; color: var(--text-main); font-size: 1.5rem; cursor: pointer; }








.cart-items { flex-grow: 1; overflow-y: auto; padding: 1.5rem; }








.cart-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-light); }








.item-controls button { background: none; border: 1px solid var(--border-light); color: var(--text-main); width: 24px; height: 24px; cursor: pointer; }








.cart-footer { padding: 1.5rem; border-top: 1px solid var(--border-light); }








.cart-total { display: flex; justify-content: space-between; margin-bottom: 1rem; font-weight: 600; }








.checkout-btn { width: 100%; padding: 1rem; background: var(--accent); color: var(--bg-dark); border: none; font-weight: 600; cursor: pointer; }








.socials a:hover { color: #fff !important; transform: scale(1.1); }
.socials a { transition: all 0.3s ease !important; }

/* Education Section */
.education-section {
    padding: 6rem 4rem;
    position: relative;
    z-index: 2;
    background: var(--bg-dark); /* kept */
}

.edu-header {
    margin-bottom: 4rem;
}

.edu-tag {
    color: var(--accent);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.edu-header h2 {
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: 2px;
}

.edu-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.edu-line {
    width: 60px;
    height: 1px;
    background: var(--accent);
    margin-top: 2rem;
    box-shadow: 0 0 10px rgba(198, 156, 109, 0.4);
}

.edu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.edu-card {
    background: rgba(2, 5, 10, 0.6);
    border: 1px solid rgba(198, 156, 109, 0.15);
    border-radius: 12px;
    padding: 3rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.edu-card:hover {
    border-color: rgba(198, 156, 109, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(198, 156, 109, 0.1);
    transform: translateY(-5px);
    background: rgba(2, 5, 10, 0.8);
}

.edu-number {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 2px;
}
.edu-number .dot {
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
}

.edu-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

.edu-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}
.edu-card p:last-child {
    margin-bottom: 0;
}

.edu-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.edu-list li {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    line-height: 1.5;
}

.edu-list .arrow {
    color: var(--accent);
    font-weight: bold;
    font-size: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 4rem;
    background: var(--bg-dark); /* kept */
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-list {
    margin-top: 3rem;
}

.faq-item {
    border-bottom: 1px solid rgba(136, 146, 176, 0.2);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 2rem 0;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--bg-dark);
    background: var(--accent);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    transition: transform 0.3s, background 0.3s, color 0.3s;
}

.faq-item.active .faq-question {
    color: var(--accent);
}

.faq-item.active .faq-icon {
    background: var(--bg-dark); /* kept */
    color: var(--accent);
    border: 1px solid var(--accent);
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease-out;
}
.faq-answer {
    display: none;
    padding-bottom: 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-right: 2rem;
}





/* --- AUTH MODALS --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none; 
    justify-content: center; 
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}
.modal-content {
    background: #111;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.close-btn {
    position: absolute;
    top: 15px; right: 15px;
    background: none;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}
.close-btn:hover {
    color: #fff;
}






/* =========================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================= */

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .products-container {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 2rem !important;
    }
    .hero-content h1 {
        font-size: 3rem !important;
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    /* Navbar */
    .navbar {
        padding: 1rem 1.5rem !important;
    }
    .nav-links {
        display: none !important;
    }
    .logo img {
        height: 35px !important;
    }
    
    /* Hero Section */
    .hero {
        padding: 0 1rem !important;
        height: 100vh !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .hero-content {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        z-index: 10 !important;
    }
    .hero-content h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin: 1rem auto !important;
        text-align: center !important;
        letter-spacing: 0px !important;
    }
    .hero-content p, .hero-content .subtitle {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .hero-content .btn-outline {
        margin: 1.5rem auto 0 auto !important;
        display: inline-block;
    }
    
    
    .molecule-info {
        display: block !important;
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin: 2rem auto 0 auto !important;
        text-align: center !important;
        width: 90% !important;
        max-width: 350px !important;
        padding: 1.5rem !important;
        background: rgba(2, 5, 10, 0.5) !important;
        border: 1px solid rgba(136, 146, 176, 0.2) !important;
        z-index: 10 !important;
    }
    .molecule-info p {
        font-size: 0.8rem !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* Hide unneeded elements */
    .side-pagination, 
    .right-indicator, 
    .scroll-indicator {
        display: none !important;
    }
    
    /* 3D Canvas Fix - Put it behind the text like on desktop but centered */
    #canvas-hero-vial {
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        z-index: 1 !important;
        opacity: 0.6; /* Slight transparency so text is readable */
        pointer-events: none; /* Let clicks pass through to button */
    }

    /* Science Evolves Section (La Ciencia Evoluciona) */
    .science-evolves {
        padding: 4rem 1.5rem !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .science-left, .science-right {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .science-left h2, .science-left p, .science-right p, .science-right div {
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .science-right {
        margin-top: 2rem !important;
        align-items: center !important; /* OVERRIDE flex-end */
    }
    .science-left h2 {
        font-size: 2.2rem !important; /* Smaller to prevent overflow */
        word-break: break-word !important; /* Prevent cutoffs */
    }
    .science-right a.btn-outline {
        margin: 0 auto !important; /* Center the button */
    }

    /* Catalog Section */
    .catalog-header {
        text-align: center !important;
        padding: 2rem 1rem !important;
    }
    .catalog-header h2 {
        font-size: 2rem !important;
        text-align: center !important;
    }
    
    
    .section-top {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 1.5rem !important;
        margin-bottom: 2rem !important;
        gap: 1.5rem !important;
    }
    .section-title {
        align-items: center !important;
        text-align: center !important;
    }

    /* Filters (Botonera de catalogo) */
    .catalog-filters {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        padding: 1rem 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .filter-btn {
        font-size: 0.85rem !important;
        padding: 0.6rem 1.2rem !important;
        margin: 0 !important;
        text-align: center;
        width: 100%;
        max-width: 300px;
        margin: 0 auto !important;
    }

    /* Elevate Research Section */
    .elevate-research {
        padding: 3rem 1.5rem !important;
        background-position: center !important;
    }
    .elevate-content {
        text-align: center !important;
    }
    .elevate-content h2 {
        font-size: 1.8rem !important;
        text-align: center !important;
    }
    .elevate-content p, .elevate-content a {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Products Grid */
    .products-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 1rem !important;
        gap: 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        align-items: stretch !important;
    }
    .prod-card {
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    .product-card {
        text-align: center !important;
    }
    
    /* Modals */
    .modal-content {
        padding: 1.5rem !important;
        width: 95% !important;
    }

    
    .education-section, .faq-section {
        padding: 3rem 1.5rem !important; /* Fix the massive 4rem side padding */
    }
    .edu-tag {
        text-align: center !important;
        display: block !important;
    }
    .edu-header h2 {
        font-size: 2.2rem !important; /* Make it fit better */
    }

    /* Educativo & About */
    .edu-header {
        text-align: center !important;
    }
    .edu-header h2, .edu-header p {
        text-align: center !important;
    }
    .edu-grid, .features-grid, .footer-columns {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
        text-align: center !important;
    }
    
    .feat-box, .feat-text, .feat-text h4, .feat-text p {
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }
    .features-grid {
        gap: 1rem !important;
        padding: 2rem 0 !important;
    }
    .feat-box {
        padding: 1rem !important;
        border: none !important; /* Remove borders on mobile for cleaner look */
    }

    .edu-card h3, .edu-card p, .edu-number {
        text-align: center !important;
    }
    
    .about-us-container {
        padding: 2rem 1.5rem !important;
        text-align: center !important;
    }
    .about-text h2, .about-text p {
        text-align: center !important;
    }

    /* Cart Sidebar */
    .cart-sidebar {
        width: 100% !important;
        right: -100% !important;
    }
    .cart-sidebar.open {
        right: 0 !important;
    }
    

    /* FAQ */
    .faq-header {
        text-align: center !important;
    }
    .faq-header h2 {
        text-align: center !important;
    }
    .edu-line {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .faq-question {
        font-size: 0.95rem !important;
        padding: 1rem 0 !important;
        text-align: left !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .faq-icon {
        flex-shrink: 0 !important;
    }

    
    /* Global Adjustments */
    body {
        cursor: auto !important;
    }
    #custom-cursor {
        display: none !important;
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.prod-info { container-type: inline-size; width: 100%; box-sizing: border-box; padding-right: 5px; }
.prod-name { font-family: 'Montserrat', sans-serif !important; font-weight: 900 !important; font-size: 1.1rem !important; font-size: clamp(0.9rem, 10vw, 1.3rem) !important; letter-spacing: -0.5px !important; line-height: 1.1 !important; text-transform: uppercase !important; overflow-wrap: break-word !important; word-break: break-word !important; hyphens: auto !important; width: 100% !important; box-sizing: border-box !important; display: block !important; }

@media (max-width: 768px) {
    .prod-name { font-size: clamp(0.75rem, 5vw, 1rem) !important; }
    .prod-info { padding: 0.2rem !important; }
    .prod-price { font-size: 1rem !important; }
    .prod-action button { padding: 0.4rem !important; font-size: 0.65rem !important; }
    .section-top { flex-direction: column !important; align-items: center !important; }
}

@media (max-width: 768px) {
    .products-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 0.5rem !important;
        gap: 0.5rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        align-items: stretch !important;
    }
    .prod-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 1rem 0.5rem !important;
        box-sizing: border-box !important;
    }
    .prod-vial-container {
        height: 140px !important;
        margin-bottom: 0.5rem !important;
    }
    .prod-vial-container img {
        transform: scale(1.15); /* Make the vial pop out more in the small space */
    }
    .prod-name {
        font-size: clamp(0.7rem, 4.5vw, 0.95rem) !important;
    }
    .prod-info p {
        font-size: 0.65rem !important;
    }
    .prod-action {
        gap: 0.5rem !important;
        margin-top: 10px !important;
    }
    .prod-price {
        font-size: 0.95rem !important;
    }
    .btn-outline {
        font-size: 0.6rem !important;
        padding: 0.6rem 0.2rem !important;
        border-radius: 12px !important;
        width: 100% !important;
        text-align: center !important;
        letter-spacing: 0px !important;
    }
}

@media (max-width: 768px) {
    /* Maximize width by removing section padding specifically for catalog */
    #products {
        padding-left: 0.3rem !important;
        padding-right: 0.3rem !important;
    }
    /* fallback just in case */
    .featured-peptides {
        padding-left: 0.3rem !important;
        padding-right: 0.3rem !important;
    }
    .section-top {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    .products-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 !important;
        gap: 0.4rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .prod-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0.8rem 0.4rem !important;
        box-sizing: border-box !important;
    }
    .prod-vial-container {
        height: 165px !important;
        margin-bottom: 0.8rem !important;
    }
    .prod-vial-container img {
        /* Removed scale to prevent overlap */
    }
    .prod-name {
        font-size: clamp(0.7rem, 4.8vw, 0.95rem) !important;
        letter-spacing: -0.3px !important;
    }
    .prod-info {
        padding: 0 !important;
    }
    .prod-info p {
        font-size: 0.65rem !important;
        margin-top: 4px !important;
    }
    .prod-action {
        gap: 0.4rem !important;
        margin-top: 8px !important;
    }
    .prod-price {
        font-size: 1rem !important;
    }
    .btn-outline {
        font-size: 0.58rem !important;
        padding: 0.6rem 0.1rem !important;
        border-radius: 12px !important;
        width: 100% !important;
        text-align: center !important;
        letter-spacing: 0px !important;
        word-wrap: break-word !important;
        white-space: normal !important;
        line-height: 1.1 !important;
    }
    .search-container {
        padding: 0 0.5rem !important;
    }
}

@media (max-width: 768px) {
    section#products {
        padding-left: 0.4rem !important;
        padding-right: 0.4rem !important;
        overflow-x: hidden;
    }
    .products-container {
        gap: 0.3rem !important;
    }
    .prod-card {
        padding: 0.8rem 0.3rem !important;
        border-radius: 8px !important;
    }
    .btn-outline {
        padding: 0.6rem 0.1rem !important;
        letter-spacing: 0 !important;
    }
}

@media (max-width: 768px) {
    .prod-card {
        min-width: 0 !important; /* PREVENT GRID BLOWOUT */
        overflow: hidden !important; /* Ensure nothing spills out */
    }
    .prod-vial-container {
        min-width: 0 !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .prod-vial-container img {
        max-width: 100% !important;
        max-height: 100% !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
}

/* =========================================
   MOCKUP REDESIGN DESKTOP & MOBILE
========================================= */

/* Header Area */
.catalog-header-wrapper {
    margin-bottom: 3rem;
}
.desktop-mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}
.header-titles {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.subtitle-mock {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}
.gold-line {
    height: 1px;
    width: 50px;
    background-color: var(--accent);
}
.title-mock {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -1px;
}
.gold-text {
    color: var(--accent);
}
.desc-mock {
    color: #a0aabf;
    font-size: 1rem;
    margin: 0;
}

/* Search Area */
.search-input-wrapper {
    position: relative;
    width: 350px;
    max-width: 100%;
}
.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}
.search-input-wrapper input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: #fff;
    font-family: 'Inter', sans-serif;
    outline: none;
}

/* Filters Area */
.filters-mock {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.filters-mock .filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.filters-mock .filter-btn i {
    font-size: 1rem;
}
.filters-mock .filter-btn.active, 
.filters-mock .filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 10px rgba(198, 156, 109, 0.2);
}

/* Products Grid & Cards - Horizontal Mockup */
#products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.5rem;
}
.prod-card {
    display: flex !important;
    flex-direction: row !important;
    padding: 1.5rem !important;
    background: rgba(2,5,10,0.6) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 12px !important;
    gap: 1.5rem !important;
    align-items: center;
}
.prod-vial-container {
    width: 40% !important;
    height: 220px !important;
    margin: 0 !important;
    flex-shrink: 0;
}
.prod-info-mock {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.prod-name {
    font-size: 1.4rem !important;
    margin-bottom: 0.5rem !important;
    text-align: left !important;
}
.prod-desc-mock {
    font-size: 0.8rem;
    color: #a0aabf;
    margin-bottom: 1rem;
    line-height: 1.4;
}
.prod-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.prod-features li {
    font-size: 0.75rem;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.prod-features i {
    color: var(--accent);
    font-size: 0.9rem;
    width: 15px;
    text-align: center;
}
.btn-detalles {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}
.btn-detalles:hover {
    background: var(--accent);
    color: #000;
}

/* Mobile Overrides */
@media (max-width: 768px) {
    .desktop-mock-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .title-mock { font-size: 2rem; }
    .search-input-wrapper { width: 100%; }
    .filters-mock { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 10px; }
    .filters-mock .filter-btn { white-space: nowrap; padding: 0.6rem 1rem; }
    
    #products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.4rem !important;
    }
    .prod-card {
        flex-direction: column !important;
        padding: 0.8rem 0.4rem !important;
        gap: 0.5rem !important;
    }
    .prod-vial-container {
        width: 100% !important;
        height: 140px !important;
    }
    .prod-info-mock {
        width: 100%;
    }
    .prod-name { font-size: clamp(0.7rem, 4.5vw, 0.9rem) !important; text-align: center !important; }

    .prod-presentation { text-align: center !important; font-size: 0.65rem !important; }

    /* desc is handled inline now */
    .prod-features { display: none; } /* Still hide features on mobile to save space */
    .btn-detalles {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.5rem;
        font-size: 0.65rem;
    }
}

/* Fix modal overflow on mobile */
.modal-content {
    max-height: 90vh !important;
    overflow-y: auto !important;
}
.modal-content::-webkit-scrollbar { width: 6px; }
.modal-content::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 6px; }

@media (max-width: 768px) {
    .modal-overlay {
        padding: 1rem !important;
        align-items: center !important; /* Ensure it stays centered */
    }
    .modal-content {
        max-height: 95vh !important;
        padding: 1.5rem 1rem !important;
        margin: auto !important;
    }
    .modal-desc-scroll {
        max-height: none !important; /* Let the whole modal scroll instead of just the text */
    }
}

@media (max-width: 768px) {
    .prod-action {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.8rem !important;
        margin-top: 10px !important;
    }
    .prod-price {
        text-align: center !important;
        width: 100% !important;
        font-size: 1.1rem !important;
    }
    .btn-detalles {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

@media (max-width: 768px) { .desc-container { text-align: center !important; } .prod-features { display: none !important; } }
/* Global center for filter buttons */
.filters-mock .filter-btn {
    justify-content: center !important;
}

@media (max-width: 768px) {
    .filters-mock {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .filters-mock .filter-btn {
        width: 100% !important;
        text-align: center !important;
    }
    .prod-action {
        align-items: center !important; /* Forces centering of all children */
    }
    .prod-action .prod-price {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }
}

.filters-mock .filter-btn.active, 
.filters-mock .filter-btn:hover {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
    box-shadow: 0 0 10px rgba(198, 156, 109, 0.2) !important;
    background: transparent !important;
}


/* --- OVERRIDE FOR SUBTLE BUTTON --- */
.btn-detalles {
    background: transparent !important;
    border: none !important;
    color: #a0aabf !important;
    padding: 0 !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: color 0.3s ease, transform 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.5rem !important;
    margin-left: auto !important; /* Push it away from price */
    width: auto !important; 
}
.btn-detalles:hover {
    color: var(--accent) !important;
    background: transparent !important;
    transform: scale(1.05) !important;
}

@media (max-width: 768px) {
    .prod-action {
        flex-direction: column !important;
        gap: 0.8rem !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .btn-detalles {
        margin-left: 0 !important;
        justify-content: center !important;
        width: 100% !important;
        padding-top: 0.5rem !important;
    }
}


/* --- FORCE STACK PRICE AND BUTTON ON ALL SCREENS --- */
.prod-action {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
    margin-top: 1rem !important;
}
.btn-detalles {
    margin-left: 0 !important;
    justify-content: flex-start !important;
}

@media (max-width: 768px) {
    .prod-action {
        align-items: center !important;
    }
    .btn-detalles {
        justify-content: center !important;
        width: 100% !important;
    }
}


/* --- CENTER HEADER ON MOBILE --- */
@media (max-width: 768px) {
    .header-titles {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    .subtitle-wrapper {
        justify-content: center !important;
        width: 100% !important;
    }
    .title-mock, .desc-mock {
        text-align: center !important;
    }
    .desktop-mock-header {
        align-items: center !important;
    }
}


/* --- OVERRIDE GOLD LINE POSITION --- */
.subtitle-wrapper {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.4rem !important;
}

@media (max-width: 768px) {
    .subtitle-wrapper {
        align-items: center !important;
    }
}


/* --- CERTIFICATIONS --- */
.certifications-container {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: 10px;
}
.cert-icon {
    width: 45px;
    height: auto;
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}
.cert-icon:hover {
    transform: scale(1.15);
    opacity: 1;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
}
@media (max-width: 768px) {
    .certifications-container {
        justify-content: center;
        gap: 1rem;
    }
    .cert-icon {
        width: 35px;
    }
}
