/*
Theme Name: EZ Advertising Commerce
Theme URI: https://ezadvertising.com.my/
Author: EZ Advertising
Description: Purpose-built WooCommerce storefront for EZ Advertising printing products.
Version: 1.0.0
Text Domain: ez-advertising
*/

:root {
  --ez-navy: #08233f;
  --ez-blue: #0d5c91;
  --ez-cyan: #16b8cf;
  --ez-orange: #ff7a1a;
  --ez-ink: #132238;
  --ez-muted: #64748b;
  --ez-line: #dbe5ef;
  --ez-soft: #f3f7fb;
  --ez-white: #ffffff;
  --ez-radius: 18px;
  --ez-shadow: 0 14px 36px rgba(8, 35, 63, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ez-ink);
  background: var(--ez-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.ez-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.screen-reader-text { position: absolute; clip: rect(1px,1px,1px,1px); overflow: hidden; width: 1px; height: 1px; }

.ez-topbar { background: var(--ez-navy); color: #d8e7f5; font-size: 13px; }
.ez-topbar .ez-container { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; }
.ez-topbar strong { color: #fff; }
.ez-header { position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--ez-line); backdrop-filter: blur(12px); }
.admin-bar .ez-header { top: 32px; }
.ez-header-row { min-height: 76px; display: flex; align-items: center; gap: 26px; }
.ez-brand { display: flex; align-items: center; gap: 12px; min-width: 240px; }
.ez-brand img { width: 56px; height: 56px; object-fit: contain; }
.ez-brand-copy { display: grid; line-height: 1.05; }
.ez-brand-copy strong { color: var(--ez-navy); font-size: 20px; letter-spacing: -.02em; }
.ez-brand-copy span { color: var(--ez-muted); font-size: 11px; margin-top: 6px; text-transform: uppercase; letter-spacing: .08em; }
.ez-nav { display: flex; align-items: center; justify-content: center; gap: 24px; flex: 1; font-size: 14px; font-weight: 700; }
.ez-nav a:hover { color: var(--ez-orange); }
.ez-header-actions { display: flex; align-items: center; gap: 10px; }
.ez-icon-link, .ez-cart-link { border: 1px solid var(--ez-line); border-radius: 999px; min-height: 42px; display: inline-flex; align-items: center; padding: 0 15px; font-size: 13px; font-weight: 800; }
.ez-cart-link { background: var(--ez-orange); border-color: var(--ez-orange); color: #fff; }

.ez-hero { overflow: hidden; background: linear-gradient(125deg, #071f39 0%, #0b416c 58%, #087f9d 100%); color: #fff; }
.ez-hero .ez-container { min-height: 570px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 52px; align-items: center; padding-block: 72px; }
.ez-kicker { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.2); color: #dffaff; font-weight: 800; font-size: 13px; }
.ez-kicker::before { content: ""; width: 8px; height: 8px; background: var(--ez-orange); border-radius: 99px; box-shadow: 0 0 0 5px rgba(255,122,26,.16); }
.ez-hero h1 { margin: 22px 0 18px; font-size: clamp(42px, 5vw, 70px); line-height: .99; letter-spacing: -.055em; max-width: 760px; }
.ez-hero h1 span { color: #57d7e6; }
.ez-hero p { color: #d2e5f1; max-width: 680px; font-size: 18px; }
.ez-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ez-btn { min-height: 48px; padding: 0 22px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; border: 1px solid transparent; transition: .2s ease; }
.ez-btn:hover { transform: translateY(-2px); }
.ez-btn-primary { background: var(--ez-orange); color: #fff; box-shadow: 0 10px 22px rgba(255,122,26,.25); }
.ez-btn-ghost { color: #fff; border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.07); }
.ez-hero-note { margin-top: 18px; font-size: 13px; color: #b8cedc; }
.ez-hero-visual { position: relative; min-height: 410px; }
.ez-product-stack { position: absolute; inset: 0; }
.ez-print-card { position: absolute; border-radius: 22px; box-shadow: 0 26px 52px rgba(0,0,0,.28); overflow: hidden; }
.ez-print-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(255,255,255,.26), transparent 44%); pointer-events: none; }
.ez-card-a { width: 280px; height: 180px; top: 22px; right: 16px; background: linear-gradient(135deg,#ff7a1a,#ffb13b); transform: rotate(6deg); }
.ez-card-b { width: 330px; height: 210px; top: 145px; left: 4px; background: linear-gradient(135deg,#12afca,#096494); transform: rotate(-6deg); }
.ez-card-c { width: 270px; height: 165px; bottom: 0; right: 0; background: #fff; color: var(--ez-navy); transform: rotate(4deg); }
.ez-card-content { position: absolute; inset: 24px; display: flex; flex-direction: column; justify-content: space-between; z-index: 1; }
.ez-card-content b { font-size: 26px; letter-spacing: -.03em; }
.ez-card-content span { font-size: 13px; font-weight: 800; opacity: .85; }
.ez-dots { position: absolute; width: 170px; height: 170px; right: -60px; top: -32px; border-radius: 50%; background-image: radial-gradient(rgba(255,255,255,.35) 2px, transparent 2px); background-size: 14px 14px; }

.ez-trust { border-bottom: 1px solid var(--ez-line); background: #fff; }
.ez-trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.ez-trust-item { padding: 20px; border-right: 1px solid var(--ez-line); display: flex; align-items: center; justify-content: center; gap: 12px; text-align: left; }
.ez-trust-item:last-child { border-right: 0; }
.ez-trust-icon { width: 38px; height: 38px; border-radius: 11px; background: #e9f8fb; color: #07849a; display: grid; place-items: center; font-weight: 900; }
.ez-trust-item strong { display: block; font-size: 14px; color: var(--ez-navy); }
.ez-trust-item span { display: block; font-size: 12px; color: var(--ez-muted); }

.ez-section { padding: 82px 0; }
.ez-section-soft { background: var(--ez-soft); }
.ez-section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.ez-eyebrow { margin: 0 0 8px; color: var(--ez-orange); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 900; }
.ez-section h2 { color: var(--ez-navy); margin: 0; font-size: clamp(30px,4vw,46px); line-height: 1.1; letter-spacing: -.035em; }
.ez-section-head p { max-width: 560px; color: var(--ez-muted); margin: 10px 0 0; }
.ez-text-link { color: var(--ez-blue); font-weight: 900; white-space: nowrap; }

.ez-category-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.ez-category { position: relative; min-height: 230px; padding: 28px; border-radius: var(--ez-radius); overflow: hidden; color: #fff; box-shadow: var(--ez-shadow); transition: .25s ease; }
.ez-category:hover { transform: translateY(-5px); }
.ez-category::before { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; right: -55px; bottom: -70px; background: rgba(255,255,255,.12); }
.ez-category:nth-child(1), .ez-category:nth-child(5) { background: linear-gradient(135deg,#0b2948,#0d5c91); }
.ez-category:nth-child(2), .ez-category:nth-child(6) { background: linear-gradient(135deg,#ff6d18,#ff9d2f); }
.ez-category:nth-child(3) { background: linear-gradient(135deg,#09899f,#17bdd0); }
.ez-category:nth-child(4) { background: linear-gradient(135deg,#42308c,#6f55c7); }
.ez-category small { opacity: .82; font-weight: 800; }
.ez-category h3 { margin: 70px 0 6px; font-size: 25px; line-height: 1.1; }
.ez-category span { font-size: 13px; opacity: .88; }

.ez-products ul.products { display: grid !important; grid-template-columns: repeat(4,1fr); gap: 20px; margin: 0 !important; }
.ez-products ul.products::before, .ez-products ul.products::after { display: none !important; }
.ez-products ul.products li.product, .woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding: 16px; background: #fff; border: 1px solid var(--ez-line); border-radius: 16px; box-shadow: 0 8px 24px rgba(8,35,63,.06); }
.woocommerce ul.products li.product img { border-radius: 12px; margin-bottom: 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--ez-navy); font-size: 16px; padding: 0; }
.woocommerce ul.products li.product .price { color: var(--ez-orange); font-weight: 900; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { background: var(--ez-navy); color: #fff; border-radius: 10px; font-weight: 800; padding: 13px 16px; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--ez-orange); color: #fff; }
.ez-empty-products { border: 2px dashed var(--ez-line); border-radius: var(--ez-radius); padding: 48px 28px; text-align: center; background: #fff; }
.ez-empty-products strong { display: block; color: var(--ez-navy); font-size: 21px; }
.ez-empty-products span { color: var(--ez-muted); }

.ez-process { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; counter-reset: step; }
.ez-step { border: 1px solid var(--ez-line); padding: 24px; border-radius: var(--ez-radius); background: #fff; counter-increment: step; }
.ez-step::before { content: "0" counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--ez-navy); color: #fff; font-weight: 900; }
.ez-step h3 { color: var(--ez-navy); margin: 20px 0 8px; }
.ez-step p { color: var(--ez-muted); font-size: 14px; margin: 0; }

.ez-payment-panel { display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; border-radius: 24px; background: var(--ez-navy); color: #fff; box-shadow: var(--ez-shadow); }
.ez-payment-copy { padding: 48px; }
.ez-payment-copy h2 { color: #fff; }
.ez-payment-copy p { color: #c9ddea; }
.ez-pay-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.ez-pay-badge { background: #fff; color: var(--ez-navy); border-radius: 12px; padding: 12px 17px; font-weight: 900; }
.ez-payment-points { background: linear-gradient(135deg,#0e6a92,#10aabd); padding: 48px; display: grid; gap: 16px; align-content: center; }
.ez-payment-point { display: flex; align-items: flex-start; gap: 13px; }
.ez-check { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ez-orange); font-weight: 900; }
.ez-payment-point strong { display: block; }
.ez-payment-point span { display: block; color: #d9f6fa; font-size: 13px; }

.ez-content { padding: 54px 0 80px; min-height: 55vh; }
.ez-content .woocommerce { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.woocommerce div.product div.images img { border-radius: var(--ez-radius); }
.woocommerce div.product .product_title { color: var(--ez-navy); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ez-orange); font-weight: 900; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--ez-cyan); background: #eefbfc; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--ez-cyan); }

.ez-footer { background: #061a30; color: #bad0df; padding: 62px 0 22px; }
.ez-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 40px; }
.ez-footer h3, .ez-footer h4 { color: #fff; margin-top: 0; }
.ez-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.ez-footer a:hover { color: #fff; }
.ez-footer-bottom { border-top: 1px solid rgba(255,255,255,.11); padding-top: 20px; margin-top: 44px; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }

@media (max-width: 980px) {
  .ez-nav { display: none; }
  .ez-header-row { justify-content: space-between; }
  .ez-hero .ez-container, .ez-payment-panel { grid-template-columns: 1fr; }
  .ez-hero-visual { min-height: 360px; }
  .ez-category-grid { grid-template-columns: repeat(2,1fr); }
  .ez-products ul.products { grid-template-columns: repeat(2,1fr); }
  .ez-process { grid-template-columns: repeat(2,1fr); }
  .ez-footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 782px) { .admin-bar .ez-header { top: 46px; } }
@media (max-width: 640px) {
  .ez-container { width: min(100% - 28px,1180px); }
  .ez-topbar .ez-container { justify-content: center; text-align: center; }
  .ez-topbar span:last-child, .ez-icon-link, .ez-brand-copy span { display: none; }
  .ez-brand { min-width: 0; }
  .ez-brand img { width: 46px; height: 46px; }
  .ez-brand-copy strong { font-size: 16px; }
  .ez-cart-link { padding: 0 12px; }
  .ez-hero .ez-container { min-height: auto; padding-block: 54px; }
  .ez-hero h1 { font-size: 42px; }
  .ez-hero-visual { min-height: 320px; }
  .ez-card-a { width: 230px; height: 150px; }
  .ez-card-b { width: 270px; height: 180px; }
  .ez-card-c { width: 220px; height: 140px; }
  .ez-trust-grid, .ez-category-grid, .ez-products ul.products, .ez-process, .ez-footer-grid { grid-template-columns: 1fr; }
  .ez-trust-item { border-right: 0; border-bottom: 1px solid var(--ez-line); justify-content: flex-start; }
  .ez-section { padding: 58px 0; }
  .ez-section-head, .ez-footer-bottom { align-items: flex-start; flex-direction: column; }
  .ez-payment-copy, .ez-payment-points { padding: 32px 24px; }
}
