/* ===== MC USED CAR - Custom CSS for Mockup Design ===== */
/* Copy all this CSS and paste into WordPress Admin > Appearance > Customize > CSS เพิ่มเติม */

/* ===== CSS VARIABLES ===== */
:root {
    --color-bg: #010409;
    --color-bg-secondary: #0d1117;
    --color-bg-tertiary: #161b22;
    --color-gold: #d2a30d;
    --color-gold-hover: #f0c040;
    --color-text: #e6edf3;
    --color-text-muted: #8b949e;
    --color-border: #30363d;
    --color-cyan: #00d4ff;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', serif;
    --font-primary: 'Kanit', sans-serif;
}

/* ===== GLOBAL RESETS ===== */
body {
    font-family: 'Kanit', sans-serif !important;
    background-color: #010409 !important;
    color: #e6edf3 !important;
}
.woocommerce-store-notice { display: none !important; }

/* ===== HEADER ===== */
header, .site-header, #masthead {
    background: #0d1117 !important;
    border-bottom: 1px solid #30363d;
}
.site-header *, #masthead * {
    color: #e6edf3 !important;
}
.site-header a:hover, #masthead a:hover {
    color: #d2a30d !important;
}

/* ===== SITE CONTENT ===== */
.site-content {
    background: #010409 !important;
}

/* ===== HOMEPAGE HERO ===== */
.hero-homepage {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #010409 0%, #0d1117 40%, #1a1a2e 100%);
    overflow: hidden;
    padding: 80px 0;
}
.hero-homepage-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(210, 163, 13, 0.08) 0%, transparent 60%);
    pointer-events: none;
}
.hero-homepage-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}
.hero-homepage h1 {
    font-size: 3.5rem;
    color: #fff !important;
    line-height: 1.2;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif !important;
}
.hero-subtitle {
    font-size: 1.3rem;
    color: #8b949e !important;
    font-weight: 500;
}
.hero-homepage-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 55%;
}
.hero-homepage-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
@media (max-width: 768px) {
    .hero-homepage { min-height: 350px; padding: 50px 0; }
    .hero-homepage h1 { font-size: 2.2rem; }
    .hero-homepage-image { display: none; }
}

/* ===== GUARANTEE BAR ===== */
.guarantee-bar-new {
    background: linear-gradient(135deg, #161b22 0%, #0d1117 100%);
    border-top: 1px solid #30363d;
    border-bottom: 1px solid #30363d;
    padding: 40px 0;
}
.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.guarantee-card {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
}
.guarantee-card:hover {
    border-color: #d2a30d;
    transform: translateY(-3px);
}
.guarantee-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d2a30d, #f0c040);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #000;
    font-size: 1.5rem;
}
.guarantee-card h3 {
    font-size: 1.1rem;
    color: #e6edf3 !important;
    margin-bottom: 8px;
}
.guarantee-card p {
    font-size: 0.85rem;
    color: #8b949e !important;
    margin: 0;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .guarantee-grid { grid-template-columns: 1fr; }
}

