/*
Theme Name: UKeyShop
Theme URI: https://ukeyshop.com
Author: UKeyShop
Description: WooCommerce-ready storefront theme for UKeyShop, built to be edited freely with Elementor. Sells software licenses (Windows, Office, AutoCAD, bundles) with a clean blue/navy brand system.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
Text Domain: ukeyshop
WC requires at least: 8.0
WC tested up to: 11.0
*/

:root {
  --ink: #101f27;
  --muted: #64747c;
  --cream: #f7f5ef;
  --paper: #fffefa;
  --blue: #0e72db;
  --blue-dark: #0758b3;
  --line: #dce2e1;
  --orange: #ff6846;
  --navy: #0d252f;
  --radius: 14px;
}

* { box-sizing: border-box; }
/* overflow-x on html as well as body: the off-canvas drawer sits just
   past the right edge, and clipping only on body still let the document
   scroll sideways on small screens. */
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  font-family: 'DM Sans', sans-serif;
  font-synthesis: none;
}
body.no-scroll { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; }
svg.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); overflow: hidden; height: 1px; width: 1px; }

/* Announcement bar */
.announcement { min-height: 35px; padding: 8px 20px; display: flex; justify-content: center; align-items: center; gap: 9px; background: var(--navy); color: #e8f5f5; font-size: 12px; letter-spacing: .02em; text-align: center; }
.announcement svg { width: 14px; color: #4bb7ff; }

/* Header */
.site-header { min-height: 74px; background: rgba(255,254,250,.95); border-bottom: 1px solid rgba(18,37,45,.1); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
/* min-width:0 + truncation so a long site title can shrink instead of
   pushing the nav and cart button past the viewport (which caused a
   horizontal scrollbar and left a gap beside the footer). */
.logo { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 800 22px/1 'Manrope', sans-serif; letter-spacing: -.5px; color: var(--ink); }
/* Header only: a long site title would otherwise eat the row and push the
   last nav item under the cart button. The footer logo is left to wrap. */
.nav-wrap .logo { max-width: 260px; display: block; line-height: 1.15; }

/* Brand lockup: mark as an SVG image + wordmark as real text. The wordmark
   is not baked into the SVG because an <img>-embedded SVG can't load the
   page's webfont and would silently fall back to Arial. */
/* Specificity has to match `.nav-wrap .logo` above, which sets display:block
   for the plain-text logo and would otherwise stack the mark on the word. */
.brand-lockup, .nav-wrap .brand-lockup { display: inline-flex; align-items: center; gap: 10px; overflow: visible; max-width: none; }
/* Height drives both marks and width follows: pinning both dimensions
   squashes the shield, which is taller than it is wide. */
.brand-logo { height: 40px; width: auto; display: block; }
.brand-mark { height: 38px; width: auto; display: block; flex: 0 0 auto; }
.brand-word { font: 800 21px/1 'Manrope', sans-serif; letter-spacing: -.9px; color: var(--ink); white-space: nowrap; }
.brand-word em { font-style: normal; color: var(--blue); }
.site-footer .brand-lockup { gap: 11px; }
.site-footer .brand-mark { height: 44px; width: auto; }
.site-footer .brand-word { font-size: 23px; color: #fff; }
.site-footer .brand-word em { color: #4bb7ff; }
@media (max-width: 760px) { .brand-logo { height: 34px; } .brand-mark { height: 33px; width: auto; } .brand-word { font-size: 18px; } }
.logo img { display: block; height: 36px; width: auto; }
.main-nav { display: flex; gap: 22px; align-items: center; margin-left: 28px; margin-right: auto; list-style: none; padding: 0; flex: 0 1 auto; min-width: 0; }
.main-nav > li { white-space: nowrap; }
.nav-wrap > .nav-actions { flex: 0 0 auto; }
.main-nav a { font-size: 14px; font-weight: 600; color: #263941; transition: color .2s; }
.main-nav a:hover { color: var(--blue); }

/* Mega-menu dropdowns */
.mega-menu > li { position: relative; }
.mega-menu > li.has-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
.mega-menu > li.has-dropdown > a:after { content: ''; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-1px); opacity: .6; }
.nav-dropdown { position: absolute; top: calc(100% + 14px); left: -18px; min-width: 250px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(18,37,45,.13); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
/* Bridges the gap between the nav item and the flyout so the pointer
   can travel down without the dropdown closing mid-move. */
.nav-dropdown:before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.mega-menu > li.has-dropdown:hover .nav-dropdown,
.mega-menu > li.has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { padding: 9px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: #37484f; transition: background .15s, color .15s; }
.nav-dropdown a:hover { background: #f2f5f7; color: var(--blue); }
.nav-dropdown-all { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px !important; color: var(--blue) !important; font-weight: 700 !important; font-size: 12px !important; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .menu-button { width: 40px; height: 40px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.cart-button { height: 42px; border: 1px solid var(--line); background: white; border-radius: 50px; padding: 0 14px; display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; position: relative; }
.cart-count { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: white; font-size: 11px; }
.menu-button { display: none; }

/* Hero */
.hero { min-height: 560px; position: relative; overflow: hidden; background: linear-gradient(120deg, #f8f8f4 0%, #f5f8f5 48%, #edf5f6 100%); display: flex; align-items: center; }
.hero-grid { position: absolute; inset: 0; opacity: .36; background-image: linear-gradient(rgba(16,68,82,.065) 1px, transparent 1px),linear-gradient(90deg, rgba(16,68,82,.065) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg, transparent 2%, black 60%, transparent 100%); }
.hero:after { content: ''; position: absolute; width: 45%; height: 100%; right: -7%; top: 0; background: radial-gradient(ellipse, rgba(22,154,205,.15), transparent 67%); }
.hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; position: relative; z-index: 2; gap: 30px; padding: 60px 0; }
.pill { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #cbd8d8; border-radius: 30px; padding: 7px 13px 7px 10px; background: rgba(255,255,255,.55); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.pill span { width: 8px; height: 8px; border-radius: 50%; background: #30ad68; box-shadow: 0 0 0 4px rgba(48,173,104,.14); }
.hero h1 { font: 800 clamp(42px, 5.55vw, 74px)/1.02 'Manrope', sans-serif; letter-spacing: -3px; margin: 25px 0; max-width: 680px; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-copy > p { color: #53666e; font-size: 17px; line-height: 1.65; max-width: 535px; margin: 0; }
.hero-actions { display: flex; gap: 13px; align-items: center; margin-top: 33px; flex-wrap: wrap; }
.primary-cta, .secondary-cta { height: 52px; padding: 0 22px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-weight: 700; font-size: 14px; transition: transform .2s, box-shadow .2s; border: 0; cursor: pointer; }
.primary-cta { background: var(--blue); color: white; box-shadow: 0 11px 24px rgba(14,114,219,.2); }
.primary-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(14,114,219,.28); color: white; }
.secondary-cta { border: 1px solid #cbd4d4; background: rgba(255,255,255,.64); }
.hero-proof { margin-top: 30px; display: flex; align-items: center; gap: 13px; }
.avatars { display: flex; padding-left: 8px; }
.avatars i { width: 28px; height: 28px; border: 2px solid white; border-radius: 50%; background: #d6e0df; margin-left: -8px; font-style: normal; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #344c56; }
.avatars i:nth-child(1) { background: #fac29e; } .avatars i:nth-child(2) { background: #9fd4cd; } .avatars i:nth-child(3) { background: #d5bfed; } .avatars i:nth-child(4) { background: var(--navy); color: white; }
.hero-proof > div:last-child { display: flex; flex-direction: column; gap: 2px; }
.hero-proof strong { font-size: 11px; } .hero-proof span { font-size: 10px; color: #708087; } .hero-proof b { color: #ffad31; letter-spacing: 1px; }
.hero-visual { position: relative; min-height: 420px; }
.hero-visual-panel { position: absolute; inset: 20px 0 0 20px; border-radius: 24px; background: radial-gradient(circle at 35% 30%, #e7fbff, #b9e8f2 46%, rgba(107,196,220,.18) 65%, transparent 68%); box-shadow: inset 0 0 60px rgba(255,255,255,.75); }
.floating-badge { position: absolute; min-width: 175px; padding: 16px 16px 14px 62px; border-radius: 16px; background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 22px 50px rgba(18,70,90,.17); backdrop-filter: blur(12px); }
.floating-badge .fb-mark { position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; border-radius: 9px; color: white; display: grid; place-items: center; font: 800 15px 'Manrope', sans-serif; }
.floating-badge strong { display: block; font: 700 13px 'Manrope', sans-serif; letter-spacing: -.2px; }
.floating-badge small { display: block; margin-top: 3px; color: #738187; font-size: 10px; }
.fb-1 { left: 10px; top: 40px; transform: rotate(-4deg); }
.fb-2 { right: 0; top: 130px; transform: rotate(4deg); }
.fb-3 { left: 40px; bottom: 30px; transform: rotate(3deg); }
.delivery-badge { position: absolute; right: 10px; bottom: 70px; min-width: 190px; padding: 14px; background: var(--navy); color: white; border-radius: 13px; box-shadow: 0 18px 35px rgba(10,31,40,.24); display: flex; align-items: center; gap: 11px; transform: rotate(-3deg); }
.delivery-badge span.ic { width: 32px; height: 32px; border-radius: 9px; background: #143d4b; color: #5fcfff; display: grid; place-items: center; flex: 0 0 auto; }
.delivery-badge strong { display: block; font-size: 12px; } .delivery-badge small { display: block; color: #8eadb7; font: 700 8px 'Manrope', sans-serif; letter-spacing: .1em; }
@media (max-width: 1000px) { .hero-visual { min-height: 320px; transform: scale(.9); } }
@media (max-width: 760px) { .hero-visual { display: none; } }

/* Benefit strip */
.benefit-strip { border-top: 1px solid #dbe3e2; border-bottom: 1px solid #dbe3e2; background: #fff; }
.benefits { display: grid; grid-template-columns: repeat(4,1fr); min-height: 104px; list-style: none; margin: 0; padding: 0; }
.benefits > li { display: flex; align-items: center; padding: 22px 25px; border-right: 1px solid #e3e7e5; gap: 14px; } .benefits > li:first-child { padding-left: 0; } .benefits > li:last-child { border: 0; }
.benefits > li > span.ic { width: 39px; height: 39px; border-radius: 10px; display: grid; place-items: center; background: #ecf5fb; color: var(--blue); flex: 0 0 auto; } .benefits > li:nth-child(2) span.ic { color: #26a66b; background: #ecf8f2; } .benefits > li:nth-child(3) span.ic { color: #8662ca; background: #f2eefb; } .benefits > li:nth-child(4) span.ic { color: #e17934; background: #fff3e9; }
.benefits p { margin: 0; display: flex; flex-direction: column; } .benefits strong { font-size: 13px; } .benefits small { color: #7a878c; font-size: 10px; margin-top: 4px; }

/* Sections */
.section { padding: 90px 0; } .categories-section { background: var(--paper); } .section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 39px; flex-wrap: wrap; gap: 16px; }
.section-head h2, .why-copy h2, .faq-wrap h2 { font: 750 36px/1.13 'Manrope', sans-serif; letter-spacing: -1.6px; margin: 8px 0 0; }
.kicker { color: var(--blue); font: 700 10px 'Manrope', sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.text-link { color: var(--blue); display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; border-bottom: 1px solid rgba(14,114,219,.3); padding-bottom: 5px; }

/* Category grid */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; list-style: none; margin: 0; padding: 0; }
.category-card { min-height: 230px; padding: 28px 25px 24px; border-radius: var(--radius); border: 1px solid #dfe4e1; background: #fff; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.category-card:hover { transform: translateY(-5px); box-shadow: 0 18px 35px rgba(28,55,65,.1); border-color: rgba(14,114,219,.25); }
.category-icon { width: 53px; height: 53px; border-radius: 13px; display: grid; place-items: center; color: white; font: 800 20px 'Manrope', sans-serif; margin-bottom: 24px; }
.category-card h3 { font: 700 18px 'Manrope', sans-serif; letter-spacing: -.5px; margin: 0 0 8px; } .category-card p { font-size: 12px; line-height: 1.5; color: #738087; margin: 0; max-width: 185px; }
.category-card .count { margin-top: auto; align-self: flex-end; font-size: 11px; font-weight: 700; color: var(--blue); }

.category-intro { max-width: 720px; margin: 0 0 39px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.category-intro p { margin: 0 0 12px; }

/* Product grid (Woo overrides live below) */
.products-section { background: #f3f4f0; }
.product-grid, ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 17px; list-style: none; margin: 0; padding: 0; }
/* WooCommerce ships a ::before/::after clearfix on ul.products. In a grid
   container those pseudo-elements become real grid items and eat the
   first cell, pushing every product one column to the right. */
.product-grid::before, .product-grid::after,
ul.products::before, ul.products::after { content: none !important; display: none !important; }
/* Column layout so the button sits on the card's baseline even when the
   titles above it wrap to different heights. */
.product-card, ul.products li.product { background: white; border: 1px solid #e2e5e2; border-radius: var(--radius); overflow: hidden; position: relative; transition: transform .22s, box-shadow .22s; padding: 0 !important; width: auto !important; display: flex; flex-direction: column; }
.product-card > a, ul.products li.product > a:not(.button):not(.added_to_cart) { display: block; }
.add-button, .product-card > .button, ul.products li.product > .button { margin-top: auto; }
.product-card:hover, ul.products li.product:hover { transform: translateY(-4px); box-shadow: 0 16px 35px rgba(29,53,62,.09); }
.product-badge { position: absolute; z-index: 3; top: 13px; left: 13px; padding: 5px 9px; border-radius: 20px; color: #1d704a; background: #e8f7ef; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.product-art { height: 190px; background: linear-gradient(145deg, color-mix(in srgb, var(--product, #0e72db) 9%, white), #f4f5f2 65%); display: grid; place-items: center; position: relative; overflow: hidden; }
.product-art img { width: 100%; height: 100%; object-fit: cover; }
.software-box { width: 96px; height: 122px; background: linear-gradient(135deg, var(--product, #0e72db), color-mix(in srgb, var(--product, #0e72db) 60%, #132d39)); color: white; border-radius: 6px; box-shadow: 14px 16px 25px rgba(20,42,52,.18); padding: 13px; display: flex; flex-direction: column; transform: perspective(500px) rotateY(-7deg) rotateZ(-2deg); }
.box-mark { font: 800 28px 'Manrope', sans-serif; } .box-name { font: 700 11px 'Manrope', sans-serif; margin-top: auto; }
.product-info { padding: 20px 20px 18px; } .product-info .eyebrow { color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.product-info h3, ul.products li.product h2 { font: 700 15px/1.28 'Manrope', sans-serif !important; letter-spacing: -.35px; margin: 7px 0 6px !important; min-height: 39px; }
.product-info p { color: #7b878d; font-size: 10px; margin: 0 0 15px; }
.price-row, ul.products li.product .price { display: flex; align-items: baseline; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid #eaedeb; font: 800 19px 'Manrope', sans-serif !important; color: var(--ink) !important; }
.price-row del, ul.products li.product .price del { color: #9ba4a8; font-size: 12px; opacity: 1; } .price-row ins, ul.products li.product .price ins { text-decoration: none; }
/* Add to cart on a card is the same action as on the product page, so it
   gets the same solid button rather than a text link — the two were
   reading as different features. */
.add-button,
.product-card .button,
ul.products li.product .button {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: calc(100% - 40px); margin: 0 20px 18px;
  height: 44px; padding: 0 14px;
  border: 0; border-radius: 8px;
  background: var(--blue) !important; color: #fff !important;
  font: 700 13px 'DM Sans', sans-serif; text-align: center; text-decoration: none;
  cursor: pointer; position: relative;
  transition: background .18s, transform .18s, box-shadow .18s;
}
.add-button:hover,
.product-card .button:hover,
ul.products li.product .button:hover {
  background: var(--blue-dark) !important; color: #fff !important;
  transform: translateY(-1px); box-shadow: 0 8px 18px rgba(14,114,219,.22);
}
/* WooCommerce toggles .loading while the AJAX request is in flight. */
.product-card .button.loading,
ul.products li.product .button.loading { opacity: .75; pointer-events: none; }
.product-card .button.loading:after,
ul.products li.product .button.loading:after {
  content: ''; width: 14px; height: 14px; margin-left: 4px;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%;
  animation: uk-spin .6s linear infinite;
}
@keyframes uk-spin { to { transform: rotate(360deg); } }
.product-card .button.added,
ul.products li.product .button.added { background: #1d704a !important; }
/* The "View cart" link WooCommerce appends after a successful add. */
.product-card .added_to_cart,
ul.products li.product .added_to_cart {
  display: block; margin: -8px 20px 16px; text-align: center;
  font: 700 11px 'Manrope', sans-serif; color: var(--blue); text-decoration: underline;
}
@media (prefers-reduced-motion: reduce) {
  .product-card .button.loading:after, ul.products li.product .button.loading:after { animation: none; }
}
.no-results { padding: 30px; text-align: center; color: var(--muted); }

/* Bundle CTA */
.bundle-section { background: linear-gradient(115deg, #072d42, #0d5366 100%); color: white; overflow: hidden; position: relative; }
.bundle-wrap { min-height: 400px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; position: relative; z-index: 1; gap: 30px; padding: 70px 0; }
.bundle-copy h2 { font: 750 42px/1.08 'Manrope', sans-serif; letter-spacing: -2px; margin: 13px 0 20px; color: #fff; }
.bundle-copy > p { color: #afc8d0; max-width: 500px; font-size: 14px; line-height: 1.7; }
.bundle-copy ul { list-style: none; padding: 0; margin: 24px 0 30px; display: flex; flex-direction: column; gap: 10px; }
.bundle-copy li { font-size: 12px; display: flex; align-items: center; gap: 9px; } .bundle-copy li:before { content: '✓'; color: #50d58b; font-weight: 800; }
.bundle-button { height: 50px; border: 0; border-radius: 7px; padding: 0 20px; background: #fff; color: #0b3445; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; gap: 15px; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.bundle-button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.2); color: #0b3445; }
.save-sticker { width: 90px; height: 90px; border-radius: 50%; background: #ffd35a; color: #163543; display: grid; place-content: center; text-align: center; font: 800 10px 'Manrope', sans-serif; line-height: 1.1; margin-left: auto; box-shadow: 0 10px 20px rgba(0,0,0,.18); }
.save-sticker strong { font-size: 20px; display: block; }

/* Why us */
.why-section { background: #fff; } .why-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.why-copy p { color: #6c797f; max-width: 430px; line-height: 1.75; font-size: 14px; margin: 22px 0 27px; }
.why-points { border-top: 1px solid #dfe4e1; list-style: none; margin: 0; padding: 0; } .why-points li { display: grid; grid-template-columns: 62px 1fr; padding: 25px 0; border-bottom: 1px solid #dfe4e1; }
.why-points > li > span { color: var(--blue); font: 700 11px 'Manrope', sans-serif; } .why-points h3 { font: 700 16px 'Manrope', sans-serif; margin: 0 0 8px; } .why-points p { font-size: 12px; line-height: 1.55; color: #748188; margin: 0; }

/* Testimonial */
.testimonials { background: #f2f4f0; padding: 80px 0; text-align: center; } .testimonials .container { max-width: 820px; }
/* .section-head is a space-between flex row built for "title + View all".
   Testimonials has only the title, so the lone flex child was pinned left
   and the heading sat off-centre from the cards below it. */
.testimonials .section-head { justify-content: center; }
.quote-mark { color: var(--blue); font: 700 55px/1 Georgia, serif; height: 44px; }
.testimonials blockquote { font: 600 24px/1.5 'Manrope', sans-serif; letter-spacing: -.6px; margin: 15px auto 28px; }
.reviewer { display: flex; justify-content: center; align-items: center; gap: 10px; } .reviewer > span { width: 34px; height: 34px; border-radius: 50%; background: #cfe5ea; display: grid; place-items: center; font-size: 10px; font-weight: 800; }
.reviewer div { display: flex; flex-direction: column; text-align: left; } .reviewer strong { font-size: 11px; } .reviewer small { font-size: 9px; color: #79858a; margin-top: 2px; } .reviewer > b { color: #ffaf30; margin-left: 15px; font-size: 12px; letter-spacing: 1px; }

/* FAQ */
.faq-section { padding: 90px 0; } .faq-wrap { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.faq-wrap > div:first-child p { color: #758187; font-size: 13px; margin: 20px 0 25px; }
.accordions { border-top: 1px solid #dfe3e1; } .accordions details { border-bottom: 1px solid #dfe3e1; }
.accordions summary { list-style: none; padding: 23px 0; font: 700 14px 'Manrope', sans-serif; display: flex; justify-content: space-between; cursor: pointer; }
.accordions summary::-webkit-details-marker { display:none; } .accordions summary span { color: var(--blue); font-size: 20px; line-height: 14px; transition: transform .2s; }
.accordions details[open] summary span { transform: rotate(45deg); } .accordions details p { color: #68767d; font-size: 12px; line-height: 1.65; max-width: 620px; margin: -5px 0 22px; }

/* Footer */
footer.site-footer { background: #0b242d; color: white; padding: 72px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.05fr 2fr; gap: 70px; padding-bottom: 50px; }
/* The header .logo rule sets nowrap+ellipsis, which must not apply here:
   the footer has room for the title to wrap, and a long site name was
   overflowing the viewport on mobile. */
.footer-brand .logo { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; max-width: 100%; color: #fff; font-size: 20px; line-height: 1.25; }
.footer-brand p { color: #8ea5ad; font-size: 12px; line-height: 1.65; margin: 16px 0 18px; max-width: 320px; }
.footer-trust { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-trust li { color: #b7cbd2; font-size: 11px; display: flex; align-items: center; gap: 8px; }
.footer-trust li:before { content: '✓'; color: #50d58b; font-weight: 800; font-size: 11px; }
.socials { display: flex; gap: 9px; list-style: none; padding: 0; margin: 0; } .socials a { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #34505b; border-radius: 50%; color: #bed0d5; font-size: 12px; transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.footer-links .widget-title, .footer-links h3 { font: 700 11px 'Manrope', sans-serif; margin: 0 0 18px; color: #e5f0f3; text-transform: uppercase; letter-spacing: .06em; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 12px; }
.footer-links a { display: block; color: #91a8af; font-size: 12px; transition: color .2s; } .footer-links a:hover { color: white; }
.footer-contact li { display: flex; flex-direction: column; gap: 3px; margin-bottom: 15px; }
.footer-contact .ct-label { color: #6f8992; font: 700 9px 'Manrope', sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.footer-contact span:not(.ct-label) { color: #b7cbd2; font-size: 12px; }
.footer-contact a { color: #b7cbd2; font-size: 12px; }
.footer-bottom { border-top: 1px solid #29414a; padding-top: 22px; color: #6f8992; font-size: 10px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-pay { display: flex; gap: 7px; list-style: none; margin: 0; padding: 0; }
.footer-pay .pay { min-width: 42px; height: 24px; padding: 0 8px; background: #f4f5f3; color: #263b43; border-radius: 4px; display: grid; place-items: center; font: 800 8px 'Manrope', sans-serif; letter-spacing: .03em; }
.footer-pay .visa { color: #1553a1; font-style: italic; }

/* Cart drawer */
.drawer-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(5,20,27,.48); opacity: 0; visibility: hidden; transition: .25s; } .drawer-overlay.show { opacity: 1; visibility: visible; }
.cart-drawer, .menu-drawer { position: fixed; top: 0; right: 0; z-index: 90; height: 100dvh; width: min(420px, 100%); background: var(--paper); box-shadow: -20px 0 50px rgba(6,23,31,.18); transform: translateX(105%); transition: transform .32s ease; display: flex; flex-direction: column; }
.cart-drawer.open, .menu-drawer.open { transform: translateX(0); }
.drawer-head { min-height: 80px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font: 700 22px 'Manrope', sans-serif; margin: 0; letter-spacing: -.6px; }
.cart-close, .menu-close { width: 38px; height: 38px; display: grid; place-items: center; background: white; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.cart-body { flex: 1; overflow: auto; padding: 15px 26px; }
.menu-drawer { display: none; } .menu-drawer nav { display: flex; flex-direction: column; padding: 20px 26px; } .menu-drawer nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font: 700 15px 'Manrope', sans-serif; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); z-index: 100; background: #0d2a34; color: white; border-radius: 9px; min-width: 280px; padding: 14px 17px; display: flex; align-items: center; gap: 11px; box-shadow: 0 18px 45px rgba(5,20,27,.25); opacity: 0; visibility: hidden; transition: .25s; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* WooCommerce single product page */
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.woocommerce div.product .woocommerce-product-gallery { border-radius: var(--radius); overflow: hidden; background: #f4f5f2; }
.woocommerce div.product .summary { padding: 0; }
.woocommerce div.product .summary .product_title { font: 800 32px/1.15 'Manrope', sans-serif !important; letter-spacing: -1px; margin: 6px 0 14px !important; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font: 800 26px 'Manrope', sans-serif !important; color: var(--ink) !important; }
.woocommerce div.product p.price del, .woocommerce div.product span.price del { opacity: .55; font-size: 16px; }
.woocommerce div.product .cart .quantity input.qty { height: 46px; border: 1px solid var(--line); border-radius: 8px; width: 60px; text-align: center; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; max-width: 760px; margin-top: 50px; border-top: 1px solid var(--line); padding-top: 30px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { list-style: none; padding: 0; display: flex; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { font: 700 13px 'Manrope', sans-serif; padding-bottom: 12px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { color: var(--blue); border-bottom: 2px solid var(--blue); }
.related.products, .up-sells.upsells { grid-column: 1 / -1; margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--line); }
.related.products h2, .up-sells.upsells h2 { font: 700 22px 'Manrope', sans-serif; margin-bottom: 18px; }
/* Purchase facts under the product visual (seller, licence, region,
   languages) — the details buyers check before trusting a key seller. */
.purchase-facts { display: grid; gap: 9px; margin: 26px 0 0; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.purchase-facts > div { display: flex; justify-content: space-between; gap: 18px; font-size: 12px; }
.purchase-facts dt { color: var(--muted); font-weight: 600; }
.purchase-facts dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }

/* Left-rail cards under the product illustration. */
.uk-card { border: 1px solid var(--line); border-radius: 20px; background: #fff; padding: 26px 28px; margin-top: 22px; }
.uk-card--cream { background: var(--cream); }
.uk-kicker { color: var(--blue); font: 700 10px/1 'Manrope', sans-serif; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.uk-included { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 26px; margin: 0; padding: 0; }
.uk-included li { list-style: none; display: flex; gap: 10px; margin: 0; }
.uk-included li:before { content: '✓'; color: var(--blue); font-weight: 800; line-height: 1.4; }
.uk-included b { display: block; font: 700 13px 'Manrope', sans-serif; }
.uk-included span { display: block; font-size: 12px; color: var(--muted); line-height: 1.55; margin-top: 2px; }
.uk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.uk-steps .n { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 800 12px 'Manrope', sans-serif; margin-bottom: 10px; }
.uk-steps b { display: block; font: 700 13px 'Manrope', sans-serif; }
.uk-steps span { display: block; font-size: 12px; color: var(--muted); line-height: 1.55; margin-top: 3px; }

/* Edition comparison table. */
.product-compare { padding-top: 60px; }
.product-compare h2 { font: 750 28px/1.15 'Manrope', sans-serif; letter-spacing: -1.1px; margin: 0 0 8px; }
.compare-intro { color: var(--muted); font-size: 14px; margin: 0 0 22px; max-width: 620px; }
.uk-compare { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.uk-compare .row { display: grid; grid-template-columns: minmax(0,1fr) 130px 130px; align-items: center; border-bottom: 1px solid #edf0ee; }
.uk-compare .row:last-child { border-bottom: 0; }
.uk-compare .row.head { background: var(--cream); font: 700 11px 'Manrope', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.uk-compare .row.head .col-hi { color: var(--blue); }
.uk-compare .row > div { padding: 15px 12px; text-align: center; }
.uk-compare .row > div:first-child { padding: 15px 24px; text-align: left; }
.uk-compare .row b { display: block; font: 700 14px 'Manrope', sans-serif; }
.uk-compare .row span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.uk-compare .yes { color: var(--blue); font-weight: 800; font-size: 16px; }
.uk-compare .no { color: #b4bdbe; }

/* FAQ beside a support escape hatch. */
.faq-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 44px; align-items: start; }
.faq-help { border: 1px solid var(--line); border-radius: 20px; background: #f2f7fc; padding: 26px 28px; }
.faq-help strong { display: block; font: 700 16px 'Manrope', sans-serif; letter-spacing: -.4px; }
.faq-help p { color: #53666e; font-size: 13px; line-height: 1.7; margin: 8px 0 16px; }
.faq-help .primary-cta { height: 44px; font-size: 13px; }
@media (max-width: 900px) {
  .uk-included, .uk-steps { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .uk-compare .row { grid-template-columns: minmax(0,1fr) 74px 74px; }
}

/* Sticky buy bar: top on desktop, bottom on mobile. Hidden until the real
   buy box has scrolled out of view (class added by theme.js). */
.uk-buybar { position: fixed; left: 0; right: 0; top: 0; z-index: 60; background: rgba(255,254,250,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); box-shadow: 0 6px 20px rgba(18,37,45,.06); transform: translateY(-102%); transition: transform .28s ease; }
.uk-buybar.show { transform: translateY(0); }
.uk-buybar-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; padding: 10px 0; }
.uk-buybar-art { width: 46px; height: 58px; display: grid; place-items: center; flex: 0 0 auto; }
.uk-buybar-text { display: flex; flex-direction: column; min-width: 0; }
.uk-buybar-text strong { font: 700 14px 'Manrope', sans-serif; letter-spacing: -.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uk-buybar-text span { font: 800 15px 'Manrope', sans-serif; }
.uk-buybar-text del { color: #9ba4a8; font-size: 12px; font-weight: 400; }
.uk-buybar-text ins { text-decoration: none; }
.uk-buybar .primary-cta { margin-left: auto; height: 44px; padding: 0 24px; font-size: 13px; flex: 0 0 auto; }
.uk-buybar .primary-cta.added { pointer-events: none; opacity: .7; }
.uk-buybar .added_to_cart { display: none; }

@media (max-width: 760px) {
  /* Bottom of the screen on mobile — next to the thumb, not the browser chrome. */
  .uk-buybar { top: auto; bottom: 0; border-bottom: 0; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(18,37,45,.08); transform: translateY(102%); padding-bottom: env(safe-area-inset-bottom); }
  .uk-buybar-inner { gap: 12px; min-height: 62px; }
  .uk-buybar-art { display: none; }
  .uk-buybar-text strong { font-size: 12px; }
  .uk-buybar .primary-cta { padding: 0 18px; }
}

/* Payment methods under the add-to-cart button. */
.pay-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.pay-row-label { color: var(--muted); font-size: 11px; font-weight: 600; }
.pay-row .footer-pay .pay { background: #f4f6f4; border: 1px solid var(--line); color: #37484f; }
.pay-row .footer-pay .visa { color: #1553a1; }

/* Brand strip: the vendors we sell licences for. */
.brand-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; }
.brand-strip-label { text-align: center; margin: 0 0 18px; color: var(--muted); font: 700 10px 'Manrope', sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.brand-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 40px; }
.brand-logos li { color: #7b8b92; font: 800 17px 'Manrope', sans-serif; letter-spacing: -.4px; opacity: .75; transition: opacity .2s, color .2s; }
.brand-logos li:hover { opacity: 1; color: var(--ink); }
@media (max-width: 760px) { .brand-logos { gap: 12px 24px; } .brand-logos li { font-size: 14px; } }

.product-specs { display: grid; gap: 10px; margin: 20px 0; padding: 18px 20px; background: #f6f7f5; border-radius: var(--radius); border: 1px solid var(--line); }
.product-specs > div { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }
.product-specs dt { color: var(--muted); font-weight: 600; }
.product-specs dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.product-faqs { margin-top: 30px; border-top: 1px solid var(--line); }
@media (max-width: 1000px) { .woocommerce div.product { grid-template-columns: 1fr; } }

/* WooCommerce content wrapper (shop/cart/checkout pages) */
.woo-wrap { padding: 60px 0 90px; min-height: 50vh; }
.woocommerce-breadcrumb { color: var(--muted); font-size: 12px; margin-bottom: 20px; }
.woocommerce-breadcrumb a { color: var(--muted); text-decoration: underline; }
.woocommerce table.shop_table { border-color: var(--line); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.wp-block-button__link {
  background: var(--blue) !important; color: #fff !important; border-radius: 8px !important; border: 0 !important; font-weight: 700 !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--blue-dark) !important; }

/* ---------- Cart & checkout ---------- */
.woo-wrap .woocommerce-notices-wrapper .woocommerce-message,
.woo-wrap .woocommerce-info { border-top-color: var(--blue); background: #f2f7fc; border-radius: 10px; }

/* Cart table */
.woocommerce table.shop_table { border-radius: var(--radius); border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { background: var(--cream); font: 700 11px 'Manrope', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 14px 12px; }
.woocommerce table.shop_table td { padding: 18px 12px; vertical-align: middle; }
.woocommerce table.cart img { width: 56px; border-radius: 8px; background: var(--cream); }
.woocommerce table.cart .product-name a { font: 700 14px 'Manrope', sans-serif; color: var(--ink); }
.woocommerce .quantity input.qty { height: 44px; width: 66px; border: 1px solid var(--line); border-radius: 8px; text-align: center; font: 700 14px 'Manrope', sans-serif; }
.woocommerce .cart_totals h2, .woocommerce-checkout h3, .woocommerce-billing-fields h3 { font: 750 22px 'Manrope', sans-serif; letter-spacing: -.8px; }
.woocommerce-cart .cart-collaterals .cart_totals { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; }

/* Checkout form fields */
.woocommerce form .form-row label { font: 700 12px 'Manrope', sans-serif; margin-bottom: 6px; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row .select2-container--default .select2-selection--single {
  height: 46px; border: 1px solid var(--line); border-radius: 8px; padding: 0 14px; font-size: 14px; background: #fff;
}
.woocommerce form .form-row textarea { height: auto; padding: 12px 14px; }
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus { outline: 2px solid rgba(14,114,219,.25); border-color: var(--blue); }
.woocommerce-checkout #payment { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px; }
.woocommerce-checkout #payment div.payment_box { background: var(--cream); border-radius: 10px; }
.woocommerce-checkout #payment div.payment_box:before { border-bottom-color: var(--cream); }
.woocommerce-checkout-review-order-table { background: #fff; }
#order_review_heading { margin-top: 34px; }

/* Delivery note at the top of checkout and on the thank-you page. */
.uk-checkout-note { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 26px; padding: 16px 18px; background: #f2f7fc; border: 1px solid rgba(14,114,219,.18); border-left: 3px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; font-size: 13px; line-height: 1.6; color: #37484f; }
.uk-checkout-note b { display: block; font: 700 13.5px 'Manrope', sans-serif; color: var(--ink); margin-bottom: 2px; }
.uk-checkout-note-ic { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 9px; background: #fff; border: 1px solid rgba(14,114,219,.2); color: var(--blue); display: grid; place-items: center; }

/* Reassurance strip under the checkout button — the last place a
   licence-key buyer hesitates. */
.uk-checkout-trust { display: grid; gap: 12px; margin: 18px 0 0; padding: 18px 20px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.uk-checkout-trust li { list-style: none; display: flex; gap: 10px; font-size: 12.5px; color: #37484f; line-height: 1.5; }
.uk-checkout-trust li:before { content: '✓'; color: var(--blue); font-weight: 800; }
.uk-checkout-trust b { font-weight: 700; }
.uk-pay-note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; color: var(--muted); font-size: 11px; }

/* Empty cart */
.woocommerce .cart-empty { font: 750 22px 'Manrope', sans-serif; letter-spacing: -.6px; color: var(--ink); }
.woocommerce .return-to-shop { margin-top: 16px; }

@media (max-width: 760px) {
  .woocommerce table.shop_table td { padding: 12px 8px; }
  .woocommerce-cart .cart-collaterals .cart_totals { padding: 20px; }
}
.woocommerce ul.products li.product .onsale { background: var(--orange) !important; }

@media (max-width: 1000px) {
  .main-nav { gap: 18px; margin-left: 15px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 46px; }
  .category-grid, .product-grid, ul.products { grid-template-columns: repeat(2,1fr) !important; }
  .benefits { grid-template-columns: repeat(2,1fr); } .benefits > li:nth-child(2) { border-right: 0; }
  .why-wrap, .faq-wrap { grid-template-columns: 1fr; gap: 45px; }
  .bundle-wrap { grid-template-columns: 1fr; }
}

/* Collapse the category nav into the drawer before it can outgrow the
   header — 7 top-level items no longer fit much below this. */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-button { display: grid; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, 600px); }
  .main-nav, .cart-button span { display: none; }
  .menu-button { display: grid; }
  .cart-button { width: 40px; border: 0; padding: 0; }
  .menu-drawer { display: flex; }
  .hero h1 { font-size: clamp(38px, 12vw, 54px); letter-spacing: -2px; }
  .hero-copy { text-align: center; } .hero-copy > p { margin: 0 auto; } .hero-actions { justify-content: center; } .hero-proof { justify-content: center; }
  .benefits { grid-template-columns: 1fr 1fr; } .benefits small { display: none; }
  .section { padding: 60px 0; } .section-head h2, .why-copy h2, .faq-wrap h2 { font-size: 28px; }
  .category-grid, .product-grid, ul.products { grid-template-columns: 1fr 1fr !important; gap: 11px !important; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; } .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .category-grid, .product-grid, ul.products { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *:before, *:after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* ============================================
   UKeyShop Creative Enhancements
   Realistic visuals, 3D boxes, image support
   ============================================ */

/* --- Realistic product boxes --- */
.software-box {
  width: 104px;
  height: 132px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--product, #0e72db) 90%, white), var(--product, #0e72db) 50%, color-mix(in srgb, var(--product, #0e72db) 55%, #0a1f2d));
  color: white;
  border-radius: 8px;
  box-shadow:
    18px 20px 35px rgba(20,42,52,.22),
    inset 0 1px 0 rgba(255,255,255,.25),
    inset 0 -2px 8px rgba(0,0,0,.18);
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  transform: perspective(600px) rotateY(-10deg) rotateX(4deg) rotateZ(-2deg);
  transform-style: preserve-3d;
  transition: transform .3s ease, box-shadow .3s ease;
}

.product-card:hover .software-box,
ul.products li.product:hover .software-box {
  transform: perspective(600px) rotateY(-6deg) rotateX(2deg) rotateZ(-1deg) translateY(-4px);
  box-shadow:
    22px 24px 45px rgba(20,42,52,.28),
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 0 -2px 8px rgba(0,0,0,.2);
}

/* 3D side edge */
.software-box:before {
  content: '';
  position: absolute;
  right: -9px;
  top: 7px;
  width: 9px;
  height: calc(100% - 8px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--product, #0e72db) 55%, #0a1f2d), color-mix(in srgb, var(--product, #0e72db) 40%, #071622));
  transform: skewY(45deg);
  transform-origin: left top;
  border-radius: 0 3px 3px 0;
  box-shadow: inset -2px 0 6px rgba(0,0,0,.25);
}

/* Shine / reflection */
.software-box:after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,.08) 28%, transparent 42%);
  pointer-events: none;
}

.box-mark {
  font: 800 30px 'Manrope', sans-serif;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.box-name {
  font: 700 11px 'Manrope', sans-serif;
  margin-top: auto;
  text-shadow: 0 1px 3px rgba(0,0,0,.25);
}

/* Product image (realistic photo) */
.product-art {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, color-mix(in srgb, var(--product, #0e72db) 8%, white), #f6f7f4 70%);
}
.product-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-art img,
ul.products li.product:hover .product-art img {
  transform: scale(1.04);
}
.product-art.has-image .software-box { display: none; }

/* Consistent UKeyShop product image system */
.uk-product-box {
  --box-accent: var(--blue);
  position: relative;
  width: 156px;
  height: 196px;
  color: #0f1c2e;
  filter: drop-shadow(14px 22px 20px rgba(12, 31, 43, .24));
  transform-style: preserve-3d;
}
.uk-box-side {
  position: absolute;
  left: 0;
  top: 15px;
  width: 39px;
  height: 172px;
  border-radius: 5px 0 0 5px;
  background: linear-gradient(90deg, #cfd5db, #fff 48%, #d8dde2);
  border: 1px solid rgba(15, 28, 46, .15);
  transform: skewY(-7deg);
  overflow: hidden;
}
.uk-box-side span {
  position: absolute;
  left: -65px;
  top: 78px;
  width: 165px;
  transform: rotate(90deg);
  font: 800 10px/1 'Manrope', sans-serif;
  white-space: nowrap;
  text-align: center;
}
.uk-box-front {
  position: absolute;
  left: 36px;
  top: 0;
  width: 120px;
  height: 190px;
  border-radius: 5px;
  overflow: hidden;
  background: linear-gradient(120deg, #fff 0%, #f6f7f8 56%, #eceff1 100%);
  border: 1px solid rgba(15, 28, 46, .14);
  box-shadow: inset 7px 0 10px rgba(15, 28, 46, .05);
}
.uk-box-brand {
  position: absolute;
  left: 17px;
  top: 15px;
  width: 70px;
  height: auto;
}
.uk-box-title {
  position: absolute;
  left: 17px;
  right: 12px;
  top: 58px;
  z-index: 2;
}
.uk-box-title strong {
  display: block;
  color: #0f1c2e;
  font: 900 18px/.98 'Manrope', sans-serif;
  letter-spacing: 0;
}
.uk-box-title span {
  display: block;
  margin-top: 4px;
  color: var(--box-accent);
  font: 800 12px/1.05 'Manrope', sans-serif;
}
.uk-product-os {
  position: absolute;
  right: 18px;
  top: 82px;
  display: grid;
  grid-template-columns: repeat(2, 13px);
  gap: 2px;
  z-index: 3;
}
.uk-product-os i {
  width: 13px;
  height: 13px;
  background: linear-gradient(135deg, #0994f5, #0057d8);
}
.uk-product-appmark {
  position: absolute;
  right: 16px;
  top: 78px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--box-accent) 78%, white), var(--box-accent));
  font: 900 19px/1 'Manrope', sans-serif;
  box-shadow: 0 8px 14px rgba(15, 28, 46, .2);
}
.uk-box-wave {
  position: absolute;
  right: -36px;
  bottom: -8px;
  width: 120px;
  height: 76px;
  transform: rotate(-25deg);
}
.uk-box-wave i {
  position: absolute;
  right: 0;
  width: 118px;
  height: 25px;
  border-radius: 999px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--box-accent) 55%, #6de4ff), var(--box-accent) 55%, #00358f);
  box-shadow: inset 0 2px 5px rgba(255,255,255,.28);
}
.uk-box-wave i:nth-child(1) { top: 0; }
.uk-box-wave i:nth-child(2) { top: 24px; right: 10px; }
.uk-box-wave i:nth-child(3) { top: 48px; right: 22px; }
.product-art .uk-product-box--card { transform: scale(.88); }
.uk-product-box--mini {
  width: 44px;
  height: 58px;
  filter: drop-shadow(4px 7px 8px rgba(12,31,43,.22));
}
.uk-product-box--mini .uk-box-side { width: 12px; height: 50px; top: 4px; border-radius: 2px 0 0 2px; }
.uk-product-box--mini .uk-box-side span,
.uk-product-box--mini .uk-box-brand,
.uk-product-box--mini .uk-box-title,
.uk-product-box--mini .uk-box-wave { display: none; }
.uk-product-box--mini .uk-box-front { left: 10px; width: 34px; height: 56px; border-radius: 2px; }
.uk-product-box--mini .uk-product-os { right: 7px; top: 19px; grid-template-columns: repeat(2, 6px); gap: 1px; }
.uk-product-box--mini .uk-product-os i { width: 6px; height: 6px; }
.uk-product-box--mini .uk-product-appmark { right: 7px; top: 17px; width: 18px; height: 18px; border-radius: 4px; font-size: 11px; }

.uk-product-photo {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 190, 92, .34), transparent 18%),
    radial-gradient(circle at 90% 18%, rgba(68, 132, 48, .25), transparent 24%),
    linear-gradient(115deg, #171818, #23282a 52%, #121719);
}
.uk-photo-lamp {
  position: absolute;
  left: -18px;
  top: 38px;
  width: 86px;
  height: 170px;
  border-radius: 28px;
  background: linear-gradient(90deg, #d69440, #ffd49a 50%, #c17724);
  filter: blur(8px);
}
.uk-photo-plant {
  position: absolute;
  right: -18px;
  top: 86px;
  width: 148px;
  height: 220px;
  filter: blur(5px);
  opacity: .56;
}
.uk-photo-plant i {
  position: absolute;
  width: 22px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(90deg, #153a13, #5fa935);
  transform-origin: 50% 100%;
}
.uk-photo-plant i:nth-child(1) { right: 68px; top: 0; transform: rotate(70deg); }
.uk-photo-plant i:nth-child(2) { right: 78px; top: 50px; transform: rotate(35deg); }
.uk-photo-plant i:nth-child(3) { right: 42px; top: 75px; transform: rotate(86deg); }
.uk-photo-desk {
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 2px, transparent 2px 8px),
    linear-gradient(90deg, rgba(202,130,52,.2), transparent 35%, rgba(6,42,74,.18)),
    linear-gradient(180deg, #303231, #141718 70%, #0d0e0f);
}
.uk-photo-shadow {
  position: absolute;
  left: 18%;
  bottom: 104px;
  width: 64%;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.58), transparent 72%);
  filter: blur(3px);
}
.uk-product-photo-box {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 360px;
  height: 450px;
  transform: translate(-50%, -50%) scale(1.7);
}
.uk-product-photo-box .uk-product-box--hero {
  position: absolute;
  left: 100px;
  top: 88px;
}
.uk-product-photo-box .uk-box-brand { width: 76px; }
.uk-product-photo-box .uk-box-title,
.uk-product-photo-box .uk-photo-features,
.uk-product-photo-box .uk-photo-title { display: none; }

/* --- Realistic floating boxes in hero --- */
.floating-badge {
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow:
    0 28px 60px rgba(18,70,90,.2),
    inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(14px);
  transition: transform .3s ease, box-shadow .3s ease;
  animation: float 6s ease-in-out infinite;
}

.fb-2 { animation-delay: 1.5s; }
.fb-3 { animation-delay: 3s; }

.floating-badge:hover {
  transform: translateY(-6px) rotate(0deg) !important;
  box-shadow: 0 35px 75px rgba(18,70,90,.28);
}

.floating-badge .fb-mark {
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--fb-rotate, 0deg)); }
  50% { transform: translateY(-8px) rotate(var(--fb-rotate, 0deg)); }
}

.fb-1 { --fb-rotate: -4deg; }
.fb-2 { --fb-rotate: 4deg; }
.fb-3 { --fb-rotate: 3deg; }

/* --- Category cards with image support --- */
.category-card {
  position: relative;
  overflow: hidden;
}
.category-card .category-icon {
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.category-card .cat-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 18px;
}

/* --- How it works section --- */
.how-it-works {
  padding: 80px 0;
  background: linear-gradient(145deg, #f8f9f7, #eef4f2);
}
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.how-it-works-card {
  background: #fff;
  border: 1px solid #e2e5e2;
  border-radius: 18px;
  padding: 30px 25px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(20,42,52,.06);
  transition: transform .25s, box-shadow .25s;
}
.how-it-works-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(20,42,52,.1);
}
.how-it-works-card .step-num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font: 800 15px 'Manrope', sans-serif;
  box-shadow: 0 8px 18px rgba(14,114,219,.3);
}
.how-it-works-card .ic {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #ecf5fb;
  color: var(--blue);
  margin: 18px auto 20px;
}
.how-it-works-card h3 {
  font: 700 17px 'Manrope', sans-serif;
  margin: 0 0 10px;
}
.how-it-works-card p {
  color: #6c797f;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 900px) {
  .how-it-works-grid { grid-template-columns: 1fr; }
}

/* --- Enhanced testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
/* Column layout so the reviewer block sits on the card's baseline even
   when the quotes above it run to different lengths. */
.testimonial-card {
  background: #fff;
  border: 1px solid #e2e5e2;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 10px 28px rgba(20,42,52,.06);
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
}
.testimonial-card .stars {
  color: #ffaf30;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.testimonial-card blockquote {
  font: 500 14px/1.7 'DM Sans', sans-serif;
  color: #4a5b63;
  margin: 0 0 18px;
}
.testimonial-card .reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.testimonial-card .reviewer .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #cfe5ea;
  display: grid;
  place-items: center;
  font: 800 11px 'Manrope', sans-serif;
  color: #344c56;
  overflow: hidden;
}
.testimonial-card .reviewer .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-card .reviewer strong {
  font: 700 12px 'Manrope', sans-serif;
  display: block;
}
.testimonial-card .reviewer small {
  font-size: 10px;
  color: #79858a;
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* --- Newsletter section --- */
.newsletter-section {
  padding: 80px 0;
  background: linear-gradient(115deg, #072d42, #0d5366);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.newsletter-section:before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(255,255,255,.08), transparent 40%);
}
.newsletter-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.newsletter-inner h2 {
  font: 750 34px/1.15 'Manrope', sans-serif;
  letter-spacing: -1.4px;
  margin: 0 0 12px;
}
.newsletter-inner p {
  color: #afc8d0;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.newsletter-form {
  display: flex;
  gap: 10px;
}
.newsletter-form input[type="email"] {
  flex: 1;
  height: 52px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  color: #fff;
  border-radius: 10px;
  padding: 0 18px;
  font-size: 14px;
  outline: none;
}
.newsletter-form input[type="email"]::placeholder {
  color: #8fa5ad;
}
.newsletter-form button {
  height: 52px;
  padding: 0 26px;
  border: 0;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(14,114,219,.3);
}
@media (max-width: 900px) {
  .newsletter-inner { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
}

/* --- Product page enhancements --- */
.woocommerce div.product .woocommerce-product-gallery {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #f4f5f2, #eef2f0);
  box-shadow: 0 20px 45px rgba(20,42,52,.1);
  position: relative;
}
.woocommerce div.product .woocommerce-product-gallery img {
  display: block;
  width: 100%;
  height: auto;
}
.woocommerce div.product .summary {
  background: #fff;
  border: 1px solid #e2e5e2;
  border-radius: 18px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(20,42,52,.06);
}

/* --- Creative buttons --- */
.primary-cta, .secondary-cta, .bundle-button {
  position: relative;
  overflow: hidden;
}
.primary-cta:before, .secondary-cta:before, .bundle-button:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .5s ease;
}
.primary-cta:hover:before, .secondary-cta:hover:before, .bundle-button:hover:before {
  transform: translateX(100%);
}

/* --- Badge animations --- */
.product-badge {
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* --- Save sticker rotation --- */
.save-sticker {
  animation: rotateSticker 8s linear infinite;
}
@keyframes rotateSticker {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Unique SVG box illustrations --- */
/* Sized in px, not %: a percentage height on this img doesn't resolve
   against the centred grid area, so it fell back to intrinsic size and
   spilled out of the 190px art panel. */
.product-art .svg-box {
  width: auto;
  max-width: 72%;
  height: auto;
  max-height: 146px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(20,42,52,.25));
  transition: transform .35s ease, filter .35s ease;
}

.product-card:hover .product-art .svg-box,
ul.products li.product:hover .product-art .svg-box {
  transform: translateY(-8px) scale(1.04);
  filter: drop-shadow(0 28px 40px rgba(20,42,52,.35));
}

/* --- 3D tilt effect on cards (JS-driven) --- */
.product-card, .category-card, .testimonial-card, .how-it-works-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* --- Category SVG icons --- */
.category-card .cat-svg {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 16px rgba(20,42,52,.15));
  transition: transform .3s ease;
}

.category-card:hover .cat-svg {
  transform: translateY(-4px) scale(1.05);
}

/* --- Particle background (unique) --- */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: .15;
  animation: particle-float 12s ease-in-out infinite;
}

.particles span:nth-child(2n) { background: #ff6846; }
.particles span:nth-child(3n) { background: #26a66b; }
.particles span:nth-child(4n) { background: #8662ca; }
.particles span:nth-child(5n) { background: #ffad31; }

.particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particles span:nth-child(2) { left: 25%; top: 60%; animation-delay: 2s; }
.particles span:nth-child(3) { left: 40%; top: 30%; animation-delay: 4s; }
.particles span:nth-child(4) { left: 55%; top: 70%; animation-delay: 6s; }
.particles span:nth-child(5) { left: 70%; top: 25%; animation-delay: 8s; }
.particles span:nth-child(6) { left: 85%; top: 55%; animation-delay: 10s; }
.particles span:nth-child(7) { left: 15%; top: 80%; animation-delay: 3s; }
.particles span:nth-child(8) { left: 60%; top: 85%; animation-delay: 5s; }

@keyframes particle-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: .12; }
  50% { transform: translateY(-25px) scale(1.2); opacity: .25; }
}

/* --- Hero visual 3D stack --- */
.hero-visual {
  position: relative;
  perspective: 1200px;
}

.hero-visual-panel {
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform .5s ease;
}

.hero-visual:hover .hero-visual-panel {
  transform: rotateY(-4deg) rotateX(2deg);
}

/* --- Floating badges 3D --- */
.floating-badge {
  transform-style: preserve-3d;
  box-shadow:
    0 30px 65px rgba(18,70,90,.25),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.floating-badge .fb-mark {
  background: linear-gradient(145deg, var(--fb-color, #0e72db), color-mix(in srgb, var(--fb-color, #0e72db) 70%, #0a1f2d));
  box-shadow: 0 8px 18px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.3);
}

/* --- Glassmorphism nav --- */
.site-header {
  background: rgba(255,254,250,.82);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(18,37,45,.08);
}

/* --- Section reveal animations --- */
.section, .hero, .benefit-strip, .how-it-works, .testimonials, .newsletter-section, .faq-section, .bundle-section, .why-section {
  position: relative;
  overflow: hidden;
}

/* --- Product card shine sweep --- */
.product-card:after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
  pointer-events: none;
  z-index: 2;
}

.product-card:hover:after {
  left: 130%;
}

/* --- Unique card corners --- */
.category-card, .product-card, .testimonial-card, .how-it-works-card {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.category-card:before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, transparent 50%, rgba(14,114,219,.12) 50%);
}

/* --- Save sticker 3D flip --- */
.save-sticker {
  transform-style: preserve-3d;
  box-shadow: 0 12px 25px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.4);
}

.save-sticker:hover {
  animation: none;
  transform: rotateY(180deg);
  transition: transform .5s ease;
}

.save-sticker:hover strong {
  transform: rotateY(180deg);
}

/* --- Single product page (Ugett-inspired, light theme) --- */
.single-product-page {
  padding: 60px 0 80px;
  background: var(--paper);
}

.product-detail-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-detail-media {
  position: relative;
}

.product-detail-media img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 25px 50px rgba(20,42,52,.12);
}

/* Needs to match the specificity of `.product-detail-media img` above,
   which otherwise wins on `width` and stretches the box illustration to
   the full column (560px+) instead of capping it. */
.product-detail-media img.single-svg-box {
  width: 100%;
  max-width: 380px;
  max-height: 460px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 30px 50px rgba(20,42,52,.2));
}

.product-detail-media .uk-product-photo {
  width: 100%;
  box-shadow: 0 20px 45px rgba(20,42,52,.1);
}

.product-trust-badges {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f4f6f4;
  border: 1px solid #e2e5e2;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  color: #4a5b63;
}

.trust-badge svg {
  color: var(--blue);
}

.product-detail-info {
  background: #fff;
  border: 1px solid #e2e5e2;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 15px 40px rgba(20,42,52,.06);
}

.product-detail-info .woocommerce-breadcrumb {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 20px;
}

.product-badge-large {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 25px;
  color: #1d704a;
  background: #e8f7ef;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px;
}

.product-detail-info .eyebrow {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.product-detail-info .product_title {
  font: 800 38px/1.15 'Manrope', sans-serif;
  letter-spacing: -1.4px;
  margin: 0 0 16px;
  color: var(--ink);
}

.product-short-desc {
  color: #53666e;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 25px;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eaedeb;
}

.price-sale {
  font: 800 36px 'Manrope', sans-serif;
  color: var(--ink);
}

.price-regular {
  font-size: 18px;
  color: #9ba4a8;
  text-decoration: line-through;
}

.discount-badge {
  padding: 6px 12px;
  border-radius: 25px;
  background: #ffe8e0;
  color: #c24526;
  font-size: 13px;
  font-weight: 800;
}

.stock-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  font-size: 13px;
  font-weight: 700;
}

.stock-status .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.stock-status.in-stock .dot {
  background: #26a66b;
  box-shadow: 0 0 0 4px rgba(38,166,107,.15);
}

.stock-status.in-stock {
  color: #1d704a;
}

.stock-status.out-of-stock .dot {
  background: #c24526;
}

.stock-status.out-of-stock {
  color: #c24526;
}

.product-actions .single_add_to_cart_button {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font: 700 16px 'Manrope', sans-serif;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}

.product-actions .single_add_to_cart_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(14,114,219,.3);
}

.product-actions .single_add_to_cart_button:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .5s ease;
}

.product-actions .single_add_to_cart_button:hover:before {
  transform: translateX(100%);
}

.product-guarantees {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #eaedeb;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.guarantee-item svg {
  color: var(--blue);
  flex-shrink: 0;
}

.guarantee-item strong {
  display: block;
  font: 700 13px 'Manrope', sans-serif;
  margin-bottom: 3px;
}

.guarantee-item small {
  color: #7a878c;
  font-size: 11px;
}

.product-description {
  padding-top: 60px;
}

.product-description h2 {
  font: 750 28px/1.15 'Manrope', sans-serif;
  letter-spacing: -1.1px;
  margin: 0 0 20px;
}

.product-reviews, .product-faq-section {
  padding-top: 60px;
}
.product-faq-section h2 {
  font: 750 28px/1.15 'Manrope', sans-serif;
  letter-spacing: -1.1px;
  margin: 0 0 20px;
}
.product-faq-section .accordions {
  max-width: 760px;
  margin-top: 0;
}

.description-content {
  background: #fff;
  border: 1px solid #e2e5e2;
  border-radius: 16px;
  padding: 30px;
  color: #53666e;
  font-size: 14px;
  line-height: 1.75;
}

.description-content p {
  margin: 0 0 15px;
}

.description-content p:last-child {
  margin: 0;
}

.related-products {
  padding-top: 60px;
}

/* The heading here is WooCommerce's own ("Related products"), inside
   .related.products — the theme no longer prints a second one. */
.related-products h2,
.related-products .related.products h2 {
  font: 750 28px/1.15 'Manrope', sans-serif;
  letter-spacing: -1.1px;
  margin: 0 0 25px;
}

@media (max-width: 900px) {
  .product-detail-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .product-detail-info {
    padding: 25px;
  }
  .product-detail-info .product_title {
    font-size: 30px;
  }
  .price-sale {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .product-trust-badges {
    flex-direction: column;
    align-items: flex-start;
  }
  .trust-badge {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ============================================================
   Motion system
   Every animation here moves only transform/translate/opacity
   (GPU-composited), and the global prefers-reduced-motion rule
   above collapses all of it to ~0ms for users who opted out.
   Reveals use the `translate` property, NOT `transform`, so they
   never fight the tilt/hover effects that live on `transform`.
   ============================================================ */

/* --- Hero entrance: pure CSS so it runs at first paint (no flash) --- */
@keyframes uk-rise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
.hero-copy > * { animation: uk-rise .6s cubic-bezier(.16,1,.3,1) backwards; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .13s; }
.hero-copy > *:nth-child(3) { animation-delay: .21s; }
.hero-copy > *:nth-child(4) { animation-delay: .29s; }
.hero-copy > *:nth-child(5) { animation-delay: .37s; }
.hero-visual { animation: uk-rise .8s .3s cubic-bezier(.16,1,.3,1) backwards; }

/* Shimmer across the accent words in the hero heading. */
.hero h1 em {
  background: linear-gradient(100deg, var(--blue) 0%, #4bb7ff 45%, var(--blue) 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: uk-shimmer 5.5s linear infinite;
}
@keyframes uk-shimmer { to { background-position: -200% 0; } }

/* --- Scroll reveal (below-the-fold only; attrs added by JS) --- */
.reveal-ready [data-rv] {
  opacity: 0; translate: 0 26px;
  transition: opacity .65s ease, translate .65s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--rv-d, 0s);
}
.reveal-ready [data-rv].rv-in { opacity: 1; translate: 0 0; }

/* --- Buttons: light sweep on hover (uses ::before; ::after is the
       card button's loading spinner) --- */
.primary-cta, .bundle-button, .add-button,
.product-card .button, ul.products li.product .button { position: relative; overflow: hidden; }
.primary-cta::before, .bundle-button::before, .add-button::before,
.product-card .button::before, ul.products li.product .button::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-20deg); pointer-events: none;
  transition: transform .65s ease;
}
.primary-cta:hover::before, .bundle-button:hover::before, .add-button:hover::before,
.product-card .button:hover::before, ul.products li.product .button:hover::before {
  transform: skewX(-20deg) translateX(360%);
}

/* --- Nav: underline grows from the left --- */
.main-nav > li > a {
  background: linear-gradient(currentColor, currentColor) no-repeat left calc(100% - 0px) / 0 2px;
  transition: background-size .3s ease, color .2s;
  padding-bottom: 4px;
}
.main-nav > li > a:hover { background-size: 100% 2px; }

/* --- Cart count pop when an item lands in it --- */
#ukeyshop-cart-count.pop { animation: uk-cart-pop .55s cubic-bezier(.3,1.6,.4,1); }
@keyframes uk-cart-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.5); background: #1d9d5f; }
  100% { transform: scale(1); }
}

/* --- Fly-to-cart clone (created by JS on AJAX add) --- */
.uk-fly {
  position: fixed; z-index: 200; margin: 0; pointer-events: none;
  object-fit: contain; border-radius: 8px;
  transition: transform .75s cubic-bezier(.3,.7,.2,1), opacity .75s ease;
  will-change: transform;
}

/* --- Small ambient touches --- */
.announcement svg { animation: uk-flash 3.2s ease-in-out infinite; }
@keyframes uk-flash { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.save-sticker { animation: uk-bob 5s ease-in-out infinite; }
@keyframes uk-bob { 0%, 100% { rotate: 0deg; } 50% { rotate: 4deg; } }

.benefits > li:hover span.ic svg { animation: uk-wiggle .5s ease; }
@keyframes uk-wiggle { 25% { rotate: -8deg; } 75% { rotate: 8deg; } }

.category-card .category-icon, .category-card .cat-svg { transition: translate .25s ease, scale .25s ease; }
.category-card:hover .category-icon, .category-card:hover .cat-svg { translate: 0 -4px; scale: 1.06; }

/* --- FAQ <details>: real height animation where the browser can
       interpolate to auto; everywhere else it opens instantly as before --- */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .accordions details::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size .35s ease, content-visibility .35s allow-discrete;
  }
  .accordions details[open]::details-content { block-size: auto; }
}

/* --- Cross-document page transitions: soft fade between pages.
       Progressive enhancement; unsupported browsers just navigate. --- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation-duration: .16s; }
  ::view-transition-new(root) { animation-duration: .24s; }
}

/* ============================================================
   Reviews (native WooCommerce, verified owners)
   ============================================================ */
.product-reviews { padding-top: 60px; }
.product-reviews > h2 { font: 800 clamp(24px, 3vw, 32px)/1.2 'Manrope', sans-serif; letter-spacing: -.6px; margin: 0 0 18px; }
.product-reviews #reviews { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .product-reviews #reviews { grid-template-columns: 1fr; } }
.product-reviews .woocommerce-noreviews { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; color: var(--muted); margin: 0; }
.product-reviews ol.commentlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.product-reviews ol.commentlist li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.product-reviews .comment_container { display: flex; gap: 14px; }
.product-reviews .comment_container img.avatar { width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto; }
.product-reviews .comment-text { flex: 1; min-width: 0; }
.product-reviews .comment-text .meta { margin: 4px 0 8px; color: var(--muted); font-size: 14px; }
.product-reviews .comment-text .meta strong { color: var(--ink); }
.product-reviews .comment-text .description p { margin: 0; }
.product-reviews .star-rating { color: #f5a623; }
.product-reviews .woocommerce-verification-required { color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px 20px; }
.product-reviews #review_form_wrapper { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.product-reviews .comment-reply-title { font: 700 18px/1.3 'Manrope', sans-serif; display: block; margin-bottom: 12px; }
.product-reviews .comment-form label { display: block; font-weight: 600; margin: 12px 0 6px; }
.product-reviews .comment-form input[type="text"],
.product-reviews .comment-form input[type="email"],
.product-reviews .comment-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; background: #fff; }
.product-reviews .comment-form input:focus,
.product-reviews .comment-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.product-reviews .comment-form .submit { margin-top: 16px; background: var(--blue); color: #fff; border: 0; border-radius: 999px; padding: 12px 26px; font-weight: 700; cursor: pointer; }
.product-reviews .comment-form .submit:hover { filter: brightness(1.06); }
.product-reviews p.stars a { color: #f5a623; text-decoration: none; }
.product-reviews .woocommerce-Reviews-title { display: none; }

/* ============================================================
   Product page upgrades: rating row, save pill, buy-now, compat,
   gallery, comparisons, requirements, review summary, bundle,
   announcement extras, WhatsApp float
   ============================================================ */
.uk-rating-row { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 10px; color: var(--muted); font-size: 14px; text-decoration: none; }
.uk-rating-row:hover span:last-child { text-decoration: underline; }
.uk-stars { position: relative; display: inline-block; font-size: 15px; letter-spacing: 2px; color: #dfe5e4; }
.uk-stars::before { content: "★★★★★"; position: absolute; inset: 0; letter-spacing: 2px; color: #f5a623; overflow: hidden; width: var(--fill, 0%); white-space: nowrap; }
.uk-stars--empty::before { width: 0; }

.save-pill { background: #e8f7ee; color: #16813f; border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: 13px; }

.product-actions .buy-now-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; padding: 14px 20px; background: #16a34a; color: #fff; border-radius: 999px; font-weight: 800; text-decoration: none; transition: filter .3s ease, translate .3s ease; }
.product-actions .buy-now-cta:hover { filter: brightness(1.07); translate: 0 -1px; }

.uk-compat { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; }
.uk-compat li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; color: var(--ink); }

/* Gallery */
.uk-gallery { position: sticky; top: 100px; }
.uk-gallery-main { display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.uk-gallery-main img { width: 100%; height: auto; display: block; transition: scale .3s ease; }
.uk-gallery-main:hover img { scale: 1.03; }
.uk-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.uk-gallery-thumb { border: 2px solid var(--line); border-radius: 10px; padding: 2px; background: #fff; cursor: pointer; transition: border-color .3s ease; }
.uk-gallery-thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 7px; display: block; }
.uk-gallery-thumb.is-active, .uk-gallery-thumb:hover { border-color: var(--blue); }
.uk-lightbox { position: fixed; inset: 0; z-index: 10000; background: rgba(13, 37, 47, .92); display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.uk-lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; }
.uk-lightbox button { position: absolute; top: 18px; right: 18px; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* Comparison cells */
.uk-compare .row .no { color: #c33; font-weight: 700; }
.uk-compare .row .txt { color: var(--muted); font-size: 13.5px; font-weight: 600; }

/* Requirements */
.product-requirements { padding-top: 60px; }
.product-requirements h2 { font: 800 clamp(24px, 3vw, 32px)/1.2 'Manrope', sans-serif; letter-spacing: -.6px; margin: 0 0 18px; }
.uk-requirements { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 0; }
.uk-requirements > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.uk-requirements dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 700; }
.uk-requirements dd { margin: 4px 0 0; font-weight: 600; }

/* Review summary */
.uk-review-summary { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 18px; max-width: 560px; }
.uk-review-avg { text-align: center; }
.uk-review-avg .n { display: block; font: 800 44px/1 'Manrope', sans-serif; }
.uk-review-avg small { display: block; color: var(--muted); margin-top: 4px; }
.uk-review-bars .bar-row { display: grid; grid-template-columns: 30px 1fr 26px; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); margin: 3px 0; }
.uk-review-bars .bar { height: 8px; border-radius: 999px; background: #eef1f0; overflow: hidden; }
.uk-review-bars .bar i { display: block; height: 100%; background: #f5a623; border-radius: 999px; }
.uk-reviews-more { display: block; margin: 14px 0 0; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px; font-weight: 700; cursor: pointer; }
.uk-reviews-more:hover { border-color: var(--blue); color: var(--blue); }

/* Bundle */
.product-bundle { padding-top: 60px; }
.product-bundle h2 { font: 800 clamp(24px, 3vw, 32px)/1.2 'Manrope', sans-serif; letter-spacing: -.6px; margin: 0 0 18px; }
.uk-bundle { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.uk-bundle-items { display: grid; gap: 10px; }
.uk-bundle-item { display: grid; grid-template-columns: auto auto 1fr auto; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; cursor: pointer; }
.uk-bundle-item.is-locked { cursor: default; background: #f7fafc; }
.uk-bundle-item img { width: 44px; height: 56px; object-fit: contain; }
.uk-bundle-art { width: 46px; height: 58px; display: grid; place-items: center; }
.uk-bundle-item .bi-name { font-weight: 700; min-width: 0; }
.uk-bundle-item .bi-name a { color: inherit; text-decoration: none; }
.uk-bundle-item .bi-name a:hover { color: var(--blue); }
.uk-bundle-item .bi-name small { display: block; color: var(--muted); font-weight: 500; }
.uk-bundle-item .bi-price { font-weight: 800; }
.uk-bundle-total { display: grid; gap: 8px; justify-items: center; padding: 0 16px; }
.uk-bundle-total > span { color: var(--muted); font-size: 14px; }
.uk-bundle-sum { font: 800 28px/1 'Manrope', sans-serif; }
@media (max-width: 760px) {
  .uk-bundle { grid-template-columns: 1fr; }
  .uk-bundle-total { padding: 6px 0 2px; }
}

/* Announcement extras */
.announcement { position: relative; }
.announce-countdown { background: rgba(255,255,255,.14); border-radius: 999px; padding: 2px 10px; font-variant-numeric: tabular-nums; font-weight: 700; margin-left: 8px; }
.announce-close { position: absolute; right: 10px; top: 50%; translate: 0 -50%; background: none; border: 0; color: inherit; opacity: .7; cursor: pointer; font-size: 13px; padding: 4px; }
.announce-close:hover { opacity: 1; }

/* Footer legal + WhatsApp float */
.footer-legal { color: var(--muted); font-size: 13px; }
.uk-whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 9000; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0,0,0,.22); transition: translate .3s ease; }
.uk-whatsapp:hover { translate: 0 -3px; }
.uk-whatsapp svg { width: 28px; height: 28px; }

@media (max-width: 640px) {
  .uk-review-summary { grid-template-columns: 1fr; gap: 14px; }
  .uk-gallery { position: static; }
  .uk-bundle-item { grid-template-columns: auto 1fr auto; }
  .uk-bundle-item img,
  .uk-bundle-art { display: none; }
}
.compare-link { margin: 14px 0 0; }
.compare-link a { color: var(--blue); font-weight: 700; text-decoration: none; }
.compare-link a:hover { text-decoration: underline; }
