* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "sansjp";
}

main {
  min-height: 100vh; 
  padding: 30px;
}



/* Header Styles (from previous code) */
.header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.top-bar {
    background-color: #035fbc;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    overflow: hidden;
}

.logo-space {
    width: 180px;
    height: 180px;
    background-color: #fff;
    border-radius: 48%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
    overflow: hidden;
    padding: 10px;
}
.logo-space a img{
    width: 180px;
  object-fit: contain;
  
}
.logo-space img:hover{
    opacity: 70%;
}
.top-nav {
    display: flex;
    gap: 15px;
}

.top-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
    font-weight: bold;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s;
}

.top-nav a:hover {
    border-bottom: 1px solid #fff;
}

.shipping-info {
    display: flex;
    gap: 10px;
    font-size: 12px;
}

.shipping-text {
    color: #fff;
}

.price {
    font-weight: bold;
}

.orange {
    color: #ff6600;
}

.main-header {
    background-color: white;
    padding: 15px 0;
}

.main-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.search-section {
    display: flex;
    align-items: center;
    gap: 0;
}

.category-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-right: none;
    background-color: white;
    font-size: 14px;
    color: #333;
    min-width: 120px;
    cursor: pointer;
}

.search-input {
    padding: 10px 15px;
    border: 1px solid #ddd;
 
    border-right: none;
    font-size: 14px;
    width: 300px;
    outline: none;
}

.search-btn {
    padding: 10px 20px;
    background-color: #666;
    color: white;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #555;
}

.user-actions {
    display: flex;
    gap: 30px;
    align-items: center;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    position: relative;
    transition: opacity 0.3s;
}
.action-item a{
    text-decoration: none;
}

.action-item:hover {
    opacity: 0.7;
}

.action-icon {
    font-size: 24px;
    color: #333;
}

.action-item span {
    font-size: 12px;
    color: #333;
}

.dropdown-arrow {
    font-size: 10px;
    color: #666;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff6600;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* Main Layout - Updated to 2 columns */
.main-container {
    max-width: 1200px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    padding: 0 20px;
}
.main-index {
    max-width: 1200px;
    margin: 20px auto;

    gap: 20px;
    padding: 0 20px;
}
.main-container2 {
    width: 1200px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
}

/* Left Sidebar remains the same */
.left-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Center Content - Updated */
.center-content {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    padding: 20px;
}
.center-content2 {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex; 
    flex-direction: column;
 
     
    min-width: 850px; 

    padding: 20px;
}
/* Categories Grid - 3 columns */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.categories-grid2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
   border: 1px solid #e0e0e0;
    margin-bottom: 40px;
    width: 100%;
    max-width: 1200px;

}
.categories-grid3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    margin-bottom: 40px;
}
.category-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    padding: 10px;
    
}
.category-card2 {
    background-color: #f9f9f9;

    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    
}
.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.category-image {
    height: 150px;
    overflow: hidden;
}

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

.category-content {
    padding: 15px;
}

.category-content h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #ff6600;
    font-weight: bold;
}
.category-content h3 a{
    font-size: 14px;
    color: #333;



    font-weight: bold;
}

.category-content ul {
    list-style: none;
}

.category-content li {
    margin-bottom: 4px;
}

.category-content a {
    color: #00792f;
    text-decoration: none;
    font-size: 11px;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.category-content a:before {
    content: ">";
    margin-right: 5px;
    color: #999;
}

.category-content a:hover {
    color: #ff6600;
}

/* Product Showcase Section - 2 columns */
.product-showcase-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.showcase-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.showcase-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.showcase-image-container {
    height: 200px;
    overflow: hidden;
}

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

.showcase-content {
    padding: 15px;
}
.showcase-content a{
    color: #00792f;
    text-decoration: none;
}

.showcase-content h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: bold;
    line-height: 1.3;
}

