/*
Theme Name: EastWest Commerce Inc
Theme URI: https://example.com/
Author: Cursor
Description: A polished WordPress theme based on the EastWest Commerce Inc landing page.
Version: 1.0.0
Text Domain: eastwest-commerce-inc
*/

:root {
  --bg: #eef3f8;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --text: #1f2f3d;
  --muted: #647485;
  --primary: #17324a;
  --secondary: #c58f45;
  --line: rgba(23, 50, 74, 0.10);
  --shadow: 0 24px 70px rgba(14, 28, 43, 0.14);
  --shadow-soft: 0 10px 30px rgba(14, 28, 43, 0.10);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", "Microsoft YaHei", "PingFang SC", Arial, sans-serif; color: var(--text); background: radial-gradient(circle at top left, rgba(197, 143, 69, 0.12), transparent 32%), radial-gradient(circle at 85% 12%, rgba(23, 50, 74, 0.14), transparent 28%), linear-gradient(180deg, #f7fafc 0%, var(--bg) 100%); line-height: 1.7; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wrap { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.hero { position: relative; overflow: hidden; min-height: 92vh; display: grid; align-items: center; color: #fff; background: #0d1e2d; }
.hero::before, .hero::after { content: ""; position: absolute; inset: auto; border-radius: 999px; filter: blur(20px); pointer-events: none; }
.hero::before { width: 420px; height: 420px; right: -140px; top: -120px; background: rgba(197, 143, 69, 0.22); animation: float 14s ease-in-out infinite; }
.hero::after { width: 360px; height: 360px; left: -120px; bottom: -140px; background: rgba(71, 132, 181, 0.18); animation: float 18s ease-in-out infinite reverse; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(9, 19, 29, 0.96) 0%, rgba(9, 19, 29, 0.74) 44%, rgba(9, 19, 29, 0.38) 100%), url("https://tse1.mm.bing.net/th?q=stainless%20steel%20cutlery%20set%20flatware%20product&w=1800&h=1100&c=7&rs=1&p=0") center/cover; transform: scale(1.05); animation: kenburns 18s ease-in-out infinite alternate; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 42px; padding: 72px 0 86px; align-items: center; min-height: 92vh; }
.hero-copy { max-width: 760px; display: grid; justify-items: start; gap: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: #f0d39d; font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 44px; height: 2px; background: var(--secondary); }
h1 { font-size: clamp(48px, 6.6vw, 88px); line-height: .96; letter-spacing: -.06em; max-width: 760px; }
.hero-lead { max-width: 640px; color: rgba(255,255,255,.84); font-size: clamp(16px, 1.4vw, 19px); }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 800; transition: transform .25s ease, box-shadow .25s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #0e1a27; background: linear-gradient(135deg, #f6ddb1, #ddb06d); box-shadow: 0 18px 34px rgba(197,143,69,.24); }
.btn-ghost { color: #fff; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); }
.hero-side { justify-self: end; width: min(100%, 410px); display: grid; gap: 16px; }
.hero-mini-card { padding: 22px; border-radius: 28px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(16px); box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.hero-mini-card strong { display: block; margin-bottom: 8px; font-size: 16px; color: #f6ddb1; letter-spacing: .04em; }
.hero-mini-card p { color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.8; }
.hero-badges { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.hero-badge { padding: 16px 14px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.84); font-size: 13px; line-height: 1.5; }
.ticker { position: relative; z-index: 2; overflow: hidden; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(9,19,29,.55); backdrop-filter: blur(8px); }
.ticker-track { display: flex; gap: 34px; width: max-content; padding: 14px 0; color: rgba(255,255,255,.78); white-space: nowrap; animation: marquee 26s linear infinite; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.ticker-track span { color: #f1d39d; }
.section { position: relative; padding: 96px 0; }
.section:nth-child(even) { background: rgba(255,255,255,.26); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-kicker { color: var(--secondary); font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section h2 { margin-top: 12px; color: var(--primary); font-size: clamp(30px,4vw,52px); line-height: 1.1; letter-spacing: -.04em; }
.section-desc { max-width: 520px; color: var(--muted); font-size: 16px; }
.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: stretch; }
.glass { background: var(--panel); border: 1px solid rgba(255,255,255,.72); border-bottom-color: rgba(24,59,77,.12); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.story-image, .gallery-item { overflow: hidden; position: relative; }
.story-image { border-radius: 30px; min-height: 520px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.72); background: #162434; }
.story-image img, .gallery-item img { transition: transform .8s ease, filter .4s ease; }
.story-image:hover img, .gallery-item:hover img { transform: scale(1.06); filter: saturate(1.08); }
.story-copy { align-self: end; margin-left: -68px; margin-bottom: 28px; padding: 28px; border-radius: 26px; }
.story-copy h3, .card h3 { color: var(--primary); font-size: 24px; margin-bottom: 10px; }
.story-copy p, .card p { color: var(--muted); }
.cards { display: grid; gap: 18px; }
.card { padding: 26px; border-radius: 26px; box-shadow: var(--shadow-soft); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; height: 38px; padding: 0 14px; border-radius: 999px; background: linear-gradient(135deg,#f3e3c8,#edf2f7); color: var(--primary); font-weight: 800; }
.product-showcase { display: grid; gap: 18px; }
.product { display: grid; grid-template-columns: 1fr 1fr; border-radius: 30px; overflow: hidden; background: var(--panel-strong); border: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(14px); opacity: 0; transition: transform .8s ease, opacity .8s ease, box-shadow .3s ease; }
.product.reveal { transform: translateY(0); opacity: 1; }
.product:hover { box-shadow: 0 28px 80px rgba(14,28,43,.16); }
.product.reverse .product-text { order: 1; }
.product.reverse .product-image { order: 2; }
.product-image { min-height: 340px; position: relative; background: #162434; }
.product-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,18,27,.02), rgba(8,18,27,.28)); pointer-events: none; }
.product-label { position: absolute; left: 18px; bottom: 16px; z-index: 1; padding: 9px 14px; border-radius: 999px; color: #0e1a27; background: linear-gradient(135deg,#f6ddb1,#ddb06d); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.product-text { padding: 34px; display: grid; align-content: center; gap: 16px; }
.product-index { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; color: var(--primary); font-weight: 900; background: linear-gradient(135deg,#f7e8cf,#eef3f7); }
.product-text h3 { color: var(--primary); font-size: 26px; line-height: 1.1; }
.product-text p { color: var(--muted); }
.product-specs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 4px; }
.product-specs span { padding: 10px 12px; border-radius: 14px; color: #244057; background: linear-gradient(135deg,rgba(243,227,200,.82),rgba(237,242,247,.94)); font-size: 13px; font-weight: 800; }
.gallery { display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; margin-top: 26px; }
.gallery-item { min-height: 220px; border-radius: 26px; box-shadow: var(--shadow-soft); transform: translateY(16px); opacity: 0; transition: transform .8s ease, opacity .8s ease; background: #162434; }
.gallery-item.reveal { transform: translateY(0); opacity: 1; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(8,18,27,.02),rgba(8,18,27,.56)); opacity: 0; transition: opacity .35s ease; }
.gallery-item:hover::after { opacity: 1; }
.gallery-item span { position: absolute; left: 18px; bottom: 16px; z-index: 1; color: #fff; font-weight: 700; text-shadow: 0 6px 14px rgba(0,0,0,.28); }
.wide { grid-column: span 7; }
.tall { grid-column: span 5; min-height: 458px; }
.small { grid-column: span 4; }
.footer { padding: 28px 0 40px; color: #6b7b89; font-size: 14px; }
.footer-panel { border-radius: 28px; padding: 24px; background: rgba(255,255,255,.84); border: 1px solid rgba(23,50,74,.08); box-shadow: var(--shadow-soft); backdrop-filter: blur(14px); }
.footer-label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--secondary); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.footer-label::before { content: ""; width: 34px; height: 1px; background: rgba(197,143,69,.8); }
.footer-row { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: stretch; padding-top: 18px; border-top: 1px solid rgba(23,50,74,.10); }
.footer-company { display: grid; gap: 14px; color: var(--primary); }
.footer-brand { font-weight: 900; font-size: clamp(20px,2.2vw,24px); letter-spacing: .01em; }
.footer-contact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.footer-contact-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg,rgba(243,227,200,.76),rgba(237,242,247,.96)); border: 1px solid rgba(23,50,74,.08); color: var(--primary); font-weight: 700; word-break: break-word; min-height: 64px; }
.footer-contact-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg,var(--primary),#2f5b7a); box-shadow: 0 10px 20px rgba(23,50,74,.18); }
.footer-contact-icon svg { width: 20px; height: 20px; display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact-text { line-height: 1.45; }
.reveal { animation: fadeUp .85s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(0,-16px,0) scale(1.04); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.12); } }
@media (max-width: 1024px) { .hero-grid, .grid-2, .product { grid-template-columns: 1fr; } .hero-side { justify-self: start; width: min(100%,560px); } .story-copy { margin-left: 0; margin-top: -56px; } .wide, .tall, .small { grid-column: span 12; } .section-head { align-items: start; flex-direction: column; } .product.reverse .product-text, .product.reverse .product-image { order: unset; } }
@media (max-width: 640px) { .wrap { width: min(100% - 20px,1240px); } .hero { min-height: auto; } .hero-grid { padding: 56px 0 46px; min-height: auto; } h1 { font-size: clamp(38px,12vw,58px); } .hero-lead { font-size: 16px; } .section { padding: 68px 0; } .product-text, .card { padding: 22px; } .story-image { min-height: 380px; } .hero-badges, .footer-contact-grid, .product-specs { grid-template-columns: 1fr; } }
