﻿/*
Theme Name: MyTheme
Theme URI: http://example.com/mytheme
Author: Antigravity
Author URI: http://example.com
Description: A custom theme ported from a static React/HTML site.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mytheme
*/

/* ---
        Atomic Sarms - Refactored Stylesheet
        --- */

/* 0. ROOT & VARIABLES
        ------------------------------------- */
:root {
    /* Colors */
    --bg-color: #040404;
    --primary-text-color: #FFFFFF;
    --secondary-text-color: #a0a0a0;
    --accent-color-1: #E91E63;
    /* Pink */
    --accent-color-2: #FF9800;
    /* Orange */
    --accent-color-3: #03A9F4;
    /* Blue */
    --accent-color-hover: #99ccff;
    --accent-color-yellow: #E8D57A;
    --accent-color-teal: #00f2ea;
    --accent-color-purple: #a450ff;
    --accent-color-gold: #fbbc00;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: #0a0a0a;

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    font-family: var(--font-secondary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Reset & Global Styles */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: var(--bg-color);
    color: var(--primary-text-color);
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-text-color);
    margin-top: 0;
}

body.mobile-nav-active {
    overflow: hidden;
}

body.mobile-nav-active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1500;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

body.mobile-nav-active header {
    z-index: 1600;
    /* Ensure header is above the backdrop overlay */
}

/* 2. LAYOUT
        ------------------------------------- */
.container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
}

/* 2.5 PRELOADER
        ------------------------------------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.75s ease-out, visibility 0.75s ease-out;
    visibility: visible;
    opacity: 1;
}

#preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    height: 50px;
    width: auto;
    animation: spin 2s linear infinite;
}

.preloader-text {
    margin-top: 1rem;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-text-color);
}

/* 3. HEADER & NAVIGATION
        ------------------------------------- */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    transition: padding 0.4s ease, background-color 0.4s ease;
}

header.sticky-header {
    position: fixed;
    padding: 1rem 0;
    background-color: rgba(10, 10, 10, 0.75);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    z-index: 1000;
}

header.header-is-hiding {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background-color: rgba(10, 10, 10, 0.75);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-text-color);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img,
.woocommerce-page .logo-img,
.woocommerce .logo-img {
    height: 1.5rem;
    /* Match the font-size of the .logo class */
    width: auto;
}

.logo span {
    font-weight: 400;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: space-evenly;
}

nav ul li {
    margin-left: 3rem;
}

nav ul li a {
    color: var(--primary-text-color);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform-origin: center;
    display: inline-block;
    /* Crucial fix for transform animations */
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav ul li a:not(.cart-icon):not(.active-nav-item):hover {
    color: var(--accent-color-hover);
    text-shadow: 0 0 8px rgba(153, 204, 255, 0.7), 0 0 20px rgba(153, 204, 255, 0.5);
    animation: shake 0.4s linear infinite;
}

.active-nav-item {
    color: var(--accent-color-yellow);
    font-weight: 700;
}

.active-nav-item:hover {
    animation: none;
    /* Disable shake on active item */
}

.cart-icon {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.cart-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-text-color);
    transition: fill 0.3s ease;
}

.cart-icon:hover svg {
    fill: var(--accent-color-hover);
}

.cart-icon span {
    margin-left: 0.2rem;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 0rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2010;
    /* Above mobile nav panel */
}

.hamburger-menu:focus {
    outline: none;
}

.hamburger-menu span {
    width: 2rem;
    height: 3px;
    background: var(--primary-text-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

#main-navigation.is-open~.hamburger-menu span:nth-of-type(1) {
    transform: rotate(45deg) translate(4px, -5px);
}

#main-navigation.is-open~.hamburger-menu span:nth-of-type(2) {
    opacity: 0;
    transform: translateX(20px);
}

#main-navigation.is-open~.hamburger-menu span:nth-of-type(3) {
    transform: rotate(-45deg) translate(4px, 5px);
}

/* Nav Close Button */
.nav-close-btn {
    display: none;
}

/* Mobile Logo Resize */
@media (max-width: 550px) {
    .logo {
        font-size: 1.2rem;
    }

    .logo-img,
    .woocommerce-page .logo-img,
    .woocommerce .logo-img {
        height: 1.2rem;
    }


}


/* 4. HERO SECTION
    ------------------------------------- */
.hero {
    height: 100vh;
    min-height: 700px;
    background-color: var(--bg-color);
    /* Fallback bg */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        height: 550px !important;
        min-height: 550px !important;
        padding: 120px 0 60px 0;
        /* Add padding for header clearance and spacing */
    }

    #hero-parallax-fg {
        width: 100% !important;
        transform: scale(1.15) !important;
        /* Start larger as requested */
        background-position: center calc(100% - 70px) !important;
        /* Anchor to bottom raised by 70px */
    }

    .hero-content {
        transform: translateY(-60px);
        /* Bump up 60px */
    }

    .hero-content .title {
        font-size: 2.5rem !important;
        /* Reduced from 5rem */
    }

    .hero-content .subtitle {
        font-size: 0.8rem !important;
        /* Reduced from 1rem */
    }
}

#hero-parallax-bg,
#hero-parallax-fg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    will-change: transform, opacity;
}

