/**
 * Shopify-style home page and product card styles
 * High-Fidelity Refinement Based on luredolls.com
 */

/* Import DM Serif Text for Headings */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&family=Inter:wght@400;500;600&display=swap');

:root {
    --shopify-color-primary: #eb1256;
    --shopify-color-text: #000000;
    --shopify-color-bg: #ececec;
    --shopify-color-card-bg: #ffffff;
    --shopify-radius: 12px;
    --shopify-font-heading: "DM Serif Text", serif;
    --shopify-font-body: "Inter", "system-ui", sans-serif;
    --shopify-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Global Reset */
.shopify-home-wrapper {
    font-family: var(--shopify-font-body);
    color: var(--shopify-color-text);
    background: rgb(232, 232, 232) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    overflow-x: hidden;
}

.shopify-home-section {
    background: rgb(232, 232, 232) !important;
}

/* Break Woodmart Container for this template */
.page-template-template-home-shopify .main-page-wrapper > .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 0 !important;
}

.page-template-template-home-shopify .wd-page-title {
    display: none !important;
}

.page-template-template-home-shopify .wd-content-layout {
    padding-top: 0 !important;
}

.shopify-home-wrapper h1, 
.shopify-home-wrapper h2, 
.shopify-home-wrapper h3 {
    font-family: var(--shopify-font-heading);
    font-weight: 400;
    margin-top: 0;
}

/* Hero Section Refined */
.shopify-hero-section {
    position: relative;
    overflow: hidden;
}

.shopify-hero-banner-container {
    position: relative;
    min-height: 600px;
    display: flex;
    width: 100%;
    color: #000;
    background: #f4f4f4;
}

.banner-media-half {
    width: 50%;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.banner-media-half img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s ease;
}

.shopify-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: transparent;
    padding: 20px;
    max-width: 800px;
    width: 95%;
    text-align: center;
    box-shadow: none;
}

.shopify-hero-content h1 {
    font-size: 64px;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.shopify-hero-subhead {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.shopify-hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.shopify-hero-buttons .button-primary {
    background: #eb1256;
    color: #fff;
    padding: 15px 60px;
    font-size: 16px;
    border-radius: 30px;
    width: 100%;
    max-width: 400px;
    font-weight: 600;
    border: none;
}

.shopify-hero-buttons .button-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 60px;
    font-size: 16px;
    border-radius: 30px;
    width: 100%;
    max-width: 400px;
    font-weight: 600;
}

.shopify-hero-buttons .button-primary:hover { 
    background: #d0114d; 
    transform: scale(1.02);
}
.shopify-hero-buttons .button-secondary:hover { 
    background: #fff; 
    color: #000; 
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .shopify-hero-banner-container {
        flex-direction: column;
        min-height: auto;
    }
    .banner-media-half {
        width: 100%;
        height: 350px;
    }
    .shopify-hero-content {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        padding: 30px 20px;
    }
    .shopify-hero-content h1 { font-size: 28px; }
}

.shopify-hero-content h1 {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    font-weight: 700;
}

.shopify-hero-subhead {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.shopify-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

/* Button Styles */
.button-primary {
    background: var(--shopify-color-primary);
    color: #fff;
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: none;
    display: inline-block;
    transition: all 0.3s;
}

.button-secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid #fff;
    display: inline-block;
    transition: all 0.3s;
}

.button-primary:hover { background: #d0114d; }
.button-secondary:hover { background: #fff; color: #000; }

/* Rich Text Section */
.rich-text-divider {
    padding: 20px 0;
    text-align: center;
    background: #000;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* Collections 6-Column Grid */
.collection-grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    padding: 40px 15px;
}

/* Collections Section Refined V3 */
.collection-grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.collection-card-v3 {
    background: transparent;
    display: flex;
    flex-direction: column;
}

.collection-image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.collection-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.collection-image-box:after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.05); /* Very light overlay since image has text */
    transition: background 0.3s;
}

.collection-overlay-text {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    text-align: center;
    color: #fff;
}

.col-main-title {
    font-family: var(--shopify-font-heading);
    font-size: 32px;
    line-height: 1;
    margin-bottom: 5px;
    font-weight: 400;
}

.col-sub-yellow {
    color: #ffcc00;
    font-size: 18px;
    font-weight: 700;
    margin-top: -5px;
    margin-bottom: 5px;
}

.col-description {
    font-size: 10px;
    line-height: 1.2;
    opacity: 0.8;
    max-width: 140px;
}

.collection-link-bottom {
    display: block;
    padding: 15px 5px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.collection-link-bottom:hover {
    color: var(--shopify-color-primary);
}

.collection-link-bottom .arrow {
    margin-left: 5px;
}

.view-all-btn {
    background: #eb1256 !important;
    padding: 12px 40px !important;
    border-radius: 30px !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    letter-spacing: 1px !important;
    border: none !important;
}

.collection-card-v3:hover .collection-image-box img {
    transform: scale(1.1);
}

@media (max-width: 1200px) {
    .collection-grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .collection-grid-6 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .col-main-title { font-size: 24px; }
    .col-sub-yellow { font-size: 16px; }
}

/* Product Cards Refined */
.shopify-style-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s;
}

/* Force Star Color */
.shopify-style-card .star-rating div,
.shopify-style-card .star-rating span {
    color: #EAB308 !important;
}

.shopify-style-card .star-rating span[style*="color: #ddd"] {
    color: #ddd !important; /* Keep empty stars gray */
}

/* Force Price Color */
.shopify-style-card .price-item--current,
.shopify-style-card .price-item--current * {
    color: #000 !important;
    font-weight: 700 !important;
}

.shopify-style-card .price-item--old,
.shopify-style-card .price-item--old * {
    color: #777 !important;
    text-decoration: line-through !important;
}

.product-element-top {
    aspect-ratio: 2/3;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

/* Black Pill Sale Badge - Bottom Left */
.badge-pill-sale {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #000;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 5;
    letter-spacing: 0.5px;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.price-item--current {
    font-size: 15px;
    font-weight: 700;
    color: #000; /* 黑色 */
}

.price-item--old {
    font-size: 13px;
    color: #777; /* 灰色 */
    text-decoration: line-through;
}

/* Responsible Grid for Products */
.shopify-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 15px;
}

@media (max-width: 1200px) {
    .collection-grid-6 { grid-template-columns: repeat(3, 1fr); }
    .shopify-product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .collection-grid-6 { grid-template-columns: repeat(2, 1fr); }
    .shopify-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .shopify-hero-content h1 { font-size: 32px; }
    .shopify-hero-buttons { flex-direction: column; width: 100%; }
}

/* New Sections Styles */
.shopify-home-video-section {
    padding: 60px 0;
    background: rgb(232, 232, 232) !important;
}

.video-wrapper {
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shopify-shadow);
}

.video-wrapper video {
    width: 100%;
    display: block;
}

/* Trust Badges Section V2 */
.trust-badges-flex-row {
    width: 95%;
    max-width: 1200px; /* (275 * 4) + gaps */
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.trust-badges-flex-row a {
    flex: 1;
    display: block;
    max-width: 275px;
    aspect-ratio: 1/1;
}

.trust-badges-flex-row img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .trust-badges-flex-row {
        width: 100%;
        gap: 10px;
        padding: 0 10px;
    }
}

/* Reviews Section V2 */
.reviews-main-title {
    text-align: left;
    font-size: 36px;
    margin-bottom: 40px;
    font-family: var(--shopify-font-heading);
    font-weight: 700;
    color: #000;
    padding: 0 15px;
}

.reviews-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 15px;
}

