/*
Theme Name: TR Designz Studio
Theme URI: https://www.trdesignz.com.au
Author: TR Designz
Description: A bright, accessible dark-accent WordPress and WooCommerce theme for TR Designz.
Version: 1.15.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: tr-designz
*/

:root {
  --ink: #101827;
  --ink-soft: #26344a;
  --navy: #182437;
  --navy-deep: #0d1522;
  --paper: #fffdfc;
  --surface: #f5f1eb;
  --surface-cool: #edf4f5;
  --line: #d9dde3;
  --muted: #586477;
  --coral: #ef6f61;
  --coral-dark: #c94f44;
  --gold: #f6b84b;
  --gold-dark: #9b6508;
  --teal: #2ba6a2;
  --teal-dark: #14746f;
  --white: #fff;
  --success: #18764f;
  --error: #a53535;
  --shadow-sm: 0 8px 24px rgba(16,24,39,.08);
  --shadow: 0 24px 70px rgba(16,24,39,.14);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 36px;
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.65; }
body.admin-bar .site-header { top: 32px; }
body.menu-open { overflow-x: clip; }
img { max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral-dark); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .55em; color: var(--ink); font-family: "Arial Black", Inter, sans-serif; font-weight: 900; line-height: 1.05; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 7.5vw, 6.8rem); }
h2 { font-size: clamp(2.15rem, 4.6vw, 4.25rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
p { margin: 0 0 1.15em; }
ul, ol { padding-left: 1.25em; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.content-narrow { max-width: 840px; }
.section { padding: clamp(72px, 9vw, 126px) 0; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.28rem); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--coral-dark); font-size: .77rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { width: 32px; height: 3px; border-radius: 99px; background: currentColor; content: ""; }
.skip-link { position: fixed; z-index: 10000; top: -120px; left: 18px; padding: 12px 18px; border-radius: 0 0 12px 12px; background: var(--gold); color: var(--ink); font-weight: 900; }
.skip-link:focus { top: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.button, .wp-element-button, button, input[type="submit"], .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wc-block-components-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 23px; border: 2px solid var(--coral); border-radius: 999px; background: var(--coral); color: var(--white); font: inherit; font-weight: 900; line-height: 1.15; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover, .wp-element-button:hover, button:hover, input[type="submit"]:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .wc-block-components-button:hover { transform: translateY(-2px); border-color: var(--coral-dark); background: var(--coral-dark); color: var(--white); box-shadow: 0 10px 24px rgba(201,79,68,.22); }
.button-secondary { border-color: var(--ink); background: transparent; color: var(--ink); }
.button-secondary:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.button-light { border-color: var(--white); background: var(--white); color: #101827; }
.button-light:hover { border-color: var(--gold); background: var(--gold); color: #101827; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { color: var(--ink); font-weight: 900; white-space: nowrap; }

.site-header { position: sticky; z-index: 1000; top: 0; border-bottom: 1px solid rgba(16,24,39,.1); background: rgba(255,253,252,.94); backdrop-filter: blur(18px); }
.header-inner { display: flex; min-height: 84px; align-items: center; gap: 28px; }
.brand { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand > img, .brand-logo img { display: block; width: 56px; height: 56px; border-radius: 15px; object-fit: cover; }
.brand-logo .custom-logo-link { display: block; line-height: 0; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 1rem; letter-spacing: -.035em; }
.brand-copy small { margin-top: 6px; color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: clamp(13px, 2vw, 25px); margin: 0; padding: 0; list-style: none; }
.site-nav a { position: relative; color: var(--ink); font-size: .84rem; font-weight: 850; text-decoration: none; }
.site-nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; transform: scaleX(0); background: var(--coral); content: ""; transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav .current-menu-item > a::after, .site-nav .current_page_item > a::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.account-link, .cart-link { color: var(--ink); font-size: .77rem; font-weight: 900; text-decoration: none; }
.account-link { padding: 8px; }
.cart-link { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 13px; border-radius: 999px; background: var(--ink); color: var(--white); }
.cart-link:hover { background: var(--coral); color: var(--white); }
.cart-count { display: grid; min-width: 23px; height: 23px; place-items: center; padding: 0 5px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: .72rem; }
.menu-toggle { display: none; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); box-shadow: none; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 4px 0; background: currentColor; }
.menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.home-hero { position: relative; overflow: hidden; min-height: 720px; display: grid; align-items: center; background: var(--surface); }
.home-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(45px, 7vw, 95px); padding-block: clamp(75px, 9vw, 120px); }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 760px; }
.hero-copy h1 em { color: var(--coral); font-style: normal; }
.hero-copy > p { max-width: 620px; color: var(--ink-soft); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.hero-copy .button-row { margin-top: 30px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 35px 0 0; padding: 0; color: var(--muted); font-size: .78rem; font-weight: 800; list-style: none; }
.trust-list li::before { margin-right: 8px; color: var(--teal-dark); content: "✓"; font-weight: 900; }
.hero-art { position: relative; min-height: 550px; }
.hero-main-image { position: absolute; inset: 0 7% 0 auto; width: 76%; height: 88%; border: 10px solid var(--white); border-radius: 38% 38% 28px 28px; object-fit: cover; box-shadow: var(--shadow); transform: rotate(2deg); }
.hero-float-image { position: absolute; bottom: 0; left: 0; width: 42%; aspect-ratio: 1; border: 8px solid var(--white); border-radius: 26px; object-fit: cover; box-shadow: var(--shadow); transform: rotate(-5deg); }
.hero-sticker { position: absolute; top: 5%; left: 2%; display: grid; width: 112px; height: 112px; place-items: center; border-radius: 50%; transform: rotate(-10deg); background: var(--gold); color: var(--ink); font-family: "Arial Black", sans-serif; font-size: 1rem; line-height: 1.05; text-align: center; text-transform: uppercase; box-shadow: var(--shadow-sm); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .52; }
.hero-glow-one { top: -180px; right: -130px; width: 580px; height: 580px; background: #ffd9d4; }
.hero-glow-two { bottom: -210px; left: 32%; width: 500px; height: 500px; background: #c8ebe9; }

.category-strip { overflow: hidden; background: var(--navy); color: var(--white); }
.category-list { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 30px; padding-block: 18px; white-space: nowrap; }
.category-list span { display: inline-flex; align-items: center; gap: 30px; font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.category-list span:not(:last-child)::after { color: var(--gold); content: "✦"; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 45px; }
.section-heading h2 { max-width: 800px; margin-bottom: 0; }
.section-heading > p { max-width: 440px; margin-bottom: 0; color: var(--muted); }

.featured-products { background: var(--paper); }
.services-section { background: var(--surface-cool); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; overflow: hidden; min-height: 380px; display: flex; flex-direction: column; padding: 38px; border-radius: var(--radius); color: var(--white); box-shadow: var(--shadow-sm); }
.service-card::after { position: absolute; right: -45px; bottom: -70px; width: 210px; height: 210px; border: 44px solid rgba(255,255,255,.15); border-radius: 50%; content: ""; }
.service-card > span { color: rgba(255,255,255,.75); font-weight: 900; }
.service-card h3 { margin-top: auto; color: var(--white); font-size: 2rem; }
.service-card p { position: relative; z-index: 1; color: rgba(255,255,255,.9); }
.service-card a { position: relative; z-index: 1; align-self: start; margin-top: 8px; color: var(--white); font-weight: 900; }
.service-coral { background: var(--coral-dark); }
.service-teal { background: var(--teal-dark); }
.service-gold { background: #8b5a08; }

.portfolio-section { background: var(--navy-deep); }
.portfolio-section h2, .portfolio-section .text-link { color: var(--white); }
.portfolio-section .eyebrow { color: var(--gold); }
.portfolio-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 190px; gap: 15px; }
.portfolio-grid figure { grid-column: span 4; overflow: hidden; border-radius: 18px; background: var(--ink-soft); }
.portfolio-grid figure:nth-child(1), .portfolio-grid figure:nth-child(5) { grid-column: span 6; grid-row: span 2; }
.portfolio-grid figure:nth-child(2), .portfolio-grid figure:nth-child(3) { grid-column: span 3; }
.portfolio-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.portfolio-grid figure:hover img { transform: scale(1.04); }

.process-section { background: var(--surface); }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(50px, 9vw, 130px); }
.process-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 900; }
.process-list h3 { margin-bottom: 7px; font-size: 1.2rem; letter-spacing: -.02em; }
.process-list p { margin-bottom: 0; color: var(--muted); }
.testimonial-section { padding-top: 0; background: var(--surface); }
.quote-card { position: relative; max-width: 950px; margin-inline: auto; padding: clamp(35px, 7vw, 75px); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); text-align: center; }
.quote-mark { display: block; height: 55px; color: var(--coral); font-family: Georgia, serif; font-size: 7rem; line-height: .8; }
.quote-card blockquote { margin: 20px 0 28px; color: var(--ink); font-family: Georgia, serif; font-size: clamp(1.5rem, 3.2vw, 2.55rem); font-weight: 700; line-height: 1.3; }
.quote-card p { margin: 0; }
.quote-card p span { display: block; color: var(--muted); font-size: .82rem; }
.final-cta { background: var(--paper); }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(38px, 6vw, 70px); border-radius: var(--radius-lg); background: var(--coral-dark); color: var(--white); box-shadow: var(--shadow); }
.cta-panel h2, .cta-panel .eyebrow { color: var(--white); }
.cta-panel h2 { max-width: 720px; margin-bottom: 0; }

.page-hero { padding: clamp(75px, 9vw, 125px) 0 clamp(55px, 7vw, 90px); background: linear-gradient(135deg, var(--surface), #fbe2de); }
.page-hero h1 { max-width: 1000px; font-size: clamp(2.8rem, 7vw, 6rem); }
.page-hero p { max-width: 720px; color: var(--ink-soft); font-size: 1.15rem; }
.shop-hero { background: linear-gradient(135deg, #dff1ef, var(--surface)); }
.page-content { overflow-wrap: anywhere; }
.page-content h2 { margin-top: 1.5em; }
.page-content h3 { margin-top: 1.4em; }
.page-content img { border-radius: var(--radius-sm); }
.page-content input:not([type="checkbox"]):not([type="radio"]), .page-content textarea, .page-content select { width: 100%; }
.featured-image { margin-bottom: 40px; }
.entry-card { display: grid; grid-template-columns: 220px 1fr; gap: 28px; margin-bottom: 30px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.entry-image img { width: 100%; height: 180px; border-radius: 14px; object-fit: cover; }
.entry-card h2 { font-size: 1.7rem; }
.entry-card h2 a { color: var(--ink); text-decoration: none; }
.not-found { min-height: 65vh; display: grid; align-items: center; }

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), select, textarea { min-height: 50px; max-width: 100%; padding: 12px 14px; border: 1px solid #b8c0cb; border-radius: 10px; background: var(--white); color: var(--ink); font: inherit; }
textarea { min-height: 150px; }
input:focus, select:focus, textarea:focus { border-color: var(--teal-dark); outline: 3px solid rgba(43,166,162,.2); }
label { color: var(--ink); font-weight: 800; }
.wpcf7 form { padding: clamp(24px, 5vw, 45px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.wpcf7-form-control-wrap { display: block; margin-top: 7px; }
.wpcf7-response-output { border-radius: 10px; }

/* WooCommerce: product archives */
.woocommerce .woocommerce-breadcrumb { margin: 0 0 28px; color: var(--muted); font-size: .8rem; }
.woocommerce .woocommerce-breadcrumb a { color: var(--ink-soft); }
.woocommerce .woocommerce-result-count { color: var(--muted); }
.woocommerce .woocommerce-ordering select { min-width: 250px; background: var(--white); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin: 40px 0 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { float: none; width: auto; margin: 0; display: flex; flex-direction: column; padding: 16px 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1; margin: 0 0 18px; border-radius: 15px; background: var(--surface); object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0; color: var(--ink); font-family: "Arial Black", sans-serif; font-size: 1.08rem; line-height: 1.25; letter-spacing: -.025em; }
.woocommerce ul.products li.product .price { margin: auto 0 16px; padding-top: 10px; color: var(--teal-dark); font-size: 1rem; font-weight: 900; }
.woocommerce ul.products li.product .price del { color: var(--muted); opacity: .8; }
.woocommerce ul.products li.product .button { align-self: stretch; margin-top: 0; }
.woocommerce span.onsale { min-width: auto; min-height: auto; margin: 10px !important; padding: 8px 11px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .7rem; line-height: 1; }

/* WooCommerce: single products */
.single-product .shop-hero { display: none; }
.single-product .shop-section { padding-top: clamp(55px, 7vw, 90px); }
.woocommerce div.product { display: flow-root; }
.woocommerce div.product div.images img { border-radius: var(--radius); background: var(--surface); }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; }
.woocommerce div.product div.images .flex-control-thumbs img { border: 2px solid transparent; border-radius: 9px; }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active { border-color: var(--coral); }
.woocommerce div.product .product_title { font-size: clamp(2.2rem, 4.7vw, 4.4rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--teal-dark); font-size: 1.45rem; font-weight: 900; }
.woocommerce-product-details__short-description { color: var(--ink-soft); }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.woocommerce div.product form.cart .variations { flex: 1 0 100%; margin-bottom: 15px; border-collapse: separate; border-spacing: 0 9px; }
.woocommerce div.product form.cart .variations th { width: 110px; padding-right: 14px; text-align: left; }
.woocommerce div.product form.cart .variations select { min-width: 220px; }
.woocommerce .quantity .qty { width: 78px; min-height: 50px; }
.woocommerce div.product .woocommerce-tabs { clear: both; padding-top: 65px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 6px; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; border-radius: 10px 10px 0 0; background: transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 18px; color: var(--muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--surface); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); }
.woocommerce div.product .woocommerce-tabs .panel { padding: clamp(24px, 5vw, 45px); border-radius: 0 var(--radius) var(--radius); background: var(--surface); }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { font-size: 2rem; }
.related.products { clear: both; padding-top: 75px; }

/* WooCommerce: cart, checkout and account */
.woocommerce-cart .shop-hero, .woocommerce-checkout .shop-hero, .woocommerce-account .shop-hero { background: linear-gradient(135deg, var(--surface), #e1f2f0); }
.woocommerce table.shop_table { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; background: var(--white); }
.woocommerce table.shop_table th { padding: 16px; background: var(--surface); color: var(--ink); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.woocommerce table.shop_table td { padding: 16px; border-top-color: var(--line); color: var(--ink); }
.woocommerce table.shop_table .product-thumbnail img { width: 75px; border-radius: 10px; }
.woocommerce table.shop_table a { color: var(--ink); font-weight: 800; }
.woocommerce a.remove { color: var(--error) !important; }
.woocommerce a.remove:hover { background: var(--error); color: var(--white) !important; }
.woocommerce-cart .cart-collaterals .cart_totals { width: min(100%, 520px); padding: 28px; border-radius: var(--radius); background: var(--surface); }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { font-size: 1rem; }
.woocommerce form.checkout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 35px; }
.woocommerce form.checkout #customer_details, .woocommerce form.checkout #order_review_heading, .woocommerce form.checkout #order_review { float: none; width: auto; }
.woocommerce form.checkout #order_review_heading, .woocommerce form.checkout #order_review { grid-column: 2; }
.woocommerce form.checkout #customer_details { grid-row: 1 / span 2; }
.woocommerce-checkout #payment { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); }
.woocommerce-checkout #payment div.payment_box { background: var(--white); color: var(--ink); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--white); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--line); }
.woocommerce-checkout .woocommerce-billing-fields, .woocommerce-checkout .woocommerce-shipping-fields { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.woocommerce form .form-row label { color: var(--ink); }
.woocommerce form .form-row .required { color: var(--error); }
.select2-container--default .select2-selection--single { min-height: 50px; padding: 10px 12px; border: 1px solid #b8c0cb; border-radius: 10px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 11px; right: 8px; }
.woocommerce .woocommerce-form-login, .woocommerce .woocommerce-form-register, .woocommerce .lost_reset_password { max-width: 620px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.woocommerce-account .woocommerce-MyAccount-navigation { width: 28%; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 10px; border-radius: var(--radius); background: var(--surface); list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 11px 14px; border-radius: 9px; color: var(--ink); font-weight: 800; text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a, .woocommerce-account .woocommerce-MyAccount-navigation a:hover { background: var(--ink); color: var(--white); }
.woocommerce-account .woocommerce-MyAccount-content { width: 68%; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { padding: 17px 20px 17px 52px; border: 0; border-radius: 13px; background: var(--surface-cool); color: var(--ink); box-shadow: var(--shadow-sm); }
.woocommerce-info { border-left: 5px solid var(--teal); }
.woocommerce-message { border-left: 5px solid var(--success); }
.woocommerce-error { border-left: 5px solid var(--error); }
.woocommerce-info::before { color: var(--teal-dark); }
.woocommerce-message::before { color: var(--success); }
.woocommerce-error::before { color: var(--error); }
.wc-block-components-sidebar-layout, .wc-block-cart, .wc-block-checkout { color: var(--ink); }
.wc-block-components-totals-wrapper, .wc-block-components-order-summary, .wc-block-components-checkout-step { border-color: var(--line) !important; }

.site-footer { padding: 75px 0 26px; background: var(--navy-deep); color: #c8d1dc; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(35px, 7vw, 90px); }
.footer-brand strong { color: var(--white); font-family: "Arial Black", sans-serif; font-size: 1.35rem; }
.footer-brand p { max-width: 380px; margin-top: 16px; }
.site-footer h2 { color: var(--white); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer a { color: #edf8f7; }
.site-footer ul, .footer-nav ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 7px; }
.social-links { display: flex; gap: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); color: #8996a5; font-size: .75rem; }

@media (max-width: 1050px) {
  .menu-toggle { display: block; margin-left: auto; }
  .site-header { isolation: isolate; background: #080e18; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-nav { position: fixed; z-index: 1001; top: 84px; right: 20px; left: 20px; display: block; max-height: calc(100vh - 105px); max-height: calc(100dvh - 105px); margin: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-10px); visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
  body.admin-bar .site-nav { top: 116px; }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; }
  .site-nav ul { display: grid; gap: 5px; }
  .site-nav a { display: block; padding: 10px; font-size: 1rem; }
  .site-nav a::after { display: none; }
  .home-hero-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; min-height: 300px; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce form.checkout { grid-template-columns: 1fr; }
  .woocommerce form.checkout #customer_details, .woocommerce form.checkout #order_review_heading, .woocommerce form.checkout #order_review { grid-column: auto; grid-row: auto; }
}

@media (max-width: 760px) {
  :root { --wrap: min(calc(100% - 28px), 1180px); }
  body.admin-bar .site-header { top: 46px; }
  .section { padding: 68px 0; }
  .header-inner { min-height: 74px; gap: 10px; }
  .brand > img, .brand-logo img { width: 47px; height: 47px; border-radius: 12px; }
  .brand-copy small, .account-link, .cart-link > span:first-child { display: none; }
  .site-nav { top: 74px; right: 14px; left: 14px; max-height: calc(100vh - 94px); max-height: calc(100dvh - 94px); }
  body.admin-bar .site-nav { top: 120px; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); }
  .cart-link { min-width: 43px; justify-content: center; padding: 6px; background: transparent; }
  .cart-link:hover { background: var(--surface); }
  .home-hero { min-height: auto; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 42px; padding-block: 54px 62px; }
  .hero-art { min-height: 0; padding: 0 0 42px; }
  .hero-main-image { position: relative; inset: auto; display: block; width: 100%; height: auto; border-width: 7px; border-radius: 24px; object-fit: contain; transform: none; }
  .hero-float-image { bottom: 0; left: 10px; width: 42%; border-width: 6px; border-radius: 18px; object-fit: contain; transform: rotate(-3deg); }
  .hero-sticker { top: -28px; right: -2px; left: auto; width: 82px; height: 82px; font-size: .7rem; }
  .category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; min-height: 0; padding-block: 18px; white-space: normal; }
  .category-list span { justify-content: center; gap: 0; padding: 6px 3px; font-size: .66rem; line-height: 1.25; text-align: center; }
  .category-list span:not(:last-child)::after { display: none; }
  .section-heading { display: grid; gap: 20px; align-items: start; }
  .service-grid, .process-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:last-child { grid-column: auto; min-height: 330px; }
  .portfolio-grid { grid-auto-rows: 140px; }
  .portfolio-grid figure, .portfolio-grid figure:nth-child(1), .portfolio-grid figure:nth-child(5), .portfolio-grid figure:nth-child(2), .portfolio-grid figure:nth-child(3) { grid-column: span 6; grid-row: span 1; }
  .portfolio-grid figure:first-child { grid-column: 1 / -1; grid-row: span 2; }
  .cta-panel { display: grid; }
  .entry-card { grid-template-columns: 1fr; }
  .woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { float: none; }
  .woocommerce .woocommerce-ordering { margin-bottom: 25px; }
  .woocommerce .woocommerce-ordering select { width: 100%; min-width: 0; }
  .woocommerce ul.products { grid-template-columns: 1fr; gap: 18px; }
  .woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: 100%; }
  .woocommerce div.product .woocommerce-tabs ul.tabs { overflow-x: auto; white-space: nowrap; }
  .woocommerce div.product .woocommerce-tabs .panel { border-radius: 0 0 var(--radius) var(--radius); }
  .woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td { min-height: 48px; }
  .woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }
  .woocommerce-account .woocommerce-MyAccount-navigation { margin-bottom: 28px; }
  .footer-bottom { display: grid; }
}

/* Version 1.10: one consistent site width, properly padded page cards and stronger responsive safeguards. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}
.wrap,
.trd-wide-page .page-content > .wrap,
.shop-section > .wrap {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
  margin-right: auto !important;
  margin-left: auto !important;
}
.wrap.content-narrow {
  max-width: 840px;
}
.page-content :where(img, video, iframe, table, form) {
  max-width: 100%;
}
.trd-wide-page .page-content > .wrap > .wp-block-group:not(#gallery) {
  padding: clamp(34px, 4.5vw, 62px) !important;
}
.trd-wide-page .page-content > .wrap > .wp-block-group + .wp-block-group {
  margin-top: clamp(24px, 3vw, 38px) !important;
}
.trd-wide-page .page-content > .wrap > .wp-block-group > :first-child {
  margin-top: 0;
}
.trd-wide-page .page-content > .wrap > .wp-block-group > :last-child {
  margin-bottom: 0;
}

/* Give the opening Services section a deliberate card layout. */
.trd-services-page .page-content > .wrap > .wp-block-group:first-child > .wp-block-columns {
  margin-top: clamp(26px, 3vw, 38px);
}
.trd-services-page .page-content > .wrap > .wp-block-group:first-child > .wp-block-columns > .wp-block-column {
  padding: clamp(22px, 2.5vw, 30px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(8,15,27,.22);
}
.trd-services-page .page-content > .wrap > .wp-block-group:first-child > p {
  max-width: 900px;
}

@media (max-width: 900px) {
  .wrap,
  .trd-wide-page .page-content > .wrap,
  .shop-section > .wrap {
    width: min(calc(100% - 32px), 1180px);
  }
  .trd-wide-page .page-content > .wrap > .wp-block-group:not(#gallery) {
    padding: clamp(28px, 5vw, 42px) !important;
  }
  .trd-wide-page .page-content h2 {
    font-size: clamp(2rem, 7vw, 3.35rem) !important;
  }
}

@media (max-width: 640px) {
  .wrap,
  .trd-wide-page .page-content > .wrap,
  .shop-section > .wrap {
    width: calc(100% - 28px);
  }
  .section { padding-block: 52px; }
  .trd-wide-page .page-content > .wrap > .wp-block-group:not(#gallery) {
    padding: 24px 18px !important;
    border-radius: 16px;
  }
  .trd-wide-page .page-content h2,
  .trd-wide-page .page-content h3 {
    overflow-wrap: anywhere;
  }
  .trd-services-page .page-content > .wrap > .wp-block-group:first-child > .wp-block-columns > .wp-block-column {
    padding: 22px 18px;
  }
  .page-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .page-content .wp-block-buttons,
  .page-content .wp-block-button,
  .page-content .wp-block-button__link,
  .page-content input[type="submit"] {
    width: 100%;
  }
}

/* Version 1.11: balanced, uncropped homepage work and a new Gallery collection. */
.home .portfolio-grid {
  width: 100%;
  max-width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: clamp(14px, 2vw, 20px);
}
.home .portfolio-grid figure,
.home .portfolio-grid figure:nth-child(1),
.home .portfolio-grid figure:nth-child(2),
.home .portfolio-grid figure:nth-child(3),
.home .portfolio-grid figure:nth-child(5) {
  min-width: 0;
  aspect-ratio: 1;
  grid-column: auto;
  grid-row: auto;
  border: 1px solid rgba(255,255,255,.13);
  background: #050a12;
}
.home .portfolio-grid img {
  width: 100%;
  height: 100%;
  padding: 8px;
  background: #050a12;
  object-fit: contain;
  object-position: center;
}

.trd-gallery-additions {
  margin-top: clamp(26px, 4vw, 48px);
  padding: clamp(38px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 18%, rgba(72,197,190,.13), transparent 28%),
    radial-gradient(circle at 12% 85%, rgba(214,79,188,.13), transparent 30%),
    var(--surface);
}
.trd-gallery-additions-heading {
  max-width: 900px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.trd-gallery-additions-heading h2 {
  margin-top: 0;
}
.trd-gallery-additions-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}
.trd-gallery-additions-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.trd-gallery-addition {
  min-width: 0;
  aspect-ratio: 1;
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  background: #050a12;
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}
.trd-gallery-addition-1,
.trd-gallery-addition-2 {
  grid-column: span 6;
}
.trd-gallery-addition img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 8px;
  border-radius: 0;
  background: #050a12;
  object-fit: contain;
  object-position: center;
  transition: transform .35s ease, filter .35s ease;
}
@media (hover: hover) {
  .trd-gallery-addition:hover img {
    filter: saturate(1.06) brightness(1.03);
    transform: scale(1.025);
  }
}
@media (max-width: 900px) {
  .home .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trd-gallery-addition,
  .trd-gallery-addition-1,
  .trd-gallery-addition-2 { grid-column: span 6; }
  .trd-gallery-addition:last-child { grid-column: 4 / span 6; }
}
@media (max-width: 560px) {
  .home .portfolio-grid { grid-template-columns: 1fr; }
  .trd-gallery-additions { padding: 30px 14px; border-radius: 18px; }
  .trd-gallery-addition,
  .trd-gallery-addition-1,
  .trd-gallery-addition-2,
  .trd-gallery-addition:last-child { grid-column: 1 / -1; }
}

/* Version 1.12: stable theme-owned Services, Gallery and Contact layouts. */
.trd-services-overview,
.trd-services-showcase {
  margin-bottom: clamp(24px, 3vw, 38px);
  padding: clamp(38px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}
.trd-services-overview > div:first-child {
  max-width: 900px;
  margin-bottom: clamp(28px, 4vw, 42px);
}
.trd-services-overview h2 { margin-top: 0; }
.trd-services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.trd-services-overview-grid article {
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #111c2d;
}
.trd-services-overview-grid article > span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
}
.trd-services-overview-grid h3 { margin-top: 0; }
.trd-services-overview-grid p { color: var(--muted); }
.trd-services-showcase-heading {
  max-width: 900px;
  margin-bottom: clamp(28px, 4vw, 46px);
}
.trd-services-showcase-heading h2,
.trd-services-showcase-card h3 {
  margin-top: 0;
}
.trd-services-showcase-heading p,
.trd-services-showcase-card p {
  color: var(--muted);
}
.trd-services-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.trd-services-showcase-card {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(180px, 42%) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #111c2d;
}
.trd-services-showcase-card figure {
  min-height: 300px;
  background: #070c15;
}
.trd-services-showcase-card img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 8px;
  border-radius: 0;
  background: #070c15;
  object-fit: contain;
  object-position: center;
}
.trd-services-showcase-card > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 3vw, 34px);
}

.trd-gallery-uniform {
  padding: clamp(40px, 6vw, 72px) !important;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 12%, rgba(72,197,190,.12), transparent 27%),
    radial-gradient(circle at 12% 86%, rgba(214,79,188,.12), transparent 30%),
    var(--surface) !important;
}
.trd-gallery-uniform-heading {
  max-width: 920px;
  margin-bottom: clamp(30px, 5vw, 52px);
}
.trd-gallery-uniform-heading h2 { margin-top: 0; }
.trd-gallery-uniform-heading p { color: var(--muted); font-size: 1.08rem; }
.trd-gallery-uniform-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.trd-gallery-uniform-card {
  min-width: 0;
  aspect-ratio: 1;
  grid-column: span 2;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: #050a12;
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}
.trd-gallery-uniform-card:nth-last-child(2) { grid-column: 2 / span 2; }
.trd-gallery-uniform-card:last-child { grid-column: 4 / span 2; }
.trd-gallery-uniform-card img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 7px;
  border-radius: 0;
  background: #050a12;
  object-fit: contain;
  object-position: center;
  transition: transform .35s ease, filter .35s ease;
}

.trd-real-testimonials {
  margin-top: clamp(24px, 3vw, 38px);
  padding: clamp(38px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}
.trd-real-testimonials-heading { margin-bottom: clamp(26px, 4vw, 42px); }
.trd-real-testimonials-heading h2 { margin-top: 0; }
.trd-real-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.trd-real-testimonials blockquote {
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin: 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #111c2d;
}
.trd-real-testimonials blockquote p { flex: 1; color: var(--ink); }
.trd-real-testimonials blockquote footer { display: grid; gap: 2px; }
.trd-real-testimonials blockquote footer span { color: var(--muted); font-size: .88rem; }
.trd-star-row {
  margin-bottom: 18px;
  color: transparent;
  font-size: 0;
  line-height: 1;
}
.trd-star-row::before {
  color: #f6c344;
  content: "\2605\2605\2605\2605\2605";
  font-size: 1.35rem;
  letter-spacing: .12em;
  text-shadow: 0 2px 10px rgba(246,195,68,.2);
}
@media (hover: hover) {
  .trd-gallery-uniform-card:hover img {
    filter: saturate(1.06) brightness(1.03);
    transform: scale(1.02);
  }
}

.trd-contact-shell {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}
.trd-contact-brand-panel {
  display: grid;
  align-content: center;
  gap: 30px;
  padding: clamp(34px, 5vw, 62px);
  background:
    radial-gradient(circle at 50% 26%, rgba(72,197,190,.23), transparent 34%),
    radial-gradient(circle at 15% 82%, rgba(214,79,188,.18), transparent 33%),
    #09111e;
}
.trd-contact-brand-panel > img {
  width: min(100%, 360px);
  max-height: 260px;
  margin-inline: auto;
  border-radius: 18px;
  object-fit: contain;
}
.trd-contact-brand-panel h2 { margin-top: 0; }
.trd-contact-brand-panel a,
.trd-tiktok-page-link a {
  color: #65ddd7;
  font-weight: 800;
}
.trd-contact-form-panel { padding: clamp(30px, 5vw, 58px); }
.trd-contact-form-panel .wpcf7 form {
  padding: 0;
  border: 0;
  background: transparent;
}
.trd-contact-form-panel .wpcf7-spinner { vertical-align: middle; }
.trd-contact-fallback { padding: 28px; border: 1px solid var(--line); border-radius: 16px; }
.trd-tiktok-page-link { margin-top: 22px; text-align: center; }

@media (max-width: 900px) {
  .trd-services-overview-grid,
  .trd-real-testimonials-grid { grid-template-columns: 1fr; }
  .trd-services-showcase-grid { grid-template-columns: 1fr; }
  .trd-gallery-uniform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trd-gallery-uniform-card,
  .trd-gallery-uniform-card:nth-last-child(2),
  .trd-gallery-uniform-card:last-child { grid-column: auto; }
  .trd-gallery-uniform-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 11px); justify-self: center; }
  .trd-contact-shell { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .trd-services-overview,
  .trd-real-testimonials,
  .trd-services-showcase,
  .trd-gallery-uniform { padding: 28px 14px !important; border-radius: 17px; }
  .trd-services-showcase-card { grid-template-columns: 1fr; }
  .trd-services-showcase-card figure { min-height: 0; aspect-ratio: 1; }
  .trd-gallery-uniform-grid { grid-template-columns: 1fr; }
  .trd-gallery-uniform-card,
  .trd-gallery-uniform-card:last-child:nth-child(odd) { width: 100%; grid-column: 1 / -1; }
  .trd-contact-brand-panel,
  .trd-contact-form-panel { padding: 28px 18px; }
  .trd-contact-brand-panel > img { max-height: 210px; }
}

/* Version 1.14: selected WooCommerce variation values must remain readable. */
.woocommerce div.product form.cart .variations select,
.woocommerce div.product form.variations_form select,
.woocommerce div.product form.cart .variations select:focus,
.woocommerce div.product form.variations_form select:focus {
  border: 1px solid #5a6b82 !important;
  background-color: #f8fafc !important;
  color: #101827 !important;
  -webkit-text-fill-color: #101827 !important;
  caret-color: #101827;
  opacity: 1 !important;
  color-scheme: light;
}
.woocommerce div.product form.cart .variations select option,
.woocommerce div.product form.variations_form select option {
  background: #fff !important;
  color: #101827 !important;
  -webkit-text-fill-color: #101827 !important;
}
.woocommerce div.product form.cart .variations select option:checked,
.woocommerce div.product form.variations_form select option:checked {
  background: #dff5f3 !important;
  color: #071722 !important;
}
.woocommerce div.product form.cart .variations select:disabled,
.woocommerce div.product form.variations_form select:disabled {
  background-color: #e2e8f0 !important;
  color: #4a5568 !important;
  -webkit-text-fill-color: #4a5568 !important;
}
.woocommerce div.product form.cart .variations .select2-selection--single,
.woocommerce div.product form.variations_form .select2-selection--single {
  background: #f8fafc !important;
}
.woocommerce div.product form.cart .variations .select2-selection__rendered,
.woocommerce div.product form.variations_form .select2-selection__rendered,
.select2-dropdown .select2-results__option {
  color: #101827 !important;
  -webkit-text-fill-color: #101827 !important;
}
.select2-dropdown,
.select2-results__option {
  background: #fff !important;
}
.select2-results__option--highlighted[aria-selected] {
  background: #14746f !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Version 1.9: turn the existing Gallery blocks into a polished portfolio grid. */
.trd-gallery-page #gallery {
  padding: clamp(54px, 7vw, 96px) clamp(18px, 3vw, 46px) !important;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 16%, rgba(72,197,190,.12), transparent 27%),
    radial-gradient(circle at 90% 75%, rgba(214,79,188,.12), transparent 30%),
    var(--surface) !important;
}
.trd-gallery-page #gallery > .wp-block-group {
  margin-bottom: clamp(30px, 5vw, 58px);
}
.trd-gallery-page #gallery > .wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px) !important;
  align-items: stretch;
}
.trd-gallery-page #gallery > .wp-block-columns > .wp-block-column,
.trd-gallery-page #gallery > .wp-block-columns > .wp-block-column > .wp-block-columns,
.trd-gallery-page #gallery > .wp-block-columns > .wp-block-column > .wp-block-columns > .wp-block-column {
  display: contents !important;
}
.trd-gallery-page #gallery figure:has(> img.trd-gallery-artwork) {
  position: relative;
  grid-column: span 3;
  height: clamp(260px, 26vw, 390px);
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background: #080f1b;
  box-shadow: 0 18px 38px rgba(0,0,0,.2);
  isolation: isolate;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.trd-gallery-page #gallery figure:has(> img.trd-gallery-artwork-1),
.trd-gallery-page #gallery figure:has(> img.trd-gallery-artwork-6) {
  grid-column: span 6;
}
.trd-gallery-page #gallery img.trd-gallery-artwork {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease, filter .35s ease;
}
.trd-gallery-page #gallery figure:has(> img.trd-gallery-artwork)::before {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(4,8,15,.82));
  content: "";
  pointer-events: none;
}
.trd-gallery-page #gallery figure:has(> img.trd-gallery-artwork)::after {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 16px;
  left: 18px;
  color: #fff;
  content: "TR DESIGNZ  •  SELECTED WORK";
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-shadow: 0 2px 10px rgba(0,0,0,.7);
  pointer-events: none;
}
@media (hover: hover) {
  .trd-gallery-page #gallery figure:has(> img.trd-gallery-artwork):hover {
    z-index: 3;
    border-color: rgba(72,197,190,.7);
    box-shadow: 0 24px 48px rgba(0,0,0,.34), 0 0 0 1px rgba(72,197,190,.18);
    transform: translateY(-6px);
  }
  .trd-gallery-page #gallery figure:has(> img.trd-gallery-artwork):hover img {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.045);
  }
}
@media (max-width: 900px) {
  .trd-gallery-page #gallery figure:has(> img.trd-gallery-artwork),
  .trd-gallery-page #gallery figure:has(> img.trd-gallery-artwork-1),
  .trd-gallery-page #gallery figure:has(> img.trd-gallery-artwork-6) {
    grid-column: span 6;
    height: clamp(270px, 48vw, 390px);
  }
}
@media (max-width: 640px) {
  .trd-gallery-page #gallery { padding: 42px 14px !important; }
  .trd-gallery-page #gallery figure:has(> img.trd-gallery-artwork),
  .trd-gallery-page #gallery figure:has(> img.trd-gallery-artwork-1),
  .trd-gallery-page #gallery figure:has(> img.trd-gallery-artwork-6) {
    grid-column: 1 / -1;
    height: min(92vw, 430px);
    border-radius: 18px;
  }
}