#hero-parallax-bg {
    background-image: url('https://res.cloudinary.com/dy7r0qqjr/image/upload/v1754666873/hero-pic-backdrop_fjoiai.jpg');
    z-index: 0;
    opacity: 0;
    transform: scale(1.15);
    /* Start zoomed IN */
    transition: opacity 2s ease-out, transform 3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#hero-parallax-fg {
    background-image: url('https://res.cloudinary.com/dy7r0qqjr/image/upload/v1754666872/hero-pic-man_mfkug4.png');
    z-index: 1;
    background-size: contain;
    background-position: center middle;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(0.90);
    /* Start zoomed OUT */
    transition: opacity 2s ease-out, transform 3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#hero-parallax-bg.is-zooming {
    opacity: 1;
    transform: scale(1.05);
    /* End zoomed OUT to a safe buffer for parallax */
}

#hero-parallax-fg.is-zooming {
    opacity: 1;
    transform: scale(0.95);
    /* End zoomed IN to the starting scroll state */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: opacity 1.5s ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    /* Increased gradient height */
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 10%, transparent 100%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    transition: opacity 1s ease-out 0.2s, transform 1s ease-out 0.2s;
}

@media (min-width: 769px) {
    .hero-content {
        transform: translateY(-80px);
        /* Bump up 80px on tablet/desktop */
    }
}

.hero-content.is-hidden {
    opacity: 0;
    transform: translateY(20px);
}

.hero-content .subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-text-color);
}

.hero-content .title {
    font-family: var(--font-primary);
    font-size: 5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0.5rem 0;
    line-height: 1.1;
}

/* 5. CONTENT SECTIONS
    ------------------------------------- */
main section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 700;
}

/* 5.4 NEW ARRIVALS SECTION
    ------------------------------------- */
.new-arrivals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.new-product-card {
    border: 1px solid var(--border-color);
    border-radius: 15px;
    background-color: var(--card-bg);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.new-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.new-product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50% 50%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.7s ease-in-out;
    transform: scale(0.5);
    z-index: 0;
}

.new-product-card:hover::before {
    opacity: 0.15;
    transform: scale(1);
}

.new-product-card.accent-teal::before {
    background-image: radial-gradient(circle, var(--accent-color-teal), transparent 70%);
}

.new-product-card.accent-purple::before {
    background-image: radial-gradient(circle, var(--accent-color-purple), transparent 70%);
}

.new-product-card.accent-gold::before {
    background-image: radial-gradient(circle, var(--accent-color-gold), transparent 70%);
}

.new-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent-color-yellow);
    color: var(--bg-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 2;
}

.new-product-card .product-image-wrapper {
    position: relative;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
    z-index: 1;
}

.new-product-card .product-image-wrapper img {
    max-height: 100%;
    max-width: 80%;
}

.new-product-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.new-product-card .product-description {
    color: var(--secondary-text-color);
    font-size: 0.9rem;
    margin: 0.5rem auto 1.5rem;
    max-width: 300px;
    position: relative;
    z-index: 1;
}

.new-product-card .product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-text-color);
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.new-product-card.accent-teal .btn {
    background: var(--accent-color-teal);
    color: var(--bg-color);
}

.new-product-card.accent-teal .btn:hover {
    background: var(--accent-color-teal);
    filter: brightness(1.2);
    color: var(--bg-color);
}

.new-product-card.accent-gold .btn {
    background: var(--accent-color-gold);
    color: var(--bg-color);
}

.new-product-card.accent-gold .btn:hover {
    background: var(--accent-color-gold);
    filter: brightness(1.2);
    color: var(--bg-color);
}

/* 5.5 PRODUCT SLIDER
    ------------------------------------- */
.product-slider-section {
    padding: 2rem 0;
    /* Tightened vertical padding */
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: #030303;
    margin-top: 0;
    /* Removed top margin */
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.slider-track {
    display: flex;
    width: calc(280px * 14);
    /* (Item Width) * (Number of Items * 2 for loop) */
    animation: scroll 40s linear infinite;
}

.slider-container:hover .slider-track {
    animation-play-state: paused;
}

.slider-item {
    flex-shrink: 0;
    width: 280px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 240px;
    /* Adjusted height for larger image */
}

.slider-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.25rem;
    /* Tightened margin */
    transition: transform 0.3s ease;
}

.slider-item:hover .slider-image-container {
    transform: scale(1.1);
}

.slider-image-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    background-color: var(--glow-color, transparent);
    border-radius: 50%;
    filter: blur(15px);
    /* Refined blur for a tighter glow */
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 1;
}

.slider-item:hover .slider-image-container::before {
    opacity: 0.7;
}

.slider-item .slider-image-container img {
    max-width: 100%;
    height: auto;
    max-height: 160px;
    /* Restored larger image size */
    position: relative;
    z-index: 2;
}

.slider-product-name {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.slider-product-price {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 700;
    color: #99ccff;
    margin-top: 0.25rem;
    /* Tightened margin */
}

/* 5.6 WHY US SECTION
    ------------------------------------- */
.why-us-section {
    padding: 6rem 0;
}

.why-us-section .section-title {
    margin-bottom: 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.why-us-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.why-us-item img {
    width: 160px;
    height: 160px;
    /* fill: #99ccff; Removed as it doesn't apply to img */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.why-us-item:hover img {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 10px #99ccff);
}

.why-us-item h3 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-text-color);
    letter-spacing: 1px;
}

/* 5.7 PRODUCT SHOWCASE SECTION
    ------------------------------------- */
.product-showcase-section {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    --glow-color: var(--accent-color-3);
    /* Default glow color */
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.showcase-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background-color: var(--glow-color);
    border-radius: 50%;
    filter: blur(50px);
    transform: translate(-50%, -50%);
    opacity: 0.3;
    z-index: 1;
}

#showcase-image {
    max-width: 80%;
    height: auto;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.showcase-image-wrapper:hover #showcase-image {
    transform: scale(1.05);
}