.review-card-v2 {
    background: #dbdbdb; /* 灰色，比背景深一点 */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.review-title-underlined a {
    color: #000;
    text-decoration: underline;
}

.review-card-v2:hover {
    transform: translateY(-5px);
}

.review-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 12px;
}

.review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-content {
    padding: 25px 20px; /* 增加左右间距 */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.review-title-underlined {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 700;
    font-family: var(--shopify-font-heading);
}

.review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.review-link {
    font-size: 12px;
    color: #000;
    text-decoration: underline;
    font-weight: 700;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .reviews-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .trust-badges-flex-row { width: 100%; justify-content: flex-start; padding-bottom: 10px; }
    .reviews-grid-v2 { grid-template-columns: 1fr; }
    .shopify-reviews-section-v2 .section-title { font-size: 28px; }
}

/* Welcome Text Section V2 */
.shopify-welcome-section-v2 {
    padding: 0 0 52px 0;
    background: rgb(232, 232, 232) !important;
}

.welcome-title-v2 {
    font-size: 2.2vw !important;
    margin-bottom: 20px !important;
    font-weight: bold !important;
    font-family: Arial, sans-serif;
    color: #000;
    text-align: left;
}

.welcome-content-v2 {
    font-size: 0.8vw !important;
    line-height: 1.5;
    text-align: left;
    margin-bottom: 40px;
    color: #333;
}

/* Custom Shopify Footer Styles */
.shopify-custom-footer {
    background: #e4e1df !important;
    padding: 60px 0 0 0;
    font-family: var(--shopify-font-body);
    border-top: 1px solid #eee;
}

.footer-top-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 40px;
    align-items: start;
}

.footer__content-bottom {
    border-top: 1px solid #ddd;
    padding-top: 30px;
    padding-bottom: 30px;
}

.footer__content-bottom-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

.list-payment {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-payment__item {
    display: flex;
    align-items: center;
}

.footer__copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #888;
    font-size: 12px;
}

.footer__copyright .policies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.footer__copyright a {
    color: #888;
    text-decoration: none;
}

.footer__copyright a:hover {
    text-decoration: underline;
}

.footer-heading {
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    margin-bottom: 20px !important;
    color: #000;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #000;
    text-decoration: underline;
}

.brand-col .footer-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.footer-contact-info p {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.footer-contact-info a {
    color: #000;
    text-decoration: underline;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social-icons a {
    color: #333;
    font-size: 20px;
    transition: color 0.3s;
}

.footer-social-icons a:hover {
    color: var(--shopify-color-primary);
}

.footer-bottom-row {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.follow-btn {
    background: #5a31f4;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.heart-icon {
    font-size: 16px;
}

.payment-icons {
    margin-bottom: 25px;
}

.footer-copyright-links {
    font-size: 12px;
    color: #888;
}

.footer-copyright-links a {
    color: #888;
    text-decoration: none;
}

.policy-links {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

@media (max-width: 992px) {
    .footer-top-row { grid-template-columns: repeat(2, 1fr); }
    .welcome-title-v2 { font-size: 24px !important; }
    .welcome-content-v2 { font-size: 14px !important; }
}

@media (max-width: 768px) {
    .footer-top-row { grid-template-columns: 1fr; text-align: center; }
    .footer-social-icons { justify-content: center; }
    .brand-col .footer-logo { margin: 0 auto 20px auto; }
}

@media (max-width: 992px) {
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .trust-badges-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; font-size: 14px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .shopify-reviews-section h2 { font-size: 28px; }
    .welcome-block h1 { font-size: 24px; }
}