.showcase-content p {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* Remove old styles for right sidebar and center content */
.right-sidebar {
    display: none;
}

.category-nav,
.product-features,
.store-view {
    display: none;
}

/* Left Sidebar */
.left-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-widget {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: #ff6600;
    display: flex;
    justify-content: center;
}

.cart-button {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    background-color: #ff6600;
    color: white;
    border: none;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cart-button:hover {
    background-color: #e55a00;
}

.product-showcase {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.showcase-image {
    width: 100%;
    height: auto;
    display: block;
}

.all-items-banner {
    background: linear-gradient(135deg, #ff6600, #ff8800);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.all-items-banner h2 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

.discount-text {
    font-size: 20px;
    font-weight: bold;
    color: #ffff00;
}

.summer-banner {
    background: linear-gradient(135deg, #00aaff, #0088cc);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.banner-title {
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.brand-badge {
    background-color: #ff0066;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.new-colors-banner {
    background: linear-gradient(135deg, #8800ff, #aa00cc);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.banner-text {
    font-size: 16px;
    font-weight: bold;
}

.animal-banner,
.theme-banner {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

.theme-content {
    padding: 15px;
    text-align: center;
    background-color: #333;
    color: white;
}

.theme-title {
    font-size: 14px;
    font-weight: bold;
}

.limited-banner {
    background-color: #90ee90;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.limited-text {
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

.sale-corner {
    background-color: #ffcccb;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 2px dashed #ff6666;
}

.sale-title {
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

.sale-subtitle {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.new-products-banner {
    background-color: #ffb6c1;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.new-products-text {
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

.art-school-banner {
    background: linear-gradient(135deg, #87ceeb, #4682b4);
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.school-title {
    font-size: 14px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.school-subtitle {
    font-size: 12px;
}

.brand-logos {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.brands-image {
    width: 100%;
    height: auto;
    display: block;
}

.payment-section {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.payment-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ff6600;
    border-bottom: 2px solid #ff6600;
    padding-bottom: 5px;
}

.payment-cards {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.payment-list {
    list-style: none;
    font-size: 12px;
    color: #333;
}

.payment-list li {
    margin-bottom: 5px;
    padding-left: 10px;
    position: relative;
}

.payment-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff6600;
}

.calendar-section {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.calendar-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.calendar-placeholder {
    height: 200px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.contact-section {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ff6600;
    border-bottom: 2px solid #ff6600;
    padding-bottom: 5px;
}

.phone-info p {
    font-size: 12px;
    color: #333;
    margin-bottom: 5px;
}

.knowledge-section {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.knowledge-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ff6600;
    border-bottom: 2px solid #ff6600;
    padding-bottom: 5px;
}

.knowledge-list {
    list-style: none;
    font-size: 12px;
}

.knowledge-list li {
    margin-bottom: 8px;
}

.knowledge-list a {
    color: #00792f;
    text-decoration: none;
}

.knowledge-list a:hover {
    text-decoration: underline;
}

.shipping-section {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.shipping-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ff6600;
    border-bottom: 2px solid #ff6600;
    padding-bottom: 5px;
}

.shipping-details p {
    font-size: 12px;
    color: #333;
    margin-bottom: 5px;
}

/* Center Content */
.center-content {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}
.center-content2 {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  
}

.category-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.category-section h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #ff6600;
}

.category-section ul {
    list-style: none;
}

.category-section li {
    margin-bottom: 5px;
}

.category-section a {
    color: #00792f;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.category-section a:before {
    content: ">";
    margin-right: 5px;
    color: #999;
}

.category-section a:hover {
    color: #ff6600;
}

.product-features {
    padding: 20px;
    border-top: 1px solid #eee;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.feature-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.feature-image {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.feature-content h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: bold;
}

.feature-content p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.store-view {
    padding: 20px;
    border-top: 1px solid #eee;
}

.store-map {
    margin-bottom: 15px;
}

.map-iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 5px;
}

.store-info h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.store-info p {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

/* Right Sidebar */
.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-section {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sidebar-section h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #ff6600;
}

.sidebar-section ul {
    list-style: none;
}

.sidebar-section li {
    margin-bottom: 8px;
}

.sidebar-section a {
    color: #00792f;
    text-decoration: none;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.sidebar-section a:before {
    content: ">";
    margin-right: 5px;
    color: #999;
}

.sidebar-section a:hover {
    color: #ff6600;
}

.special-banner {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.special-banner .banner-image {
    width: 100%;
    height: auto;
    display: block;
}

.special-banner .banner-text {
    padding: 15px;
}

.special-banner h4 {
    font-size: 12px;
    color: #333;
    margin-bottom: 8px;
}

.special-banner h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: bold;
}

.special-banner p {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
}

.red-banner {
    background: linear-gradient(45deg, #cc0000, #ff0000);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.red-banner-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.red-banner-content p {
    font-size: 14px;
    color: #ffff00;
    font-weight: bold;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    margin-top: 40px;
    padding: 40px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-section p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
}

.footer-link {
    color: #66ccff;
    text-decoration: none;
    font-size: 14px;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-links {
    text-align: right;
    margin-bottom: 20px;
}

.page-top {
    color: #66ccff;
    text-decoration: none;
    font-size: 14px;
}

.page-top:hover {
    text-decoration: underline;
}

.footer-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #555;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
}

.footer-nav a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
}

.copyright p {
    font-size: 12px;
    color: #999;
}

/* Responsive Design - Updated */
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .left-sidebar {
        display: none;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-showcase-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-header-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .search-input {
        width: 200px;
    }
    
    .user-actions {
        gap: 20px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 0 10px;
    }
    
    .search-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-input {
        width: 100%;
    }
    
    .showcase-item {
        margin-bottom: 15px;
    }
    
    .showcase-image-container {
        height: 150px;
    }
}


.product-section{
  width: 100%;
  padding: 20px;
}
.product-grid {
  margin: 20px auto;
  padding: 20px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));;
}
.product-item {
  text-align: start;
  background-color: #fff;
  padding: 10px;

  margin: 10px;
}
.product-item a {
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
}

.product-item a:hover{
  opacity: 0.5;
}
.product-item figure{
  width: 100%;
  padding: 10px;
  max-width: 280px;
  max-height: 280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  height: 220px;
  overflow: hidden;
}
.product-item figure img{
  width: 100%;
  max-height: 100%; /* Ajusta el alto máximo de la imagen */
  object-fit: contain;
}
.product-card-name{
  font-size: 14px;
  margin: 10px;
  display: -webkit-box;        /* Crea un contenedor flexible */
  -webkit-box-orient: vertical; /* Define la orientación del contenedor */
  -webkit-line-clamp: 2;       /* Especifica el número de líneas visibles */
  overflow: hidden;      
  max-width: 200px;   
}
.product-card-price{
  font-size: 16px;
  color: #333;
  margin-left: 10px;
}
.product-card-brand{
  margin-left: 10px;
  font-size: 12px;
  color: #00792f;
}
.card-tax{
  font-size: 10px;
  margin-left: 5px;
  font-weight: 400;
}
.links-history{
  margin-top: 30px;
  display: block;
  text-align: start;
  list-style: none;
  margin-bottom: 10px !important;
  margin-left: 40px;

}
.links-history span{
  padding-top: 9px;
  font-size: 12px;
}
.links-history li{
  margin: 8px;
  font-size: 12px;
  display: inline;
}
.links-history li a{
  text-decoration: none;
  color: #333;

  font-size: 14px;
}
.links-history li a:hover{
  border-bottom: 1px solid #333;
}


.product1 {
  display: flex;
  background-color: #fbfbfb;
  padding: 20px;
  align-items:flex-start;
  justify-content:center;

  width: 95%;
  margin: 0 auto;
  
}
.product-image_container {
  width: 50%;
  padding: 10px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: sticky;
  top: 30px; 
}
.product__image {
  width: 100%;
  height: auto;
}
.product-info {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column; /* Para alinear elementos verticalmente */
  align-items: flex-start; /* Alinea elementos al principio del contenedor */
  margin-bottom: 60px;
  margin-top: 20px;
  width: 50%;
  margin-left: 15px;
}
.product-title {
  font-size: 1.4em;
  margin-bottom: 20px; /* Reducido para dispositivos móviles */
  font-weight: 600;
}
.product-price {
  font-size: 20px;
  margin-left: 10px; /* Agregamos margen izquierdo */
  margin-bottom: 20px; /* Reducido para dispositivos móviles */
  margin-top: 35px;
  font-weight: 600;
  color: red;
}
.product-code1{
  margin-left: 10px;
  font-size: 14px;
  color: #333;
  margin-top: 30px;
}
.product-code2{
  margin-left: 10px;
  margin-bottom: 20px;
  font-size: 12px;
}
.cart-link{
  text-decoration: none;
  color: #00792f;
}
.cart-link:hover{
  border-bottom: 1px solid #00792f;
}
.product__add-to-cart-button{
  margin: 20px;
  width: 280px;
  height: 45px;
  cursor: pointer;
  margin-top: 60px;
  color: #333;
  font-weight: 600;
  background-color: #00792f;
  border: none;
  border-radius: 5px;
  margin-bottom: 10px;
}
.product-quantity {
  margin-top: 40px;
  margin-left: 10px;
  display: flex;
  align-items: center; /* Para centrar verticalmente los botones */
}

.product-quantity label {
  display: block;
  font-size: 20px;
  margin-right: 15px;
  font-weight: 500;
}

.product-quantity input {
  width: 40px;
  height: 40px;
  font-size: 16px;
 
  text-align: center;
  border: 0.5px solid #333;
  border-right: none;
  border-left: none;
}

.quantity-btn i{
  color: #fff;
}
.quantity-btn2 i{
  color: #fff;
}

.quantity-btn {
  background: #8e8e8e;
  padding: 5px 10px;
  font-size: 20px;
  cursor: pointer;
  border: 0.5px solid #333;
  width: 40px;
  height: 40px;
  border-right: none;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
.quantity-btn2 {
  background: #8e8e8e;
  padding: 5px 10px;
  font-size: 20px;
  cursor: pointer;
  border: 0.5px solid #333;
  width: 40px;
  height: 40px;
  border-left: none;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
.product__thumbnails {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  width: 90%;
}
.product__thumbnail {
  width: 20%; /* Aumentamos el tamaño de las miniaturas */
  height: auto; /* Aumentamos el tamaño de las miniaturas */
  cursor: pointer;
  margin-right: 5px;
  transition: all 0.3s;
}
.product-description-section {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  margin-top: 40px;
  font-size: 14px;
  font-weight: 400;
  font-family: "sansjp";
}
   .categories-loading, .products-loading {
            text-align: center;
            padding: 20px;
            color: #666;
        }

        .filter-controls {
            display: flex;
            gap: 10px;
            align-items: center;
            margin: 20px 0;
            flex-wrap: wrap;
        }

        .filter-controls select {
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            background: white;
            font-size: 14px;
        }

        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 5px;
            margin: 30px 0;
            flex-wrap: wrap;
        }

        .pagination a {
            padding: 8px 12px;
            border: 1px solid #ddd;
            text-decoration: none;
            color: #333;
            border-radius: 4px;
            transition: all 0.3s ease;
        }

        .pagination a:hover {
            background-color: #f5f5f5;
            border-color: #999;
        }

        .pagination a.active {
            background-color: #00792f;
            color: white;
            border-color: #00792f;
        }

        .pagination .pagination-nav {
            font-weight: bold;
        }

        .pagination .pagination-dots {
            padding: 8px 4px;
            color: #999;
        }

        .category-products-quantity {
            text-align: center;
            margin: 10px 0;
            color: #666;
            font-size: 14px;
        }

        .search-section {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .search-input {
            flex: 1;
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }

        .search-btn {
            padding: 8px 16px;
            background-color: #00792f;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        .search-btn:hover {
            background-color: #0056b3;
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .filter-controls {
                flex-direction: column;
                align-items: stretch;
            }

            .filter-controls select {
                width: 100%;
            }

            .pagination {
                gap: 2px;
            }

            .pagination a {
                padding: 6px 10px;
                font-size: 14px;
            }
        }

        /* Mejorar la visualización de categorías */
        .category-card2 h3 a {
            color: #333;
            text-decoration: none;
            font-weight: bold;
        }

        .category-card2 h3 a:hover {
            color: #00792f;
        }

        .category-card2 ul li a {
            color: #666;
            text-decoration: none;
            font-size: 14px;
        }

        .category-card2 ul li a:hover {
            color: #00792f;
        }

        /* Loading states */
        .categories-loading {
            background: #f8f9fa;
            border-radius: 8px;
            margin: 20px 0;
        }

        .products-loading {
            background: #f8f9fa;
            border-radius: 8px;
            margin: 20px 0;
        }

        /* Mejoras adicionales para la interfaz */
        .product-card {
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .product-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .filter-controls {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            border: 1px solid #e9ecef;
        }

        .category-content h3 {
            margin-bottom: 10px;
            border-bottom: 2px solid #00792f;
            padding-bottom: 5px;
        }

        .category-content ul {
            list-style: none;
            padding: 0;
        }

        .category-content ul li {
            margin: 5px 0;
            padding: 3px 0;
        }

        .breadcrumb-separator {
            margin: 0 8px;
            color: #999;
        }

        .links-history {
            display: flex;
            align-items: center;
            margin: 10px 0;
            padding: 0;
            list-style: none;
        }

        .links-history li {
            margin: 0;
        }

        .links-history a {
            color: #00792f;
            text-decoration: none;
        }

        .links-history a:hover {
            text-decoration: underline;
        }

        /* Estados de error */
        .error-message {
            text-align: center;
            padding: 40px 20px;
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
            border-radius: 8px;
            margin: 20px 0;
        }

        /* Indicador de carga más atractivo */
        .loading-spinner {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid #00792f;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-right: 10px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Botón de limpiar filtros */
        .clear-filters-btn {
            background: #6c757d;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
        }

        .clear-filters-btn:hover {
            background: #5a6268;
        }

        /* Mejorar el aspecto del contador de productos */
        .category-products-quantity {
            background: #e9ecef;
            padding: 8px 16px;
            border-radius: 20px;
            display: inline-block;
            font-size: 13px;
            font-weight: 500;
        }

        /* Estilos para el estado vacío */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: #6c757d;
        }

        .empty-state h3 {
            margin-bottom: 10px;
            color: #495057;
        }

        .empty-state p {
            margin-bottom: 20px;
            line-height: 1.5;
        }

        /* Animaciones suaves */
        .fade-in {
            animation: fadeIn 0.3s ease-in;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Mejoras para accesibilidad */
        .visually-hidden {
            position: absolute !important;
            width: 1px !important;
            height: 1px !important;
            padding: 0 !important;
            margin: -1px !important;
            overflow: hidden !important;
            clip: rect(0, 0, 0, 0) !important;
            white-space: nowrap !important;
            border: 0 !important;
        }

        /* Focus states mejorados */
        .pagination a:focus,
        .filter-controls select:focus,
        .search-input:focus,
        .search-btn:focus {
            outline: 2px solid #00792f;
            outline-offset: 2px;
        }

        /* Indicador de página activa más visible */
        .pagination a.active {
            font-weight: bold;
            box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
        }
        /* Contenedor principal */
#product_subarea {
  background: #f9f9f9;
  padding: 24px 16px;
  margin: 24px 0;
  border-radius: 8px;
}

/* Forzar apilado en una sola columna */
.wrapper_table {
  display: block;    /* ya no flex */
  margin: 0;
  padding: 0;
}

/* Cada bloque ocupa el 100% */
.wrapper {
  width: 100%;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  margin-bottom: 16px;  /* espacio entre bloques */
}

/* Destacar el primero si hace falta */
.wrapper.first {
  border-color: #00792f;
}

/* Título de sección */
.wrapper h2 {
  font-size: 1.125rem; /* 18px */
  margin-bottom: 12px;
  color: #00792f;
  position: relative;
}
.wrapper h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 32px;
  height: 3px;
  background: #00792f;
  border-radius: 2px;
}

/* Texto descriptivo */
.subtext {
  font-size: 0.9375rem; /* 15px */
  line-height: 1.6;
  color: #333;
}

/* Espacio extra cuando hay dobles <br> */
.subtext br + br {
  margin-top: 0.75em;
  display: block;
}

/* Clearfix (no estrictamente necesario aquí) */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive: ajustes en móvil */
@media (max-width: 480px) {
  #product_subarea {
    padding: 16px 8px;
  }
  .wrapper {
    padding: 12px;
    margin-bottom: 12px;
  }
  .wrapper h2 {
    font-size: 1rem;
  }
  .subtext {
    font-size: 0.875rem;
  }
}


/* =================================
   REDISEÑO DE SECCIONES DE INFORMACIÓN
   Usando clases existentes del HTML
   ================================= */

/* Variables de colores del logo */
:root {
    --primary-orange: #ff6b35;
    --primary-blue: #4a90e2;
    --secondary-blue: #357abd;
    --accent-green: #2ecc71;
}

/* CONTENEDOR PRINCIPAL DE GUÍAS */
#guide_area {
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

#guide_area::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-blue));
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

#guide_area > * {
    position: relative;
    z-index: 1;
}

/* TÍTULO PRINCIPAL */
#guide_area h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

#guide_area h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-blue));
    border-radius: 2px;
}

/* NAVEGACIÓN DE GUÍAS */
.guide-wrap {
    background: linear-gradient(135deg, #f8f9ff, #fff5f0);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 40px;
    border-left: 5px solid var(--primary-orange);
}

.guide_navi {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 0;
    padding: 0;
}

.guide_navi li {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.guide_navi li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.guide_navi li a {
    display: block;
    padding: 15px 20px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}



.guide_navi li:hover a::before {
    transform: translateX(5px);
}

.guide_navi li a:hover {
    color: var(--primary-orange);
}

/* SEPARADORES HR */
#guide_area hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-blue));
    margin: 30px 0;
    border-radius: 1px;
}

/* TÍTULOS DE SECCIÓN */
#guide_area h5.anchor {
    font-size: 1.4rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin: 30px 0 20px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9ff, #fff5f0);
    border-left: 4px solid var(--primary-orange);
    border-radius: 0 10px 10px 0;
    position: relative;
}

#guide_area h5.anchor::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-orange), var(--primary-blue));
}

/* PÁRRAFOS DE CONTENIDO */
#guide_area p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
    font-size: 1rem;
}

/* ENLACES EN EL CONTENIDO */
#guide_area a {
    color: var(--primary-blue);
    text-decoration: underline;
    transition: color 0.3s ease;
}

#guide_area a:hover {
    color: var(--primary-orange);
}

/* TEXTO EN NEGRITA */
#guide_area b,
#guide_area strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* LISTAS */
#guide_area ul {
    margin: 20px 0;
    padding-left: 0;
}

#guide_area ul li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #444;
    line-height: 1.6;
}



/* TABLA DE TÉRMINOS LEGALES */
#undercolumn_order {
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

#undercolumn_order .title {
    font-size: 2.2rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

#undercolumn_order .title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
}

#undercolumn_order table {
    border-collapse: collapse;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 0;
}

#undercolumn_order table th {
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 20px 15px;
    font-weight: 600;
    text-align: center;
    border: none;
}

#undercolumn_order table td {
    padding: 20px 15px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
    line-height: 1.6;
}

#undercolumn_order table tr:nth-child(even) {
    background: #f8f9fa;
}

#undercolumn_order table tr:hover {
    background: #e3f2fd;
}

/* PÁGINA DE PRIVACIDAD */
#main_column.colnum1 {
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  
}

#main_column .title {
    font-size: 2.2rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

#main_column .title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
}

#user_data_area {
    
    margin: 0 auto;
}

#user_data_area h5 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin: 25px 0 15px 0;
    padding: 12px 15px;
    background: linear-gradient(135deg, #f8f9ff, #fff5f0);
    border-left: 4px solid var(--primary-orange);
    border-radius: 0 8px 8px 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    #guide_area,
    #undercolumn_order,
    #main_column.colnum1 {
        padding: 25px 20px;
        margin: 10px;
    }
    
    #guide_area h1,
    #undercolumn_order .title,
    #main_column .title {
        font-size: 1.8rem;
    }
    
    .guide_navi {
        grid-template-columns: 1fr;
    }
    
    #undercolumn_order table,
    form table {
        font-size: 0.9rem;
    }
    
    #undercolumn_order table td:first-child,
    form table td:first-child {
        width: auto;
        display: block;
        text-align: center;
    }
}



