/* Estilos base para cumplir con los requisitos */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #e67e22;
    --success-color: #27ae60;
    --info-color: #2980b9;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--primary-color);
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

input,
select,
textarea {
    color: var(--primary-color);
}

/* 100% del ancho disponible */
.container-fluid {
    width: 100%;
    margin: 0;
    padding: 0 2rem;
}

@media (min-width: 992px) {
    .container-fluid {
        width: 80%;
        margin: 0 auto;
    }
}

/* Header structure */
header {
    background-color: white;
    color: #2c3e50;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.header-custom-html {
    width: 100%;
    box-sizing: border-box;
}

.header-main-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo a {
    text-decoration: none;
    color: inherit;
}

.header-logo-picture {
    display: block;
}

.header-logo-image {
    display: block;
    max-height: 60px;
    width: auto;
}

.logo-text {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #2c3e50;
}

.header-search {
    flex-grow: 1;
    max-width: 600px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-search-desktop {
    flex: 1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.header-search form {
    display: flex;
    width: 100%;
    flex: 1;
}

.header-search input {
    flex-grow: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-right: none;
    outline: none;
    font-size: 1rem;
}

.header-search button {
    padding: 0.75rem 1.5rem;
    background-color: #2c3e50;
    color: white;
    border: 1px solid #2c3e50;
    cursor: pointer;
    font-weight: bold;
}

.header-actions {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.icon-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.icon-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.icon-image-cart {
    position: relative;
}

.cart-indicator-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #16a34a;
    border: 1px solid #ffffff;
}

.icon-image img {
    max-width: 100%;
    max-height: 100%;
}

.header-language {
    position: relative;
}

.menu-toggle-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    background-image: var(--menu-icon-closed, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M18 8 C36 20 36 44 18 56' fill='none' stroke='%232c3e50' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M24 32 H54' fill='none' stroke='%232c3e50' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M46 24 L54 32 L46 40' fill='none' stroke='%232c3e50' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M22 16 L22 48' fill='none' stroke='%232c3e50' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"));
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px 28px;
    cursor: pointer;
    gap: 0.5rem;
}

.menu-toggle-text {
    display: none;
}

.menu-toggle-mobile {
    display: none;
}

.menu-toggle-desktop {
    border-color: transparent;
    background-color: transparent;
    width: auto;
    padding: 0 0 0 52px;
    background-position: left center;
    overflow: visible;
}

.menu-toggle-icon-right {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    background-image: var(--menu-icon-right-closed, var(--menu-icon-closed-desktop, var(--menu-icon-closed, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M18 8 C36 20 36 44 18 56' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M24 32 H54' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M46 24 L54 32 L46 40' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M22 16 L22 48' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"))));
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px 28px;
    margin-left: 1rem;
}

.menu-toggle-desktop .menu-toggle-text {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ffffff;
    text-transform: uppercase;
    margin-left: 1rem;
}

.language-dropdown {
    cursor: pointer;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f9f9f9;
}

.language-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    border: 1px solid #ddd;
    border-top: none;
}

.language-dropdown:hover .language-content {
    display: block;
}

.lang-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-btn:hover {
    background-color: #f5f5f5;
}

.header-nav-bar {
    background-color: #2c3e50;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 66px;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.main-menu {
    flex-grow: 1;
}

.root-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.menu-item {
    position: relative;
}

.menu-item-archeryindex {
    margin-left: auto;
}

.menu-item > .menu-primary-link {
    color: white;
    text-decoration: none;
    padding: 1.25rem 1.5rem;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background-color 0.2s;
}

.menu-item > .menu-primary-link:hover,
.menu-item > .menu-primary-link:focus-visible {
    background-color: #34495e;
}

.menu-item-academy > .menu-primary-link {
    color: #e67e22;
}

.menu-item-toggle {
    display: flex;
    align-items: center;
}

.menu-item-toggle .menu-toggle-desktop {
    width: auto;
    height: auto;
}

.header-nav-bar .menu-toggle {
    background-image: var(--menu-icon-closed-desktop, var(--menu-icon-closed, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M18 8 C36 20 36 44 18 56' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M24 32 H54' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M46 24 L54 32 L46 40' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M22 16 L22 48' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")));
}

.menu-toggle-input:checked ~ .header-main-info .menu-toggle,
.menu-toggle-input:checked ~ .header-nav-bar .menu-toggle {
    background-image: var(--menu-icon-open, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M18 8 C36 20 36 44 18 56' fill='none' stroke='%232c3e50' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M22 16 L22 48' fill='none' stroke='%232c3e50' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"));
}

.menu-toggle-input:checked ~ .header-nav-bar .menu-toggle {
    background-image: var(--menu-icon-open-desktop, var(--menu-icon-open, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M18 8 C36 20 36 44 18 56' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M22 16 L22 48' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")));
}

.menu-toggle-input:checked ~ .header-nav-bar .menu-toggle-icon-right {
    background-image: var(--menu-icon-right-open, var(--menu-icon-open-desktop, var(--menu-icon-open, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M18 8 C36 20 36 44 18 56' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M22 16 L22 48' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"))));
}

.menu-popup {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: white;
    border-top: 1px solid #eee;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1200;
    --menu-right-row-height: 190px;
}

.menu-toggle-input:checked ~ .menu-popup {
    display: block;
}

.menu-popup-inner {
    display: flex;
    min-height: 320px;
}

.menu-left {
    width: 30%;
    border-right: 1px solid #eee;
    padding: 1rem;
}

.menu-right {
    width: 70%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.menu-search-mobile {
    display: none;
    margin-bottom: 1rem;
}

.menu-archeryindex-mobile {
    display: none;
}

.menu-archeryindex-mobile-link {
    display: block;
    text-decoration: none;
    font-weight: 700;
    color: #2c3e50;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.menu-archeryindex-mobile-link-academy {
    color: #e67e22;
}

.menu-archeryindex-mobile-link:hover {
    color: var(--accent-color);
}

.menu-archeryindex-mobile-link-academy:hover {
    color: #e67e22;
}

.menu-search-mobile input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.menu-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-category {
    border-bottom: 1px solid #eee;
}

.menu-category-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.85rem 0;
}

.menu-category-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
}

.menu-category-link:hover {
    color: var(--accent-color);
}

.menu-category-toggle {
    border: none;
    background: none;
    cursor: pointer;
    color: transparent;
    font-size: 0;
    line-height: 1;
    padding: 0.25rem 0.5rem;
}

.menu-category-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu-category-icon img {
    max-width: 100%;
    max-height: 100%;
}

.menu-category-icon-placeholder {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 50%;
}

.menu-right-default {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.menu-popup.has-active-panel .menu-right-default {
    display: none;
}

.menu-right-panel {
    display: none;
}

.menu-right-panel.is-active {
    display: block;
}

.menu-featured-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    min-height: var(--menu-right-row-height, 190px);
    align-content: center;
}

.menu-brand-logo {
    max-width: var(--brand-logo-max-width, 140px);
    max-height: var(--brand-logo-max-height, 60px);
    object-fit: contain;
}

.menu-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scroll-behavior: smooth;
    flex: 1;
    scrollbar-width: none;
}

.menu-carousel::-webkit-scrollbar {
    display: none;
}

.menu-carousel-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: #fff;
    color: #2c3e50;
    font-size: 1.25rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu-carousel-btn:hover {
    background: #f5f5f5;
}

.menu-product-card {
    min-width: 160px;
    flex: 0 0 160px;
    border: 1px solid #eee;
    padding: 0.5rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: var(--menu-right-row-height, 190px);
}

.menu-product-card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    background: #f9f9f9;
    display: block;
}

.menu-product-info h4 {
    font-size: 0.85rem;
    margin: 0.5rem 0 0.25rem;
}

.menu-product-info h4 a {
    color: inherit;
    text-decoration: none;
}

.menu-product-info h4 a:hover {
    text-decoration: none;
}

.menu-product-info p {
    margin: 0;
    font-weight: 600;
    color: #2c3e50;
}

.menu-product-image-only {
    padding: 0.25rem;
}

.menu-product-image-only img {
    height: 90px;
}

.menu-subcategories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.menu-subcategory-title {
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
}

.menu-right-panel h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.menu-right-panel h3 a:hover {
    color: var(--accent-color);
}

.menu-subcategory-children {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
}

.menu-subcategory-children li a {
    color: #34495e;
    text-decoration: none;
    font-size: 0.9rem;
}

.menu-mobile-grandchildren a {
    color: #34495e;
    text-decoration: none;
    font-size: 0.9rem;
}

.menu-mobile-children,
.menu-mobile-grandchildren {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 1.5rem;
}

.menu-category.is-expanded > .menu-mobile-children {
    display: block;
}

.menu-mobile-child.is-expanded > .menu-mobile-grandchildren {
    display: block;
}

.menu-mobile-child-trigger {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0.6rem 0;
    cursor: pointer;
    color: #34495e;
}

.menu-language-mobile {
    display: none;
    margin-top: 1.5rem;
}

.menu-language-inline {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.sub-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background-color: #34495e;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 220px;
    z-index: 1000;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
}

.menu-item:hover > .sub-menu {
    display: block;
}

.sub-menu li a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 1rem 1.5rem;
    display: block;
    font-size: 0.85rem;
    border-bottom: 1px solid #2c3e50;
}

.sub-menu li a:hover {
    background-color: #2c3e50;
}

/* Body / Main content */
main {
    flex: 1;
    width: 100%;
    padding: 2rem 0; /* Updated to 0 horizontal padding for full-width sliders */
}


/* Sliders */
.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #eee;
    margin-bottom: 2rem;
}

.slider-inicio {
    height: 500px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.slider-general {
    height: 250px;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

.slider-slide {
    flex: 0 0 100%;
    height: 100%;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Home Sections */
.home-sections > section {
    margin-bottom: 40px;
}

.section-title {
    text-align: left;
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-transform: uppercase;
}

/* Product Carousel / Grid */
.home-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.home-carousel-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    background: #fff;
    color: #2c3e50;
    font-size: 1.4rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.home-carousel-btn:hover {
    background: #f5f5f5;
}

.product-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding-bottom: 15px;
    width: 100%;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.product-carousel::-webkit-scrollbar {
    display: none;
}

.product-card {
    flex: 0 0 280px;
    max-width: 80%; /* Para pantallas muy pequeñas */
    background: #fff;
    padding: 15px;
    text-align: center;
    border: 1px solid #eee;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-image {
    width: 100%;
    height: 200px; /* Altura fija para reservar espacio */
    background-color: #f9f9f9; /* Color de fondo para cuando no hay imagen */
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-results-grid .search-result-image-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-results-grid .search-result-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    color: #fff;
}

.badge-promo { background-color: #e74c3c; }
.badge-new { background-color: #27ae60; }

.product-card h3 {
    font-size: 1.1rem;
    margin: 10px 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card h3 a {
    color: inherit;
    text-decoration: none;
}

.product-card h3 a:hover {
    text-decoration: none;
}

.product-card .price {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.product-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-action {
    display: block;
    padding: 8px 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: background 0.2s;
    text-align: center;
}

.btn-add {
    background-color: var(--primary-color);
    color: white;
}

.btn-add:hover {
    background-color: var(--secondary-color);
}

.btn-buy {
    background-color: var(--accent-color);
    color: white;
}

.btn-buy:hover {
    background-color: #d35400;
}

/* Product Detail */
.product-detail-page {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.product-breadcrumb a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
}

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

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    background: #fff;
    border: 1px solid #eee;
    padding: 2.5rem;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-gallery-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-gallery-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1rem;
    width: 100%;
    scrollbar-width: none;
}

.product-gallery-carousel::-webkit-scrollbar {
    display: none;
}

.product-gallery-slide {
    flex: 0 0 100%;
    background: #f9f9f9;
    border: 1px solid #eee;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.product-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    background: #fff;
    color: #2c3e50;
    font-size: 1.4rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.product-gallery-btn:hover {
    background: #f5f5f5;
}

.product-placeholder {
    color: #95a5a6;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
}

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

.product-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.product-badges .product-badge {
    position: static;
}

.product-title {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    color: #2c3e50;
}

.product-code {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #34495e;
    font-weight: 600;
    font-size: 0.95rem;
}

.product-price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.stock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.stock-dot.in-stock {
    background: #27ae60;
}

.stock-dot.out-stock {
    background: #e74c3c;
}

.product-detail-page .product-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.product-detail-page .product-actions-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.product-detail-page .product-option {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.product-detail-page .product-option select {
    width: 100%;
}

.product-detail-page .product-actions .btn-action {
    flex: 0 0 auto;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    line-height: 1.1;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
    color: #7f8c8d;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.product-detail-section {
    background: #fff;
    border: 1px solid #eee;
    padding: 2rem;
}

.product-detail-section h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    color: #2c3e50;
}

.product-description {
    line-height: 1.7;
    color: #34495e;
}

/* Academy Home Section */
.home-academy-section .post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Footer */
.site-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .site-footer {
        width: 100%;
        margin: 0;
        max-width: 100%;
    }
}

.footer-custom-html {
    width: 100%;
    box-sizing: border-box;
}

.footer-custom-top {
    background-color: #1f2a36;
}

.footer-custom-bottom {
    background-color: #1f2a36;
}

.footer-newsletter {
    background-color: #34495e;
    padding: 2rem 0;
}

.footer-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: center;
}

.footer-newsletter h3 {
    margin: 0;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.footer-newsletter form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    justify-content: center;
}

.footer-newsletter input[type="email"] {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #2c3e50;
    font-size: 1rem;
}

.footer-newsletter button {
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
}

.footer-links {
    padding: 2.5rem 0;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.footer-column a {
    color: #ecf0f1;
    text-decoration: none;
}

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

.footer-column-html {
    margin-bottom: 1rem;
    color: #dfe6e9;
}

.footer-column-html-only {
    color: #dfe6e9;
}

.footer-copyright {
    background-color: #1a232c;
    padding: 1rem 0;
    text-align: center;
    font-weight: 600;
}

.footer-heart {
    color: #e74c3c;
    margin: 0 0.3rem;
}

* {
    box-sizing: border-box;
    border-radius: 0 !important;
}

/* Elementos simples */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #e67e22;
    color: white;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.card {
    border: 1px solid #ddd;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-title {
    border-bottom: 3px solid #e67e22;
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #2c3e50;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 992px) {
    .header-main-info {
        flex-wrap: nowrap;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
        align-items: center;
    }
    .header-left {
        flex: 1;
    }
    .menu-toggle-mobile {
        display: inline-flex;
    }
    .menu-toggle-desktop {
        display: none;
    }
    .header-search-desktop {
        display: none;
    }
    .header-actions {
        gap: 0.75rem;
    }
    .header-actions .icon-text {
        display: none;
    }
    .header-actions .icon-link {
        font-size: 0.85rem;
    }
    .header-language-desktop {
        display: none;
    }
    .header-nav-bar {
        display: none;
    }
    .menu-popup {
        position: static;
        box-shadow: none;
        border-top: none;
    }
    .menu-popup-inner {
        flex-direction: column;
    }
    .menu-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .menu-right {
        display: none;
    }
    .menu-search-mobile {
        display: block;
    }
    .menu-archeryindex-mobile {
        display: block;
    }
    .menu-language-mobile {
        display: block;
    }
    .menu-language-inline {
        flex-wrap: nowrap;
        white-space: nowrap;
    }
    .menu-category-trigger {
        padding: 0.75rem 0;
    }
    .menu-category-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .product-detail-page {
        gap: 1.5rem;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    .product-gallery-slide {
        min-height: 280px;
    }
}

@media (min-width: 993px) {
    .menu-item-toggle .menu-toggle-desktop {
        padding-left: 1.5rem;
        background-image: none !important;
        justify-content: flex-start;
        gap: 0;
    }

    .menu-item-toggle .menu-toggle-desktop .menu-toggle-text {
        margin-left: 0;
    }

    .menu-item-toggle .menu-toggle-desktop .menu-toggle-icon-right {
        display: none;
    }

    .menu-category-toggle {
        display: none;
    }
}

.archeryindex-page {
    margin: 0;
}

.archeryindex-header {
    margin-bottom: 0;
}

.archeryindex-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0;
    color: #5f6770;
}

.archeryindex-breadcrumb a {
    color: #1f4f7a;
}

.archeryindex-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.archeryindex-list-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: stretch;
}

.archeryindex-list-categories .archeryindex-card {
    flex: 0 0 280px;
    max-width: 280px;
}

.archeryindex-list-products {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: stretch;
}

.archeryindex-list-products .archeryindex-card {
    flex: 0 0 280px;
    max-width: 280px;
}

.archeryindex-card {
    border: 1px solid #e1e6eb;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.archeryindex-card-link {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.archeryindex-card-link:hover h3 {
    text-decoration: underline;
}

.archeryindex-card-media {
    min-height: 220px;
    background: #f7f9fb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.archeryindex-card-media img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
}

.archeryindex-category-media img {
    object-fit: contain;
    max-height: 180px;
    width: min(100%, 180px);
}

.archeryindex-card-placeholder {
    color: #6d7782;
    font-weight: 600;
}

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

.archeryindex-card-body h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.archeryindex-card-meta {
    color: #5f6770;
    margin-bottom: 0.75rem;
}

.archeryindex-card-rating {
    margin-top: 0.75rem;
}

.archeryindex-pagination {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.archeryindex-hero {
    margin-bottom: 1.5rem;
}

.archeryindex-hero-header {
    text-align: left;
}

.archeryindex-product-gallery {
    width: 100%;
}

.archeryindex-editorial-summary {
    margin: 0.85rem 0;
}

.archeryindex-hero-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.archeryindex-description-panel {
    min-width: 0;
}

.archeryindex-description-panel h2 {
    margin-top: 0;
}

.archeryindex-product-long-description {
    margin: 0;
}

.archeryindex-aggregates {
    background: #f8fafc;
}

.archeryindex-rating-summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.archeryindex-arc-rating {
    --max-rating: 10;
    --arc-size: 1.25rem;
    --arc-gap: 0.1rem;
    position: relative;
    display: inline-block;
    font-size: var(--arc-size);
    font-weight: 800;
    letter-spacing: var(--arc-gap);
    line-height: 1;
    white-space: nowrap;
}

.archeryindex-arc-rating-base,
.archeryindex-arc-rating-fill {
    display: block;
}

.archeryindex-arc-rating-base {
    color: #cbd5df;
}

.archeryindex-arc-rating-fill {
    color: #f0a629;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    width: calc((var(--rating) / var(--max-rating)) * 100%);
}

.archeryindex-card-rating .archeryindex-arc-rating {
    margin-left: 0.3rem;
    vertical-align: middle;
}

.archeryindex-detail-extra {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.archeryindex-detail-extra .product-detail-section,
.archeryindex-detail-extra .archeryindex-technical-grid {
    margin: 0;
}

.archeryindex-radar-wrapper {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 0.75rem 0;
}

.archeryindex-radar-chart {
    width: min(100%, 380px);
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.archeryindex-radar-chart svg {
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
}

.btn-archeryindex-cta {
    margin-top: 1rem;
}

.archeryindex-technical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.archeryindex-tech-block {
    border: 1px solid #e1e6eb;
    padding: 1rem;
    background: #fff;
}

.archeryindex-tech-block h3 {
    margin-top: 0;
}

.archeryindex-tech-block dl {
    margin: 0;
}

.archeryindex-tech-block dt {
    font-weight: 700;
    margin-top: 0.6rem;
}

.archeryindex-tech-block dd {
    margin: 0.25rem 0 0;
}

.archeryindex-editorial-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.archeryindex-rating-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.archeryindex-rating-form .archeryindex-score-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.archeryindex-arc-picker {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 0.2rem;
    margin-top: 0.4rem;
}

.archeryindex-arc-option {
    border: 1px solid #d5dde6;
    border-radius: 10px 10px 0 0;
    background: #fff;
    color: #a6b2bf;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.2rem 0;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.archeryindex-arc-option:hover,
.archeryindex-arc-option:focus-visible {
    border-color: #f0a629;
    color: #f0a629;
}

.archeryindex-arc-option.is-active {
    border-color: #f0a629;
    color: #f0a629;
    background: #fff8eb;
}

.archeryindex-comments {
    margin-top: 1rem;
}

.archeryindex-comment-form {
    margin-bottom: 1rem;
}

.archeryindex-comment-form textarea {
    width: 100%;
    min-height: 120px;
    resize: vertical;
}

.archeryindex-comments-list {
    display: grid;
    gap: 0.75rem;
}

.archeryindex-comment-item {
    border: 1px solid #e1e6eb;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    background: #fff;
}

.archeryindex-comment-item header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.archeryindex-comment-item header span {
    color: #6f7c8b;
    font-size: 0.85rem;
}

.archeryindex-comment-item p {
    margin: 0;
}

@media (max-width: 992px) {
    .archeryindex-hero-content {
        grid-template-columns: 1fr;
    }

    .archeryindex-product-gallery .product-gallery-slide {
        min-height: 140px;
    }

    .archeryindex-arc-picker {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 0 1rem;
    }
    .logo-text {
        font-size: 1.6rem;
    }
    .menu-category-trigger {
        font-size: 0.95rem;
    }
    main {
        padding: 1.5rem 0;
    }
    .slider-inicio {
        height: 320px;
    }
    .slider-general {
        height: 200px;
    }
    .home-sections > section {
        margin-bottom: 30px;
    }
    .section-title {
        font-size: 1.4rem;
    }
    .product-card {
        flex: 0 0 240px;
    }
    .archeryindex-list-categories {
        justify-content: center;
    }
    .archeryindex-list-categories .archeryindex-card {
        flex: 1 1 260px;
        max-width: 320px;
    }
    .product-image {
        height: 170px;
    }
    .product-card h3 {
        font-size: 1rem;
    }
    .product-breadcrumb {
        font-size: 0.85rem;
    }
    .product-detail-grid {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    .product-title {
        font-size: 1.6rem;
    }
    .product-price {
        font-size: 2rem;
    }
    .product-detail-page .product-actions {
        flex-direction: column;
    }
    .product-detail-section {
        padding: 1.5rem;
    }
    .archeryindex-detail-page .product-detail-grid {
        padding: 1rem;
        gap: 1rem;
    }
    .archeryindex-detail-page .product-detail-section {
        padding: 1rem;
    }
    .archeryindex-detail-page .product-gallery-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    .archeryindex-detail-page .product-gallery-btn {
        display: none;
    }
    .archeryindex-detail-page .product-gallery-slide {
        min-height: 220px;
        padding: 1rem;
    }
    .archeryindex-detail-page .archeryindex-radar-wrapper {
        margin: 0.5rem 0 0;
    }
    .archeryindex-detail-page .archeryindex-radar-chart {
        width: min(100%, 300px);
    }
    .footer-newsletter-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .footer-newsletter h3 {
        text-align: center;
    }
    .footer-newsletter form {
        max-width: none;
    }
    .footer-newsletter button {
        width: 100%;
    }
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
    .post-grid {
        grid-template-columns: 1fr;
    }
    .post-image img {
        height: 180px;
    }
    .post-detail {
        padding: 20px;
    }
    .post-content {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding: 0 0.75rem;
    }
    .header-main-info {
        padding: 0.75rem;
    }
    .logo-text {
        font-size: 1.4rem;
    }
    .header-actions {
        gap: 0.75rem;
    }
    .language-dropdown {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    .menu-item > .menu-primary-link {
        padding: 0.75rem 0.85rem;
    }
    .sub-menu {
        padding-left: 0.75rem;
    }
    .slider-inicio {
        height: 240px;
    }
    .slider-general {
        height: 160px;
    }
    .product-carousel {
        gap: 12px;
    }
    .product-card {
        flex: 0 0 200px;
    }
    .archeryindex-list-categories .archeryindex-card {
        flex: 1 1 100%;
    }
    .product-image {
        height: 150px;
    }
    .footer-newsletter {
        padding: 1.5rem 0;
    }
    .footer-links {
        padding: 2rem 0;
    }
    .post-detail {
        padding: 15px;
    }
    .post-info {
        padding: 16px;
    }
    .post-info h3 {
        font-size: 1.1rem;
    }
    .post-excerpt {
        font-size: 0.95rem;
    }
    .archeryindex-detail-page .product-gallery-slide {
        min-height: 190px;
    }
    .archeryindex-detail-page .archeryindex-radar-chart {
        width: min(100%, 260px);
    }
}

/* Profile page */
.profile-page {
    padding: 2rem;
    box-sizing: border-box;
}

.profile-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.profile-menu {
    width: 260px;
    background: #f8f9fb;
    border: 1px solid #e4e6ea;
    padding: 1.5rem;
    border-radius: 12px;
}

.profile-menu-title {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.profile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-menu-list a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
}

.profile-menu-list a:hover {
    color: #e67e22;
}

.profile-content {
    flex: 1;
    min-width: 0;
}

.profile-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-section {
    background: #ffffff;
    border: 1px solid #e4e6ea;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.06);
}

.profile-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
}

.profile-form {
    display: grid;
    gap: 1rem;
}

.profile-edit-actions {
    margin-top: 1rem;
}

.profile-edit-form {
    margin-top: 1rem;
}

.profile-edit-form.is-hidden {
    display: none;
}

.profile-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.profile-field input {
    padding: 0.7rem 0.85rem;
    border: 1px solid #d6d9de;
    border-radius: 8px;
    font-size: 0.95rem;
}

.profile-btn {
    align-self: flex-start;
    padding: 0.7rem 1.6rem;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.shipping-addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.shipping-card {
    border: 1px solid #e4e6ea;
    border-radius: 10px;
    padding: 1rem;
    background: #fafbfc;
}

.tag-default {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: #e7f6ee;
    color: #2f8f5a;
    font-size: 0.8rem;
    font-weight: 600;
}

.order-card {
    border: 1px solid #e4e6ea;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.order-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.order-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0.5rem 0 0.75rem;
}

.order-items {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
}

.order-items li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.order-total {
    text-align: right;
    font-weight: 600;
}

.account-access-page {
    padding: 2.5rem 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.account-access-header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.account-access-page h1 {
    margin: 0;
    font-size: 2rem;
}

.account-access-subtitle {
    margin: 0;
    color: #6b7280;
}

.account-access-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.account-access-card {
    background: #ffffff;
    border: 1px solid #e4e6ea;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

.account-access-card h2 {
    margin: 0;
}

.account-access-card p {
    margin: 0;
    color: #6b7280;
}

.account-access-error {
    margin: 0;
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    background: #fdecea;
    color: #b91c1c;
    font-weight: 600;
}

.account-access-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.account-access-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.account-access-field input {
    padding: 0.75rem 0.9rem;
    border: 1px solid #d6d9de;
    border-radius: 10px;
    font-size: 0.95rem;
}

.account-access-btn {
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    border: none;
    background: #2c3e50;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    justify-self: start;
}

.account-access-btn-secondary {
    background: #3e6bb2;
}

@media (max-width: 900px) {
    .profile-layout {
        flex-direction: column;
    }

    .profile-menu {
        width: 100%;
    }

    .account-access-page {
        padding: 2rem 1.5rem;
    }

    .account-access-grid {
        grid-template-columns: 1fr;
    }
}

/* Cart page */
.cart-page {
    padding: 2rem;
    box-sizing: border-box;
}

.cart-header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
}

.cart-subtitle {
    margin: 0;
    color: #6b7280;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
    align-items: start;
}

.cart-main {
    min-width: 0;
}

.cart-sidebar {
    position: sticky;
    top: 1.5rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    border: 1px solid #e4e6ea;
    border-radius: 12px;
    padding: 1.25rem;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.06);
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.cart-item-price {
    font-weight: 600;
    color: #2c3e50;
}

.cart-item-info h3 {
    margin: 0 0 0.5rem 0;
}

.cart-item-options {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    color: #6b7280;
    display: grid;
    gap: 0.2rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.cart-item-quantity label {
    font-weight: 600;
    color: #2c3e50;
}

.cart-item-quantity input {
    width: 90px;
    padding: 0.45rem 0.6rem;
    border: 1px solid #d6d9de;
    border-radius: 8px;
}

.cart-item-stock {
    margin: 0;
    color: #6b7280;
}

.cart-item-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    min-width: 120px;
}

.cart-item-label {
    font-size: 0.85rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cart-item-amount {
    font-size: 1.05rem;
    font-weight: 700;
}

.btn-action.btn-remove {
    background: #e74c3c;
    color: #fff;
}

.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid #e4e6ea;
    border-radius: 12px;
    padding: 1rem;
    background: #f8f9fb;
}

.cart-summary h2 {
    margin: 0;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.cart-summary-note {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.cart-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Checkout page */
.checkout-page {
    padding: 2rem;
    box-sizing: border-box;
}

.checkout-header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
}

.checkout-subtitle {
    margin: 0;
    color: #6b7280;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.checkout-summary-card,
.checkout-form-card {
    border: 1px solid #e4e6ea;
    border-radius: 12px;
    padding: 1.5rem;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.06);
}

.checkout-summary-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: grid;
    gap: 0.85rem;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.checkout-summary-product {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: #2c3e50;
}

.checkout-summary-name {
    font-weight: 600;
}

.checkout-summary-qty {
    font-size: 0.9rem;
    color: #6b7280;
}

.checkout-summary-price {
    font-weight: 600;
    white-space: nowrap;
}

.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 1.05rem;
}

.checkout-summary-note {
    margin: 0.75rem 0 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.checkout-form {
    display: grid;
    gap: 1.5rem;
}

.checkout-section {
    border: 1px solid #e4e6ea;
    border-radius: 12px;
    padding: 1.25rem;
    margin: 0;
}

.checkout-section legend {
    padding: 0 0.4rem;
    font-weight: 600;
    color: #2c3e50;
}

.checkout-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.checkout-field:first-of-type {
    margin-top: 0;
}

.checkout-field input,
.checkout-field select,
.checkout-field textarea {
    padding: 0.7rem 0.85rem;
    border: 1px solid #d6d9de;
    border-radius: 8px;
    font-size: 0.95rem;
}

.checkout-field-inline {
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
}

.checkout-terms {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-errors {
    border: 1px solid #fecaca;
    background: #fee2e2;
    color: #b91c1c;
    padding: 0.75rem 1rem;
    border-radius: 10px;
}

.checkout-field .errorlist,
.checkout-terms .errorlist {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #b91c1c;
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        position: static;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .cart-item-total {
        align-items: flex-start;
    }
}

/* Academy Styles */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.post-card {
    border: 1px solid #ddd;
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.post-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3rem;
    line-height: 1.2;
}

.post-info h3 a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.2s;
}

.post-info h3 a:hover {
    color: #e67e22;
}

.post-meta {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.post-excerpt {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #34495e;
}

.post-info .btn {
    margin-top: auto;
    align-self: flex-start;
}

.post-detail {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
}

.post-featured-image {
    margin: 20px 0;
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-content {
    line-height: 1.6;
    font-size: 1.1rem;
}

.post-footer {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* Legal text page */
.legal-text-page {
    padding: 2rem;
    box-sizing: border-box;
}

.legal-text-card {
    background: #ffffff;
    border: 1px solid #e4e6ea;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.06);
}

.legal-text-card h1 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.legal-text-content {
    color: #34495e;
    line-height: 1.7;
}

@media (min-width: 992px) {
    header {
        width: 80%;
        margin: 0 auto;
    }
}