.showcase-title {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--glow-color);
    /* Use the dynamic color */
}

.showcase-description {
    color: var(--secondary-text-color);
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.showcase-features {
    list-style: none;
    margin-bottom: 2rem;
}

.showcase-features li {
    padding-left: 2rem;
    position: relative;
    color: var(--secondary-text-color);
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.showcase-features {
    list-style: none;
    margin-bottom: 2rem;
}

.showcase-features li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--glow-color);
    /* Use the dynamic color */
}

.showcase-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--glow-color);
    /* Use the dynamic color */
    font-weight: bold;
}

.showcase-price {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* 6. COMPONENTS
    ------------------------------------- */

/* Button */
.btn {
    display: inline-block;
    background: var(--accent-color-3);
    color: var(--primary-text-color);
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.btn:hover {
    background: var(--accent-color-hover);
    color: var(--bg-color);
    transform: scale(1.05);
}

#showcase-button {
    background-color: var(--glow-color);
}

#showcase-button:hover {
    background-color: var(--glow-color);
    /* Keep base color */
    color: var(--primary-text-color);
    /* Keep text white */
    filter: brightness(1.2);
    /* Brighten on hover */
    transform: scale(1.05);
    /* Keep scale effect */
}

/* 7. FOOTER
    ------------------------------------- */