.product-carousel-section {
    margin: 40px 0;
    width: 100%;
    overflow: hidden;
    padding: 20px;
    background-color: #f1efef;
}

.carousel-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 4px solid #5e35b1;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 40px; /* Más margen para los botones */
}

.carousel {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    gap: 12px; /* Reducido de 15px */
}

/* ===== BOTONES DE NAVEGACIÓN ===== */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.carousel-btn:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
    color: #666;
}

.prev-btn {
    left: -30px; /* Dentro del margen de 40px */
}

.next-btn {
    right: -30px; /* Dentro del margen de 40px */
}

/* ===== CARDS DE PRODUCTOS PARA CARRUSEL ===== */
.carousel .product-card {
    flex: 0 0 240px;
    max-width: 240px;
    background: white;

    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: auto;
}

.carousel .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.carousel .product-item {
    display: block;
    text-decoration: none;
    color: inherit;
}

.carousel .product-image {
    position: relative;
    height: 180px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.carousel .product-info2 {
    padding: 12px;
}

.carousel .product-name {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.carousel .product-specs {
    margin: 8px 0;
}

.carousel .spec-item {
    font-size: 10px;
    color: #666;
    margin-bottom: 2px;
    line-height: 1.2;
}

.carousel .spec-label {
    font-weight: 500;
    color: #555;
}

.carousel .spec-value {
    margin-left: 5px;
}

.carousel .product-price {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}

.carousel .price {
    font-size: 16px;
    font-weight: bold;
    color: #e53935;
}

.carousel .tax-info {
    font-size: 11px;
    color: #666;
    margin-left: 3px;
}

/* ===== LOADING STATE ===== */
.carousel-loading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 200px;
    background: #f8f9fa;
    border-radius: 8px;
    width: 100%;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #5e35b1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

.carousel-loading p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .carousel .product-card {
        flex: 0 0 220px;
        max-width: 220px;
    }
    
    .carousel-wrapper {
        margin: 0 35px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .prev-btn {
        left: -25px;
    }
    
    .next-btn {
        right: -25px;
    }
}

@media (max-width: 768px) {
    .carousel .product-card {
        flex: 0 0 200px;
        max-width: 200px;
    }
    
    .carousel-wrapper {
        margin: 0 30px;
    }
    
    .carousel-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .carousel .product-image {
        height: 150px;
    }
    
    .carousel .product-info2 {
        padding: 10px;
    }
    
    .carousel .product-name {
        font-size: 12px;
    }
    
    .prev-btn {
        left: -20px;
    }
    
    .next-btn {
        right: -20px;
    }
}

@media (max-width: 480px) {
    .carousel .product-card {
        flex: 0 0 180px;
        max-width: 180px;
    }
    
    .carousel-wrapper {
        margin: 0 25px;
    }
    
    .carousel-track {
        gap: 10px;
    }
    
    .carousel .product-image {
        height: 130px;
    }
    
    .carousel .product-info2 {
        padding: 8px;
    }
    
    .carousel .product-name {
        font-size: 11px;
    }
    
    .carousel .spec-item {
        font-size: 9px;
    }
    
    .carousel .price {
        font-size: 14px;
    }
    
    .prev-btn {
        left: -15px;
    }
    
    .next-btn {
        right: -15px;
    }
}

.search-btn i{
    

    color: #333;
}