/* 
 * Mother's Day Feature Page - Elegant & Responsive Styles
 * Target: Women in 30s-40s buying for their mothers
 */

:root {
    /* Color Palette - Elegant, Calm, Warm */
    --primary-color: #C73E60;      /* Elegant dusty rose / carnation pink */
    --primary-light: #FDF4F6;      /* Very soft pink for backgrounds */
    --secondary-color: #D4AF37;    /* Subtle gold for premium feel */
    --text-main: #4A3B32;          /* Deep warm grey/brown for soft readability */
    --text-light: #807671;         /* Lighter text for descriptions */
    --bg-white: #FFFFFF;
    --bg-light: #FAFAFA;
    
    /* Typography */
    --font-serif: 'Noto Serif JP', 'Cormorant Garamond', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Arial, sans-serif;
    
    /* Spacing */
    --section-pad: 80px 0;
    --radius: 4px; /* Slight radius for elegant but crisp look */
    --shadow: 0 10px 30px rgba(74, 59, 50, 0.08);
}

/* Base Refresh */

#brand_logo {
	display: block;
	text-align: center;
	color: #ff4c7a;
	margin: 0 auto;
	padding-top: 10px;
	font-weight: 500;
	font-size: 13px;
	letter-spacing: 0.075em;
	width: 145px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-serif);
    color: var(--text-main);
    line-height: 1.8;
    background-color: var(--bg-white);
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 15px;
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
    border-radius: var(--radius);
    cursor: pointer;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.primary-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(181, 121, 130, 0.3);
}

.primary-btn:hover {
    background-color: #a46971;
    box-shadow: 0 6px 20px rgba(181, 121, 130, 0.4);
    transform: translateY(-2px);
}

.outline-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.outline-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Typography Common */
.eng-title {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--secondary-color);
    font-size: 24px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 24px;
}

.section-desc {
    color: var(--text-light);
    font-size: 16px;
    font-family: var(--font-sans);
}

.section {
    padding: var(--section-pad);
}

.bg-light {
    background-color: var(--bg-light);
}

/* Header */
.site-header {
   /*position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%);
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--text-main);
}
.logo span {
    color: var(--primary-color);
    font-style: italic;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav a {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

/* topicon Section */

.topicon p{
    background-color:#EED7DF;
    }

.topicon p img{
    display:block;
    max-width: 800px;
    margin:0 auto;
    }

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 40%, rgba(255,255,255,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    width: 100%;
    padding: 0 24px;
    margin: 0 auto;
    animation: fadeInUpper 1.2s ease forwards;
}


.hero-subtitle {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-color);
    font-size: 20px;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 52px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-desc {
    font-family: var(--font-sans);
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 450px;
    color: #555;
    line-height: 2;
}

/* Concept Section */
.concept-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.concept-text {
    flex: 1;
}

.concept-image {
    flex: 1;
    position: relative;
}

.concept-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-color);
    z-index: 0;
}

.concept-image img {
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow);
}

/* Categories Grid */
.title-wrap {
    margin-bottom: 50px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.4s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.cat-img {
    height: 280px;
    overflow: hidden;
}

.cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.category-card:hover .cat-img img {
    transform: scale(1.05);
}

.cat-content {
    padding: 30px 24px;
    text-align: center;
}

.cat-content h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 16px;
}