footer {
    position: relative;
    padding: 6rem 0 2rem;
    background-image: url('https://res.cloudinary.com/dy7r0qqjr/image/upload/v1755444006/footer_wsehwy.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 0;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
}

.footer-logo {

    display: inline-flex;
    /* Fix alignment */
}

.footer-mission {
    color: #99ccff;
    margin-bottom: 1.5rem;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-legal {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-legal p {
    font-size: 0.8rem;
    color: var(--secondary-text-color);
    line-height: 1.4;
}

.footer-column h4 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--primary-text-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul a {
    color: var(--secondary-text-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-column ul a:hover {
    color: var(--primary-text-color);
    padding-left: 5px;
}

/* 8. ANIMATIONS & UTILITIES
    ------------------------------------- */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

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

@keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        /* Scroll by half the total width (the width of the original 7 items) */
        transform: translateX(calc(-280px * 7));
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translate(0, 0) rotate(0) scale(1.1);
    }

    25% {
        transform: translate(-2px, 2px) rotate(-2deg) scale(1.1);
    }

    50% {
        transform: translate(2px, -2px) rotate(2deg) scale(1.1);
    }

    75% {
        transform: translate(-2px, -2px) rotate(-2deg) scale(1.1);
    }
}

.anim-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.anim-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.color-accent-1 {
    color: var(--accent-color-1);
}

.color-accent-2 {
    color: var(--accent-color-2);
}

.color-accent-3 {
    color: var(--accent-color-3);
}

.hero-content .subtitle.text-glow-blue {
    color: #99ccff;
    text-shadow: 0 0 10px rgba(153, 204, 255, 0.8),
        0 0 25px rgba(153, 204, 255, 0.6);
}


/* 9. RESPONSIVE MEDIA QUERIES
    ------------------------------------- */
@media (max-width: 992px) {
    .why-us-item img {
        width: 130px;
        height: 130px;
    }

    .why-us-item h3 {
        font-size: 1rem;
    }

    .hero-content .title {
        font-size: 4rem;
    }

    nav ul li {
        margin-left: 1.5rem;
    }

    .showcase-grid {
        gap: 2rem;
    }

    .showcase-title {
        font-size: 1.8rem;
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem 2rem;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
    }

    .footer-column ul a:hover {
        padding-left: 0;
    }

    footer {
        background-attachment: scroll;
        /* Disables parallax on tablets & mobile for better performance */
        background-position: right center;
        /* Focuses on the right side of the image on smaller screens */
    }
}

@media (max-width: 768px) {
    .why-us-item img {
        width: 100px;
        height: 100px;
    }

    .why-us-item h3 {
        font-size: 0.95rem;
    }

    .main-nav {
        flex-direction: row;
    }

    .hamburger-menu {
        display: flex;
        width: 24px;
        height: 24px;
    }

    .hamburger-menu span {
        width: 28px;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background-color: #080808;
        z-index: 2000;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
        padding: 5rem 2rem 2rem;
    }

    nav.is-open {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    nav ul li {
        margin: 0;
        width: 100%;
    }

    nav ul li a {
        font-size: 1.1rem;
        padding: 1rem 0;
        display: block;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        transition: color 0.3s ease, padding-left 0.3s ease;
    }

    nav ul li a:hover {
        padding-left: 10px;
    }

    nav ul li:last-of-type a:not(.cart-icon) {
        border-bottom: none;
    }

    nav ul li a:not(.cart-icon):not(.active-nav-item):hover {
        animation: none;
        text-shadow: none;
        color: var(--accent-color-hover);
    }

    .cart-icon {
        padding: 1.5rem 0;
        font-size: 1.1rem;
    }

    .cart-icon svg {
        width: 16px;
        height: 16px;
    }

    .hero-content .title {
        font-size: 3rem;
    }

    main section {
        padding: 4rem 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .new-arrivals-grid {
        grid-template-columns: 1fr;
    }

    .slider-track {
        width: calc(220px * 14);
        animation-name: scroll-tablet;
    }

    .slider-item {
        width: 220px;
    }

    @keyframes scroll-tablet {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(calc(-220px * 7));
        }
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .showcase-details {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .showcase-features {
        text-align: left;
    }

    #showcase-image {
        max-width: 60%;
        margin-bottom: 2rem;
    }

    .footer-grid {
        gap: 3rem 2rem;
    }

    .footer-column ul {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .why-us-item img {
        width: 80px;
        height: 80px;
    }

    .why-us-item h3 {
        font-size: 0.9rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        padding-left: 0;
        gap: 0;
    }

    nav ul li {
        margin: 0;
    }

    .hero-content .title {
        font-size: 2.5rem;
    }

    .new-product-card .product-image-wrapper {
        height: 220px;
    }

    .new-product-card h3 {
        font-size: 1.3rem;
    }

    .slider-track {
        width: calc(180px * 14);
        animation-name: scroll-mobile;
    }

    .slider-item {
        width: 180px;
    }

    @keyframes scroll-mobile {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(calc(-180px * 7));
        }
    }
}

/* 10. ABOUT PAGE
    ------------------------------------- */
/* Ensure global background is black to prevent white flashes/areas */
html,
body {
    background-color: var(--bg-color);
}

.about-hero .title {
    color: #ffffff !important;
    /* Force white color */
}

.about-section {
    background-color: var(--bg-color);
    align-items: center;

    /* Ensure section background is black */
}

.about-content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content-wrapper.centered-layout {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 800px;
    padding-top: 60px;
    position: relative;
    z-index: 1;
}

.about-heading {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-text-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--secondary-text-color);
    margin-bottom: 1.5rem;
}

.casual-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: inline-block;
}

.casual-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--secondary-text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.casual-list li strong {
    color: var(--primary-text-color);
    font-weight: 600;
}

/* Video Transition */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    /* Behind video (z-index: 2) */
    will-change: transform;
}

.hero-video {
    transition: opacity 1.5s ease-out;
    opacity: 1;
}

.hero-video.video-hidden {
    opacity: 0;
}

@media (max-width: 768px) {
    .about-content-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .about-heading {
        font-size: 2rem;
    }
}

/* 11. CONTACT PAGE
    ------------------------------------- */

/* Contact Hero Section */
/* Contact Form Section */
s .contact-form-section {
    background-color: var(--bg-color);
    padding: 2rem 0;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-form-heading {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-text-color);
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-hero {
    height: 100vh;
    min-height: 100px;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
    transform: scale(1.0);
}

.contact-hero .title {
    color: #ffffff !important;
}


.contact-form-description {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--secondary-text-color);
    margin-bottom: 3rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--primary-text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.form-group .required {
    color: #5397da;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--primary-text-color);
    font-family: var(--font-secondary);
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color-hover);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(153, 204, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Submit Button with Glow Effect */
/* Contact Submit Button with Glow Effect */
.contact-submit-btn {
    background: linear-gradient(180deg, #007fff, #012a3d);
    color: #000;
    padding: 1rem 3rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    align-self: center;
    margin-top: 1rem;
}

.contact-submit-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(153, 204, 255, 0.4), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.contact-submit-btn:hover::before {
    opacity: 1;
}

.contact-submit-btn:hover,
.woocommerce .contact-submit-btn:hover,
.woocommerce-page .contact-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(153, 204, 255, 0.6),
        0 0 60px rgba(153, 204, 255, 0.4),
        0 0 90px rgba(153, 204, 255, 0.2);
    color: #000 !important;
}

.contact-submit-btn:active {
    transform: translateY(-1px);
}

.contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Goto Shop Button (Empty Cart) */
.goto-shop-btn {
    background: linear-gradient(180deg, #007fff, #012a3d);
    color: #000;
    padding: 1rem 3rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    align-self: center;
    margin-top: 1rem;
    text-decoration: none;
    display: inline-block;
}

.goto-shop-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(153, 204, 255, 0.4), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.goto-shop-btn:hover::before {
    opacity: 1;
}

.goto-shop-btn:hover,
.woocommerce .goto-shop-btn:hover,
.woocommerce-page .goto-shop-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(153, 204, 255, 0.6),
        0 0 60px rgba(153, 204, 255, 0.4),
        0 0 90px rgba(153, 204, 255, 0.2);
    color: #000 !important;
}

.goto-shop-btn:active {
    transform: translateY(-1px);
}

.goto-shop-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* Form Messages */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    margin-top: 1rem;
}

.form-message.success {
    background-color: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
}

.form-message.error {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
}

/* Responsive Contact Form */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 2rem;
    }
}

/* 11. CONTACT PAGE
    ------------------------------------- */

/* Contact Hero Section */
/* Contact Form Section */
.contact-form-section {
    background-color: var(--bg-color);
    padding: 2rem 0;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-form-heading {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-text-color);
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-hero {
    height: 100vh;
    min-height: 100px;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
    transform: scale(1.0);
}

.contact-hero .title {
    color: #ffffff !important;
}


.contact-form-description {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--secondary-text-color);
    margin-bottom: 3rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--primary-text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.form-group .required {
    color: #5397da;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--primary-text-color);
    font-family: var(--font-secondary);
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 6. MK677 PRODUCT PAGE
    ------------------------------------- */

.mk677-main-content {
    padding-top: 120px;
    /* Space for fixed header */
    transition: opacity 1s ease-in;
    min-height: 100vh;
}

.breadcrumbs {
    margin-bottom: 2rem;
    color: var(--secondary-text-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    /* Uppercase breadcrumbs */
}

.breadcrumbs a {
    color: var(--secondary-text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--accent-color-hover);
}

.breadcrumbs span {
    color: var(--primary-text-color);
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.product-image-column {
    display: flex;
    justify-content: center;
}

.product-image-wrapper.hover-animation {
    animation: hoverFloat 4s ease-in-out infinite;
}

@keyframes hoverFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

.main-product-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

.product-info-column {
    opacity: 0;
    animation: fadeInRight 1s ease-out forwards;
    animation-delay: 0.5s;
    /* Wait for main content fade in */
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

.product-title {
    font-size: 4rem;
    font-weight: 800;
    opacity: 1;
}

.contact-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(153, 204, 255, 0.6),
        0 0 60px rgba(153, 204, 255, 0.4),
        0 0 90px rgba(153, 204, 255, 0.2);
}

.contact-submit-btn:active {
    transform: translateY(-1px);
}

.contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form Messages */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    margin-top: 1rem;
}

.form-message.success {
    background-color: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
}

.form-message.error {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
}

/* Responsive Contact Form */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 2rem;
    }

    .contact-form-heading {
        font-size: 2rem;
    }

    .contact-submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-form-heading {
        font-size: 1.8rem;
    }
}

/* 6. MK677 PRODUCT PAGE
    ------------------------------------- */
#mk677-video-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}

#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#skip-video-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

#skip-video-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mk677-main-content {
    padding-top: 120px;
    /* Space for fixed header */
    transition: opacity 1s ease-in;
    min-height: 100vh;
}

.breadcrumbs {
    margin-bottom: 2rem;
    color: var(--secondary-text-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    /* Uppercase breadcrumbs */
}

.breadcrumbs a {
    color: var(--secondary-text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--accent-color-hover);
}

.breadcrumbs span {
    color: var(--primary-text-color);
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.product-image-column {
    display: flex;
    justify-content: center;
}

.product-image-wrapper.hover-animation {
    animation: hoverFloat 4s ease-in-out infinite;
}

@keyframes hoverFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

.main-product-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

.product-info-column {
    opacity: 0;
    animation: fadeInRight 1s ease-out forwards;
    animation-delay: 0.5s;
    /* Wait for main content fade in */
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

.product-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 0.1rem;
    line-height: 1;
    background: linear-gradient(to bottom, #fff, #8e8e8e);
    -webkit-background-clip: text;
    background-clip: text;
    /* Fix lint */
    -webkit-text-fill-color: transparent;
}

.product-price {
    font-size: 2.5rem;
    /* Increased size */
    color: #99ccff;
    /* Glowing blue style */
    font-weight: 700;
    margin-bottom: 2rem;
    margin-top: 0;
    /* Closer to title */
    text-shadow: 0 0 10px rgba(121, 180, 199, 0.5);
    /* Blue glow */
}

.add-to-cart-form {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.qty-btn {
    background: #222;
    border: none;
    color: #fff;
    width: 40px;
    height: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.qty-btn:hover {
    background: #333;
}

#quantity {
    background: #2c2c2c;

    color: #fff;
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 1.1rem;
    -moz-appearance: textfield;
    appearance: textfield;
}

#quantity::-webkit-outer-spin-button,
#quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-to-cart-btn {
    background: #cfcfcf;
    color: #000;
    border: none;
    padding: 0 2rem;
    height: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s, filter 0.2s;

}

.add-to-cart-btn:hover {
    background: #fff;
    box-shadow: 0 0 25px #e9e9e9;
}

.description-box-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 6rem;
}

.description-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://res.cloudinary.com/dy7r0qqjr/image/upload/v1764058174/cloud-mk-white_koaoas.webp') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.description-box>* {
    position: relative;
    z-index: 1;
}

.description-box h2 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.1rem;
    line-height: 1;
    background: linear-gradient(to bottom, #fff, #8e8e8e);
    -webkit-background-clip: text;
    background-clip: text;
    /* Fix lint */
    -webkit-text-fill-color: transparent;
}

.product-price {
    font-size: 2.5rem;
    /* Increased size */
    color: #99ccff;
    /* Glowing blue style */
    font-weight: 700;
    margin-bottom: 2rem;
    margin-top: 0;
    /* Closer to title */
    text-shadow: 0 0 10px rgba(145, 189, 233, 0.673);
    /* Blue glow */
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.qty-btn {
    background: #1c1c1c;
    border: none;
    color: #fff;
    width: 40px;
    height: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.qty-btn:hover {
    background: #333;
}

#quantity::-webkit-outer-spin-button,
#quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-to-cart-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 0 2rem;
    height: 50px;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s, filter 0.2s;
    flex-grow: 1;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    filter: brightness(0.9);
}

.description-box-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 6rem;
}

.description-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.description-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://res.cloudinary.com/dy7r0qqjr/image/upload/v1764058174/cloud-mk-white_koaoas.webp') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.description-box>* {
    position: relative;
    z-index: 1;
}

.description-box h2 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    letter-spacing: 2px;
}