/* ===== PRODUCTS SECTION ===== */
.products-section-new {
    padding: 60px 0;
}
.section-header-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #d2a30d;
}
.section-header-new h2 {
    font-size: 1.6rem;
    color: #e6edf3 !important;
    font-family: 'Playfair Display', serif !important;
}
.view-all {
    color: #d2a30d !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.view-all:hover {
    color: #f0c040 !important;
}
.product-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-card-new {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.product-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(210, 163, 13, 0.3);
}
.card-image-new {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #161b22;
}
.card-image-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card-new:hover .card-image-new img {
    transform: scale(1.05);
}
.card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #161b22;
}
.placeholder-text {
    color: #8b949e !important;
    font-size: 0.85rem;
}
.card-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}
.card-heart:hover {
    background: rgba(210, 163, 13, 0.8);
    color: #000;
}
.card-body-new {
    padding: 15px;
}
.card-brand-new {
    font-size: 0.75rem;
    color: #d2a30d !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 600;
}
.card-title-new {
    font-size: 0.95rem;
    color: #e6edf3 !important;
    margin-bottom: 8px;
    line-height: 1.4;
    font-weight: 600;
}
.card-title-new a {
    color: inherit !important;
    text-decoration: none;
}
.card-title-new a:hover {
    color: #d2a30d !important;
}
.card-specs-new {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.card-specs-new span {
    font-size: 0.75rem;
    color: #8b949e !important;
    background: #161b22;
    padding: 3px 8px;
    border-radius: 4px;
}
.card-price-new {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00d4ff !important;
}
.card-price-new small {
    font-size: 0.75rem;
    color: #8b949e !important;
    font-weight: 400;
}
@media (max-width: 1024px) {
    .product-grid-new { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .product-grid-new { grid-template-columns: 1fr; }
}

/* ===== SERVICE BAR ===== */
.service-bar {
    padding: 50px 0;
    background: #0d1117;
    border-top: 1px solid #30363d;
    border-bottom: 1px solid #30363d;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.service-item {
    padding: 20px 15px;
}
.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d2a30d, #f0c040);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #000;
    font-size: 1.2rem;
}
.service-item h4 {
    font-size: 0.95rem;
    color: #e6edf3 !important;
    margin-bottom: 5px;
    font-weight: 600;
}
.service-item p {
    font-size: 0.8rem;
    color: #8b949e !important;
    margin: 0;
}
@media (max-width: 768px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== TRADEIN HERO ===== */
.tradein-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #010409 0%, #0d1117 50%, #161b22 100%);
    overflow: hidden;
    padding: 80px 0;
    text-align: center;
}
.tradein-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 60% 50%, rgba(210, 163, 13, 0.06) 0%, transparent 70%);
}
.tradein-title {
    font-size: 3rem;
    color: #fff !important;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif !important;
    position: relative;
    z-index: 1;
}
.tradein-title-gold {
    color: #d2a30d !important;
}
.tradein-subtitle {
    font-size: 1.1rem;
    color: #8b949e !important;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}
.tradein-features {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.tradein-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b949e !important;
    font-size: 0.9rem;
}
.feature-icon {
    color: #d2a30d !important;
    font-size: 1.1rem;
}
@media (max-width: 768px) {
    .tradein-hero { min-height: 250px; padding: 50px 0; }
    .tradein-title { font-size: 2rem; }
    .tradein-features { flex-direction: column; align-items: center; }
}

/* ===== 3 STEPS SECTION ===== */
.tradein-steps-section {
    padding: 60px 0;
    background: #010409;
}
.steps-title {
    text-align: center;
    font-size: 1.8rem;
    color: #d2a30d !important;
    margin-bottom: 40px;
    font-family: 'Playfair Display', serif !important;
    position: relative;
}
.steps-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #d2a30d;
    margin: 10px auto 0;
}
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.step-card {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    flex: 1;
    max-width: 300px;
    transition: all 0.3s ease;
}
.step-card:hover {
    border-color: #d2a30d;
}
.step-number-circle {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #d2a30d, #f0c040);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #000;
    margin: 0 auto 15px;
}
.step-icon-circle {
    width: 60px;
    height: 60px;
    background: #161b22;
    border: 2px solid #d2a30d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #d2a30d;
}
.line-icon {
    background: #06C755;
    border-color: #06C755;
}
.line-text {
    color: #fff !important;
    font-weight: 700;
    font-size: 0.8rem;
}
.step-card h3 {
    font-size: 1.1rem;
    color: #e6edf3 !important;
    margin-bottom: 8px;
    font-weight: 600;
}
.step-card p {
    font-size: 0.85rem;
    color: #8b949e !important;
    margin: 0;
}
.step-connector {
    width: 40px;
    height: 2px;
    background: #d2a30d;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .steps-grid { flex-direction: column; gap: 15px; }
    .step-card { max-width: 100%; }
    .step-connector { width: 2px; height: 20px; }
}

/* ===== PREPARE SECTION ===== */
.tradein-prepare-section {
    padding: 60px 0;
    background: #0d1117;
    border-top: 1px solid #30363d;
}
.prepare-title {
    text-align: center;
    font-size: 1.5rem;
    color: #e6edf3 !important;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif !important;
}
.prepare-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.prepare-card {
    background: #010409;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 25px 20px;
    transition: all 0.3s ease;
}
.prepare-card:hover {
    border-color: #d2a30d;
}
.prepare-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d2a30d !important;
    margin-bottom: 10px;
}
.prepare-card h4 {
    font-size: 1rem;
    color: #e6edf3 !important;
    margin-bottom: 8px;
    font-weight: 600;
}
.prepare-card p {
    font-size: 0.8rem;
    color: #8b949e !important;
    margin: 0;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .prepare-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .prepare-grid { grid-template-columns: 1fr; }
}

