/* Rexclick local Wagtail theme: Astra-like blog index + Wagtail control links */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;600;700&display=swap');
:root {
  --ast-global-color-0: #0170b9;
  --ast-global-color-1: #3a3a3a;
  --ast-global-color-2: #3a3a3a;
  --ast-global-color-3: #4b5563;
  --ast-global-color-4: #f4f9fd;
  --ast-global-color-5: #ffffff;
  --ast-border-color: #e6edf3;
  --rex-blue: #0170b9;
  --rex-text: #2d3748;
  --rex-heading: #1f2937;
  --rex-bg: #eef5fb;
}

* { box-sizing: border-box; }
html { font-size: 100%; }
body.rexclick-body {
  margin: 0;
  background: var(--rex-bg);
  color: var(--rex-text);
  font-family: Arial, Helvetica, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--rex-blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: #0b4f8a; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; left: -10000px; }
.ast-container { max-width: 1240px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #dbe5ee;
  z-index: 20;
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: 200px; height: 38px; display: block; }
.header-actions { display: flex; align-items: center; gap: 30px; }
.header-actions details { position: relative; }
.header-actions summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: #1f2937; font-size: 15px; font-weight: 500; }
.header-actions summary::-webkit-details-marker { display: none; }
.search-popover summary { color: var(--rex-blue); }
.search-label { font-size: 0; }
.search-icon { display: inline-block; color: var(--rex-blue); width: 24px; height: 24px; line-height: 1; }
.search-form {
  position: absolute;
  right: 0;
  top: 42px;
  width: 315px;
  display: flex;
  gap: 8px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--ast-border-color);
  box-shadow: 0 12px 30px rgba(17, 24, 39, .12);
  border-radius: 2px;
  z-index: 50;
}
.search-form input { min-width: 0; flex: 1; padding: 10px 12px; border: 1px solid #d6dce3; font-size: 15px; }
.search-form button { background: var(--rex-blue); color: #fff; border: 0; padding: 10px 14px; font-weight: 700; cursor: pointer; }
.main-navigation ul { margin: 0; padding: 0; list-style: none; display:flex; align-items:center; gap:30px; }
.main-navigation > ul > li { display:flex; align-items:center; }
.main-navigation > ul > li > details > summary,
.main-navigation > ul > li > a { color: #334155; min-height: 82px; font-size: 16px; font-weight: 300; line-height: 80px; font-family: Arial, Helvetica, Verdana, sans-serif; white-space:nowrap; }
.main-navigation > ul > li > a { display: inline-flex; align-items: center; }
.chevron { color: #5d6a79; font-size: 14px; margin-left: 2px; }
.sub-menu {
  position: absolute;
  right: 0;
  top: 66px;
  min-width: 270px;
  background: #fff;
  border: 1px solid var(--ast-border-color);
  box-shadow: 0 12px 30px rgba(17, 24, 39, .12);
  z-index: 40;
}
.sub-menu a { display: block; padding: 12px 16px; color: #1f2937; border-bottom: 1px solid #eef2f5; font-size: 14px; }
.sub-menu a:hover { background: #f7fbff; color: var(--rex-blue); }

/* Main / archive */
.site-content { background: var(--rex-bg); min-height: calc(100vh - 180px); }
.rexclick-main { padding: 64px 0 96px; }
.rex-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 32px;
}
.rex-post-card {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  min-width: 0;
}
.rex-post-card .ast-article-inner { height: 100%; display: flex; flex-direction: column; }
.post-thumb { width: 100%; background: #e5edf5; overflow: hidden; }
.post-thumb img {
  width: 100%;
  height: 212px;
  display: block;
  object-fit: cover;
}
.rex-post-card .post-content { padding: 26px 24px 28px; }
.entry-categories { margin-bottom: 16px; color: var(--rex-blue); font-size: 14px; line-height: 1.65; font-weight: 600; }
.entry-categories a { color: var(--rex-blue); font-weight: 600; }
.entry-title { margin: 0 0 13px; color: var(--rex-heading); font-family: Lato, sans-serif; font-weight: 600; letter-spacing: 0; }
.rex-post-card .entry-title { font-size: 20px; line-height: 1.23; font-weight: 500; }
.entry-title a { color: var(--rex-heading); }
.entry-title a:hover { color: var(--rex-blue); }
.entry-meta { color: var(--rex-blue); font-size: 13px; line-height: 1.65; font-weight: 600; margin-bottom: 15.6px; }
.entry-meta a { color: var(--rex-blue); }
.entry-excerpt { margin: 0; color: #314155; font-size: 16px; line-height: 1.65; }

/* Pages / posts */
.ast-article-single {
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 40px 54px;
  border-radius: 4px;
}
.single-post-main .ast-article-single { max-width: 960px; }
.entry-header { margin-bottom: 22px; }
.ast-article-single > .entry-header .entry-title {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 15px;
}
.page-title-header .entry-title { font-size: 32px; }
.entry-content { color: #2e3c4e; font-size: 16px; line-height: 1.65; font-weight: 300; }
.entry-content h1, .entry-content h2, .entry-content h3 { color: #1f2937; font-family: Lato, sans-serif; font-weight: 600; line-height: 1.3; letter-spacing: 0; max-width: 1000px; }
.entry-content h2 { font-size: 42px; margin: 1.5em 0 .538em; }
.entry-content h3 { font-size: 32px; margin: 1.5em 0 .6125em; }
.entry-content p { margin: 0 0 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.35em; margin-bottom: 1.3em; }
.entry-content img { border-radius: 3px; }
.entry-content blockquote { margin: 1.6em 0; border-left: 4px solid var(--rex-blue); padding: 10px 0 10px 22px; color: #46576d; }
.single-meta { margin: 0 0 12px; }
.single-cats { margin-bottom: 20px; }
.single-featured-image { margin: 0 0 28px; }
.single-featured-image img { width: 100%; max-height: 530px; object-fit: cover; display: block; }
.rex-share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -4px 0 26px;
}
.rex-share-label {
  color: #5f6b7a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.rex-share-bar .ast-social-inner-wrap {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.rex-share-bar .ast-social-element { display: inline-flex; }
.rex-share-bar .ast-social-icon-a {
  width: 34px;
  height: 34px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rex-ink) !important;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: none;
  transition: transform 160ms ease, color 160ms ease, opacity 160ms ease;
}
.rex-share-bar .ast-social-icon-a:hover,
.rex-share-bar .ast-social-icon-a:focus {
  transform: translateY(-1px);
  box-shadow: none;
  color: var(--rex-blue) !important;
}
.rex-share-bar button.ast-social-icon-a {
  padding: 0;
  border: 0;
  font: inherit;
  cursor: pointer;
  position: relative;
}
.rex-share-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rex-share-icon-mail { width: 17px; height: 17px; }
.rex-share-icon-instagram { width: 19px; height: 19px; }
.rex-share-icon-dot { fill: currentColor; stroke: none; }
.rex-copy-status {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 2;
  min-width: max-content;
  padding: 5px 8px;
  border-radius: 6px;
  background: #111827;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 160ms ease, transform 160ms ease;
}
.rex-copy-link[data-copy-state="copied"] { color: #248a3d !important; }
.rex-copy-link[data-copy-state="copied"] .rex-copy-status {
  opacity: 1;
  transform: translate(-50%, 0);
}
.ast-sms-social-item .ast-social-icon-a,
.ast-whatsapp-social-item .ast-social-icon-a { font-size: 10px; letter-spacing: -.02em; }
.wp-block-embed,
.epyt-figure { margin: 32px 0 16px; max-width: 1000px; }
.wp-block-embed__wrapper,
.epyt-video-wrapper { width: 100%; }
.__youtube_prefs__.epyt-facade {
  position: relative;
  display: block;
  width: 100% !important;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto !important;
  margin: 0;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.epyt-facade-poster {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 0 !important;
  display: block;
  opacity: 1;
  transition: opacity 600ms ease;
  z-index: 1;
}
.epyt-facade-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  border-radius: 12px;
  background: #f00;
  color: #fff;
  transform: translate(-50%, -50%);
  cursor: pointer;
  pointer-events: auto;
  z-index: 3;
  opacity: .92;
  transition: opacity 600ms ease, visibility 0s linear 0s;
}
.epyt-facade-play-icon {
  display: block;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid currentColor;
  pointer-events: none;
}
.epyt-facade-play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.epyt-facade:hover .epyt-facade-play { opacity: 1; }
.rex-youtube-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  border: 0;
}
.epyt-facade.is-playing .epyt-facade-poster,
.epyt-facade.is-playing .epyt-facade-play { opacity: 0; visibility: hidden; pointer-events: none; }
.epyt-facade.is-overlay-fading-in .epyt-facade-poster { opacity: 1; visibility: visible; }
.epyt-facade.is-overlay-fading-in .epyt-facade-play { opacity: .92; visibility: visible; }
.wp-block-button__link,
.entry-content .button,
.entry-content button[type="submit"] { display: inline-block; background: var(--rex-blue); color: #fff !important; border-radius: 2px; padding: 11px 18px; font-weight: 700; }
.wp-block-columns, .elementor-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.articles-intro { margin-bottom: 28px; }
.entry-content .rex-post-grid { margin-top: 24px; }

/* Search results inherit a readable local style */
.search-page { max-width: 1000px; margin: 0 auto; background: #fff; padding: 42px 54px; border-radius: 4px; }
.search-page-form { display: flex; gap: 10px; margin: 18px 0 30px; }
.search-page-form input { flex: 1; min-width: 0; border: 1px solid #d6dce3; padding: 12px 14px; font-size: 16px; }
.search-page-form button { background: var(--rex-blue); color: #fff; border: 0; padding: 12px 18px; font-weight: 700; cursor: pointer; }
.search-results-list { list-style: none; margin: 0; padding: 0; }
.search-results-list li { padding: 18px 0; border-top: 1px solid var(--ast-border-color); }
.search-results-list h2 { margin: 0 0 6px; font-size: 21px; line-height: 1.25; }

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid #dbe5ee;
  min-height: 98px;
  display: flex;
  align-items: center;
}
.footer-inner { width: 100%; display: flex; align-items: center; justify-content: center; gap: 18px; color: #2d3748; }
.footer-inner p { margin: 0; }
.admin-foot { font-size: 13px; opacity: .7; }
.admin-foot a { color: #4b5563; }

@media (max-width: 1024px) {
  .rex-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ast-container { padding-left: 28px; padding-right: 28px; }
}
@media (max-width: 720px) {
  .header-inner { min-height: 78px; align-items: flex-start; flex-direction: column; justify-content: center; padding-top: 16px; padding-bottom: 16px; }
  .header-actions { width: 100%; justify-content: space-between; }
  .main-navigation > ul > li > details > summary { min-height: 32px; }
  .search-form, .sub-menu { left: 0; right: auto; top: 38px; width: min(88vw, 320px); }
  .rexclick-main { padding-top: 34px; }
  .rex-post-grid { grid-template-columns: 1fr; }
  .ast-article-single { padding: 30px 24px 40px; }
  .footer-inner { flex-direction: column; gap: 4px; }
}

/* Local WordPress-style author archive matching live rexclick.com/author/yoseba */
.author-main{padding:64px 0 96px}.author-archive-header.ast-author-box{display:flex;align-items:center;justify-content:space-between;gap:32px;width:100%;max-width:none;margin:0 0 21px;padding:48px;background:#fff;border-radius:0;color:#334155}.author-archive-header .ast-author-bio{min-width:0;flex:1}.author-archive-header .ast-archive-title{margin:0 0 4px;padding:0;color:#1e293b;font-family:Lato,sans-serif;font-size:32px;line-height:1.4;font-weight:600}.author-archive-header .ast-author-box-avatar{flex:0 0 auto}.author-archive-header .avatar{display:block;width:100px;height:100px;border-radius:50%;object-fit:cover}.author-card-grid-wrap .rex-post-grid{margin-top:0;gap:32px}.author-card-grid-wrap .rex-post-card{border-radius:6px;background:transparent;overflow:visible}.author-card-grid-wrap .rex-post-card .ast-article-inner{background:#fff;border-radius:6px;padding:24px;box-shadow:0 6px 15px -2px rgba(16,24,40,.05);overflow:hidden}.author-card-grid-wrap .rex-post-card .post-thumb{width:calc(100% + 48px);margin:-24px -24px 24px;background:transparent;overflow:hidden}.author-card-grid-wrap .rex-post-card .post-thumb img{width:100%;max-width:none;height:213px;border-radius:0;object-fit:cover}.author-card-grid-wrap .rex-post-card .post-content{padding:0}.author-card-grid-wrap .entry-categories{margin-bottom:16px}.author-card-grid-wrap .entry-title{margin-bottom:12px}.author-card-grid-wrap .entry-meta{margin-bottom:15px;line-height:1.45}
@media (max-width:720px){.author-archive-header.ast-author-box{padding:30px 24px;align-items:flex-start}.author-archive-header .ast-archive-title{font-size:28px}.author-archive-header .avatar{width:72px;height:72px}.author-card-grid-wrap .rex-post-card .ast-article-inner{padding:20px}.author-card-grid-wrap .rex-post-card .post-thumb{width:calc(100% + 40px);margin:-20px -20px 20px}}

/* Ecommerce storefront */
.shop-main { max-width: 1240px; margin: 0 auto; padding: 30px 20px 90px; font-family: Arial, Helvetica, Verdana, sans-serif; font-weight:300; line-height:1.65; color:#334155; }
.shop-hero, .cart-summary, .checkout-form, .product-description { background:#fff; border:1px solid #e1e8f0; border-radius:8px; padding:28px; box-shadow:0 12px 28px rgba(15,23,42,.04); }
.shop-hero { margin-bottom:32px; }
.shop-kicker, .product-collection { margin:0 0 8px; color:var(--rex-blue); font-size:12px; text-transform:uppercase; letter-spacing:.08em; font-weight:800; }
.shop-hero h1, .product-purchase-panel h1, .shop-main h1 { margin-top:0; color:#1e293b; font-family:Lato,sans-serif; font-weight:600; line-height:1.3; letter-spacing:0; }
.shop-main h2, .product-card h2, .product-card h2 a { color:#1e293b; font-family:Lato,sans-serif; font-weight:500; line-height:1.23; letter-spacing:0; }
.shop-cart-link, .checkout-button, .cart-add-form button, .secondary-button { display:inline-block; border:0; border-radius:999px; background:var(--rex-blue); color:#fff !important; padding:12px 20px; font-weight:800; text-decoration:none; cursor:pointer; }
.secondary-button { background:#475569; }
.product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.product-card { background:#fff; border:0; border-radius:18px; overflow:hidden; min-width:0; transition:transform .18s ease,box-shadow .18s ease; }
.product-card:hover { transform:translateY(-2px); box-shadow:0 8px 20px rgba(15,23,42,.08); }
.product-card-image { display:block; width:100%; aspect-ratio:1/1; background:#f4f6f8; overflow:hidden; }
.product-card-image img { width:100%; height:100%; aspect-ratio:1/1; object-fit:cover; display:block; border-radius:0; transition:transform .25s ease; }
.product-card:hover .product-card-image img { transform:scale(1.015); }
.product-card-previews{display:flex;align-items:center;gap:5px;min-height:42px;padding:6px 12px 2px;overflow-x:auto;scrollbar-width:thin}.product-card-preview{flex:0 0 34px;width:34px;height:34px;padding:2px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;cursor:pointer;overflow:hidden}.product-card-preview img{display:block;width:100%;height:100%;object-fit:cover;border-radius:2px}.product-card-preview:hover,.product-card-preview:focus-visible,.product-card-preview.is-selected{border-color:var(--rex-blue);box-shadow:0 0 0 1px var(--rex-blue)}.product-card-preview:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.product-card-body { padding:12px 14px 16px; }
.product-card h2 { font-size:15px; line-height:1.35; font-weight:500; margin:0 0 11px; }
.product-card h2 a { color:#1f2937; text-decoration:none; }
.product-card h2 a:hover { color:var(--rex-blue); }
.product-placeholder { width:100%; height:100%; min-height:0; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; background:#e5edf5; color:#1e40af; font-weight:900; }
.product-placeholder-large { min-height:420px; border-radius:10px; }
.product-price-row { display:flex; align-items:baseline; gap:9px; margin:0 0 5px; color:#137d83; font-size:19px; line-height:1.35; font-weight:400; }
.product-price-row strong { font-size:inherit; font-weight:400; }
.product-price-row span { color:#64748b; font-size:13px; text-decoration:line-through; }
.product-card .product-collection { margin:0; color:#64748b; font-size:10px; line-height:1.35; letter-spacing:.06em; }
.product-detail { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(320px,.7fr); gap:34px; align-items:start; }
.product-media img { width:100%; border-radius:10px; display:block; background:#fff; }
.product-gallery-main{position:relative;display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;text-align:left}.product-gallery-main>img{aspect-ratio:1/1;object-fit:contain}.product-gallery-main>span{position:absolute;right:12px;bottom:12px;padding:7px 10px;border:1px solid #cbd5e1;border-radius:6px;background:rgba(255,255,255,.94);color:#334155;font-size:12px;font-weight:700}.product-gallery-thumbnails{display:flex;gap:9px;margin-top:10px;padding:2px 1px 8px;overflow-x:auto;scrollbar-width:thin}.product-gallery-thumbnail{flex:0 0 80px;width:80px;height:80px;padding:3px;border:2px solid transparent;border-radius:7px;background:#fff;cursor:pointer}.product-gallery-thumbnail:hover{border-color:#94a3b8}.product-gallery-thumbnail.is-active{border-color:var(--rex-blue);box-shadow:0 0 0 1px var(--rex-blue)}.product-gallery-thumbnail img{width:100%;height:100%;border-radius:4px;object-fit:cover}.product-gallery-lightbox{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:34px;background:rgba(15,23,42,.92)}.product-gallery-lightbox img{max-width:min(92vw,1200px);max-height:90vh;object-fit:contain;border-radius:8px;background:#fff}.product-gallery-lightbox button{position:fixed;top:18px;right:24px;width:46px;height:46px;border:1px solid rgba(255,255,255,.65);border-radius:50%;background:#fff;color:#111827;font-size:32px;line-height:1;cursor:pointer}
.product-purchase-panel { background:#fff; border:1px solid #e1e8f0; border-radius:10px; padding:30px; position:sticky; top:24px; }
.product-summary { color:#475569; font-size:18px; line-height:1.55; }
.product-price-large strong { font-size:30px; }
.product-purchase-form { display:grid; gap:20px; margin-top:24px; }
.product-purchase-field { display:grid; gap:8px; min-width:0; }
.product-purchase-field label { display:block; margin:0; color:#334155; font-size:14px; line-height:1.35; font-weight:700; }
.product-purchase-field input, .product-purchase-field select { box-sizing:border-box; width:100%; min-height:44px; border:1px solid #cbd5e1; border-radius:6px; background:#fff; padding:10px 12px; color:#1e293b; font:inherit; font-size:16px; }
.product-purchase-quantity { width:88px; }
.product-purchase-form .checkout-button { justify-self:start; margin-top:2px; min-height:48px; padding:12px 28px; }
.cart-add-form { display:grid; gap:12px; margin-top:24px; }
.cart-add-form input, .cart-add-form select, .checkout-form input, .checkout-form select, .cart-line input { width:100%; border:1px solid #cbd5e1; border-radius:6px; padding:12px; font-size:16px; }
.shipping-note, .stock-warning { color:#64748b; font-size:14px; }
.shop-breadcrumb { margin-bottom:8px; color:#64748b; font-size:14px; line-height:1.4; }
.product-description { margin-top:34px; }
.cart-page-header { margin-bottom:24px; }
.cart-page-header h1 { margin-bottom:5px; }
.cart-page-header > p:last-child { margin:0; color:#64748b; }
.cart-layout { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:28px; align-items:start; }
.cart-form { display:grid; gap:16px; margin:0; }
.cart-line { display:grid; grid-template-columns:112px minmax(0,1fr) 92px 112px; gap:20px; align-items:center; background:#fff; border:1px solid #e1e8f0; border-radius:12px; padding:20px; }
.cart-line-thumb { width:112px; height:112px; display:flex; align-items:center; justify-content:center; background:#e5edf5; border-radius:8px; overflow:hidden; color:#1e40af; font-size:11px; font-weight:900; text-decoration:none; }
.cart-line-thumb img { width:100%; height:100%; object-fit:cover; display:block; border-radius:0; }
.cart-line-details { min-width:0; }
.cart-line-details strong { display:block; color:#1e293b; font-family:Lato,sans-serif; font-size:18px; line-height:1.23; font-weight:500; }
.cart-line-details strong a { color:inherit; }
.cart-line-details p { margin:.2em 0 0; }
.cart-line-sku { color:#64748b; font-size:12px; }
.cart-line-quantity { display:grid; gap:7px; color:#475569; font-size:12px; font-weight:800; }
.cart-line-quantity input { width:76px; min-height:44px; padding:9px 10px; }
.cart-line-total { display:grid; gap:6px; text-align:right; }
.cart-line-total span { color:#64748b; font-size:12px; font-weight:700; }
.cart-line-total strong { color:#1e293b; font-size:18px; }
.cart-actions { display:flex; justify-content:flex-end; }
.cart-update-button { width:auto; min-height:40px; padding:9px 17px; font-size:13px; }
.cart-summary { position:sticky; top:24px; }
.cart-summary h2 { margin:0 0 18px; font-size:22px; }
.cart-summary-row { display:flex; justify-content:space-between; gap:20px; padding:12px 0; border-top:1px solid #e2e8f0; }
.cart-summary .checkout-button { width:100%; margin-top:12px; text-align:center; }
.cart-total { font-size:18px; }
.checkout-layout { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:28px; align-items:start; }
.checkout-form { display:grid; gap:24px; }
.checkout-form fieldset { border:1px solid #e2e8f0; border-radius:8px; padding:18px; margin:0; display:grid; gap:14px; }
.checkout-form legend { padding:0 6px; font-weight:900; color:#111827; }
.checkout-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.checkout-grid label { display:grid; gap:6px; color:#334155; font-weight:700; }
.checkout-grid .field-full { grid-column:1 / -1; }
.checkbox-label { display:flex; align-items:center; gap:10px; font-weight:800; color:#334155; }
.checkbox-label input { width:auto; }
.is-hidden { display:none !important; }
.payment-element-box { border:1px solid #cbd5e1; border-radius:8px; padding:14px; background:#fff; min-height:48px; }
.checkout-message { color:#b91c1c; font-weight:700; min-height:20px; }
.checkout-alert { border:1px solid #fde68a; background:#fffbeb; color:#92400e; border-radius:8px; padding:14px; font-weight:800; }

/* Shopify-inspired order confirmation */
.order-confirmation-page{max-width:1120px;padding-top:48px;background:transparent}
.order-confirmation-intro{display:flex;align-items:flex-start;gap:18px;margin-bottom:34px}
.order-confirmation-check{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border:2px solid #16856b;border-radius:50%;color:#16856b;font-size:25px;font-weight:700;line-height:1}
.order-confirmation-number{margin:0 0 5px;color:#64748b;font-size:13px;font-weight:700;letter-spacing:.025em}
.order-confirmation-intro h1{margin:0 0 8px;font-size:34px;line-height:1.18}
.order-confirmation-intro p:last-child{max-width:650px;margin:0;color:#64748b;font-size:16px;line-height:1.55}
.order-confirmation-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.72fr);gap:30px;align-items:start}
.order-confirmation-main{min-width:0}
.order-confirmation-status-card,.order-confirmation-information-card,.order-confirmation-summary-card,.order-confirmation-error{background:#fff;border:1px solid #dfe5eb;border-radius:12px;box-shadow:0 10px 28px rgba(15,23,42,.045)}
.order-confirmation-status-card{display:flex;gap:16px;padding:24px 26px}
.order-status-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#e8f6f1;color:#16856b;font-size:17px;font-weight:800}
.order-confirmation-status-card h2,.order-confirmation-information-card h2,.order-confirmation-summary-card h2{margin:0;color:#1e293b;font-family:Lato,sans-serif;font-size:20px;font-weight:600;line-height:1.3}
.order-confirmation-status-card p{margin:6px 0 0;color:#64748b;line-height:1.55}
.order-confirmation-information-card{margin-top:20px;padding:26px}
.order-confirmation-information-card>h2{padding-bottom:18px;border-bottom:1px solid #e5e9ee}
.order-confirmation-customer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 34px;padding-top:22px}
.order-confirmation-customer-grid h3{margin:0 0 7px;color:#334155;font-family:Arial,Helvetica,Verdana,sans-serif;font-size:14px;font-weight:800}
.order-confirmation-customer-grid p,.order-confirmation-customer-grid address{margin:0;color:#64748b;font-size:14px;font-style:normal;line-height:1.65;overflow-wrap:anywhere}
.order-confirmation-actions{margin-top:24px;display:flex;align-items:center}
.order-confirmation-actions .checkout-button{min-height:48px;padding:12px 24px}
.order-confirmation-summary-card{position:sticky;top:24px;padding:26px}
.order-confirmation-summary-card>h2{padding-bottom:18px;border-bottom:1px solid #e5e9ee}
.order-confirmation-lines{display:grid}
.order-confirmation-line{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:14px;align-items:center;padding:20px 0;border-bottom:1px solid #e5e9ee}
.order-confirmation-line-media{position:relative;width:64px;height:64px;border:1px solid #dfe5eb;border-radius:9px;background:#f4f6f8}
.order-confirmation-line-media img{display:block;width:100%;height:100%;border-radius:8px;object-fit:cover}
.order-confirmation-line-media>span:first-child{display:grid;width:100%;height:100%;place-items:center;color:var(--rex-blue);font-weight:900}
.order-confirmation-quantity{position:absolute;top:-8px;right:-8px;display:grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:#64748b;color:#fff;font-size:12px;font-weight:800}
.order-confirmation-line-copy{min-width:0}
.order-confirmation-line-copy h3{margin:0;color:#1e293b;font-family:Arial,Helvetica,Verdana,sans-serif;font-size:14px;font-weight:700;line-height:1.4}
.order-confirmation-line-copy p{margin:3px 0 0;color:#64748b;font-size:13px}
.order-confirmation-line>strong{color:#1e293b;font-size:14px;white-space:nowrap}
.order-confirmation-totals{margin:0;padding-top:13px}
.order-confirmation-totals>div{display:flex;justify-content:space-between;gap:18px;padding:7px 0;color:#475569;font-size:14px}
.order-confirmation-totals dt,.order-confirmation-totals dd{margin:0}
.order-confirmation-grand-total{align-items:baseline;margin-top:9px;padding-top:16px!important;border-top:1px solid #dfe5eb;color:#1e293b!important;font-size:18px!important;font-weight:700}
.order-confirmation-grand-total dd{font-size:22px}
.order-confirmation-grand-total dd span{margin-right:7px;color:#64748b;font-size:12px;font-weight:500}
.order-confirmation-error{max-width:720px;padding:34px}
.order-confirmation-error h1{margin-bottom:12px}
.order-confirmation-error>p:not(.order-confirmation-number){color:#64748b}

.store-category-nav{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 18px}.store-mobile-category-form{display:none}.store-category-nav a{display:inline-flex;align-items:center;min-height:36px;padding:6px 14px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#334155;font-size:13px;font-weight:700;text-decoration:none}.store-category-nav a:hover,.store-category-nav a.is-active{border-color:var(--rex-blue);background:var(--rex-blue);color:#fff!important}
.store-collection-header{margin:0 0 14px}.store-collection-header>div{max-width:none;width:100%}.store-collection-header .shop-kicker{margin-bottom:3px}.store-collection-header h1{margin-bottom:3px;font-size:32px;line-height:1.2}.store-collection-header p:last-child{max-width:none;width:100%;margin:0;line-height:1.45}.store-collection-header--with-nav{display:grid;grid-template-columns:minmax(320px,1fr) minmax(420px,auto);align-items:end;gap:28px;margin-bottom:18px}.store-collection-header--with-nav>div{max-width:520px}.store-collection-header--with-nav .store-category-nav{justify-content:flex-end;align-content:flex-end;margin:0}.store-catalog-layout{display:block}.store-catalog-layout.has-sidebar{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;align-items:start}.store-catalog-sidebar{position:sticky;top:20px;background:#fff;border:1px solid #e2e8f0;padding:18px 16px}.store-catalog-sidebar h2{margin:0 0 12px;padding:0 0 12px;border-bottom:1px solid #e2e8f0;font-size:17px;font-weight:600}.store-catalog-sidebar a{display:block;padding:7px 0;color:#475569;font-size:13px;line-height:1.3}.store-catalog-sidebar a:hover,.store-catalog-sidebar a.is-active{color:var(--rex-blue);font-weight:700}.store-catalog-results{min-width:0}.store-catalog-utilities{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 16px;min-height:42px;border-bottom:1px solid #e2e8f0;padding-bottom:12px}.store-catalog-utilities p{margin:0;color:#64748b;font-size:13px}.store-catalog-utilities form{display:flex;align-items:center;gap:10px}.store-catalog-utilities label{font-size:13px;font-weight:700;color:#334155}.store-catalog-utilities select{min-width:170px;border:0;background:#fff;padding:8px 26px 8px 8px;color:#475569;font-size:13px}.product-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.product-gallery figure{margin:0}.product-gallery img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:8px;background:#fff}
@media(max-width:1100px){.store-catalog-layout.has-sidebar{grid-template-columns:170px minmax(0,1fr);gap:20px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.order-confirmation-layout{grid-template-columns:1fr}.order-confirmation-summary-card{position:static}.store-collection-header--with-nav{display:block}.store-collection-header--with-nav .store-category-nav{justify-content:flex-start;margin-top:14px}.store-catalog-layout.has-sidebar{display:block}.store-catalog-sidebar{display:none}.store-mobile-category-form{display:grid;gap:7px;margin:0 0 24px}.store-mobile-category-form label{font-size:13px;font-weight:800;color:#334155}.store-mobile-category-form div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.store-mobile-category-form select{min-width:0;width:100%;padding:11px 12px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;font-size:16px}.store-mobile-category-form button{border:0;border-radius:7px;padding:10px 16px;background:var(--rex-blue);color:#fff;font-weight:800}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:820px){.product-detail,.checkout-layout,.cart-layout{grid-template-columns:1fr}.product-purchase-panel,.cart-summary{position:static}.cart-line{grid-template-columns:1fr}.shop-main{padding:34px 20px 70px}.checkout-grid{grid-template-columns:1fr}.store-collection-header{align-items:flex-start}.store-collection-header h1{font-size:30px}}
@media(max-width:700px){.order-confirmation-page{padding-top:32px}.order-confirmation-intro{gap:13px;margin-bottom:26px}.order-confirmation-check{flex-basis:42px;width:42px;height:42px;font-size:22px}.order-confirmation-intro h1{font-size:29px}.order-confirmation-customer-grid{grid-template-columns:1fr;gap:22px}.order-confirmation-status-card,.order-confirmation-information-card,.order-confirmation-summary-card,.order-confirmation-error{padding:22px 20px}.order-confirmation-line{grid-template-columns:58px minmax(0,1fr) auto;gap:12px}.order-confirmation-line-media{width:58px;height:58px}.order-confirmation-grand-total dd{font-size:20px}.order-confirmation-actions .checkout-button{width:100%;text-align:center}.shop-main{padding:28px 16px 60px}.shop-hero,.cart-summary,.checkout-form,.product-description{padding:22px 20px}.product-grid{grid-template-columns:1fr;gap:24px}.product-card-body{padding:14px 15px 17px}.product-detail{grid-template-columns:1fr;gap:24px}.product-purchase-panel{padding:24px 20px}.product-placeholder-large{min-height:280px}.shop-breadcrumb{font-size:14px;overflow-wrap:anywhere}.store-collection-header{display:block}.store-collection-header .shop-cart-link{margin-top:14px}.store-catalog-utilities{align-items:flex-start;flex-direction:column;gap:8px}.store-catalog-utilities form{width:100%;justify-content:space-between}.store-catalog-utilities select{min-width:0;max-width:220px;width:100%}.product-gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}}

