/* Sporty Theme - mshteams */
:root {
    --primary-color: #cfff04;
    /* Neon Green */
    --secondary-color: #00d2ff;
    /* Electric Blue */
    --dark-bg: #1a1a1a;
    --darker-bg: #0d0d0d;
    --text-light: #f0f0f0;
    --card-bg: #262626;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: 'Open Sans', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-style: italic;
    /* Sporty feel */
}

/* Navbar */
.navbar {
    background-color: rgba(13, 13, 13, 0.95);
    border-bottom: 2px solid var(--primary-color);
}

.navbar-brand {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
    font-weight: bold;
    font-style: italic;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}
#main {
    margin-top: 125px;
}
/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://msh.simpleonline.es/uploads/2026/01//20260106131759_11.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 0px #000;
}

/* Buttons */
.btn-sporty {
    background-color: var(--primary-color);
    color: #000;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 30px;
    border: none;
    transform: skew(-20deg);
    transition: all 0.3s;
    display: inline-block;
}

.btn-sporty span {
    display: inline-block;
    transform: skew(20deg);
    /* Unskew text */
}

.btn-sporty:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: skew(-20deg) scale(1.05);
}

/* Cards */
.card-sporty {
    background-color: var(--card-bg);
    border: none;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
}

.card-sporty::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s;
}

.card-sporty:hover {
    transform: translateY(-10px);
}

.card-sporty:hover::before {
    transform: scaleY(1);
}

.card-title {
    color: var(--primary-color);
    font-family: 'Oswald', sans-serif;
}

/* Section Types */
.section-title {
    border-left: 5px solid var(--secondary-color);
    padding-left: 20px;
    margin-bottom: 40px;
}

.footer {
    background-color: var(--darker-bg);
    padding: 50px 0;
    margin-top: 50px;
    border-top: 5px solid var(--primary-color);
}

/* --- CMS Specific Adaptations --- */

/* Body Override */
body.catalog {
    background-color: var(--dark-bg);
}

/* Navbar Overrides for CMS */
nav.navbar.fixed-top.shadow-lg {
    background-color: rgba(13, 13, 13, 0.95) !important;
    /* Ensure consistency */
    border-bottom: 2px solid var(--primary-color);
}

/* Sidebar Filters */
.clickontitle {
    font-family: 'Oswald', sans-serif;
    color: var(--primary-color);
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    margin-top: 20px;
    cursor: pointer;
    text-transform: uppercase;
}

.clickontitle:hover {
    color: var(--secondary-color);
}

.canvaontitle {
    padding: 10px 0;
}

.category-item label {
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.category-item label:hover {
    color: var(--primary-color);
}

input[type="checkbox"] {
    accent-color: var(--primary-color);
    /* Sporty checkbox color */
}

/* CMS Product Card (Anchor Tag) */
a.card {
    background-color: var(--card-bg);
    border: none;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
    display: block;
    /* Ensure it behaves like a block */
    height: 100%;
}

a.card:hover {
    transform: translateY(-10px);
    z-index: 10;
}

/* Reuse the sporty striped effect */
a.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s;
    z-index: 2;
}

a.card:hover::before {
    transform: scaleY(1);
}

a.card .card-body {
    padding: 1rem;
}

a.card .card-title {
    color: var(--primary-color);
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

a.card .card-text {
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}

a.card img {
    transition: opacity 0.3s;
}

a.card:hover img {
    opacity: 0.8;
}

/* Pagination */
.pagination {
    margin-top: 2rem;
}

.page-item .page-link {
    background-color: var(--card-bg);
    border: 1px solid #333;
    color: var(--text-light);
    border-radius: 0;
    /* Boxy look */
    font-family: 'Oswald', sans-serif;
    transition: all 0.3s;
}

.page-item .page-link:hover {
    background-color: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

.page-item.active .page-link {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #000;
}

.page-item.disabled .page-link {
    background-color: #111;
    color: #555;
    border-color: #222;
}

/* Primary Button (CMS uses btn-primary) */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 0;
    transform: skew(-10deg);
    padding: 8px 20px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #fff !important;
}

/* Range Slider input (if appearing in CMS later) */
input[type=range] {
    accent-color: var(--primary-color);
}

/* --- CMS Product Detail Page --- */

/* Product Title */
#main h2 {
    font-family: 'Oswald', sans-serif;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Product Price */
#main .lead {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1rem;
}

/* SKU and Meta */
#main small {
    display: block;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-light);
    font-size: 0.9rem;
}

#main small strong {
    color: var(--secondary-color);
}

/* Form Controls (Quantity, etc) */
#main .form-control {
    background-color: var(--card-bg);
    border: 1px solid #333;
    color: #fff;
    border-radius: 0;
}

#main .form-control:focus {
    background-color: var(--card-bg);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(207, 255, 4, 0.25);
}

/* Share Section */
.share-section {
    color: var(--text-light);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}

.share-section .list-group-horizontal {
    margin-top: 10px;
}

.share-section a svg {
    color: var(--text-light);
    transition: color 0.3s, transform 0.3s;
}

.share-section a:hover svg {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Related Products Heading */
#main h3 {
    font-family: 'Oswald', sans-serif;
    color: #fff;
    text-transform: uppercase;
    margin-top: 3rem;
    border-left: 5px solid var(--secondary-color);
    padding-left: 15px;
}

/* Modal Styling */
.modal-content {
    background-color: var(--dark-bg);
    border: 1px solid #333;
}

.modal-header {
    border-bottom: 1px solid #333;
}

.modal-title {
    color: var(--primary-color);
    font-family: 'Oswald', sans-serif;
}

.modal-body {
    background-color: #000;
    /* Darker for image focus */
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Carousel Indicators/Controls override if needed */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) hue-rotate(90deg) drop-shadow(0 0 2px var(--primary-color));
}