/* ===== LINE CTA ===== */
.tradein-line-cta,
.contact-line-cta {
    padding: 40px 0;
    background: #010409;
    text-align: center;
}
.line-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #06C755, #04a044);
    color: #fff !important;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(6, 199, 85, 0.3);
}
.line-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(6, 199, 85, 0.4);
    color: #fff !important;
}
.line-cta-button.contact {
    width: 100%;
    max-width: 600px;
    justify-content: center;
}
.line-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}
.line-cta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.line-cta-text strong {
    font-size: 1.1rem;
}
.line-cta-text span {
    font-size: 0.85rem;
    opacity: 0.9;
}
.line-cta-arrow {
    font-size: 1.5rem;
    margin-left: 5px;
}
.privacy-note {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #8b949e !important;
}

/* ===== CONTACT HERO ===== */
.contact-hero {
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #010409 0%, #0d1117 50%, #161b22 100%);
    text-align: center;
    padding: 60px 0;
    overflow: hidden;
}
.contact-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at center, rgba(210, 163, 13, 0.06) 0%, transparent 70%);
}
.contact-title {
    font-size: 3rem;
    color: #fff !important;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif !important;
    position: relative;
    z-index: 1;
}
.contact-subtitle {
    font-size: 1.1rem;
    color: #8b949e !important;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ===== CONTACT CARDS ===== */
.contact-cards-section {
    padding: 50px 0;
    background: #010409;
}
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}
.contact-card:hover {
    border-color: #d2a30d;
}
.contact-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.phone-icon {
    background: rgba(0, 212, 255, 0.15);
}
.phone-icon svg {
    color: #00d4ff !important;
}
.line-icon-wrapper {
    background: rgba(6, 199, 85, 0.15);
}
.facebook-icon {
    background: rgba(24, 119, 242, 0.15);
}
.facebook-icon svg {
    color: #1877F2 !important;
}
.location-icon {
    background: rgba(210, 163, 13, 0.15);
}
.location-icon svg {
    color: #d2a30d !important;
}
.contact-card-info {
    display: flex;
    flex-direction: column;
}
.contact-label {
    font-size: 0.8rem;
    color: #8b949e !important;
    margin-bottom: 3px;
}
.contact-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e6edf3 !important;
    text-decoration: none;
}
.contact-value:hover {
    color: #d2a30d !important;
}
.contact-value-line {
    font-size: 1.2rem;
    font-weight: 700;
    color: #06C755 !important;
}
.contact-value-location {
    font-size: 1.2rem;
    font-weight: 700;
    color: #d2a30d !important;
}
.contact-desc {
    font-size: 0.8rem;
    color: #8b949e !important;
    margin-top: 3px;
}
@media (max-width: 768px) {
    .contact-cards-grid { grid-template-columns: 1fr; }
    .contact-title { font-size: 2rem; }
}

/* ===== CONTACT MAP ===== */
.contact-map-section {
    padding: 40px 0 60px;
    background: #010409;
}
.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #30363d;
}
.map-wrapper iframe {
    display: block;
    filter: brightness(0.8) contrast(1.1);
}

/* ===== WOOCOMMERCE PRODUCT CARDS ===== */
.woocommerce ul.products li.product {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(210, 163, 13, 0.3);
}
.woocommerce ul.products li.product .price {
    color: #00d4ff !important;
    font-weight: 700;
}
.woocommerce ul.products li.product .price del {
    color: #8b949e !important;
    font-weight: 400;
}
.woocommerce ul.products li.product .price ins {
    color: #00d4ff !important;
}

/* ===== SINGLE PRODUCT PAGE ===== */
.single-product .woocommerce-product-gallery {
    border-radius: 12px;
    overflow: hidden;
}
.single-product .summary {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 30px;
}
.single-product .product_title {
    color: #e6edf3 !important;
    font-family: 'Playfair Display', serif !important;
}
.single-product .price {
    color: #00d4ff !important;
    font-size: 1.5rem;
    font-weight: 700;
}

/* ===== FOOTER ===== */
.site-footer, footer {
    background: #0d1117 !important;
    border-top: 1px solid #30363d;
}
.site-footer *, footer * {
    color: #8b949e !important;
}
.site-footer h4, footer h4,
.site-footer h3, footer h3 {
    color: #d2a30d !important;
}
.site-footer a:hover, footer a:hover {
    color: #d2a30d !important;
}
