/* ═══════════ COACH MOBILE LAYOUT (SEIKO-STYLE) ═══════════ */
/* This file overrides the old catalog layout with new seiko-style layout */

/* Page container */
.page-main {
    width: min(100%, 420px);
    margin: 0 auto;
    background: #fff;
    overflow-x: hidden;
}

@media (min-width: 561px) {
    html { background: #e5e7eb; }
    .page-main { box-shadow: 0 24px 60px rgba(0,0,0,.18); }
}

@media (max-width: 560px) {
    .page-main { width: 100%; }
}

/* ═══════════ HERO SLIDER ═══════════ */
.hero.rl-hero-gallery {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero.rl-hero-gallery .hero-slides {
    display: flex;
    width: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero.rl-hero-gallery .hero-slide {
    min-width: 100%;
    position: relative;
}

.hero.rl-hero-gallery .hero-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-controls {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.hero-dot.active {
    background: #fff;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    font-size: 48px;
    font-weight: 300;
    color: #fff;
    cursor: pointer;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
    opacity: 0.9;
}

.hero-arrow.prev { left: 4px; }
.hero-arrow.next { right: 4px; }

/* ═══════════ VIDEO SECTION ═══════════ */
.rl-video-section {
    background: #000;
    padding: 0;
}

.rl-video-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #000;
}

.rl-video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    pointer-events: none;
}

/* ═══════════ PRODUCTS SECTION ═══════════ */
.products-section {
    background: #fff;
    padding: 0 0 32px;
}

.products-section > .container {
    width: 100%;
    max-width: 420px;
    padding: 0;
    margin: 0 auto;
}

/* Mega Sale Heading */
.mega-sale-heading {
    width: 100%;
    background: #1a1a2e;
    color: #f7e8bf;
    text-align: center;
    padding: 36px 18px 28px;
}

.mega-sale-heading h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 4px;
    margin: 0 0 4px;
    color: #f7e8bf;
}

.mega-sale-heading h3 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    margin: 0 0 18px;
    opacity: 0.85;
    color: #f7e8bf;
}

.mega-countdown {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 286px;
    margin: 0 auto;
}

.mega-countdown-item {
    display: grid;
    gap: 4px;
    justify-items: center;
    min-height: 58px;
    padding: 8px 6px 7px;
    background: #fff;
    color: #1a1a2e;
    border-radius: 2px;
}

.mega-countdown-item span {
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.mega-countdown-item small {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: 0.7;
    display: block;
}

/* Products Grid */
.products-section .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.products-section .product-card {
    background: #fff;
    border-right: 1px solid rgba(0,0,0,.08);
    border-bottom: 1px solid rgba(0,0,0,.08);
    padding: 0 0 14px;
    min-height: 0;
    min-width: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.products-section .product-card.is-right-column {
    border-right: 0;
}

.products-section .product-card .product-img {
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    aspect-ratio: 1/1;
    max-height: 50vw;
}

.products-section .product-card .product-img img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    transform: none;
    display: block;
}

.products-section .product-info {
    padding: 10px 8px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.products-section .product-name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    text-align: left;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-section .product-price {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.products-section .product-price-current {
    font-size: 18px;
    font-weight: 700;
    color: #c0392b;
}

.products-section .product-price-original {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.products-section .product-discount {
    font-size: 11px;
    font-weight: 700;
    color: #c0392b;
    background: #fff0f0;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.products-section .product-wishlist {
    font-size: 20px;
    cursor: pointer;
    color: #bbb;
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    z-index: 3;
}

.products-section .product-wishlist.active { color: #c0392b; }

.products-section .product-model-tag {
    display: none;
}

.products-section .product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #c0392b;
    color: #fff;
    padding: 2px 8px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 2px;
    z-index: 2;
}

.products-section .product-cart-btn {
    display: block;
    width: 100%;
    padding: 10px 12px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    cursor: pointer;
    margin-top: auto;
    border-radius: 0;
}

.products-section .product-cart-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.products-section .product-promo-banner {
    grid-column: 1 / -1;
    background: #fff;
    border-bottom: 1px solid rgba(26,26,46,.15);
}

.products-section .product-promo-banner img {
    display: block;
    width: 100%;
    height: auto;
}

/* ═══════════ SEEDING — horizontal gallery ═══════════ */
.seeding-shell {
    padding: 30px 0 30px 16px;
    background: #fff;
    display: block !important;
    content-visibility: visible !important;
}

.seeding-head {
    padding-right: 16px;
    margin-bottom: 18px;
}

body[data-page="index"] .seeding-track,
.seeding-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-auto-flow: unset !important;
    grid-auto-columns: unset !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0 16px 8px 0;
    scrollbar-width: none;
}

body[data-page="index"] .seeding-track::-webkit-scrollbar,
.seeding-track::-webkit-scrollbar { display: none; }

body[data-page="index"] .seeding-card,
.seeding-card {
    flex: 0 0 160px !important;
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    border-radius: 10px;
    overflow: hidden;
    border: none;
    background: #fff;
    box-shadow: none;
    scroll-snap-align: start;
}

body[data-page="index"] .seeding-card img,
.seeding-card img {
    width: 160px !important;
    height: 160px !important;
    aspect-ratio: unset !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 10px;
}

body[data-page="index"] .seeding-card-copy,
.seeding-card-copy {
    display: none !important;
}
