@charset "UTF-8";

/**
 * フロントページ（商品一覧）専用スタイル
 * c:\xampp\htdocs\renew\cart\resources\views\front\products\index.blade.php から抽出
 */

/* Hero Slider Styles */
.hero-swiper {
    width: 100%;
    height: 400px;
}
@media (min-width: 768px) {
    .hero-swiper { height: 600px; }
}
.hero-slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.4s;
}
.swiper-slide-active .hero-overlay {
    opacity: 1;
    transform: translateY(0);
}
.hero-title {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
@media (min-width: 768px) {
    .hero-title { font-size: 3.5rem; }
}
.hero-subtitle {
    font-size: 0.875rem;
    font-weight: 400;
    max-width: 600px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
@media (min-width: 768px) {
    .hero-subtitle { font-size: 1.125rem; }
}
.hero-button {
    margin-top: 2rem;
    padding: 0.75rem 2.5rem;
    background-color: white;
    color: black;
    font-weight: 900;
    border-radius: 9999px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hero-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255,255,255,0.4);
}
.swiper-pagination-bullet { background: white !important; opacity: 0.5; }
.swiper-pagination-bullet-active { opacity: 1; }
.hero-visual .swiper-button-next::after, .hero-visual .swiper-button-prev::after { font-size: 20px; font-weight: bold; }

/* Product Carousel Styles */
.product-carousel-section { padding: 2rem 0; background: #fff; margin-bottom: 2rem; }
.section-title-wrapper { margin-bottom: 2rem; position: relative; }
.section-title { font-size: 1.5rem; font-weight: 900; color: #1a202c; text-transform: uppercase; }
.section-title::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 40px; height: 3px; background: #2563eb; }
.product-card-slide { height: auto; transition: transform 0.3s ease; }
.product-card-slide:hover { transform: translateY(-5px); }
.product-image-ratio { aspect-ratio: 1/1; border-radius: 1rem; overflow: hidden; background: #f7fafc; position: relative; }
.product-tag-recommended { position: absolute; top: 0.75rem; left: 0.75rem; background: #9333ea; color: #fff; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 10px; font-weight: 900; z-index: 10; }
.product-tag-new { position: absolute; top: 0.75rem; left: 0.75rem; background: #0d9488; color: #fff; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 10px; font-weight: 900; z-index: 10; }
.carousel-item-info { padding: 1rem 0.5rem; }
.product-swipe-button { width: 32px !important; height: 32px !important; background: #fff !important; border-radius: 50% !important; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1) !important; color: #1a202c !important; }
.product-swipe-button::after { font-size: 12px !important; font-weight: bold !important; }

/* Promotion Grid Styles */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 1024px) { .promo-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 200px); gap: 1.5rem; } }
.promo-item { position: relative; border-radius: 1rem; overflow: hidden; background: #eee; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.promo-item:hover { transform: translateY(-8px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); }
.promo-item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%); z-index: 1; }
.promo-item-img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; transition: transform 0.7s ease; }
.promo-item:hover .promo-item-img { transform: scale(1.1); }
.promo-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; z-index: 2; color: white; }
.promo-label { font-size: 10px; font-weight: 900; background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); padding: 2px 8px; border-radius: 4px; text-transform: uppercase; margin-bottom: 0.5rem; display: inline-block; letter-spacing: 0.1em; }
.promo-title { font-size: 1.125rem; font-weight: 900; line-height: 1.2; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }

/* Layout Variations */
@media (min-width: 1024px) {
    .promo-item-large { grid-column: span 2; grid-row: span 2; } /* Large / Hero Tile */
    .promo-item-wide { grid-column: span 2; } /* Wide Tile */
    .promo-title-lg { font-size: 2.25rem; }
}

