/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header principal */
.main-header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.logo{
    background-color: #fdfcfb;
    padding: 10px;
    border-radius: 10px;
    border: #2a6af0 4px solid;
}
/* Top header */
.top-header {
    background-color: #dc8c1f ;
    padding:  10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.top-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Menu hamburguesa (a la izquierda del logo) */
.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #fff;
    font-size: 24px;
}

.hamburger-menu:hover {
    color: #666;
}

 
/* Logo */
.logo img {
    height: 90px;
    width: auto;

    object-fit: contain;
}

/* Header right section */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-right i{
    font-size: 24px;
}
.user-info  {
    display: flex;
    gap: 20px;
    align-items: center;
    color: #fff;
}

.login-section a,
.delivery-info {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.login-text,
.location-text {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.2;
    color: #fff;
}

.login-label,
.delivery-label {
    color: #fff;
    font-size: 11px;
}

.register-text,
.location-name {
    color: #fff;
    font-weight: 500;
}

.cart {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
}

/* Promotional banner */
.promo-banner {
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    color: white;
    padding: 8px 0;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.promo-logo {
    font-weight: bold;
}

.free-shipping {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
}

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

.conditions {
    font-size: 11px;
    opacity: 0.9;
}

/* Search section */
.search-section {
    padding: 15px 0;
    background-color: #f8f8f8;
}

.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-input-container {
    display: flex;
    max-width: 800px;
    width: 100%;
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.search-filter {
    border: none;
    padding: 12px 15px;
    background-color: #f0f0f0;
    border-right: 1px solid #ddd;
    font-size: 14px;
    cursor: pointer;
}

.search-input {
    border: none;
    padding: 12px 15px;
    flex: 1;
    font-size: 14px;
    outline: none;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background-color: #1d4ed8;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
}

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

/* Navigation menu */
.main-nav {
    background-color: white;
    border-top: 1px solid #e0e0e0;
    padding: 0;
}

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

.nav-menu li {
    border-right: 1px solid #e0e0e0;
}

.nav-menu li:last-child {
    border-right: none;
}

.nav-menu a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.nav-menu a:hover {
    background-color: #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
    .header-right {
        gap: 10px;
    }
    
    .user-info {
        gap: 10px;
    }
    
    .login-text,
    .location-text {
        display: none;
    }
    
    .search-bar {
        justify-content: stretch;
    }
    
    .search-input-container {
        max-width: none;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        overflow-x: auto;
    }
    
    .nav-menu li {
        min-width: auto;
    }
    
    .nav-menu a {
        padding: 10px 12px;
        font-size: 12px;
    }
}

/* Modal del menú hamburguesa */
.hamburger-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.hamburger-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 400px;
    height: 100%;
    background-color: white;
    overflow-y: auto;
    animation: slideInLeft 0.3s ease-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    z-index: 10;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 60px 20px 20px;
}

.modal-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.modal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.modal-section h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Botones de login */
.login-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-btn,
.register-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.login-btn.primary {
    background-color: #22c55e;
    color: white;
}

.login-btn.primary:hover {
    background-color: #16a34a;
}

.register-btn.secondary {
    background-color: white;
    color: #22c55e;
    border: 2px solid #22c55e;
}

.register-btn.secondary:hover {
    background-color: #f0fdf4;
}

/* Menu del modal */
.modal-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.modal-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.modal-menu li:last-child {
    border-bottom: none;
}

.modal-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.2s;
}

.modal-menu a:hover {
    color: #2563eb;
}

.modal-menu i {
    color: #999;
    font-size: 12px;
}

/* Footer del modal */
.modal-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: #666;
}

.footer-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-decoration: none;
    color: #666;
}

.footer-item a:hover {
    color: #2563eb;
}

/* Responsive para modal */
@media (max-width: 480px) {
    .modal-content {
        width: 90%;
    }
}

/* Sección de información principal */
.info-section {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin-top: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.info-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 15px;
}

.info-icon {
    flex-shrink: 0;
}

/* Icono de Points (P) */
.point-icon {
    width: 60px;
    height: 60px;
    background-color: #6b7280;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
}

/* Icono Online */
.online-icon {
    width: 60px;
    height: 60px;
    background-color: #6b7280;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
}

.online-icon .fa-desktop {
    font-size: 20px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
}

.online-icon .fa-user {
    font-size: 16px;
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
}

/* Icono Shop */
.shop-icon {
    width: 60px;
    height: 60px;
    background-color: #6b7280;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.info-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
}

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

.info-list li {
    margin-bottom: 12px;
    padding-left: 8px;
    position: relative;
}

.info-list li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.info-list a {
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.2s ease;
    display: block;
}