.protocol-divider {
    height: 1px;
    background: #605d5d;
    width: 100px;
    margin: 0 auto 1rem auto;
}

.description-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.desc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Left Column Items (Odd) */
.desc-item:nth-child(odd) {
    flex-direction: row;
    text-align: left;
    justify-content: flex-start;
    padding-left: 140px;
    /* Move towards middle */
}

/* Right Column Items (Even) */
.desc-item:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
    justify-content: flex-start;
    padding-right: 140px;
    /* Move towards middle */
}

.product-benefits ul {
    padding-left: 0;
}

.product-benefits li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.check-icon {
    gap: 1rem;
}

.desc-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    /* White circle */
    border-radius: 50%;
    /* Black icon */
    flex-shrink: 0;
}

.desc-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.desc-text {
    display: flex;
    flex-direction: column;
}

.desc-text strong {
    color: #fff;
    /* White label */
    font-size: 0.9rem;
    text-transform: uppercase;
}

.desc-text span {
    color: var(--secondary-text-color);
}

.additional-info {
    line-height: 2.5;
    color: #b8b8b8;
    font-size: x-large;
}

.product-slider-section {
    margin-top: 4rem;
    /* Ensure spacing */
}

@media (max-width: 1200px) {
    .desc-item:nth-child(odd) {
        padding-left: 70px;
    }

    .desc-item:nth-child(even) {
        padding-right: 70px;
    }

    .additional-info {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .product-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .product-info-column {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .product-benefits li {
        justify-content: center;
    }

    .description-grid {
        grid-template-columns: 1fr 1fr;
        /* Keep side-by-side on mobile */
        gap: 2.5rem;
    }

    /* Reset padding and adjust for mobile */
    .desc-item:nth-child(odd) {
        padding-left: 0;
        gap: 0.5rem;
    }

    .desc-item:nth-child(even) {
        padding-right: 0;
        gap: 0.5rem;
    }

    /* Shrink text for mobile */
    .desc-text strong {
        font-size: 0.7rem;
    }

    .desc-text span {
        font-size: 0.7rem;
    }

    .desc-icon {
        width: 30px;
        height: 30px;
    }

    .desc-icon svg {
        width: 16px;
        height: 16px;
    }

    .additional-info {
        font-size: 1.1rem;
    }
}

/* WooCommerce Password Input Fix */
.woocommerce form .show-password-input,
.woocommerce-page form .show-password-input {
    appearance: none;
}

/* 6. TOAST NOTIFICATIONS (WooCommerce Messages)
    ------------------------------------- */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    position: fixed;
    top: 150px;
    right: 10px;
    z-index: 9999;
    max-width: 300px;
    width: 90%;
    /* Responsive width */
    padding: 1rem 1rem;
    background-color: rgba(10, 10, 10, 0.95);
    /* Slightly transparent dark */
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border: none;
    /* User requested no border */
    border-left: 2px solid;
    /* Keep accent only */
    font-family: var(--font-primary);
    font-size: 0.75rem;
    /* Smaller font */
    font-weight: 600;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Space out text and button */
    gap: 1rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    /* Glass effect */
    pointer-events: auto !important;
    /* Ensure interactive */

    /* Animation State: Hidden initially */
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s ease;
    /* Smooth easing */
}

/* Success Message Specifics */
.woocommerce-message {
    border-left-color: #00e676;
    /* Neon Green */
    box-shadow: -5px 0 20px -5px rgba(0, 230, 118, 0.2);
    /* Subtle green glow */
}

/* Error Message Specifics */
.woocommerce-error {
    border-left-color: var(--accent-color-1);
    /* Red/Pink */
    box-shadow: -5px 0 20px -5px rgba(233, 30, 99, 0.2);
}

/* Info Message Specifics */
.woocommerce-info {
    border-left-color: var(--accent-color-3);
    /* Blue */
    box-shadow: -5px 0 20px -5px rgba(3, 169, 244, 0.2);
}

/* Visible State (Added by JS) */
.sarms-toast-visible {
    transform: translateX(0);
    opacity: 1;
}

/* Button inside messages (like "View Cart") */
.woocommerce-message .button,
.woocommerce-error .button,
.woocommerce-info .button {
    float: none !important;
    display: inline-block;
    background-color: #007fff !important;
    /* Force Blue */
    color: #fff !important;
    padding: 0.4rem 1rem;
    /* Slightly smaller button padding */
    border-radius: 30px;
    font-size: 0.75rem;
    /* Smaller button font */
    text-transform: uppercase;
    font-weight: 800;
    margin-left: auto;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 127, 255, 0.4);
    border: none !important;
}