/* Version 1.7: use TR Designz artwork throughout the Services showcase. */
.trd-services-page .page-content img.trd-services-artwork {
  display: block;
  width: 100%;
  height: clamp(300px, 30vw, 430px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #0a1220;
  object-fit: cover;
  object-position: center;
}
.trd-services-page .page-content img.trd-services-artwork[src*="business-design"] {
  object-position: center 45%;
}

@media (max-width: 640px) {
  .trd-services-page .page-content img.trd-services-artwork {
    height: min(105vw, 430px);
    border-radius: 18px;
  }
}

/* Version 1.8: verified customer feedback and clearly visible star ratings. */
.trd-services-page .page-content img.trd-testimonial-stars {
  width: 146px !important;
  height: auto !important;
  margin: 0 auto 18px;
  opacity: 1 !important;
  filter: invert(79%) sepia(94%) saturate(1035%) hue-rotate(351deg) brightness(104%) contrast(103%) !important;
}
.trd-services-page .page-content img.trd-real-customer-avatar {
  width: 76px !important;
  height: 76px !important;
  border: 2px solid #f4c542;
  border-radius: 50% !important;
  background: #0a1220;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
}

/* Version 1.5: branded contact-form artwork. */
.trd-contact-page #contact .wp-block-media-text__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 42%, rgba(72,197,190,.22), transparent 34%),
    radial-gradient(circle at 20% 80%, rgba(232,95,83,.18), transparent 32%),
    #090f1a !important;
}
.trd-contact-page #contact .wp-block-media-text__media img {
  width: 100% !important;
  height: 100% !important;
  min-height: 520px;
  padding: clamp(55px, 11vw, 150px) !important;
  border-radius: 0;
  background: transparent;
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 760px) {
  .trd-contact-page #contact .wp-block-media-text__media img {
    min-height: 340px;
    padding: 55px !important;
  }
}

