/*
Theme Name: Talon's Development
Theme URI: https://talonsdev.store
Author: Talon's Development
Description: A custom WooCommerce storefront for premium FiveM clothing, gear, and 3D models.
Version: 3.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: talons-development
*/

 :root {
  --td-bg: #050505;
  --td-surface: #0e0e0f;
  --td-surface-2: #171719;
  --td-border: rgba(218,222,226,.13);
  --td-text: #f5f5f3;
  --td-muted: #a9aaac;
  --td-silver: #c8ccd1;
  --td-silver-2: #f3f4f5;
  --td-gold: #c89b35;
  --td-gold-2: #f0cf72;
  --td-radius: 18px;
  --td-shadow: 0 20px 70px rgba(0,0,0,.52);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--td-bg);
  color: var(--td-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

.td-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.td-section { padding: 96px 0; }
.td-eyebrow { color: var(--td-gold-2); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; }
.td-section-title { margin: 10px 0 14px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; letter-spacing: -.045em; }
.td-section-copy { max-width: 670px; color: var(--td-muted); font-size: 1.05rem; }
.td-gradient-text { background: linear-gradient(110deg,#fff 10%,#d9dde1 45%,#d3a94a 86%); -webkit-background-clip:text; background-clip:text; color:transparent; }

.td-btn, .button, button.button, input.button, .wp-element-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 21px !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--td-gold), #8a6219) !important;
  color: white !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 35px rgba(200,155,53,.25);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.td-btn:hover, .button:hover, button.button:hover, input.button:hover { transform: translateY(-2px); box-shadow: 0 14px 42px rgba(200,155,53,.36); }
.td-btn--ghost { background: rgba(255,255,255,.04) !important; border-color: var(--td-border) !important; box-shadow: none; }
.td-btn--ghost:hover { border-color: rgba(240,207,114,.45) !important; }

.td-site-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(7,9,13,.82); backdrop-filter: blur(18px); }
.td-header-inner { min-height: 78px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.td-brand { display:flex; align-items:center; gap:12px; font-weight:900; letter-spacing:-.03em; }
.td-logo { width:46px; height:46px; flex:0 0 auto; filter: drop-shadow(0 0 18px rgba(200,155,53,.35)); }
.td-brand-text small { display:block; color:var(--td-muted); font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; font-weight:700; }
.td-nav { display:flex; align-items:center; gap:28px; }
.td-nav > ul { display:flex; align-items:center; gap:25px; list-style:none; margin:0; padding:0; }
.td-nav a { color:#dce2ec; font-weight:700; font-size:.94rem; }
.td-nav a:hover { color:white; }
.td-header-actions { display:flex; gap:10px; align-items:center; }
.td-cart-link { position:relative; width:44px; height:44px; border:1px solid var(--td-border); border-radius:12px; display:grid; place-items:center; background:rgba(255,255,255,.035); }
.td-cart-count { position:absolute; top:-6px; right:-6px; min-width:20px; height:20px; padding:0 5px; display:grid; place-items:center; border-radius:99px; background:var(--td-gold); color:#fff; font-size:.68rem; font-weight:900; }
.td-menu-toggle { display:none; width:44px; height:44px; border:1px solid var(--td-border); border-radius:12px; background:transparent; color:white; }

.td-hero { min-height: 720px; position:relative; display:grid; align-items:center; overflow:hidden; isolation:isolate; }
.td-hero:before { content:""; position:absolute; inset:-30%; z-index:-2; background:
radial-gradient(circle at 25% 25%, rgba(200,155,53,.30), transparent 28%),
radial-gradient(circle at 79% 32%, rgba(202,206,211,.20), transparent 23%),
radial-gradient(circle at 50% 90%, rgba(200,155,53,.12), transparent 30%); animation: tdDrift 14s ease-in-out infinite alternate; }
.td-hero:after { content:""; position:absolute; inset:0; z-index:-1; background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size:54px 54px; mask-image:linear-gradient(to bottom,black,transparent 88%); }
@keyframes tdDrift { to { transform:translate3d(3%, -2%, 0) scale(1.06); } }
.td-hero-grid { display:grid; grid-template-columns:1.15fr .85fr; align-items:center; gap:60px; padding:95px 0; }
.td-hero h1 { margin:15px 0 20px; font-size:clamp(3.2rem,7vw,6.8rem); line-height:.92; letter-spacing:-.07em; max-width:820px; }
.td-hero p { color:#b8b9bb; font-size:1.12rem; max-width:650px; }
.td-hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:30px; }
.td-hero-trust { display:flex; gap:26px; flex-wrap:wrap; margin-top:42px; color:var(--td-muted); font-size:.88rem; font-weight:700; }
.td-hero-trust span:before { content:"✓"; color:#f0cf72; margin-right:8px; }
.td-showcase { position:relative; min-height:480px; }
.td-showcase-card { position:absolute; width:76%; aspect-ratio:4/5; border-radius:28px; border:1px solid rgba(255,255,255,.12); background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.02)); box-shadow:var(--td-shadow); backdrop-filter:blur(14px); padding:28px; overflow:hidden; }
.td-showcase-card:nth-child(1){ right:0; top:0; transform:rotate(5deg); }
.td-showcase-card:nth-child(2){ left:0; bottom:0; transform:rotate(-6deg); }
.td-showcase-card .td-faux-image { height:68%; border-radius:18px; background:radial-gradient(circle at 40% 30%,rgba(240,207,114,.4),transparent 35%),linear-gradient(135deg,#18233f,#0d111a 60%,#261019); border:1px solid rgba(255,255,255,.08); position:relative; }
.td-showcase-card .td-faux-image:after { content:"TD"; position:absolute; inset:0; display:grid; place-items:center; font-size:4rem; font-weight:950; letter-spacing:-.1em; color:rgba(255,255,255,.9); }
.td-showcase-card h3 { margin:18px 0 4px; font-size:1.25rem; }
.td-showcase-card p { margin:0; font-size:.88rem; }

.td-category-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:38px; }
.td-category-card { position:relative; min-height:240px; padding:28px; border-radius:var(--td-radius); overflow:hidden; border:1px solid var(--td-border); background:linear-gradient(145deg,var(--td-surface-2),var(--td-surface)); transition:.25s ease; }
.td-category-card:hover { transform:translateY(-5px); border-color:rgba(240,207,114,.4); }
.td-category-card:before { content:""; position:absolute; width:180px; height:180px; right:-55px; bottom:-65px; border-radius:50%; background:radial-gradient(circle,rgba(200,155,53,.25),transparent 68%); }
.td-category-icon { width:48px; height:48px; display:grid; place-items:center; border-radius:13px; background:rgba(200,155,53,.14); color:#f0cf72; font-size:1.35rem; }
.td-category-card h3 { margin:54px 0 7px; font-size:1.25rem; line-height:1.25; }
.td-category-card p { margin:0; color:var(--td-muted); font-size:.9rem; }

.td-products-section { background:linear-gradient(to bottom,transparent,rgba(255,255,255,.018),transparent); }
.woocommerce ul.products, ul.products { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px !important; margin:38px 0 0 !important; }
.woocommerce ul.products::before,.woocommerce ul.products::after { display:none !important; }
.woocommerce ul.products li.product, .td-product-card { width:auto !important; float:none !important; margin:0 !important; padding:0 0 20px !important; border:1px solid var(--td-border); border-radius:16px; background:var(--td-surface); overflow:hidden; transition:.25s ease; }
.woocommerce ul.products li.product:hover { transform:translateY(-5px); border-color:rgba(240,207,114,.35); box-shadow:0 18px 50px rgba(0,0,0,.28); }
.woocommerce ul.products li.product a img { width:100%; aspect-ratio:1/1; object-fit:cover; margin:0 0 18px !important; background:#080808; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color:white; font-size:1rem !important; padding:0 18px !important; margin-bottom:6px !important; }
.woocommerce ul.products li.product .price { color:#f0cf72 !important; font-weight:900 !important; padding:0 18px; }
.woocommerce ul.products li.product .button { margin:14px 18px 0 !important; width:calc(100% - 36px); min-height:42px; }
.woocommerce span.onsale { background:var(--td-gold) !important; min-height:auto !important; min-width:auto !important; padding:6px 10px !important; line-height:1 !important; border-radius:8px !important; top:12px !important; left:12px !important; }

.td-feature-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:38px; }
.td-feature { padding:25px; border:1px solid var(--td-border); border-radius:16px; background:rgba(255,255,255,.025); }
.td-feature strong { display:block; margin:13px 0 5px; font-size:1.03rem; }
.td-feature p { margin:0; color:var(--td-muted); font-size:.88rem; }

.td-cta { padding:45px; border:1px solid rgba(240,207,114,.22); border-radius:26px; background:linear-gradient(135deg,rgba(200,155,53,.16),rgba(202,206,211,.08),rgba(255,255,255,.03)); display:flex; align-items:center; justify-content:space-between; gap:30px; }
.td-cta h2 { margin:0 0 8px; font-size:clamp(1.8rem,4vw,3rem); letter-spacing:-.04em; }
.td-cta p { margin:0; color:var(--td-muted); }

.td-site-footer { border-top:1px solid var(--td-border); padding:60px 0 28px; background:#030303; }
.td-footer-grid { display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:42px; }
.td-footer-title { font-weight:900; margin-bottom:14px; }
.td-footer-links { list-style:none; padding:0; margin:0; display:grid; gap:9px; }
.td-footer-links a { color:var(--td-muted); }
.td-footer-links a:hover { color:white; }
.td-footer-bottom { margin-top:45px; padding-top:22px; border-top:1px solid var(--td-border); display:flex; justify-content:space-between; gap:15px; color:var(--td-muted); font-size:.84rem; }

.td-content { padding:70px 0 100px; min-height:55vh; }
.td-page-header { padding:72px 0 35px; background:radial-gradient(circle at 30% 0,rgba(200,155,53,.18),transparent 36%); border-bottom:1px solid var(--td-border); }
.td-page-header h1 { margin:8px 0 0; font-size:clamp(2.4rem,5vw,4.7rem); line-height:1; letter-spacing:-.055em; }
.entry-content { color:#c2cad6; }
.entry-content h2,.entry-content h3,.entry-content h4 { color:white; }

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb { color:var(--td-muted); }
.woocommerce div.product { display:grid; grid-template-columns:1fr 1fr; gap:55px; }
.woocommerce div.product div.images,.woocommerce div.product div.summary { width:auto !important; float:none !important; }
.woocommerce div.product div.images img { border-radius:18px; background:var(--td-surface); }
.woocommerce div.product .product_title { font-size:clamp(2.2rem,5vw,4.2rem); letter-spacing:-.055em; line-height:1; }
.woocommerce div.product p.price,.woocommerce div.product span.price { color:#f0cf72 !important; font-size:1.6rem !important; font-weight:900; }
.woocommerce-product-details__short-description { color:var(--td-muted); }
.woocommerce table.shop_table { border-color:var(--td-border) !important; border-radius:14px !important; overflow:hidden; }
.woocommerce table.shop_table th,.woocommerce table.shop_table td { border-color:var(--td-border) !important; }
.woocommerce-cart-form,.cart-collaterals,.woocommerce-checkout-review-order,.woocommerce-form,.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content { background:var(--td-surface); border:1px solid var(--td-border); border-radius:16px; padding:22px; }
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.select2-container--default .select2-selection--single { background:#090909; border:1px solid var(--td-border); color:white; border-radius:10px; padding:12px; min-height:48px; }
.select2-dropdown { background:#090909; color:white; }
.woocommerce-message,.woocommerce-info,.woocommerce-error { background:var(--td-surface); color:white; border-radius:12px; border-top-color:var(--td-gold); }

@media (max-width: 980px) {
  .td-menu-toggle { display:grid; place-items:center; }
  .td-nav { display:none; position:absolute; top:78px; left:0; right:0; padding:20px; background:#080808; border-bottom:1px solid var(--td-border); }
  .td-nav.is-open { display:block; }
  .td-nav > ul { display:grid; gap:14px; }
  .td-header-actions .td-btn { display:none !important; }
  .td-hero-grid { grid-template-columns:1fr; }
  .td-showcase { min-height:390px; max-width:560px; width:100%; margin:auto; }
  .td-category-grid { grid-template-columns:repeat(2,1fr); }
  .woocommerce ul.products,ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .td-feature-grid { grid-template-columns:repeat(2,1fr); }
  .td-footer-grid { grid-template-columns:repeat(2,1fr); }
  .woocommerce div.product { grid-template-columns:1fr; }
}
@media (max-width: 620px) {
  .td-container { width:min(100% - 26px,1180px); }
  .td-section { padding:70px 0; }
  .td-brand-text { display:none; }
  .td-hero { min-height:auto; }
  .td-hero-grid { padding:72px 0; gap:30px; }
  .td-hero h1 { font-size:clamp(3rem,17vw,5rem); }
  .td-showcase { min-height:315px; }
  .td-category-grid,.td-feature-grid { grid-template-columns:1fr; }
  .woocommerce ul.products,ul.products { grid-template-columns:1fr; }
  .td-cta { padding:28px; display:block; }
  .td-cta .td-btn { margin-top:22px; width:100%; }
  .td-footer-grid { grid-template-columns:1fr; }
  .td-footer-bottom { display:block; }
}


/* Version 2: black, silver, and gold animated marketplace treatment */
body { background:
  radial-gradient(circle at 18% 8%, rgba(200,155,53,.08), transparent 25%),
  radial-gradient(circle at 86% 38%, rgba(218,222,226,.055), transparent 30%), var(--td-bg); }
.td-site-header { background:rgba(5,5,5,.84); box-shadow:0 8px 35px rgba(0,0,0,.25); }
.td-logo { filter:drop-shadow(0 0 20px rgba(200,155,53,.32)); animation:tdLogoPulse 4s ease-in-out infinite; }
@keyframes tdLogoPulse { 50% { filter:drop-shadow(0 0 28px rgba(240,207,114,.52)); transform:translateY(-1px); } }
.td-btn, .button, button.button, input.button, .wp-element-button {
  background:linear-gradient(115deg,#8a6219,#d2a94c 42%,#f1d77d 52%,#a7771e 72%) !important;
  background-size:220% 100% !important; color:#080808 !important; box-shadow:0 10px 35px rgba(200,155,53,.22);
  animation:tdButtonSheen 5s linear infinite;
}
@keyframes tdButtonSheen { to { background-position:-220% 0; } }
.td-btn--ghost { color:var(--td-text) !important; background:rgba(255,255,255,.035) !important; animation:none; }
.td-cart-count { color:#080808; }

.td-primary-menu { display:flex; align-items:center; gap:25px; list-style:none; margin:0; padding:0; }
.td-menu-item-has-children { position:relative; }
.td-dropdown-toggle { appearance:none; border:0; background:none; color:#dfe1e3; font:inherit; font-weight:700; padding:10px 0; cursor:pointer; }
.td-dropdown-toggle span { display:inline-block; margin-left:4px; transition:transform .2s ease; }
.td-menu-item-has-children.is-open .td-dropdown-toggle span { transform:rotate(180deg); }
.td-submenu { position:absolute; top:calc(100% + 12px); left:50%; width:310px; transform:translate(-50%,8px); opacity:0; visibility:hidden; list-style:none; padding:10px; margin:0; border:1px solid rgba(240,207,114,.22); border-radius:16px; background:rgba(8,8,8,.97); box-shadow:0 26px 80px rgba(0,0,0,.65); backdrop-filter:blur(18px); transition:.2s ease; }
.td-submenu:before { content:""; position:absolute; inset:-1px; border-radius:16px; padding:1px; background:linear-gradient(120deg,transparent,#f0cf72,#c8ccd1,transparent); background-size:240% 100%; animation:tdBorderFlow 5s linear infinite; pointer-events:none; -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; }
.td-menu-item-has-children:hover .td-submenu,.td-menu-item-has-children.is-open .td-submenu { opacity:1; visibility:visible; transform:translate(-50%,0); }
.td-submenu li + li { border-top:1px solid rgba(255,255,255,.06); }
.td-submenu a { display:block; padding:11px 12px; border-radius:9px; }
.td-submenu a:hover { color:#f0cf72; background:rgba(240,207,114,.075); }

.td-hero:before { background:
 radial-gradient(circle at 22% 26%,rgba(200,155,53,.26),transparent 27%),
 radial-gradient(circle at 78% 30%,rgba(205,209,214,.16),transparent 24%),
 radial-gradient(circle at 52% 92%,rgba(200,155,53,.1),transparent 32%); }
.td-hero:after { background-image:linear-gradient(rgba(240,207,114,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(220,224,228,.025) 1px,transparent 1px); }

.td-hero-carousel { position:relative; padding:1px; border-radius:29px; background:linear-gradient(115deg,#4d3a14,#f0cf72,#c9cdd2,#8c641b,#f0cf72); background-size:320% 320%; animation:tdBorderFlow 7s linear infinite; box-shadow:0 30px 90px rgba(0,0,0,.5),0 0 45px rgba(200,155,53,.13); }
@keyframes tdBorderFlow { 0%{background-position:0 50%} 100%{background-position:320% 50%} }
.td-carousel-viewport { overflow:hidden; border-radius:28px; background:#0b0b0c; }
.td-carousel-track { display:flex; transition:transform .65s cubic-bezier(.2,.75,.2,1); }
.td-carousel-slide { min-width:100%; display:flex; flex-direction:column; min-height:520px; background:linear-gradient(145deg,#111113,#090909); }
.td-carousel-image { display:block; height:340px; overflow:hidden; background:radial-gradient(circle at 50% 30%,rgba(200,155,53,.16),transparent 40%),#080808; }
.td-carousel-image img { width:100%; height:100%; object-fit:cover; transition:transform .7s ease; }
.td-carousel-slide:hover .td-carousel-image img { transform:scale(1.045); }
.td-carousel-content { padding:25px 28px 29px; }
.td-carousel-kicker { color:var(--td-gold-2); font-size:.7rem; letter-spacing:.16em; text-transform:uppercase; font-weight:900; }
.td-carousel-content h3 { margin:8px 0 4px; font-size:1.45rem; line-height:1.2; }
.td-carousel-price { color:var(--td-silver-2); font-size:1.08rem; font-weight:900; }
.td-carousel-link { display:inline-block; margin-top:12px; color:var(--td-gold-2); font-weight:900; }
.td-placeholder-mark { height:100%; display:grid; place-items:center; font-size:6rem; font-weight:950; letter-spacing:-.12em; background:linear-gradient(120deg,#fff,#abb0b6,#f0cf72); -webkit-background-clip:text; color:transparent; animation:tdFloat 4s ease-in-out infinite; }
@keyframes tdFloat { 50% { transform:translateY(-8px) scale(1.02); } }
.td-carousel-arrow { position:absolute; top:42%; z-index:3; width:46px; height:46px; border:1px solid rgba(240,207,114,.35); border-radius:50%; background:rgba(5,5,5,.78); color:#f0cf72; font-size:2rem; line-height:1; cursor:pointer; backdrop-filter:blur(9px); transition:.2s ease; }
.td-carousel-arrow:hover { transform:scale(1.08); box-shadow:0 0 28px rgba(240,207,114,.28); }
.td-carousel-prev { left:-22px; }.td-carousel-next { right:-22px; }
.td-carousel-dots { position:absolute; bottom:15px; right:23px; z-index:3; display:flex; gap:7px; }
.td-carousel-dots button { width:7px; height:7px; padding:0; border:0; border-radius:99px; background:#696969; cursor:pointer; transition:.25s ease; }
.td-carousel-dots button.is-active { width:25px; background:#f0cf72; box-shadow:0 0 14px rgba(240,207,114,.6); }

.td-category-card,.td-feature,.woocommerce ul.products li.product,.td-cta { isolation:isolate; }
.td-category-card:after,.td-feature:after,.woocommerce ul.products li.product:after,.td-cta:after { content:""; position:absolute; inset:-1px; z-index:-1; border-radius:inherit; padding:1px; background:linear-gradient(120deg,transparent 12%,rgba(240,207,114,.7),rgba(207,211,216,.65),transparent 88%); background-size:300% 100%; opacity:.35; animation:tdCardOutline 7s linear infinite; pointer-events:none; -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; }
@keyframes tdCardOutline { to { background-position:300% 0; } }
.td-category-card:hover:after,.td-feature:hover:after,.woocommerce ul.products li.product:hover:after,.td-cta:hover:after { opacity:1; animation-duration:2.8s; }
.td-category-card:hover,.td-feature:hover,.woocommerce ul.products li.product:hover { box-shadow:0 20px 60px rgba(0,0,0,.42),0 0 32px rgba(200,155,53,.11); }
.td-category-card:before { background:radial-gradient(circle,rgba(200,155,53,.22),transparent 68%); animation:tdOrb 6s ease-in-out infinite alternate; }
@keyframes tdOrb { to { transform:translate(-18px,-12px) scale(1.15); } }
.td-category-icon { background:linear-gradient(145deg,rgba(240,207,114,.14),rgba(201,205,210,.08)); border:1px solid rgba(240,207,114,.18); }
.woocommerce ul.products li.product { position:relative; }
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price { color:var(--td-gold-2) !important; }
.woocommerce span.onsale { background:linear-gradient(135deg,#f0cf72,#9b6d19) !important; color:#070707 !important; }
.td-cta { position:relative; border-color:rgba(240,207,114,.18); background:linear-gradient(135deg,rgba(200,155,53,.13),rgba(205,209,214,.055),rgba(255,255,255,.02)); }
.td-page-header { background:radial-gradient(circle at 30% 0,rgba(200,155,53,.16),transparent 38%); }

@media (max-width:980px) {
 .td-primary-menu { display:grid; gap:12px; }
 .td-menu-item-has-children { width:100%; }
 .td-dropdown-toggle { width:100%; text-align:left; padding:0; }
 .td-submenu { position:static; width:100%; transform:none; display:none; opacity:1; visibility:visible; margin-top:10px; box-shadow:none; }
 .td-menu-item-has-children:hover .td-submenu { display:none; transform:none; }
 .td-menu-item-has-children.is-open .td-submenu { display:block; transform:none; }
}
@media (max-width:620px) {
 .td-carousel-slide { min-height:440px; }
 .td-carousel-image { height:270px; }
 .td-carousel-prev { left:8px; }.td-carousel-next { right:8px; }
}
@media (prefers-reduced-motion:reduce) {
 *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; }
 .td-carousel-track { transition:none; }
}

/* Version 3: clearly visible motion and arrow-free Collections control */
.td-dropdown-toggle span { display:none !important; }

body::before,
body::after {
  content:"";
  position:fixed;
  z-index:-1;
  width:42vw;
  height:42vw;
  min-width:420px;
  min-height:420px;
  border-radius:50%;
  filter:blur(90px);
  opacity:.13;
  pointer-events:none;
  will-change:transform;
}
body::before {
  top:-15vw;
  left:-12vw;
  background:#d7b45a;
  animation:tdAmbientGold 11s ease-in-out infinite alternate;
}
body::after {
  right:-15vw;
  bottom:-18vw;
  background:#d9dde2;
  animation:tdAmbientSilver 13s ease-in-out infinite alternate;
}
@keyframes tdAmbientGold {
  0% { transform:translate3d(0,0,0) scale(.85); opacity:.09; }
  55% { transform:translate3d(18vw,14vh,0) scale(1.15); opacity:.18; }
  100% { transform:translate3d(7vw,46vh,0) scale(.95); opacity:.11; }
}
@keyframes tdAmbientSilver {
  0% { transform:translate3d(0,0,0) scale(.9); opacity:.08; }
  50% { transform:translate3d(-25vw,-22vh,0) scale(1.18); opacity:.16; }
  100% { transform:translate3d(-7vw,-48vh,0) scale(1); opacity:.10; }
}

.td-site-header { animation:tdHeaderGlow 5s ease-in-out infinite; }
@keyframes tdHeaderGlow {
  0%,100% { border-bottom-color:rgba(215,180,90,.12); box-shadow:0 8px 35px rgba(0,0,0,.28); }
  50% { border-bottom-color:rgba(240,207,114,.5); box-shadow:0 10px 45px rgba(200,155,53,.15); }
}

.td-hero:before { animation:tdHeroSweep 9s ease-in-out infinite alternate !important; }
@keyframes tdHeroSweep {
  0% { transform:translate3d(-4%,-2%,0) scale(1); filter:hue-rotate(0deg); }
  50% { transform:translate3d(5%,3%,0) scale(1.10); }
  100% { transform:translate3d(1%,-5%,0) scale(1.04); filter:hue-rotate(8deg); }
}
.td-hero:after { animation:tdGridMove 12s linear infinite; }
@keyframes tdGridMove { to { background-position:54px 54px,54px 54px; } }

.td-gradient-text {
  background-size:220% auto;
  animation:tdTextShimmer 4.5s linear infinite;
}
@keyframes tdTextShimmer { to { background-position:220% center; } }

.td-btn, .button, button.button, input.button, .wp-element-button {
  animation:tdButtonSheen 3.2s linear infinite, tdButtonPulse 2.8s ease-in-out infinite !important;
}
@keyframes tdButtonPulse {
  0%,100% { box-shadow:0 10px 30px rgba(200,155,53,.18); }
  50% { box-shadow:0 12px 42px rgba(240,207,114,.46), 0 0 18px rgba(240,207,114,.18); }
}
.td-btn--ghost { animation:tdGhostPulse 3.5s ease-in-out infinite !important; }
@keyframes tdGhostPulse {
  0%,100% { border-color:rgba(218,222,226,.15) !important; box-shadow:none; }
  50% { border-color:rgba(240,207,114,.55) !important; box-shadow:0 0 22px rgba(240,207,114,.12); }
}

.td-hero-carousel {
  animation:tdBorderFlow 4s linear infinite, tdCarouselFloat 4.8s ease-in-out infinite !important;
}
@keyframes tdCarouselFloat {
  0%,100% { transform:translateY(0); box-shadow:0 30px 90px rgba(0,0,0,.5),0 0 35px rgba(200,155,53,.13); }
  50% { transform:translateY(-9px); box-shadow:0 40px 100px rgba(0,0,0,.56),0 0 58px rgba(240,207,114,.26); }
}

.td-category-card,
.td-feature,
.woocommerce ul.products li.product,
.td-cta {
  position:relative;
  overflow:hidden;
  animation:tdCardGlow 4.2s ease-in-out infinite;
}
@keyframes tdCardGlow {
  0%,100% { border-color:rgba(218,222,226,.13); box-shadow:0 0 0 rgba(0,0,0,0); }
  50% { border-color:rgba(240,207,114,.48); box-shadow:0 0 24px rgba(200,155,53,.12); }
}
.td-category-card:nth-child(2n),
.td-feature:nth-child(2n),
.woocommerce ul.products li.product:nth-child(2n) { animation-delay:-2.1s; }
.td-category-card::after,
.td-feature::after,
.woocommerce ul.products li.product::after,
.td-cta::after {
  z-index:5 !important;
  inset:0 !important;
  border-radius:inherit;
  padding:2px !important;
  opacity:.9 !important;
  background:linear-gradient(110deg,transparent 5%,#f0cf72 32%,#f5f5f5 50%,#b7892f 68%,transparent 95%) !important;
  background-size:300% 100% !important;
  animation:tdCardOutline 3.4s linear infinite !important;
}

.td-category-icon { animation:tdIconBreathe 3s ease-in-out infinite; }
@keyframes tdIconBreathe {
  0%,100% { transform:scale(1); box-shadow:0 0 0 rgba(240,207,114,0); }
  50% { transform:scale(1.08) rotate(2deg); box-shadow:0 0 26px rgba(240,207,114,.22); }
}

.td-carousel-arrow { animation:tdArrowPulse 2s ease-in-out infinite; }
@keyframes tdArrowPulse {
  0%,100% { box-shadow:0 0 0 rgba(240,207,114,0); }
  50% { box-shadow:0 0 28px rgba(240,207,114,.42); }
}

/* Scroll-in entrance effects added by theme.js */
.td-animate-in { opacity:0; transform:translateY(30px) scale(.985); transition:opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.td-animate-in.is-visible { opacity:1; transform:translateY(0) scale(1); }

/* Keep the requested motion active even when the OS requests reduced motion. */
@media (prefers-reduced-motion:reduce) {
  body::before,body::after,.td-site-header,.td-logo,.td-btn,.button,button.button,input.button,.wp-element-button,
  .td-hero:before,.td-hero:after,.td-gradient-text,.td-hero-carousel,.td-category-card,.td-feature,
  .woocommerce ul.products li.product,.td-cta,.td-category-icon,.td-carousel-arrow,.td-placeholder-mark {
    animation-duration:inherit !important;
    animation-iteration-count:infinite !important;
  }
  .td-carousel-track { transition:transform .65s cubic-bezier(.2,.75,.2,1) !important; }
}