.woocommerce-message .button:hover,
.woocommerce-error .button:hover,
.woocommerce-info .button:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(0, 127, 255, 0.6);
    background-color: #007fff !important;
    color: #fff !important;
}

/* Links inside general text */
.woocommerce-message a:not(.button),
.woocommerce-error a:not(.button),
.woocommerce-info a:not(.button) {
    color: inherit;
    text-decoration: underline;
    font-weight: 700;
}

/* Hide Undo Link as per request (Functionality not viable due to session issues) */
.woocommerce-message a.restore-item {
    display: none !important;
}

/* Icon / List cleanup */
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
    display: none;
    /* Remove default WC icons if present via CSS */
}

.woocommerce-error {
    list-style: none;
    /* Remove bullets */
    margin: 0;
}

.woocommerce-error li {
    margin: 0;
}

/* --- WooCommerce Cart Styles (Generalized) --- */

/* Wrapper */
.woocommerce {
    color: var(--primary-text-color);
}

/* Page Title (if present) */
.woocommerce h1.entry-title {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Cart Table */
.woocommerce table.shop_table {
    border: none !important;
    border-radius: 16px;
    border-collapse: separate !important;
    background: transparent !important;
    margin-bottom: 40px;
}

.woocommerce table.shop_table th {
    background: transparent !important;
    color: var(--secondary-text-color) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 15px;
    font-weight: 600;
}

.woocommerce table.shop_table td {
    background: var(--card-bg) !important;
    /* Dark card background */
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 20px 15px;
    vertical-align: middle;
    transition: background 0.3s ease;
}

/* Rounded corners for rows */
.woocommerce table.shop_table tr td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.woocommerce table.shop_table tr td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.woocommerce table.shop_table tr:hover td {
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Product Images */
.woocommerce table.shop_table td.product-thumbnail img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    width: 80px;
    height: auto;
}

/* Product Name */
.woocommerce table.shop_table td.product-name a {
    color: var(--primary-text-color) !important;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.woocommerce table.shop_table td.product-name a:hover {
    color: var(--accent-color-3) !important;
}

/* Remove Button (x) */
.woocommerce table.shop_table td.product-remove a.remove {
    color: #ff4444 !important;
    font-weight: bold;
    background: rgba(255, 68, 68, 0.1) !important;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    border: none !important;
}

.woocommerce table.shop_table td.product-remove a.remove:hover {
    background: #ff4444 !important;
    color: #fff !important;
    box-shadow: 0 0 10px #ff4444;
}

/* Price & Quantity */
.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal {
    font-weight: 600;
    color: var(--accent-color-3) !important;
    font-size: 1rem;
}

.woocommerce .quantity input.qty {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid var(--border-color) !important;
    color: #fff !important;
    border-radius: 6px;
    padding: 8px;
    width: 80px;
    text-align: center;
}

/* Coupon & Actions Bar */
.woocommerce table.shop_table tr.cart_item+tr td.actions {
    background: transparent !important;
    padding: 30px 0;
    border: none !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.woocommerce .coupon {
    display: flex;
    gap: 10px;
    align-items: center;
}

.woocommerce .coupon input.input-text {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border-color) !important;
    color: #fff !important;
    padding: 12px 15px;
    border-radius: 8px;
    outline: none;
    min-width: 150px;
    transition: all 0.3s;
}


/* Cart Totals Section */
.cart-collaterals {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
}

.cart_totals {
    width: 100%;
    max-width: 500px;
    background: rgba(20, 20, 20, 0.8) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color) !important;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cart_totals h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--accent-color-3);
    padding-bottom: 15px;
    margin-bottom: 25px;
    display: inline-block;
}