/* Version 1.6: full-width content pages and reliable responsive block layouts. */
.trd-wide-page .page-content > .wrap {
  max-width: none;
}
.trd-wide-page .page-content :where(.alignwide, .alignfull) {
  width: 100%;
  max-width: 100%;
  margin-right: 0 !important;
  margin-left: 0 !important;
}
.trd-wide-page .page-content > .wrap > * + * {
  margin-top: clamp(24px, 4vw, 54px);
}
.trd-wide-page .page-content .wp-block-group {
  overflow: hidden;
  border-radius: 20px;
}
.trd-wide-page .page-content h2 {
  max-width: 1000px;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem) !important;
  line-height: 1.05;
  overflow-wrap: normal;
}
.trd-wide-page .page-content h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem) !important;
  line-height: 1.15;
}
.trd-wide-page .page-content .wp-block-columns {
  width: 100%;
  gap: clamp(18px, 2.5vw, 34px);
}
.trd-wide-page .page-content .wp-block-column {
  min-width: 0;
}
.trd-wide-page .page-content .wp-block-image img[src^="data:image/svg+xml"] {
  filter: invert(1);
}

@media (max-width: 900px) {
  .trd-wide-page .page-content .wp-block-columns {
    flex-wrap: wrap !important;
  }
  .trd-wide-page .page-content .wp-block-columns > .wp-block-column {
    flex: 1 1 calc(50% - 18px) !important;
  }
  .trd-wide-page .page-content .wp-block-columns > .wp-block-column:only-child {
    flex-basis: 100% !important;
  }
}