.cat-content p {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Recommend Products Grid */
.section-icon {
    margin: 0 auto 16px;
    display: block;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Layout twist: first 3 products bigger */
.product-grid > article:nth-child(1),
.product-grid > article:nth-child(2),
.product-grid > article:nth-child(3) {
    grid-column: span 1; /* Actually, we want 3 columns for top 3, then 2 columns below */
}

/* Let's redefine product grid for 5 items elegantly: 
   Row 1: 3 items, Row 2: 2 items centered */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.product-item {
    width: calc(33.333% - 20px);
    position: relative;
    margin-bottom: 20px;
}

.product-item:nth-child(4),
.product-item:nth-child(5) {
    width: calc(40% - 15px);
}

.badge {
    position: absolute;
    top: 15px;
    left: -10px;
    background: var(--secondary-color);
    color: #fff;
    padding: 6px 16px;
    font-size: 14px;
    font-family: var(--font-sans);
    font-weight: bold;
    letter-spacing: 0.1em;
    z-index: 10;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}

.badge.rank-1 { background: #dcb348; }
.badge.rank-2 { background: #bcc6cc; }
.badge.rank-3 { background: #cd7f32; }

.product-img {
    /*height: 380px;*/
    /*overflow: hidden;*/
    margin-bottom: 20px;
    background: #f7f7f7;
}

.product-item:nth-child(4) .product-img,
.product-item:nth-child(5) .product-img {
    /*height: 480px;*/
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.product-item:hover .product-img img {
    opacity: 0.8;
}

.product-info {
    text-align: center;
}

.product-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.product-price {
    font-family: var(--font-sans);
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.product-price span {
    font-size: 12px;
    color: var(--text-light);
}

.product-desc {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Wrapping Section */
.wrapping-section {
    background-color: var(--primary-light);
    margin-top: 40px;
}

.wrapping-box {
    display: flex;
    background: #fff;
    box-shadow: var(--shadow);
}

.wrapping-img {
    flex: 1;
    aspect-ratio: 1 / 1;
}

.wrapping-img a {
    display: block;
    width: 100%;
    height: 100%;
}

.wrapping-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wrapping-text {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eng-title.text-light {
    color: var(--primary-color);
    opacity: 0.7;
}

.wrapping-features {
    list-style: none;
    margin-top: 24px;
    font-family: var(--font-sans);
    font-size: 15px;
}

.wrapping-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wrapping-features span {
    color: var(--primary-color);
}

/* Footer */
.site-footer {
    background: var(--text-main);
    color: #fff;
    padding: 80px 0 40px;
    text-align: center;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    margin-bottom: 16px;
}

.footer-msg {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
}

.footer-links {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    gap: 32px;
    font-family: var(--font-sans);
    font-size: 13px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    font-family: var(--font-sans);
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* Animations */
@keyframes fadeInUpper {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
    .nav ul {
        display: none; /* simple mobile hide for now */
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .concept-layout {
        flex-direction: column;
    }
    
    .concept-image::before {
        display: none;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .product-item,
    .product-item:nth-child(4),
    .product-item:nth-child(5) {
        width: calc(50% - 15px);
    }
    
    .wrapping-box {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .topicon p img{
        display:block;
        max-width: 100%;
        margin:0 auto;
    }
    
    .hero {
        align-items: flex-end;
        padding-bottom: 60px;
    }
    
    .hero-bg::after {
        background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 40%, rgba(255,255,255,0) 100%);
    }

    .hero-title {
        font-size: 32px;
    }

    .product-grid {
        gap: 16px;
    }

    .product-item,
    .product-item:nth-child(4),
    .product-item:nth-child(5) {
        width: calc(50% - 8px);
    }
    
    .product-name {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .product-price {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .product-desc {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .badge {
        padding: 4px 10px;
        font-size: 12px;
    }
    
    .wrapping-text {
        padding: 40px 24px;
    }
}

/* Table of Contents Section */
.toc-section {
    padding: 60px 0 20px;
}
.toc-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}
.toc-item {
    background: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
    font-family: var(--font-sans);
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.toc-item::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin-right: 12px;
}
.toc-item:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(199, 62, 96, 0.2);
}
.toc-item:hover::before {
    background-color: #fff;
}

/* Horizontal Scroll Container */
.horizontal-scroll-container {
    margin-top: 80px;
    padding: 40px;
    background-color: var(--bg-light);
    border-radius: var(--radius);
}
.horizontal-scroll-title {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 400;
    color: var(--text-main);
}
.horizontal-scroll-wrap {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
}
.horizontal-scroll-wrap::-webkit-scrollbar {
    height: 8px;
}
.horizontal-scroll-wrap::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}
.horizontal-scroll-wrap::-webkit-scrollbar-track {
    background-color: #f0f0f0;
    border-radius: 10px;
}
.horizontal-item {
    flex: 0 0 240px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow: hidden;
    transition: transform 0.3s ease;
}
.horizontal-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.horizontal-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.horizontal-info {
    padding: 20px 16px;
    text-align: center;
}
.horizontal-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}
.horizontal-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 18px;
    font-family: var(--font-sans);
}
.horizontal-price span {
    font-size: 12px;
    color: var(--text-light);
    font-weight: normal;
}