.cart_totals table.shop_table {
    border: none !important;
    background: transparent !important;
    margin: 0;
    width: 100%;
    border-radius: 0;
    border-spacing: 0 !important;
}

.cart_totals table.shop_table th {
    text-align: left;
    padding: 15px 0;
    font-weight: 400;
    color: var(--secondary-text-color) !important;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: transparent !important;
}

.cart_totals table.shop_table td {
    text-align: right;
    padding: 15px 0;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
}

.cart_totals table.shop_table tr.order-total th,
.cart_totals table.shop_table tr.order-total td {
    border-bottom: none !important;
    padding-top: 25px;
    font-size: 1.2rem;
    color: var(--accent-color-3) !important;
    font-weight: 800;
}

/* Proceed to Checkout Button */
.wc-proceed-to-checkout {
    margin-top: 30px;
}

.wc-proceed-to-checkout a.checkout-button {
    background: var(--accent-color-3) !important;
    color: #fff !important;
    display: block;
    width: 100%;
    text-align: center;
    padding: 18px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 0 20px rgba(3, 169, 244, 0.3);
}

.wc-proceed-to-checkout a.checkout-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(3, 169, 244, 0.6);
    background: #29b6f6 !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .woocommerce table.shop_table {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
        border-radius: 0;
    }

    .woocommerce table.shop_table thead {
        display: none;
    }

    .woocommerce table.shop_table tbody,
    .woocommerce table.shop_table tfoot {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }

    .woocommerce table.shop_table tr {
        display: block;
        background: var(--card-bg) !important;
        margin-bottom: 20px;
        border-radius: 12px;
        position: relative;
        padding-top: 20px;
        width: 100% !important;
        box-sizing: border-box;
    }

    .woocommerce table.shop_table td {
        display: flex;
        justify-content: right;
        align-items: center;
        border: none !important;
        padding: 10px 20px;
        text-align: right;
        background: transparent !important;
        width: 100% !important;
        box-sizing: border-box;
        gap: 10px;
    }

    .woocommerce table.shop_table td::before {
        content: attr(data-title);
        font-weight: 700;
        color: var(--secondary-text-color);
        text-transform: uppercase;
        font-size: 0.8rem;
        float: left;
    }

    .woocommerce table.shop_table td.product-remove {
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 0;
        border: none !important;
        background: transparent !important;
        width: auto;
    }

    .woocommerce table.shop_table td.product-thumbnail {
        justify-content: center;
        padding-bottom: 20px;
    }

    .woocommerce table.shop_table td.product-thumbnail::before {
        display: none;
    }

    .woocommerce table.shop_table tr td:first-child,
    .woocommerce table.shop_table tr td:last-child {
        border-radius: 0;
        border: none !important;
    }

    .woocommerce .coupon {
        flex-direction: column;
        width: 100%;
    }

    .woocommerce .coupon input.input-text {
        width: 100%;
    }

    .cart_totals {
        padding: 20px;
    }
}