@media (max-width: 640px) {
  .trd-wide-page .page-content {
    padding-block: 40px;
  }
  .trd-wide-page .page-content .wp-block-columns,
  .trd-wide-page .page-content .wp-block-columns.is-not-stacked-on-mobile {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 18px;
  }
  .trd-wide-page .page-content .wp-block-columns > .wp-block-column,
  .trd-wide-page .page-content .wp-block-columns.is-not-stacked-on-mobile > .wp-block-column {
    width: 100% !important;
    flex: 1 1 100% !important;
  }
  .trd-wide-page .page-content .wp-block-media-text,
  .trd-wide-page .page-content .wp-block-media-text.is-stacked-on-mobile {
    display: grid;
    grid-template-columns: 1fr !important;
  }
  .trd-wide-page .page-content .wp-block-media-text__media,
  .trd-wide-page .page-content .wp-block-media-text__content {
    grid-column: 1 !important;
  }
  .trd-wide-page .page-content .wp-block-media-text__media {
    grid-row: 1 !important;
  }
  .trd-wide-page .page-content .wp-block-media-text__content {
    grid-row: 2 !important;
    padding: 24px !important;
  }
  .trd-wide-page .page-content h2 {
    font-size: clamp(2rem, 10vw, 2.8rem) !important;
  }
}