.info-list a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .info-section {
        padding: 30px 0;
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .info-card {
        padding: 25px 20px;
    }
    
    .info-header {
        gap: 12px;
    }
    
    .point-icon,
    .online-icon,
    .shop-icon {
        width: 50px;
        height: 50px;
    }
    
    .point-icon {
        font-size: 24px;
    }
    
    .online-icon .fa-desktop {
        font-size: 18px;
        top: 10px;
    }
    
    .online-icon .fa-user {
        font-size: 14px;
        bottom: 10px;
    }
    
    .shop-icon {
        font-size: 20px;
    }
    
    .info-title {
        font-size: 16px;
    }
    
    .info-list a {
        font-size: 13px;
    }
}
/* Sección Shopping Guide */
.shopping-guide {
    background-color: white;
    padding: 50px 0;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 30px;
    padding-left: 5px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.guide-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.guide-card:hover {
    border-color: #dc8c1f;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.guide-content {
    flex: 1;
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.guide-arrow {
    color: #dc8c1f;
    font-size: 12px;
    flex-shrink: 0;
}

.guide-title {
    font-size: 16px;
    font-weight: 600;
    color: #dc8c1f;
    margin: 0;
    line-height: 1.3;
}

.guide-description {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
}

.guide-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #9ca3af;
    font-size: 24px;
}

/* Iconos especiales circulares */
.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.yen-icon {
    background-color: #9ca3af;
}

.point-icon {
    background-color: #9ca3af;
}

/* Responsive */
@media (max-width: 1024px) {
    .guide-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    
    .guide-card {
        padding: 18px;
    }
    
    .guide-title {
        font-size: 15px;
    }
    
    .guide-description {
        font-size: 12px;
    }
    
    .guide-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .icon-circle {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .shopping-guide {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .guide-card {
        padding: 16px;
        flex-direction: column;
        text-align: center;
    }
    
    .guide-content {
        order: 2;
    }
    
    .guide-icon {
        order: 1;
        margin-bottom: 10px;
    }
    
    .guide-header {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .guide-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .guide-card {
        flex-direction: row;
        text-align: left;
    }
    
    .guide-content {
        order: 1;
    }
    
    .guide-icon {
        order: 2;
        margin-bottom: 0;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .icon-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .guide-header {
        justify-content: flex-start;
    }
    
    .guide-title {
        font-size: 14px;
    }
    
    .guide-description {
        font-size: 11px;
    }
}
/* Footer */
.main-footer {
    background-color: #f8f9fa;
    margin-top: 50px;
}

/* Carousel dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #6b7280;
}

.dot:hover {
    background-color: #9ca3af;
}

/* Footer content */
.footer-content {
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.2s ease;
    display: block;
}

.footer-links a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Footer brand section */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
    border-top: 1px solid #e5e7eb;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 20px;
    transition: transform 0.2s ease;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-link.twitter {
    background-color: #000000;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.tiktok {
    background-color: #000000;
}

.social-link.youtube {
    background-color: #ff0000;
}

/* Footer bottom */
.footer-bottom {
    background-color: white;
    border-top: 1px solid #e5e7eb;
    padding: 25px 0;
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-links a {
    color: #4b5563;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #2563eb;
    text-decoration: underline;
}

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

.footer-copyright p {
    color: #6b7280;
    font-size: 12px;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-content {
        padding: 30px 0;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-title {
        text-align: center;
        font-size: 15px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .footer-bottom-links {
        gap: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .carousel-dots {
        padding: 15px 0;
        gap: 8px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 25px 0;
    }
    
    .footer-grid {
        gap: 20px;
    }
    
    .footer-title {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .footer-links a {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .footer-brand {
        padding: 20px 0;
        gap: 15px;
    }
    
    .footer-logo img {
        height: 35px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .footer-bottom-links a {
        font-size: 11px;
    }
    
    .footer-copyright p {
        font-size: 10px;
    }
}






/* ============= Brand Showcase ============= */
:root{
  --brand-primary: #1f52dc;   /* tu azul */
  --brand-primary-600: #1b46bd;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --panel: #f8fafc;
  --card-bg: #ffffff;
  --shadow: 0 10px 30px rgba(17,24,39,.08);
}

.brand-section{
  margin: 28px 0 18px;
  width: 85%;
  margin: 20px auto;
}

.brand-head{
  display:flex; align-items:baseline; gap:12px; margin-bottom:14px;
}
.brand-title{
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 800; color: var(--ink);
}
.brand-sub{
  color: var(--muted); font-size: 14px;
}

.brand-grid{
  display:grid; gap:14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px){
  .brand-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px){
  .brand-grid{ grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Card */
.brand-card{
  position: relative;
  display:flex; flex-direction:column;
  background: var(--card-bg);
  border:1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow:hidden;
  text-decoration:none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.brand-card:hover{
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand-primary) 30%, var(--line));
  box-shadow: 0 14px 40px rgba(17,24,39,.12);
}

.brand-card__image {
  position: relative;
  background: var(--panel);
  aspect-ratio: 5/3; /* puedes ajustar la proporción si quieres */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  object-fit: contain; 
  margin-top: 10px;
}

.brand-card__image img {
  width: 80%;
  height: auto;        /* mantiene proporción real */
  object-fit: contain; /* asegura que no se recorte */
}


.brand-card__body{
  padding: 10px 12px 12px;
}
.brand-card__name{
  font-weight: 700; color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  
}
.brand-card__meta{
  margin-top: 6px;
  display:flex; gap:8px; align-items:center; flex-wrap:wrap;
  font-size: 12px; color: var(--muted);
}
.brand-card__count{
  background: #eef2ff;
  color: var(--brand-primary-600);
  padding: 2px 8px; border-radius: 999px;
  border: 1px solid #dbeafe;
}
.brand-card__chip{
  background: #f1f5f9;
  color: #334155;
  padding: 2px 8px; border-radius: 999px;
  border: 1px solid #e2e8f0;
}

/* Loading / error */
.brand-loading, .brand-empty, .brand-error{
  display:flex; gap:10px; align-items:center; justify-content:center;
  min-height:120px; color: var(--muted);
}
.brand-spinner{
  width:16px; height:16px; border-radius:999px;
  border:2px solid #cbd5e1; border-top-color: var(--brand-primary);
  animation: spin 1s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }




.product-grid{
  display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 15px; 
}