/* Cart Page Fixes */

/* 1. Hide Cross-Sells ("You may be interested in...") */
.woocommerce-cart .cross-sells {
    display: none !important;
}

/* 2. Fix Proceed to Checkout Button Alignment */
.woocommerce-cart .wc-proceed-to-checkout {
    display: block;
    width: 100%;
    padding: 1rem 0;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0;
    box-sizing: border-box;
}

/* 3. Fix Apply Coupon Button Text */
.woocommerce-cart .coupon {
    display: flex;
    align-items: stretch;
    /* Match height of input and button */
    flex-wrap: wrap;
    /* Allow wrapping on very small screens if absolutely necessary, but keep together mostly */
}

.woocommerce-cart .coupon .input-text {
    flex: 1;
    /* Take up available space */
    min-width: 150px;
}

.woocommerce-cart .coupon button[name="apply_coupon"] {
    white-space: nowrap;
    /* Prevent text wrapping */
    width: auto;
    /* Let it size to content */
    flex-shrink: 0;
    /* Don't shrink smaller than content */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    /* Allow it to match input height if flexed */
}

/* Ensure container alignment for cart totals */
.woocommerce-cart .cart_totals {
    width: 100%;
    float: none;
    margin-top: 2rem;
}

/* Shop Page Responsive Scaling */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
    font-size: clamp(0.9rem, 1.5vw + 0.5rem, 1.3rem) !important;
}

.woocommerce ul.products li.product .price {
    font-size: clamp(0.9rem, 1.5vw + 0.4rem, 1.1rem) !important;
}

.woocommerce ul.products li.product .button {
    font-size: clamp(0.75rem, 1.5vw + 0.2rem, 1rem) !important;
    padding: clamp(0.5rem, 1vw, 0.75rem) clamp(1rem, 2vw, 1.5rem) !important;
}

/* Force 3-column grid between 769px and 1300px */

/* Checkout Thumbnail Styles */
.woocommerce-checkout-review-order-table .product-name img {
    width: 50px;
    height: auto;
    margin-right: 15px;
    vertical-align: middle;
    border-radius: 4px;
    display: inline-block;
}


.woocommerce-checkout-review-order-table .product-name {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .woocommerce-checkout-review-order-table .product-name {
        justify-content: flex-end;
        text-align: right;
    }
}

/* Mobile Cart Icon in Header */
.mobile-cart-icon {
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-left: auto;
    /* Push to the right next to hamburger */
    margin-right: 15px;
    color: var(--primary-text-color);
}

.mobile-cart-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-text-color);
    transition: fill 0.3s ease;
}

.mobile-cart-icon:hover svg {
    fill: var(--accent-color-hover);
}

@media (max-width: 768px) {
    .mobile-cart-icon {
        display: flex;
    }
}

@media (min-width: 769px) {
    .mobile-cart-icon {
        display: none !important;
    }
}

/* Mobile Center Popup Messages */
@media (max-width: 768px) {
    .woocommerce-notices-wrapper {
        position: fixed;
        /* Keep it fixed so it stays on screen/pops up */
        top: 20px;
        /* Revert to top positioning (simulating 'height it was before' but fixed) OR absolute */
        left: 50%;
        transform: translateX(-50%);
        /* Only horizontal centering */
        z-index: 10000;
        width: 85%;
        max-width: 350px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        /* Top align */
        align-items: center;
        background: transparent;
        pointer-events: none;
        /* Allows clicks to pass through empty wrapper */
    }

    .woocommerce-message,
    .woocommerce-error,
    .woocommerce-info {
        position: relative;
        width: 100%;
        margin-bottom: 15px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
        border: 1px solid var(--accent-color, #00BFFF);
        background-color: #0d0d0d;
        color: #fff;
        text-align: center;
        border-radius: 12px;
        padding: 20px;
        pointer-events: auto;
        /* Enable clicks on messages */
        z-index: 10001;
        animation: fadeScale 0.4s ease-out;
        box-sizing: border-box;
    }

    /* Stack icon and center content */
    .woocommerce-message::before,
    .woocommerce-info::before,
    .woocommerce-error::before {
        position: static;
        display: block;
        margin: 0 auto 10px auto;
        font-size: 2rem;
        line-height: 1;
    }

    /* Center text */
    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* Center buttons inside messages (e.g. View Cart) */
    .woocommerce-message .button,
    .woocommerce-error .button,
    .woocommerce-info .button {
        float: none !important;
        display: block;
        margin: 15px auto 0 auto;
        width: 100%;
        text-align: center;
        background: var(--accent-color, #00BFFF);
        color: #fff;
        border-radius: 6px;
    }

    /* Keyframe for popup animation */
    @keyframes fadeScale {
        from {
            opacity: 0;
            transform: scale(0.9);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }
}

/* Cart & Checkout Header Spacing */
.woocommerce-cart .container h1,
.woocommerce-checkout .container h1 {
    margin-top: 4rem !important;
    margin-bottom: 4rem !important;
}

/* RAD140 Page Fix - Header Overlap */
.rad140-main-content {
    padding-top: 100px;
}

@media (max-width: 768px) {
    .rad140-main-content {
        padding-top: 80px;
    }
}