@media (max-width: 430px) {
  .brand-copy { display: none; }
  .home-hero-grid { padding-top: 46px; }
  .hero-art { min-height: 0; }
  .hero-main-image { width: 100%; height: auto; }
  .hero-float-image { width: 44%; }
  .trust-list { display: grid; }
  .button-row .button { width: 100%; }
  .portfolio-grid figure, .portfolio-grid figure:nth-child(1), .portfolio-grid figure:nth-child(5), .portfolio-grid figure:nth-child(2), .portfolio-grid figure:nth-child(3) { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Version 1.1: dark TR Designz presentation with readable layered surfaces. */
:root {
  --ink: #f6f8fc;
  --ink-soft: #d5ddea;
  --navy: #17243a;
  --navy-deep: #080e18;
  --paper: #0f1827;
  --surface: #18243a;
  --surface-cool: #1c2b42;
  --line: #34445d;
  --muted: #aebacc;
  --coral: #ff7b6e;
  --coral-dark: #e85f53;
  --gold: #ffc45c;
  --gold-dark: #d18b18;
  --teal: #48c5be;
  --teal-dark: #39b7b0;
  --shadow-sm: 0 10px 28px rgba(0,0,0,.24);
  --shadow: 0 28px 75px rgba(0,0,0,.38);
}

body { background: var(--paper); color: var(--ink); }
a { color: #76ddd6; }
a:hover { color: #ff9b91; }
.lead, .section-heading > p, .process-list p, .quote-card p span { color: var(--muted); }
.button-secondary { border-color: #dce5f2; color: var(--ink); }
.button-secondary:hover { border-color: var(--white); background: var(--white); color: #101827; }
.text-link { color: var(--ink); }

.site-header { border-bottom-color: rgba(255,255,255,.1); background: rgba(8,14,24,.94); }
.brand, .site-nav a, .account-link { color: var(--ink); }
.brand-copy small { color: var(--muted); }
.cart-link { background: var(--coral); color: var(--white); }
.cart-link:hover { background: var(--coral-dark); }
.menu-toggle { color: var(--ink); }
.site-nav { background: var(--navy-deep); }

.home-hero { background: linear-gradient(145deg, #0d1625 0%, #17243a 58%, #111c2d 100%); }
.hero-copy > p { color: var(--ink-soft); }
.hero-glow-one { background: #742f43; opacity: .42; }
.hero-glow-two { background: #145e63; opacity: .42; }
.hero-main-image, .hero-float-image { border-color: #283750; }
.trust-list { color: #c0cada; }
.trust-list li::before { color: var(--teal); }
.category-strip { border-block: 1px solid rgba(255,255,255,.08); background: #080e18; }

.featured-products, .final-cta { background: var(--paper); }
.services-section, .process-section, .testimonial-section { background: #131f31; }
.portfolio-section { background: #080e18; }
.service-card { border: 1px solid rgba(255,255,255,.12); }
.service-coral { background: #8f3b42; }
.service-teal { background: #176b70; }
.service-gold { background: #76500f; }
.quote-card { border: 1px solid var(--line); background: var(--surface); }
.quote-card blockquote { color: var(--ink); }
.process-list li { border-bottom-color: var(--line); }
.process-list li > span { background: var(--coral); }

.page-hero, .shop-hero, .woocommerce-cart .shop-hero, .woocommerce-checkout .shop-hero, .woocommerce-account .shop-hero {
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 85% 15%, rgba(232,95,83,.26), transparent 32%), linear-gradient(135deg, #111d2f, #1b2940);
}
.page-hero p { color: var(--ink-soft); }
.page-content .has-background { border: 1px solid var(--line); background-color: var(--surface) !important; }
.page-content .has-text-color:not(.wp-block-button__link) { color: var(--ink) !important; }
.page-content :where(p, li, dt, dd) { color: inherit; }
.page-content hr { border-color: var(--line); }
.entry-card { border-color: var(--line); background: var(--surface); }
.entry-card h2 a { color: var(--ink); }

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), select, textarea {
  border-color: #52627a;
  background: #f8fafc;
  color: #101827;
}
input::placeholder, textarea::placeholder { color: #637085; opacity: 1; }
label { color: var(--ink); }
.wpcf7 form { border-color: var(--line); background: var(--surface); }

.woocommerce .woocommerce-breadcrumb, .woocommerce .woocommerce-result-count { color: var(--muted); }
.woocommerce .woocommerce-breadcrumb a { color: var(--ink-soft); }
.woocommerce .woocommerce-ordering select { background: #f8fafc; color: #101827; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { border-color: var(--line); background: var(--surface); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--ink); }
.woocommerce ul.products li.product .price { color: var(--teal); }
.woocommerce ul.products li.product a img { background: #24334a; }
.woocommerce div.product div.images img { background: #24334a; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--teal); }
.woocommerce-product-details__short-description { color: var(--ink-soft); }
.woocommerce div.product .woocommerce-tabs ul.tabs { border-bottom-color: var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active, .woocommerce div.product .woocommerce-tabs .panel { background: var(--surface); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); }

.woocommerce table.shop_table { border-color: var(--line); background: var(--surface); }
.woocommerce table.shop_table th { background: #223149; color: var(--ink); }
.woocommerce table.shop_table td { border-top-color: var(--line); color: var(--ink); }
.woocommerce table.shop_table a { color: var(--ink); }
.woocommerce-cart .cart-collaterals .cart_totals { border: 1px solid var(--line); background: var(--surface); }
.woocommerce-checkout .woocommerce-billing-fields, .woocommerce-checkout .woocommerce-shipping-fields { border-color: var(--line); background: var(--surface); }
.woocommerce-checkout #payment { border-color: var(--line); background: #223149; color: var(--ink); }
.woocommerce-checkout #payment div.payment_box { background: #f8fafc; color: #101827; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #f8fafc; }
.woocommerce form .form-row label { color: var(--ink); }
.select2-container--default .select2-selection--single { border-color: #52627a; background: #f8fafc; color: #101827; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: #101827; }
.woocommerce .woocommerce-form-login, .woocommerce .woocommerce-form-register, .woocommerce .lost_reset_password { border-color: var(--line); background: var(--surface); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { border: 1px solid var(--line); background: var(--surface); }
.woocommerce-account .woocommerce-MyAccount-navigation a { color: var(--ink); }
.woocommerce-info, .woocommerce-message, .woocommerce-error { background: #223149; color: var(--ink); }
.wc-block-components-sidebar-layout, .wc-block-cart, .wc-block-checkout, .wc-block-components-title, .wc-block-components-product-name { color: var(--ink); }
.wc-block-components-totals-wrapper, .wc-block-components-order-summary, .wc-block-components-checkout-step { border-color: var(--line) !important; }
.wc-block-components-text-input input, .wc-block-components-combobox-control input { background: #f8fafc !important; color: #101827 !important; }
.wc-block-components-text-input label, .wc-block-components-combobox-control label { color: #3c485a !important; }

.site-footer { border-top: 1px solid rgba(255,255,255,.08); background: #060b13; }

@media (max-width: 1050px) {
  .site-nav { border-color: var(--line); background: #101a2a; }
}

/* Version 1.2: WooCommerce applies fixed percentage widths to columns-3/4
   product loops. Force each product to fill its CSS-grid track. */
body.woocommerce-shop .shop-hero,
body.post-type-archive-product .shop-hero,
body.tax-product_cat .shop-hero,
body.tax-product_tag .shop-hero {
  padding-block: clamp(52px, 6vw, 82px);
}
body.woocommerce-shop .shop-hero h1,
body.post-type-archive-product .shop-hero h1,
body.tax-product_cat .shop-hero h1,
body.tax-product_tag .shop-hero h1 {
  font-size: clamp(2.8rem, 5.7vw, 5rem);
}
body.woocommerce-shop .shop-section,
body.post-type-archive-product .shop-section,
body.tax-product_cat .shop-section,
body.tax-product_tag .shop-section {
  padding-top: clamp(42px, 5vw, 72px);
}
.woocommerce ul.products,
.woocommerce-page ul.products {
  width: 100%;
  align-items: stretch;
  justify-items: stretch;
}
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product .woocommerce-LoopProduct-link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  min-height: 2.7em;
  overflow-wrap: anywhere;
}
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  display: block;
  min-height: 2.8em;
}
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  width: 100%;
  min-width: 0;
  margin-top: auto;
  white-space: normal;
  text-align: center;
}
.woocommerce nav.woocommerce-pagination { margin-top: 48px; }
.woocommerce nav.woocommerce-pagination ul { overflow: hidden; border: 1px solid var(--line); border-radius: 999px; }
.woocommerce nav.woocommerce-pagination ul li { border-right-color: var(--line); }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; padding: 13px; color: var(--ink); }
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--coral); color: var(--white); }

@media (max-width: 760px) {
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product .price,
  .woocommerce-page ul.products li.product .price { min-height: 0; }
}
