﻿/*
Theme Name: Royal King Jewellers
Author: Royal King Jewellers
Description: A WooCommerce storefront adapted from the existing Royal King Jewellers design.
Version: 1.1.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: royal-king-jewellers
*/

:root {
  --rkj-ink: #0a0908;
  --rkj-ink-soft: #17130f;
  --rkj-paper: #f7f1e7;
  --rkj-paper-deep: #eee5d7;
  --rkj-gold: #c7a35b;
  --rkj-gold-light: #e2c887;
  --rkj-muted: #857c70;
  --rkj-line: rgba(199, 163, 91, .28);
  --rkj-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --rkj-sans: Manrope, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--rkj-paper); color: var(--rkj-ink); font-family: var(--rkj-sans); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.rkj-container { width: min(1240px, 92vw); margin-inline: auto; }
.rkj-eyebrow { color: #8d6d35; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.rkj-display, .rkj-home-hero h1, .rkj-section-heading h2, .rkj-editorial-copy h2, .rkj-business-card h3 { font-family: var(--rkj-serif); font-weight: 500; letter-spacing: -.035em; }
.rkj-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 13px 19px; border: 1px solid var(--rkj-gold); border-radius: 0; background: transparent; color: var(--rkj-ink); font-size: 10px; font-weight: 600; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.rkj-button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { border-color: var(--rkj-ink); background: var(--rkj-ink); color: #fff; }
.rkj-button-dark { border-color: var(--rkj-ink); background: var(--rkj-ink); color: #fff; }
.rkj-button-dark:hover { border-color: var(--rkj-gold); background: var(--rkj-gold); color: var(--rkj-ink); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.rkj-announcement { min-height: 30px; display: flex; justify-content: center; align-items: center; padding: 6px 16px; background: var(--rkj-ink); color: var(--rkj-gold-light); font-size: 9px; letter-spacing: .2em; text-align: center; text-transform: uppercase; }
.rkj-site-header { position: sticky; top: 32px; z-index: 999; background: rgba(247,241,231,.98); border-bottom: 1px solid var(--rkj-line); }
.rkj-header-main { position: relative; min-height: 88px; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 18px; }
.rkj-header-side { display: flex; align-items: center; gap: 16px; min-width: 0; }
.rkj-header-actions { grid-column: 3; justify-content: flex-end; }
.rkj-header-quick-nav { display: flex; align-items: center; justify-content: flex-start; gap: clamp(10px, 1.35vw, 19px); min-width: 0; }
.rkj-header-quick-nav a { color: #51483d; font-size: 8px; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.rkj-header-right { grid-column: 3; justify-content: flex-end; }
.rkj-header-right .rkj-header-quick-nav { justify-content: flex-end; }
.rkj-brand-by { text-transform: lowercase; letter-spacing: .08em; }
.rkj-brand { display: inline-flex; flex-direction: column; align-items: center; color: var(--rkj-ink); text-align: center; }
.rkj-brand-name { font: 500 25px/.95 var(--rkj-serif); letter-spacing: .1em; white-space: nowrap; }
.rkj-brand-caption { margin-top: 7px; color: #8d6d35; font-size: 8px; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.rkj-custom-logo img { width: auto; max-height: 54px; }
.rkj-header-icon { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.rkj-header-icon svg { width: 18px; height: 18px; }
.rkj-cart-count { display: inline-flex; min-width: 17px; height: 17px; align-items: center; justify-content: center; border-radius: 50%; background: var(--rkj-gold); color: var(--rkj-ink); font-size: 9px; }
.rkj-primary-navigation { border-top: 1px solid rgba(199,163,91,.12); }
.rkj-primary-navigation .menu { display: flex; justify-content: center; align-items: center; gap: clamp(12px, 1.35vw, 20px); min-height: 42px; padding: 0; margin: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.rkj-primary-navigation .menu::-webkit-scrollbar { display: none; }
.rkj-primary-navigation .menu a { display: block; padding: 13px 0; color: #51483d; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.rkj-primary-navigation .menu a:hover, .rkj-header-quick-nav a:hover { color: #936f34; }

.rkj-home-hero { position: relative; height: clamp(560px, calc(100vw / 1.86), 1050px); display: flex; align-items: center; overflow: hidden; background-color: var(--rkj-ink); color: #fff; }
.rkj-home-hero-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.rkj-home-hero-shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(4,3,2,.72) 0%, rgba(4,3,2,.28) 58%, rgba(4,3,2,.04) 100%); }
.rkj-home-hero-inner { position: relative; z-index: 1; padding-block: clamp(50px, 7vw, 100px); }
.rkj-home-hero-copy { max-width: 650px; }
.rkj-home-hero .rkj-eyebrow { color: var(--rkj-gold-light); }
.rkj-home-hero h1 { max-width: 650px; margin: 15px 0 18px; font-size: clamp(44px, 5.2vw, 74px); line-height: .98; }
.rkj-home-hero p { max-width: 510px; margin: 0; color: #f0e8dc; font-size: 13px; line-height: 1.8; letter-spacing: .12em; text-transform: uppercase; }
.rkj-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.rkj-home-hero .rkj-button { border-color: var(--rkj-gold-light); color: #fff; }
.rkj-home-hero .rkj-button:hover { background: var(--rkj-gold-light); color: var(--rkj-ink); }

.rkj-section { padding: clamp(58px, 8vw, 100px) 0; }
.rkj-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 30px; }
.rkj-section-heading h2 { max-width: 800px; margin: 10px 0 0; font-size: clamp(38px, 5vw, 66px); line-height: .98; }
.rkj-section-heading p { max-width: 360px; margin: 0; color: #766e64; font-size: 12px; line-height: 1.8; }
.rkj-text-link { display: inline-flex; align-items: center; gap: 9px; color: #71552b; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.rkj-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 3px; background: #d9ccba; }
.rkj-category-card { position: relative; min-height: 255px; display: flex; align-items: flex-end; overflow: hidden; background: #ddd1c1; color: #fff; }
.rkj-category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.rkj-category-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(7,6,5,.66), transparent 70%); }
.rkj-category-card:hover img { transform: scale(1.04); }
.rkj-category-card span { position: relative; z-index: 1; padding: 20px 22px; font: 500 25px var(--rkj-serif); }
.rkj-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px 15px; }
.rkj-product-card { min-width: 0; background: #fffdf9; }
.rkj-product-card-image { position: relative; display: block; overflow: hidden; aspect-ratio: 4/5; background: #eee1d4; }
.rkj-product-card-image img { display: block; width: 100%; height: 100%; padding: 8px; object-fit: contain; background: #f5ede0; transition: transform .4s ease; }
.rkj-product-card:hover .rkj-product-card-image img { transform: scale(1.04); }
.rkj-product-card-content { padding: 16px 15px 19px; }
.rkj-product-card-category { margin-bottom: 7px; color: #8d6d35; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.rkj-product-card h3 { margin: 0 0 8px; font: 500 21px/1.1 var(--rkj-serif); }
.rkj-product-card-price { margin: 0; font-size: 13px; font-weight: 600; }

.rkj-empty-note { padding: 22px; border: 1px solid var(--rkj-line); color: #63594e; font-size: 13px; line-height: 1.7; }

.rkj-editorial { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; background: var(--rkj-ink); color: #fff; }
.rkj-editorial-image { min-height: 400px; background-position: center; background-size: cover; }
.rkj-editorial-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(38px, 7vw, 94px); }
.rkj-editorial-copy .rkj-eyebrow { color: var(--rkj-gold-light); }
.rkj-editorial-copy h2 { margin: 14px 0; font-size: clamp(40px, 5vw, 68px); line-height: .98; }
.rkj-editorial-copy p { max-width: 460px; color: #d3c9bc; font-size: 13px; line-height: 1.8; }
.rkj-editorial-copy .rkj-button { margin-top: 14px; border-color: var(--rkj-gold-light); color: #fff; }

.rkj-business { background: #e4d7c4; }
.rkj-business-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 3px; background: #cabba3; }
.rkj-business-card { position: relative; min-height: 310px; display: flex; align-items: flex-end; overflow: hidden; background: #33291f; color: #fff; }
.rkj-business-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.rkj-business-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(5,4,3,.78), rgba(5,4,3,.06) 85%); }
.rkj-business-card:hover img { transform: scale(1.035); }
.rkj-business-card-content { position: relative; z-index: 1; padding: 29px; }
.rkj-business-card .rkj-eyebrow { color: var(--rkj-gold-light); }
.rkj-business-card h3 { margin: 9px 0; font-size: clamp(31px, 4vw, 46px); line-height: 1; }
.rkj-business-card strong { font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.rkj-final-cta { padding: 76px 20px; background: var(--rkj-paper-deep); text-align: center; }
.rkj-final-cta h2 { max-width: 740px; margin: 12px auto 23px; font: 500 clamp(36px, 5vw, 60px)/1 var(--rkj-serif); }

.rkj-shop-wrap { min-height: 50vh; padding: 24px 0 72px; }
.rkj-shop-title { margin: 0 0 28px; padding-bottom: 23px; border-bottom: 1px solid var(--rkj-line); }
.rkj-shop-title h1 { margin: 8px 0 0; font: 500 clamp(40px, 5vw, 62px)/1 var(--rkj-serif); }
.rkj-shop-category-nav { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 16px; }
.rkj-shop-category-nav a { padding: 9px 13px; border: 1px solid #d3c6b4; color: #5c5144; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.rkj-shop-category-nav a:hover, .rkj-shop-category-nav a.is-active { border-color: var(--rkj-ink); background: var(--rkj-ink); color: #fff; }
.woocommerce .woocommerce-products-header { margin: 0 0 13px; }
.woocommerce .woocommerce-products-header h1, .rkj-shop-title h1 { margin: 0; font: 500 clamp(32px, 4vw, 46px)/1.05 var(--rkj-serif); }
.woocommerce .woocommerce-products-header p { margin: 8px 0 0; color: #766e64; font-size: 12px; line-height: 1.7; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { color: #71675b; font-size: 11px; }
.woocommerce .woocommerce-ordering select, .woocommerce .quantity .qty, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 43px; border: 1px solid #d7cbb9; border-radius: 0; background: #fffdf9; padding: 10px 12px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px 15px; margin: 0; }
.woocommerce ul.products li.product { width: auto !important; float: none; margin: 0; padding: 0 0 17px; background: #fffdf9; }
.woocommerce ul.products li.product a img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; margin: 0 0 13px; padding: 8px; background: #f5ede0; object-fit: contain; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 14px; font: 500 20px/1.1 var(--rkj-serif); }
.woocommerce ul.products li.product .price { padding: 0 14px; color: var(--rkj-ink); font-size: 13px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: 100%; margin: 0; }
.woocommerce span.onsale { top: 10px; left: 10px; min-height: auto; padding: 7px 10px; border-radius: 0; background: var(--rkj-gold); color: var(--rkj-ink); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(300px,.92fr); gap: clamp(30px, 6vw, 78px); align-items: start; }
.woocommerce div.product > .onsale { grid-column: 1; grid-row: 1; z-index: 2; margin: 14px; }
.woocommerce div.product > div.images { grid-column: 1; grid-row: 1; }
.woocommerce div.product > .summary { grid-column: 2; grid-row: 1; }
.woocommerce div.product > .woocommerce-tabs, .woocommerce div.product > .up-sells, .woocommerce div.product > .related { grid-column: 1 / -1; width: 100%; margin-top: 34px; }
.woocommerce div.product div.images img { display: block; width: 100%; height: auto; background: #f5ede0; object-fit: contain; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 9px; margin-top: 10px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; float: none; }
.woocommerce div.product div.images .flex-control-thumbs img { width: 100%; height: auto; aspect-ratio: 1; padding: 3px; background: #f5ede0; object-fit: contain; }
.woocommerce div.product .product_title { margin: 3px 0 12px; font: 500 clamp(37px, 4.4vw, 58px)/.98 var(--rkj-serif); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--rkj-ink); font-size: 25px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: #6f665c; font-size: 13px; line-height: 1.8; }
.woocommerce div.product form.cart { display: flex; align-items: center; gap: 10px; margin-top: 25px; }
.woocommerce div.product form.cart .quantity { margin: 0; }
.woocommerce div.product .product_meta { color: #756b5f; font-size: 10px; line-height: 2; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--rkj-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 1px solid var(--rkj-line); border-radius: 0; background: transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #fffdf9; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--rkj-gold); background: #fffdf9; }
.rkj-bulk-note { margin: 0 0 22px; padding: 15px 18px; border-left: 2px solid var(--rkj-gold); background: #f1e8da; color: #60564b; font-size: 12px; line-height: 1.65; }
.woocommerce-message::before, .woocommerce-info::before { color: #8d6d35; }
.woocommerce-error { border-top-color: #9d4233; }
.woocommerce table.shop_table { border-color: #d8cdbd; border-radius: 0; background: #fffdf9; font-size: 12px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 13px; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout #payment, .woocommerce-checkout-review-order-table { background: #fffdf9; }
.woocommerce-checkout #payment { border-radius: 0; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border-radius: 0; border-color: #d8cdbd; background: #fffdf9; }
.rkj-related-products { grid-column: 1 / -1; width: 100%; margin-top: 28px; padding-top: 30px; border-top: 1px solid var(--rkj-line); }
.rkj-related-products .rkj-section-heading { margin-bottom: 22px; }
.rkj-related-products .rkj-section-heading h2 { font-size: clamp(34px, 4vw, 48px); }
.woocommerce form .form-row label { color: #5e5448; font-size: 10px; letter-spacing: .07em; }

.rkj-info-hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; background-position: center; background-size: cover; color: #fff; }
.rkj-info-hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(4,3,2,.75), rgba(4,3,2,.12)); }
.rkj-info-hero-inner { position: relative; z-index: 1; padding-block: 65px; }
.rkj-info-hero .rkj-eyebrow { color: var(--rkj-gold-light); }
.rkj-info-hero h1 { margin: 12px 0; font: 500 clamp(43px, 6vw, 75px)/.96 var(--rkj-serif); }
.rkj-info-hero p { max-width: 600px; color: #e4dace; font-size: 13px; line-height: 1.8; }
.rkj-info-copy { max-width: 890px; margin: 0 auto; padding: 55px 20px 90px; }
.rkj-info-copy h2 { margin: 0 0 14px; font: 500 38px/1 var(--rkj-serif); }
.rkj-info-copy p, .rkj-info-copy li { color: #655b50; font-size: 13px; line-height: 1.85; }
.rkj-info-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.rkj-site-footer { padding: 62px 0 22px; background: #090807; color: #d8d0c4; }
.rkj-footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr; gap: 35px; }
.rkj-site-footer h2, .rkj-site-footer h3 { margin: 0 0 15px; color: #fff; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.rkj-site-footer p, .rkj-site-footer a { color: #a9a095; font-size: 11px; line-height: 2; }
.rkj-site-footer a:hover { color: var(--rkj-gold-light); }
.rkj-footer-brand { margin-bottom: 18px; color: #fff; font: 500 25px/.95 var(--rkj-serif); letter-spacing: .035em; }
.rkj-footer-brand small { display: block; margin-top: 7px; color: var(--rkj-gold-light); font: 8px var(--rkj-sans); letter-spacing: .34em; text-transform: uppercase; }
.rkj-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 39px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.12); color: #847a70; font-size: 9px; }

@media (max-width: 900px) {
  .rkj-header-main { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); min-height: 74px; }
  .rkj-header-quick-nav { display: none; }
  .rkj-header-brand-wrap { grid-column: 2; grid-row: 1; justify-content: center; }
  .rkj-brand { align-items: center; text-align: center; }
  .rkj-header-actions { grid-column: 3; grid-row: 1; justify-content: flex-end; }
  .rkj-header-actions .rkj-header-icon span:not(.rkj-cart-count) { display: none; }
  .rkj-primary-navigation .menu { justify-content: flex-start; gap: 19px; }
  .rkj-primary-navigation .menu a { padding: 12px 0; }
  .rkj-category-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .rkj-product-grid, .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .rkj-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .woocommerce div.product { grid-template-columns: minmax(0,1fr) minmax(270px,.9fr); gap: 28px; }
  .rkj-home-hero { height: auto; min-height: 0; display: flex; flex-direction: column; align-items: stretch; }
  .rkj-home-hero-image { position: static; width: 100%; height: auto; aspect-ratio: 1.86; object-fit: contain; }
  .rkj-home-hero-shade { display: none; }
  .rkj-home-hero-inner { width: 100%; padding: 34px 6vw 38px; background: #120f0c; }


}
@media (max-width: 600px) {
  .rkj-announcement { min-height: 28px; font-size: 8px; letter-spacing: .12em; }
  .rkj-header-main { min-height: 64px; gap: 10px; }
  .rkj-brand-name { font-size: 22px; }
  .rkj-brand-caption { font-size: 7px; }
  .rkj-header-side { gap: 13px; }
  .rkj-primary-navigation .menu { gap: 17px; min-height: 38px; }
  .rkj-primary-navigation .menu a { font-size: 8px; }


  .rkj-home-hero h1 { margin: 12px 0; font-size: clamp(36px, 10.5vw, 46px); line-height: 1.02; }
  .rkj-home-hero p { max-width: 340px; font-size: 10px; line-height: 1.6; }
  .rkj-section { padding-block: 44px; }
  .rkj-section-heading { display: block; margin-bottom: 23px; }
  .rkj-section-heading h2 { font-size: 43px; }
  .rkj-section-heading p { margin-top: 13px; }
  .rkj-section-heading > .rkj-text-link { margin-top: 15px; }
  .rkj-category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rkj-category-card { min-height: 215px; }
  .rkj-category-card span { padding: 15px; font-size: 22px; }
  .rkj-product-grid, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 9px; }
  .rkj-product-card-content { padding: 12px 10px 14px; }
  .rkj-product-card h3 { font-size: 18px; }

  .rkj-editorial { grid-template-columns: 1fr; }
  .rkj-editorial-image { min-height: 320px; }
  .rkj-editorial-copy { padding: 40px 7vw 48px; }
  .rkj-business-grid { grid-template-columns: 1fr; }
  .rkj-business-card { min-height: 265px; }
  .rkj-shop-wrap { padding: 22px 0 56px; }
  .woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { float: none; }
  .woocommerce .woocommerce-ordering { margin-bottom: 20px; }
  .woocommerce div.product { display: block; }
  .woocommerce div.product > .onsale { position: absolute; }
  .woocommerce div.product > div.images, .woocommerce div.product > .summary { grid-column: auto; grid-row: auto; }
  .woocommerce div.product > .woocommerce-tabs, .woocommerce div.product > .up-sells, .woocommerce div.product > .related { margin-top: 26px; }
  .woocommerce div.product div.images { margin-bottom: 25px; }
  .woocommerce div.product .product_title { font-size: clamp(34px, 9vw, 42px); }
  .woocommerce div.product form.cart { flex-wrap: wrap; }
  .woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 8px 6px; font-size: 10px; }
  .woocommerce .woocommerce-products-header h1 { font-size: 36px; }
  .woocommerce ul.products { gap: 15px 9px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .price { padding-inline: 10px; }
  .rkj-info-hero { min-height: 390px; }
  .rkj-info-hero-inner { padding-block: 45px; }
  .rkj-footer-grid { grid-template-columns: 1fr 1fr; gap: 25px 18px; }
  .rkj-footer-grid > :first-child { grid-column: 1/-1; }
  .rkj-footer-bottom { flex-direction: column; gap: 5px; }
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #8d6d35; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
/* Luxury storefront refinements: compact collection strip, real sliders, clear price and wishlist states. */
:root { --rkj-burgundy: #4d1721; --rkj-burgundy-dark: #371018; }
.rkj-announcement { min-height: 34px; display: flex; justify-content: center; align-items: center; gap: 18px; padding: 7px 16px; background: var(--rkj-burgundy); color: #f4ead8; font-size: 9px; font-weight: 600; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.rkj-announcement a { color: #e4c88e; font-size: 9px; letter-spacing: .14em; white-space: nowrap; }
.rkj-announcement a:hover { color: #fff; }
.rkj-header-main { min-height: 82px; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: clamp(8px,1vw,16px); }
.rkj-header-side { gap: clamp(9px,1vw,15px); }
.rkj-header-quick-nav { gap: clamp(9px,1vw,15px); }
.rkj-header-quick-nav a { font-size: 9px; font-weight: 600; letter-spacing: .04em; }
.rkj-header-right { gap: clamp(8px,.9vw,13px); }
.rkj-header-right .rkj-header-quick-nav { gap: clamp(8px,.85vw,12px); }
.rkj-header-icon { min-width: 25px; justify-content: center; }
.rkj-header-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.rkj-wishlist-link svg { fill: none; }
.rkj-wishlist-link.is-wished svg, .rkj-wishlist-link[aria-pressed="true"] svg { fill: #9f3c45; stroke: #9f3c45; }
.rkj-wishlist-count { position: absolute; top: -5px; right: -8px; display: inline-flex; min-width: 16px; height: 16px; align-items: center; justify-content: center; border-radius: 50%; background: var(--rkj-burgundy); color: #fff; font-size: 9px; line-height: 1; }
.rkj-mobile-navigation { display: none; }
.rkj-home-hero { min-height: 0; }
.rkj-home-hero h1 { text-transform: uppercase; }
.rkj-home-categories { padding-block: 36px 44px; background: #f4ecdf; }
.rkj-home-categories .rkj-section-heading { align-items: center; margin-bottom: 19px; }
.rkj-home-categories .rkj-section-heading h2 { margin-top: 7px; font-size: clamp(30px,3.4vw,44px); }
.rkj-home-categories .rkj-section-heading p { max-width: 440px; font-size: 12px; }
.rkj-category-grid.rkj-category-strip { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); grid-auto-flow: row; gap: 10px; overflow: visible; background: transparent; }
.rkj-category-grid.rkj-category-strip .rkj-category-card { min-width: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; overflow: visible; background: transparent; color: var(--rkj-ink); text-align: center; }
.rkj-category-grid.rkj-category-strip .rkj-category-card::after { display: none; }
.rkj-category-grid.rkj-category-strip .rkj-category-card img { position: static; width: 76px; height: 76px; aspect-ratio: 1; border: 1px solid rgba(141,109,53,.2); border-radius: 50%; background: #ebe1d2; object-fit: cover; }
.rkj-category-grid.rkj-category-strip .rkj-category-card span { padding: 0; color: #3b332b; font: 600 10px/1.25 var(--rkj-sans); }
.rkj-category-grid.rkj-category-strip .rkj-category-card:hover img { transform: translateY(-2px); }
.rkj-home-gold-section { background: #fbf8f1; }
.rkj-home-gold-section .rkj-section-heading { align-items: flex-end; }
.rkj-home-gold-section .rkj-section-heading h2 { font-size: clamp(36px,4.6vw,58px); }
.rkj-product-slider-shell { position: relative; }
.rkj-slider-controls { display: flex; justify-content: flex-end; gap: 8px; margin: -8px 0 12px; }
.rkj-slider-arrow { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #bda577; background: transparent; color: #3c3329; font-size: 19px; line-height: 1; transition: background .18s ease,color .18s ease; }
.rkj-slider-arrow:hover:not(:disabled) { background: var(--rkj-ink); color: #fff; }
.rkj-slider-arrow:disabled { opacity: .35; cursor: default; }
.rkj-product-grid.rkj-product-slider-track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 75px) / 6); gap: 15px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 8px; }
.rkj-product-slider-track .rkj-product-card { scroll-snap-align: start; }
.rkj-product-card { position: relative; min-width: 0; }
.rkj-product-card-image { aspect-ratio: 4/5; }
.rkj-wishlist-toggle { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(106,78,51,.22); border-radius: 50%; background: rgba(255,253,249,.94); color: #6f4d39; box-shadow: 0 2px 10px rgba(22,15,10,.08); transition: color .18s ease, background .18s ease, transform .18s ease; }
.rkj-wishlist-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.rkj-wishlist-toggle:hover { transform: translateY(-1px); color: var(--rkj-burgundy); }
.rkj-wishlist-toggle.is-wished { color: #9f3c45; }
.rkj-wishlist-toggle.is-wished svg { fill: #9f3c45; stroke: #9f3c45; }
.rkj-product-card > .rkj-wishlist-toggle-card { position: absolute; z-index: 2; top: 10px; right: 10px; }
.rkj-single-wishlist { margin: 14px 0 4px; }
.rkj-single-wishlist .rkj-wishlist-toggle { width: auto; min-height: 40px; gap: 8px; padding: 8px 12px; border-radius: 0; background: transparent; box-shadow: none; }
.rkj-single-wishlist .rkj-wishlist-toggle .screen-reader-text { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.rkj-price-display { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.rkj-price-values { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.rkj-comparison-price { color: #81796f; font-size: .82em; font-weight: 400; text-decoration-thickness: 1px; }
.rkj-actual-price { color: var(--rkj-ink); font-weight: 600; text-decoration: none; }
.rkj-price-display .rkj-actual-price { text-decoration: none; }
.rkj-price-disclosure { display: block; color: #7b7167; font-size: 8px; font-weight: 400; letter-spacing: .015em; line-height: 1.35; }
.rkj-product-card-price .rkj-price-display { gap: 1px; }
.rkj-product-card-price .rkj-price-values { gap: 6px; }
.rkj-product-card-price .rkj-price-disclosure { font-size: 7px; }
.woocommerce div.product p.price .rkj-price-display, .woocommerce div.product span.price .rkj-price-display { gap: 4px; }
.woocommerce div.product p.price .rkj-price-disclosure, .woocommerce div.product span.price .rkj-price-disclosure { font-size: 9px; }
.rkj-shop-category-nav a { font-size: 11px; font-weight: 600; }
.rkj-wishlist-page { min-height: 55vh; padding: clamp(40px,6vw,72px) 0; }
.rkj-wishlist-hero { margin-bottom: 35px; padding: clamp(26px,4vw,46px); background: #eee3d3; }
.rkj-wishlist-hero h1 { margin: 9px 0 8px; font: 500 clamp(38px,5vw,58px)/1 var(--rkj-serif); }
.rkj-wishlist-hero p { margin: 0; color: #695e51; font-size: 13px; line-height: 1.7; }
.rkj-wishlist-status { min-height: 25px; margin: 0 0 15px; color: #6d6256; font-size: 12px; }
.rkj-wishlist-products-grid { margin-top: 10px; }
.rkj-wishlist-empty { padding: 34px 22px; background: #fbf8f1; text-align: center; }
.rkj-wishlist-empty h2 { margin: 0 0 9px; font: 500 36px/1 var(--rkj-serif); }
.rkj-wishlist-empty p { color: #6d6256; font-size: 13px; }
.rkj-wishlist-empty .rkj-button { margin-top: 10px; }
.rkj-price-display del, .rkj-price-display ins { display: inline; }
.rkj-wishlist-toggle:focus-visible, .rkj-slider-arrow:focus-visible { outline: 2px solid #7b2430; outline-offset: 3px; }

@media (max-width: 1120px) {
  .rkj-header-main { min-height: 76px; }
  .rkj-header-quick-nav { display: none; }
  .rkj-header-brand-wrap { grid-column: 2; grid-row: 1; justify-content: center; }
  .rkj-header-actions { grid-column: 3; grid-row: 1; justify-content: flex-end; }
  .rkj-mobile-navigation { display: flex; align-items: center; gap: 22px; padding: 0 max(4vw,16px) 11px; overflow-x: auto; border-top: 1px solid rgba(199,163,91,.12); scrollbar-width: none; white-space: nowrap; }
  .rkj-mobile-navigation::-webkit-scrollbar { display: none; }
  .rkj-mobile-navigation a { flex: 0 0 auto; color: #51483d; font-size: 9px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
  .rkj-category-grid.rkj-category-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 100px; overflow-x: auto; overflow-y: hidden; padding: 2px 0 8px; scroll-snap-type: x proximity; }
  .rkj-category-grid.rkj-category-strip .rkj-category-card { scroll-snap-align: start; }
  .rkj-product-grid.rkj-product-slider-track { grid-auto-columns: calc((100% - 30px) / 3); }
}
@media (max-width: 600px) {
  .rkj-announcement { min-height: 34px; gap: 7px; padding-inline: 10px; font-size: 7px; letter-spacing: .07em; }
  .rkj-announcement a { font-size: 7px; letter-spacing: .07em; }
  .rkj-header-main { min-height: 62px; gap: 8px; }
  .rkj-brand-name { font-size: 22px; }
  .rkj-brand-caption { margin-top: 5px; font-size: 7px; letter-spacing: .18em; }
  .rkj-header-actions { gap: 11px; }
  .rkj-header-icon svg { width: 18px; height: 18px; }
  .rkj-mobile-navigation { gap: 18px; padding: 0 4vw 10px; }
  .rkj-mobile-navigation a { font-size: 8px; }
  .rkj-home-categories { padding-block: 30px 35px; }
  .rkj-home-categories .rkj-section-heading { display: block; margin-bottom: 18px; }
  .rkj-home-categories .rkj-section-heading h2 { font-size: 35px; }
  .rkj-home-categories .rkj-section-heading p { margin-top: 8px; }
  .rkj-category-grid.rkj-category-strip { grid-auto-columns: 86px; gap: 8px; }
  .rkj-category-grid.rkj-category-strip .rkj-category-card img { width: 64px; height: 64px; }
  .rkj-category-grid.rkj-category-strip .rkj-category-card span { font-size: 9px; }
  .rkj-product-grid.rkj-product-slider-track { grid-auto-columns: calc((100% - 10px) / 2); gap: 10px; }
  .rkj-slider-controls { margin-top: -2px; }
  .rkj-slider-arrow { width: 34px; height: 34px; }
  .rkj-product-card-content { padding: 12px 10px 14px; }
  .rkj-product-card h3 { font-size: 17px; }
  .rkj-product-card-price { font-size: 12px; }
  .rkj-wishlist-toggle { width: 34px; height: 34px; }
  .rkj-product-card > .rkj-wishlist-toggle-card { top: 7px; right: 7px; }
  .rkj-wishlist-page { padding: 32px 0 50px; }
  .rkj-wishlist-hero { margin-bottom: 25px; padding: 25px 20px; }
}

/* Final storefront refinements: consistent clean cards, accessible controls and responsive catalogue layouts. */
.rkj-brand { gap: 2px; }
.rkj-brand-by { margin-top: 1px; color: #71614d; font-size: 8px; letter-spacing: .12em; line-height: 1; }
.rkj-brand-caption { margin-top: 2px; font-size: 9px; line-height: 1.15; letter-spacing: .17em; }
.rkj-brand-emblem { display: flex; align-items: center; justify-content: center; max-width: 78px; max-height: 36px; overflow: hidden; }
.rkj-brand-emblem img { display: block; width: auto; height: auto; max-width: 78px; max-height: 36px; object-fit: contain; }
.rkj-cart-link { overflow: visible; }
.rkj-header-icon.rkj-cart-link { position: relative; }
.rkj-header-icon .rkj-cart-count { position: absolute; top: -7px; right: -7px; z-index: 2; min-width: 17px; height: 17px; padding: 0 4px; border: 1px solid var(--rkj-paper); border-radius: 999px; background: #b58b42; color: #fff; font: 700 9px/1 var(--rkj-sans); box-shadow: 0 1px 4px rgba(18,13,8,.2); }
.rkj-home-hero-category-nav { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.rkj-hero-category-nav a { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 17px; border: 1px solid rgba(226,200,135,.62); background: rgba(15,12,9,.32); color: #f7efe2; font-size: 10px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.rkj-hero-category-nav a:hover, .rkj-hero-category-nav a:focus-visible { border-color: #e2c887; background: #e2c887; color: #17130f; }
.rkj-hero-category-nav a:active { background: #c7a35b; }
.rkj-product-card { background: #fffdf9; }
.rkj-product-card-image { aspect-ratio: 4/5; background: #f4ede2; }
.rkj-product-card-image img { width: 100%; height: 100%; object-fit: contain; }
.rkj-product-card-content { min-height: 83px; padding: 14px 13px 17px; }
.rkj-product-card h3 { margin: 0 0 8px; font: 500 20px/1.08 var(--rkj-serif); }
.rkj-product-card h3 a:hover { color: #785a31; }
.rkj-product-card-price { color: var(--rkj-ink); font-size: 13px; font-weight: 600; }
.rkj-product-card-price del { color: #81796f; font-weight: 400; }
.rkj-product-card-price ins { color: var(--rkj-ink); font-weight: 700; text-decoration: none; }
.rkj-product-card-category { display: none; }
.woocommerce span.onsale, .rkj-product-card .onsale { display: none !important; }
.rkj-slider-controls[hidden] { display: none !important; }
.rkj-product-slider-track { scrollbar-color: #bda577 transparent; scrollbar-width: thin; }
.rkj-product-slider-track:focus-visible { outline: 2px solid #8d6d35; outline-offset: 4px; }
.rkj-home-section .rkj-section-heading h2 { font-size: clamp(36px,4.6vw,58px); }
.rkj-home-category-section:nth-of-type(even) { background: #fbf8f1; }
.rkj-business-card { min-height: 340px; }
.rkj-site-footer .rkj-footer-policy-heading { margin-top: 24px; }
.rkj-gifts-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
.rkj-pagination { margin-top: 38px; text-align: center; }
.rkj-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 38px; padding: 8px 12px; border: 1px solid #d4c7b4; color: #51483d; font-size: 12px; }
.rkj-pagination .page-numbers.current, .rkj-pagination a.page-numbers:hover { border-color: var(--rkj-ink); background: var(--rkj-ink); color: #fff; }
.woocommerce ul.products li.product { padding: 0; background: transparent; }
.woocommerce ul.products li.product .rkj-product-card { height: 100%; }
.rkj-cart-ajax-status { margin: 12px 0 0; padding: 11px 14px; border-left: 2px solid #7b8b4c; background: #f2f1e8; color: #354324; font-size: 12px; line-height: 1.5; }
.rkj-cart-ajax-status.is-error { border-left-color: #9d4233; background: #f7ede8; color: #71372e; }
.rkj-contact-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(30px,6vw,76px); padding-block: 64px 90px; }
.rkj-contact-address, .rkj-contact-form-panel { padding: clamp(24px,4vw,42px); background: #fbf8f1; }
.rkj-contact-layout h2 { margin: 12px 0 18px; font: 500 clamp(30px,4vw,42px)/1 var(--rkj-serif); }
.rkj-contact-address address, .rkj-contact-address p { color: #655b50; font-size: 13px; font-style: normal; line-height: 1.85; }
.rkj-contact-form { margin-top: 22px; }
.rkj-contact-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.rkj-contact-fields p { margin: 0; }
.rkj-contact-fields label { display: block; margin-bottom: 7px; color: #5e5448; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rkj-contact-fields input, .rkj-contact-fields textarea { width: 100%; min-height: 45px; border: 1px solid #d7cbb9; border-radius: 0; background: #fffdf9; padding: 10px 12px; color: var(--rkj-ink); }
.rkj-contact-fields textarea { min-height: 148px; resize: vertical; }
.rkj-contact-message-field { grid-column: 1 / -1; }
.rkj-contact-form .rkj-button { margin-top: 18px; }
.rkj-contact-notice { margin: 12px 0; padding: 12px 14px; border-left: 2px solid #7b8b4c; background: #f2f1e8; color: #354324; font-size: 12px; line-height: 1.5; }
.rkj-contact-notice.is-error { border-left-color: #9d4233; background: #f7ede8; color: #71372e; }
.rkj-contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.rkj-contact-hero { background-position: center 45%; }
.rkj-contact-page .rkj-info-hero::before { background: linear-gradient(90deg, rgba(4,3,2,.78), rgba(4,3,2,.2)); }

@media (max-width: 1120px) {
  .rkj-gifts-grid, .woocommerce ul.products { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .rkj-contact-layout { grid-template-columns: 1fr; }
  .rkj-gifts-grid, .woocommerce ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .rkj-hero-category-nav { gap: 7px; margin-top: 22px; }
  .rkj-hero-category-nav a { min-height: 40px; padding: 9px 12px; font-size: 9px; }
  .rkj-brand-name { font-size: 20px; }
  .rkj-brand-caption { font-size: 7px; letter-spacing: .13em; }
  .rkj-brand-emblem, .rkj-brand-emblem img { max-height: 28px; }
  .rkj-product-card-content { min-height: 75px; padding: 11px 9px 13px; }
  .rkj-product-card h3 { font-size: 17px; }
  .rkj-product-card-price { font-size: 12px; }
  .rkj-gifts-grid, .woocommerce ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rkj-contact-layout { gap: 18px; padding-block: 34px 54px; }
  .rkj-contact-address, .rkj-contact-form-panel { padding: 23px 18px; }
  .rkj-contact-fields { grid-template-columns: 1fr; gap: 13px; }
  .rkj-contact-message-field { grid-column: auto; }
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: #8d6d35; }
/* Royal King Jewellers: premium product-card purchase controls */
.rkj-price-disclosure { display: none !important; }
.rkj-price-display { align-items: flex-start; }
.rkj-price-values { gap: 8px; }
.rkj-product-card-price .rkj-price-display { width: 100%; }
.rkj-product-card-price .rkj-price-values { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 7px; }
.rkj-product-card-price .rkj-comparison-price { font-size: 12px; }
.rkj-product-card-price .rkj-actual-price { font-size: 15px; font-weight: 700; }
.rkj-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 0 12px 14px; }
.rkj-card-button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 7px; border: 1px solid #302820; font: 600 9px/1.2 var(--rkj-sans); letter-spacing: .06em; text-align: center; text-decoration: none !important; text-transform: uppercase; transition: background .18s ease,color .18s ease,border-color .18s ease; }
.rkj-card-add-to-cart { background: #302820; color: #fffdf8 !important; }
.rkj-card-add-to-cart:hover { background: #604832; border-color: #604832; color: #fff !important; }
.rkj-card-buy-now { background: transparent; border-color: #b59a69; color: #5b452a !important; }
.rkj-card-buy-now:hover { background: #b59a69; color: #17130f !important; }
.rkj-card-unavailable { grid-column: 1 / -1; border-color: #d5cabc; color: #84796c; background: #f5efe5; cursor: not-allowed; }
.rkj-related-products .rkj-product-slider-shell { margin-top: 12px; }
.rkj-related-products .rkj-product-grid.rkj-product-slider-track { grid-auto-columns: calc((100% - 75px) / 6); }
.woocommerce div.product p.price .rkj-price-values, .woocommerce div.product span.price .rkj-price-values { align-items: center; gap: 12px; }
.woocommerce div.product p.price .rkj-actual-price, .woocommerce div.product span.price .rkj-actual-price { font-size: 1.08em; }
.woocommerce div.product .rkj-price-disclosure { display: none !important; }
.woocommerce div.product .summary { min-width: 0; }
.woocommerce div.product .woocommerce-product-details__short-description { margin-top: 18px; }
.woocommerce div.product .woocommerce-tabs { margin-top: 30px; }
@media (max-width: 1120px) {
  .rkj-related-products .rkj-product-grid.rkj-product-slider-track { grid-auto-columns: calc((100% - 30px) / 3); }
}
@media (max-width: 600px) {
  .rkj-card-actions { gap: 5px; padding: 0 8px 11px; }
  .rkj-card-button { min-height: 35px; padding: 7px 4px; font-size: 8px; letter-spacing: .025em; }
  .rkj-product-card-price .rkj-comparison-price { font-size: 10px; }
  .rkj-product-card-price .rkj-actual-price { font-size: 13px; }
  .rkj-related-products .rkj-product-grid.rkj-product-slider-track { grid-auto-columns: calc((100% - 10px) / 2); }
}

/* Reduce vertical spacing between homepage product categories only */
.home .rkj-home-section.rkj-home-category-section{padding-top:24px!important;padding-bottom:24px!important}
.home .rkj-home-section.rkj-home-category-section .rkj-section-heading{margin-bottom:18px}
@media(max-width:600px){.home .rkj-home-section.rkj-home-category-section{padding-top:18px!important;padding-bottom:18px!important}}

/* Homepage hero: center all text and actions */
.rkj-home-hero-copy {
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}

.rkj-home-hero h1,
.rkj-home-hero p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.rkj-hero-actions {
    justify-content: center;
}

@media (max-width: 600px) {
    .rkj-home-hero-copy {
        max-width: 100%;
        text-align: center;
    }

    .rkj-home-hero h1,
    .rkj-home-hero p {
        text-align: center;
    }

    .rkj-hero-actions {
        justify-content: center;
    }
}

/* Product cards: Add to Cart and Buy Now */
.rkj-product-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}

.rkj-product-card-actions .button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    border: 1px solid #b99a62;
    border-radius: 2px;
    background: #17130f;
    color: #ffffff;
    transition: opacity 0.2s ease;
}

.rkj-product-card-actions .rkj-buy-now {
    background: #b99a62;
    color: #17130f;
}

.rkj-product-card-actions .button:hover {
    opacity: 0.85;
}

@media (max-width: 600px) {
    .rkj-product-card-actions {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .rkj-product-card-actions .button {
        min-height: 38px;
        font-size: 11px;
    }
}



/* Homepage product image sizing */
.home .rkj-product-card-image {
    height: 250px !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #f5ede0 !important;
}

.home .rkj-product-card-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
}

@media (max-width: 600px) {
    .home .rkj-product-card-image {
        height: 190px !important;
    }
}

/* RKJ: Keep WooCommerce Add to Cart feedback clean on product cards. */
.rkj-product-card .added_to_cart,
.rkj-product-card a.added_to_cart,
.rkj-product-card .wc-forward {
    display: none !important;
}


/* RKJ category heroes: full-width image, no text overlay */
.rkj-category-hero {
    width: 100%;
    margin: 0 0 28px;
    overflow: hidden;
    background: #f5ede0;
}
.rkj-category-hero img {
    display: block;
    width: 100%;
    height: clamp(220px, 34vw, 480px);
    object-fit: cover;
    object-position: center;
}
@media (max-width: 600px) {
    .rkj-category-hero {
        margin-bottom: 20px;
    }
    .rkj-category-hero img {
        height: 220px;
    }
}

/* RKJ single product purchase buttons */
.single-product div.product form.cart .single_add_to_cart_button,
.single-product div.product form.cart button.single_add_to_cart_button {
    background: #302820 !important;
    color: #fffdf8 !important;
    border: 1px solid #302820 !important;
    border-radius: 2px !important;
}
.single-product div.product form.cart .single_add_to_cart_button:hover {
    background: #604832 !important;
}
.single-product div.product form.cart .rkj-single-buy-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-left: 10px;
    padding: 12px 28px;
    background: #b59a69 !important;
    color: #17130f !important;
    border: 1px solid #b59a69 !important;
    border-radius: 2px !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-decoration: none;
}
.single-product div.product form.cart .rkj-single-buy-now:hover {
    background: #c7ad7d !important;
}
@media(max-width:600px) {
    .single-product div.product form.cart .rkj-single-buy-now {
        margin: 10px 0 0;
    }
}

/* RKJ: Hide the description tabs below product gallery; keep summary description */
.single-product .woocommerce div.product > .woocommerce-tabs {
    display: none !important;
}

/* RKJ: Fix related product image sizing and card button alignment */
.rkj-related-products .rkj-product-card {
    min-width: 0;
    overflow: hidden;
}

.rkj-related-products .rkj-product-card img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
}

.rkj-related-products .rkj-card-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.rkj-related-products .rkj-card-actions > * {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
}

.rkj-related-products .rkj-card-actions .added_to_cart,
.rkj-related-products .rkj-card-actions .wc-forward {
    display: none !important;
}

.rkj-related-products .rkj-card-actions .rkj-card-add-to-cart,
.rkj-related-products .rkj-card-actions .rkj-card-buy-now {
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .rkj-related-products .rkj-product-card img {
        height: 210px;
    }
}

/* RKJ: Black state for Added to Cart buttons */
.rkj-related-products .rkj-card-add-to-cart.added,
.rkj-related-products .rkj-card-add-to-cart.added_to_cart,
.rkj-related-products a.rkj-card-add-to-cart.added,
.rkj-related-products .rkj-card-add-to-cart[aria-label*="Added"] {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.rkj-related-products .rkj-card-add-to-cart .check,
.rkj-related-products .rkj-card-add-to-cart .added-to-cart-icon,
.rkj-related-products .rkj-card-add-to-cart svg {
    display: none !important;
}

/* RKJ: Improve navigation and footer readability */
.rkj-primary-navigation .menu a {
    font-size: 12px !important;
    font-weight: 600;
    letter-spacing: .06em;
}

.rkj-header-quick-nav a {
    font-size: 11px !important;
    letter-spacing: .03em;
}

.rkj-mobile-navigation a {
    font-size: 11px !important;
    letter-spacing: .04em;
}

.rkj-site-footer h2,
.rkj-site-footer h3 {
    font-size: 12px !important;
}

.rkj-site-footer p,
.rkj-site-footer a {
    font-size: 13px !important;
    line-height: 2;
}

.rkj-footer-bottom {
    font-size: 11px !important;
}

.rkj-shop-category-nav a {
    font-size: 12px !important;
}

/* RKJ: Header font size and premium hover highlight */
.rkj-primary-navigation .menu a,
.rkj-header-quick-nav a,
.rkj-mobile-navigation a {
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: color .25s ease;
}

.rkj-primary-navigation .menu a:hover,
.rkj-header-quick-nav a:hover,
.rkj-mobile-navigation a:hover {
    color: #B8924A !important;
}

/* RKJ: Gifts page cinematic hero */
.rkj-gifting-hero {
    position: relative;
    width: 100%;
    height: clamp(260px, 38vw, 500px);
    margin: 0 0 38px;
    overflow: hidden;
    background: #17130f;
}
.rkj-gifting-hero img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
.rkj-gifting-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    color: #fff;
    background: linear-gradient(90deg, rgba(0,0,0,.48), rgba(0,0,0,.12), rgba(0,0,0,.42));
}
.rkj-gifting-hero-overlay span {
    font-size: 11px;
    letter-spacing: .2em;
    font-weight: 600;
}
.rkj-gifting-hero-overlay h2 {
    margin: 14px 0 10px;
    color: #fff;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.1;
}
.rkj-gifting-hero-overlay p {
    margin: 0;
    color: #fff;
    font-size: clamp(13px, 1.5vw, 17px);
}
@media (max-width: 600px) {
    .rkj-gifting-hero {
        height: 300px;
        margin-bottom: 26px;
    }
    .rkj-gifting-hero-overlay span {
        font-size: 9px;
        letter-spacing: .12em;
    }
}

/* RKJ: Show complete product images on Gifts page */
.rkj-gifts-page .rkj-gifts-grid .rkj-product-card img,
.rkj-gifts-page .rkj-gifts-grid .woocommerce-LoopProduct-link img,
.rkj-gifts-page .rkj-gifts-grid img {
    object-fit: contain !important;
    object-position: center center !important;
}

.rkj-gifts-page .rkj-gifts-grid .rkj-product-card .rkj-product-image,
.rkj-gifts-page .rkj-gifts-grid .rkj-product-image {
    overflow: hidden;
}


/* RKJ: Gifts product cards - prevent image cropping */
.rkj-gifts-page .rkj-gifts-grid .rkj-product-card-image {
    height: 300px !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.rkj-gifts-page .rkj-gifts-grid .rkj-product-card-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 8px !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
}

@media (max-width: 600px) {
    .rkj-gifts-page .rkj-gifts-grid .rkj-product-card-image {
        height: 220px !important;
    }
}

/* RKJ: Gifts - larger product images */
.rkj-gifts-page .rkj-gifts-grid .rkj-product-card-image {
    height: 380px !important;
    min-height: 380px !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
}

.rkj-gifts-page .rkj-gifts-grid .rkj-product-card-image img {
    width: 100% !important;
    height: 100% !important;
    padding: 2px !important;
    object-fit: contain !important;
    object-position: center !important;
}

@media (max-width: 600px) {
    .rkj-gifts-page .rkj-gifts-grid .rkj-product-card-image {
        height: 280px !important;
        min-height: 280px !important;
    }
}

/* RKJ FIX: Gifts cards restore original size, fit full image */
.rkj-gifts-page .rkj-gifts-grid .rkj-product-card-image {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 5 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.rkj-gifts-page .rkj-gifts-grid .rkj-product-card-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 4 / 5 !important;
    padding: 4px !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
}

/* RKJ FIX: Fill Gifts image area without changing card dimensions */
.rkj-gifts-page .rkj-gifts-grid .rkj-product-card-image {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 5 !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: block !important;
}

.rkj-gifts-page .rkj-gifts-grid .rkj-product-card-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
}

/* RKJ FINAL: Gifts images fill frame while preserving card size */
.rkj-gifts-page .rkj-gifts-grid .rkj-product-card-image {
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    overflow: hidden !important;
    display: block !important;
    padding: 0 !important;
}

.rkj-gifts-page .rkj-gifts-grid .rkj-product-card-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
}

/* Royal King Jewellers - centered header logo */
.rkj-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0;
}
.rkj-header-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 210px;
    max-height: 64px;
    object-fit: contain;
}
@media (max-width: 768px) {
    .rkj-header-logo {
        max-width: 145px;
        max-height: 48px;
    }
}
@media (max-width: 390px) {
    .rkj-header-logo {
        max-width: 125px;
        max-height: 43px;
    }
}

/* Header logo - slightly larger size */
.rkj-header-logo {
    max-width: 250px;
    max-height: 76px;
}
@media (max-width: 768px) {
    .rkj-header-logo {
        max-width: 170px;
        max-height: 55px;
    }
}
@media (max-width: 390px) {
    .rkj-header-logo {
        max-width: 145px;
        max-height: 48px;
    }
}

/* Header logo - further size increase */
.rkj-header-logo {
    max-width: 285px;
    max-height: 86px;
}
@media (max-width: 768px) {
    .rkj-header-logo {
        max-width: 185px;
        max-height: 60px;
    }
}
@media (max-width: 390px) {
    .rkj-header-logo {
        max-width: 155px;
        max-height: 52px;
    }
}

/* Category product card size and image fix */
.woocommerce ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 12px; }
.woocommerce ul.products li.product a img { width: 100%%; aspect-ratio: 4 / 5; height: auto; margin: 0 0 10px; padding: 0; object-fit: contain; background: #f5ede0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 10px; font-size: 16px; line-height: 1.25; }
.woocommerce ul.products li.product .price { padding: 0 10px; font-size: 13px; }
@media (max-width: 1024px) { .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 9px; } .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px; } }
.woocommerce ul.products li.product a img { display: block; width: 100%; height: 280px; padding: 0; margin: 0 0 10px; aspect-ratio: auto; object-fit: cover; object-position: center; background: #f5ede0; }
@media (max-width: 600px) { .woocommerce ul.products li.product a img { height: 190px; } }

/* FIX: Mobile homepage hero text overlay */
@media screen and (max-width: 767px) {
  .rkj-home-hero {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: stretch !important;
    height: 620px !important;
    min-height: 540px !important;
    overflow: hidden !important;
    background: #120f0c !important;
  }

  .rkj-home-hero .rkj-home-hero-image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    z-index: 0 !important;
  }

  .rkj-home-hero .rkj-home-hero-shade {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background: linear-gradient(
      0deg,
      rgba(0,0,0,.78) 0%,
      rgba(0,0,0,.30) 55%,
      rgba(0,0,0,.08) 100%
    ) !important;
  }

  .rkj-home-hero .rkj-home-hero-inner {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    padding: 30px 6vw !important;
    margin-top: auto !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  .rkj-home-hero .rkj-home-hero-copy {
    max-width: 100% !important;
  }
}

/* Mobile hero: preserve original image height, overlay text */
@media screen and (max-width: 767px) {
  .rkj-home-hero {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #120f0c !important;
  }

  .rkj-home-hero .rkj-home-hero-image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .rkj-home-hero .rkj-home-hero-shade {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
  }

  .rkj-home-hero .rkj-home-hero-inner {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 1.86 / 1 !important;
    display: flex !important;
    align-items: flex-end !important;
    padding: 12px 6vw 18px !important;
    margin: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }
}

/* Final mobile hero overlay size adjustment */
@media screen and (max-width: 767px) {
  .rkj-home-hero .rkj-home-hero-inner {
    aspect-ratio: auto !important;
    min-height: 0 !important;
    padding: 8px 5vw 12px !important;
    margin: 0 !important;
    align-items: flex-end !important;
    background: transparent !important;
  }

  .rkj-home-hero .rkj-home-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  .rkj-home-hero h1 {
    font-size: clamp(27px, 7.5vw, 34px) !important;
    line-height: 1.02 !important;
    margin: 8px 0 10px !important;
  }

  .rkj-home-hero p {
    font-size: 9px !important;
    line-height: 1.5 !important;
  }

  .rkj-home-hero .rkj-hero-actions {
    gap: 8px !important;
    margin-top: 12px !important;
  }
}

/* FINAL MOBILE HERO: Compact text and buttons */
@media screen and (max-width: 767px) {

  .rkj-home-hero .rkj-home-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  .rkj-home-hero .rkj-eyebrow {
    font-size: 8px !important;
    letter-spacing: .12em !important;
  }

  .rkj-home-hero h1 {
    font-size: clamp(23px, 6.2vw, 28px) !important;
    line-height: 1.02 !important;
    margin: 6px 0 8px !important;
    letter-spacing: -.025em !important;
  }

  .rkj-home-hero p {
    font-size: 8px !important;
    line-height: 1.4 !important;
    letter-spacing: .07em !important;
  }

  .rkj-home-hero .rkj-hero-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 10px !important;
  }

  .rkj-home-hero .rkj-hero-actions .rkj-button {
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 9px 15px !important;
    font-size: 8px !important;
    line-height: 1.3 !important;
    letter-spacing: .08em !important;
  }
}

/* FINAL FIX: Restore mobile hero image size, compact text only */
@media screen and (max-width: 767px) {

  .rkj-home-hero {
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .rkj-home-hero .rkj-home-hero-image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .rkj-home-hero .rkj-home-hero-shade {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
  }

  .rkj-home-hero .rkj-home-hero-inner {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    aspect-ratio: 1.86 / 1 !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 8px 5vw 12px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
  }

  .rkj-home-hero .rkj-home-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  .rkj-home-hero .rkj-eyebrow {
    font-size: 7px !important;
  }

  .rkj-home-hero h1 {
    font-size: clamp(21px, 5.8vw, 26px) !important;
    line-height: 1.02 !important;
    margin: 5px 0 7px !important;
  }

  .rkj-home-hero p {
    font-size: 7px !important;
    line-height: 1.4 !important;
    letter-spacing: .06em !important;
  }

  .rkj-home-hero .rkj-hero-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
    margin-top: 8px !important;
  }

  .rkj-home-hero .rkj-hero-actions .rkj-button {
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 7px 12px !important;
    font-size: 7px !important;
    line-height: 1.3 !important;
  }
}
