/* ═══════════ 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: #f5f2ec;
    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, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin: 0 !important;
}

.products-section .product-card {
    background: #f5f2ec;
    border-right: 1px solid rgba(26,26,46,.15);
    border-bottom: 1px solid rgba(26,26,46,.15);
    padding: 14px 8px 16px;
    min-height: 280px;
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

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

.products-section .product-card .product-img {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px 0;
}

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

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

.products-section .product-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    margin-bottom: 4px;
}

.products-section .product-name {
    font-size: 12px;
    font-weight: 400;
    color: #6f6f6f;
    line-height: 1.2;
    text-align: left;
}

.products-section .product-wishlist {
    font-size: 20px;
    cursor: pointer;
    color: #bbb;
    flex-shrink: 0;
    position: static;
    width: auto;
    height: auto;
    background: none;
    border: none;
}

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

.products-section .product-meta {
    font-size: 11px;
    color: #aaa;
    margin-bottom: 6px;
}

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

.products-section .product-price-current {
    font-size: 17px;
    font-weight: 600;
    color: #111;
}

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

.products-section .product-model-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #2ecc71;
    margin-bottom: 10px;
}

.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 ═══════════ */
.seeding-shell {
    padding: 40px 16px;
    background: #fff;
}

.seeding-head {
    text-align: center;
    margin-bottom: 24px;
}

.seeding-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

.seeding-card {
    min-width: 260px;
    max-width: 280px;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    background: #f9f9f9;
    flex-shrink: 0;
}

.seeding-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.seeding-card-copy {
    padding: 14px;
}

.seeding-card-quote {
    font-size: 12px;
    color: #444;
    line-height: 1.5;
    margin: 0 0 8px;
}

.seeding-card-meta {
    font-size: 10px;
    color: #999;
    font-weight: 600;
}
