/*
Theme Name: Royal Quality
Theme URI: http://localhost/mobstore/wordpress/
Author: Codex
Description: Custom WooCommerce theme for Royal Quality Computer & Mob Shop.
Version: 1.0.0
Text Domain: royal-quality
*/

:root {
	--rq-ink: #10151d;
	--rq-muted: #667085;
	--rq-line: #e5e9f0;
	--rq-bg: #f5f7fb;
	--rq-card: #ffffff;
	--rq-blue: #075fb6;
	--rq-blue-dark: #063f7f;
	--rq-gold: #f8c21c;
	--rq-green: #11a36a;
	--rq-radius: 8px;
	--rq-shadow: 0 18px 45px rgba(16, 21, 29, 0.1);
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--rq-ink); background: var(--rq-bg); font-family: Arial, Helvetica, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.rq-container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.rq-topbar { background: linear-gradient(90deg, #1D4ED8, #1E3A8A); color: #fff; font-size: 13px; box-shadow: 0 8px 22px rgba(15,23,42,0.12); }
.rq-topbar__inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 800; }
.rq-topbar a { color: #fff; }
.rq-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.98); border-bottom: 1px solid rgba(15,23,42,0.09); backdrop-filter: blur(16px); box-shadow: 0 12px 32px rgba(15,23,42,0.07); }
.rq-header__inner { min-height: 222px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.rq-brand { display: flex; align-items: center; gap: 14px; flex: 0 0 610px; font-weight: 900; letter-spacing: 0; }
.rq-brand img { width: 572px; height: 216px; object-fit: contain; }
.rq-brand span { display: none; }
.rq-brand small { color: var(--rq-muted); font-size: 12px; font-weight: 700; }
.rq-nav { display: flex; align-items: center; justify-content: center; gap: 7px; flex: 1 1 auto; min-width: 0; font-weight: 800; font-size: 12px; color: #0f172a; }
.rq-nav a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 0; white-space: nowrap; }
.rq-nav a:hover { color: var(--rq-blue); }
.rq-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: 0 0 auto; }
.rq-button, .button, .wp-element-button, button, input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 10px 12px; border-radius: 6px; border: 1px solid var(--rq-blue); background: var(--rq-blue); color: #fff; font-weight: 800; cursor: pointer; white-space: nowrap; }
.rq-button:hover, .button:hover, .wp-element-button:hover { background: var(--rq-blue-dark); color: #fff; }
.rq-button--light { background: #fff; color: var(--rq-blue); }
.rq-hero { position: relative; color: #fff; background: linear-gradient(90deg, rgba(7,17,31,0.62), rgba(7,17,31,0.34) 44%, rgba(7,17,31,0.02)), url("assets/images/hero-background-royal.png") center center/contain no-repeat #f7f3ed; }
.rq-hero::before { content: ""; position: absolute; inset: 0; background: rgba(4, 13, 25, 0.02); }
.rq-hero__inner { position: relative; z-index: 1; }
.rq-hero__inner { min-height: 760px; display: grid; place-items: center; padding: 54px 0; }
.rq-hero__inner > div:not(.rq-hero__slider) { position: relative; z-index: 3; text-align: center; max-width: 650px; }
.rq-hero h1 { margin: 0; font-size: clamp(38px, 6vw, 74px); line-height: 0.98; letter-spacing: 0; }
.rq-hero p { max-width: 610px; margin-left: auto; margin-right: auto; color: rgba(255,255,255,0.86); font-size: 18px; }
.rq-payment-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 12px; }
.rq-payment-badges span { display: inline-flex; align-items: center; justify-content: center; width: 150px; height: 58px; padding: 7px; border-radius: 8px; background: rgba(255,255,255,0.96); box-shadow: 0 10px 24px rgba(0,0,0,0.16); }
.rq-payment-badges img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.rq-header-payments { display: flex; align-items: center; gap: 7px; flex-wrap: nowrap; justify-content: flex-end; }
.rq-header-payments img { width: 74px; height: 34px; object-fit: contain; padding: 5px; border: 1px solid var(--rq-line); border-radius: 6px; background: #fff; }
.rq-header-payments span { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 5px 10px; border: 1px solid var(--rq-line); border-radius: 6px; background: #fff; color: var(--rq-ink); font-size: 12px; font-weight: 900; white-space: nowrap; }
.rq-cart-button { gap: 7px; box-shadow: 0 8px 18px rgba(7,95,182,0.08); }
.rq-cart-button__icon { display: inline-grid; place-items: center; width: 18px; height: 18px; font-size: 16px; line-height: 1; }
.rq-woo-payment-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 16px 0; }
.rq-woo-payment-badges span { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 6px 10px; border: 1px solid var(--rq-line); border-radius: 7px; background: #fff; box-shadow: 0 8px 20px rgba(16,21,29,0.06); }
.rq-woo-payment-badges img { width: 82px; height: 28px; object-fit: contain; display: block; }
.rq-woo-payment-badges__cod { color: var(--rq-ink); font-size: 13px; font-weight: 900; white-space: nowrap; }
.woocommerce-checkout #payment ul.payment_methods li img.rq-checkout-gateway-logo { max-height: 28px; width: auto; margin-left: 8px; vertical-align: middle; border: 0; padding: 0; }
.woocommerce-checkout #payment ul.payment_methods li label { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.rq-hero__slider { position: absolute; left: -190px; top: 96px; bottom: auto; transform: none; z-index: 2; width: 340px; min-height: 220px; border-radius: 8px; overflow: hidden; box-shadow: var(--rq-shadow); background: transparent; }
.rq-hero__slider--left { right: auto; opacity: 1; }
.rq-hero__slider--left .rq-slide { padding: 18px; }
.rq-hero__slider--left .rq-slide strong { font-size: 22px; }
.rq-hero__slider--left .rq-slide span { font-size: 13px; }
.rq-slide { position: absolute; inset: 0; display: flex; align-items: end; padding: 26px; background-size: cover; background-position: center; opacity: 0; animation: rqHeroSlider 15s infinite; }
.rq-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,10,18,0.02), rgba(5,10,18,0.42)); }
.rq-slide div { position: relative; z-index: 1; display: grid; gap: 4px; color: #fff; }
.rq-slide strong { font-size: 30px; line-height: 1.05; }
.rq-slide span { color: rgba(255,255,255,0.82); font-weight: 700; }
.rq-right-slide--one { background-image: url("assets/images/slider-mobile-laptop-watch.png"); animation-delay: 0s; }
.rq-right-slide--two { background-image: url("https://images.unsplash.com/photo-1517336714731-489689fd1ca8?auto=format&fit=crop&w=1600&q=90"); animation-delay: 5s; }
.rq-right-slide--three { background-image: url("https://images.unsplash.com/photo-1580910051074-3eb694886505?auto=format&fit=crop&w=1600&q=90"); animation-delay: 10s; }
.rq-left-slide--one { background-image: url("https://images.unsplash.com/photo-1527864550417-7fd91fc51a46?auto=format&fit=crop&w=1200&q=90"); animation-delay: 0s; }
.rq-left-slide--two { background-image: url("https://images.unsplash.com/photo-1550009158-9ebf69173e03?auto=format&fit=crop&w=1200&q=90"); animation-delay: 5s; }
.rq-left-slide--three { background-image: url("https://images.unsplash.com/photo-1555774698-0b77e0d5fac6?auto=format&fit=crop&w=1200&q=90"); animation-delay: 10s; }
@keyframes rqHeroSlider {
	0%, 30% { opacity: 1; transform: scale(1); }
	35%, 100% { opacity: 0; transform: scale(1.04); }
}
.rq-section { padding: 56px 0; }
.rq-section__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.rq-section h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.08; }
.rq-section p { color: var(--rq-muted); }
.rq-section-action { display: flex; justify-content: center; margin-top: 24px; }
.rq-final-action { padding-top: 10px; text-align: center; }
.rq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rq-card { background: var(--rq-card); border: 1px solid var(--rq-line); border-radius: var(--rq-radius); padding: 22px; box-shadow: 0 10px 28px rgba(16,21,29,0.06); }
.rq-card h3 { margin: 0 0 8px; font-size: 20px; }
.rq-card__icon { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 14px; background: #eaf3ff; color: var(--rq-blue); font-weight: 900; }
.rq-category-card { padding: 0; overflow: hidden; }
.rq-category-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rq-category-card h3, .rq-category-card p { margin-left: 22px; margin-right: 22px; }
.rq-category-card h3 { margin-top: 18px; }
.rq-category-card p { margin-bottom: 22px; }
.rq-products ul.products { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; align-items: stretch; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { float: none !important; clear: none !important; width: auto !important; min-width: 0; height: 100%; margin: 0 !important; background: #fff; border: 1px solid var(--rq-line); border-radius: 8px; padding: 12px; box-shadow: 0 10px 28px rgba(16,21,29,0.06); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--rq-ink); font-size: 17px; font-weight: 900; }
.woocommerce ul.products li.product .price { color: var(--rq-blue); font-weight: 900; }
.rq-footer { background: var(--rq-ink); color: #fff; padding: 42px 0 20px; }
.rq-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
.rq-footer p, .rq-footer a { color: rgba(255,255,255,0.74); }
.rq-page { padding: 46px 0; }
.rq-page__panel { background: #fff; border: 1px solid var(--rq-line); border-radius: 8px; padding: 28px; }
.woocommerce div.product { background: #fff; border-radius: 8px; padding: 24px; border: 1px solid var(--rq-line); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--rq-blue); }

/* Royal Quality homepage polish */
.rq-header__inner { min-height: 222px; }
.rq-brand { flex: 0 0 610px; }
.rq-brand img { width: 572px; height: 216px; }
.rq-nav { gap: 7px; }
.rq-hero { overflow: hidden; background-size: min(1500px, 100%) auto; }
.rq-hero__inner { min-height: 620px; padding: 64px 0; }
.rq-hero__content h1 { font-size: clamp(34px, 4.8vw, 58px); line-height: 1.05; max-width: 740px; }
.rq-hero__content p { max-width: 680px; font-size: clamp(15px, 1.7vw, 18px); }
.rq-hero__slider { left: -145px; top: 104px; width: 330px; min-height: 210px; }
.rq-section--white { background: #fff; }
.rq-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rq-icon-card span { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 8px; background: #eaf3ff; color: var(--rq-blue); font-weight: 900; font-size: 22px; }
.rq-brand-strip { padding: 26px 0; background: #fff; border-block: 1px solid var(--rq-line); }
.rq-brand-strip .rq-container { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.rq-brand-strip span { display: grid; place-items: center; min-height: 58px; border: 1px solid var(--rq-line); border-radius: 8px; background: #f8fafc; color: var(--rq-ink); font-weight: 900; }
.rq-review strong { color: var(--rq-gold); letter-spacing: 2px; }
.rq-review span { color: var(--rq-muted); font-weight: 800; }
.rq-product-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.rq-product-card { min-width: 0; height: 100%; min-height: 385px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rq-line); border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(16,21,29,0.07); }
.rq-product-card__media { display: block; padding: 10px 10px 0; background: #fff; }
.rq-product-card__image, .rq-product-card__media img { display: block; width: 100%; height: 150px; object-fit: cover; border-radius: 6px; background: #f4f6f8; }
.rq-product-card__body { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 12px; }
.rq-product-card__title { min-height: 42px; margin: 0; font-size: 14px; line-height: 1.35; font-weight: 900; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rq-product-card__price { min-height: 24px; color: var(--rq-blue); font-size: 15px; font-weight: 900; }
.rq-product-card__cart, .rq-product-card__whatsapp { width: 100%; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 10px; border-radius: 6px; font-size: 13px; font-weight: 900; line-height: 1.2; text-align: center; white-space: normal; }
.rq-product-card__cart { margin-top: auto; border: 1px solid var(--rq-blue); background: var(--rq-blue); color: #fff; }
.rq-product-card__whatsapp { border: 1px solid var(--rq-green); background: var(--rq-green); color: #fff; }
.rq-product-card__cart:hover, .rq-product-card__whatsapp:hover { color: #fff; filter: brightness(0.93); }
.rq-whatsapp-product { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 40px; margin-top: 8px; padding: 8px 10px; border-radius: 6px; border: 1px solid var(--rq-green); color: #fff; background: var(--rq-green); font-weight: 900; font-size: 13px; text-align: center; white-space: normal; }
.rq-whatsapp-product:hover { color: #fff; filter: brightness(0.92); }
.rq-empty-products { padding: 18px; border-radius: 8px; background: #fff; border: 1px solid var(--rq-line); }
.rq-product-pagination { margin-top: 24px; }
.rq-product-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 0; list-style: none; }
.rq-product-pagination a, .rq-product-pagination span { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; border-radius: 6px; border: 1px solid var(--rq-line); background: #fff; color: var(--rq-blue); font-weight: 900; }
.rq-product-pagination .current { background: var(--rq-blue); color: #fff; border-color: var(--rq-blue); }
.rq-footer { padding-top: 52px; }
.rq-footer__grid { grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr; }
.rq-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.rq-socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; background: transparent; color: #fff; transition: transform 0.2s ease, filter 0.2s ease; }
.rq-socials a:hover { filter: brightness(1.08); transform: translateY(-2px); }
.rq-socials svg { width: 30px; height: 30px; display: block; }
.rq-footer__bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.14); }
.rq-contact-hero { padding: 64px 0; background: linear-gradient(135deg, rgba(7,95,182,0.95), rgba(16,21,29,0.92)), url("assets/images/hero-background-royal.png") center/cover no-repeat; color: #fff; text-align: center; }
.rq-contact-hero p { margin: 0 0 8px; color: var(--rq-gold); font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
.rq-contact-hero h1 { max-width: 820px; margin: 0 auto 12px; font-size: clamp(34px, 5vw, 58px); line-height: 1.05; letter-spacing: 0; }
.rq-contact-hero span { display: block; max-width: 700px; margin: 0 auto; color: rgba(255,255,255,0.84); font-size: 17px; }
.rq-contact-page { padding-top: 42px; }
.rq-contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr); gap: 20px; align-items: start; }
.rq-contact-card { background: #fff; border: 1px solid var(--rq-line); border-radius: 8px; box-shadow: 0 16px 38px rgba(16,21,29,0.08); padding: 24px; }
.rq-contact-card h2 { margin: 0 0 8px; font-size: 25px; line-height: 1.15; }
.rq-contact-card p { margin-top: 0; color: var(--rq-muted); }
.rq-contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.rq-contact-form label { display: grid; gap: 7px; color: var(--rq-ink); font-size: 13px; font-weight: 900; }
.rq-contact-form input, .rq-contact-form textarea { width: 100%; border: 1px solid var(--rq-line); border-radius: 7px; background: #f8fafc; color: var(--rq-ink); font: inherit; padding: 12px 13px; outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.rq-contact-form input:focus, .rq-contact-form textarea:focus { border-color: var(--rq-blue); box-shadow: 0 0 0 3px rgba(7,95,182,0.12); background: #fff; }
.rq-contact-form textarea { resize: vertical; min-height: 150px; }
.rq-contact-form__wide, .rq-contact-form button { grid-column: 1 / -1; }
.rq-contact-form__trap { position: absolute; left: -9999px; }
.rq-contact-side { display: grid; gap: 20px; }
.rq-contact-info { display: grid; gap: 12px; margin-top: 16px; }
.rq-contact-info a, .rq-contact-info div { display: grid; gap: 3px; padding: 14px; border-radius: 8px; border: 1px solid var(--rq-line); background: #f8fafc; }
.rq-contact-info strong { color: var(--rq-blue); font-size: 12px; text-transform: uppercase; letter-spacing: 0; }
.rq-contact-info span { color: var(--rq-ink); font-weight: 800; overflow-wrap: anywhere; }
.rq-contact-socials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.rq-contact-socials a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 9px 10px; border: 1px solid var(--rq-line); border-radius: 8px; background: #f8fafc; color: var(--rq-ink); font-weight: 900; }
.rq-contact-socials a:hover { border-color: var(--rq-blue); color: var(--rq-blue); background: #fff; }
.rq-contact-socials span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--rq-blue); color: #fff; font-size: 11px; font-weight: 900; }
.rq-contact-map { margin-top: 20px; padding: 0; overflow: hidden; }
.rq-contact-map > div { padding: 24px 24px 0; }
.rq-contact-map iframe { display: block; width: 100%; height: 420px; border: 0; margin-top: 10px; background: #e9eef5; }
.rq-form-notice { margin: 16px 0 0; padding: 12px 14px; border-radius: 7px; font-weight: 800; }
.rq-form-notice--success { background: #e9f8f1; color: #08633e; border: 1px solid #bce8d2; }
.rq-form-notice--error { background: #fff2f2; color: #9b1c1c; border: 1px solid #ffd0d0; }

@media (max-width: 900px) {
	.rq-header__inner, .rq-topbar__inner, .rq-section__head { align-items: flex-start; flex-direction: column; }
	.rq-nav { width: 100%; justify-content: flex-start; flex-wrap: wrap; row-gap: 2px; }
	.rq-hero__inner { display: grid; grid-template-columns: 1fr; min-height: auto; padding-bottom: 54px; }
	.rq-hero__slider, .rq-hero__slider--left { position: relative; left: auto; right: auto; top: auto; bottom: auto; transform: none; width: 100%; min-height: 220px; margin-top: 18px; }
	.rq-grid, .rq-grid--four, .rq-footer__grid, .rq-brand-strip .rq-container { grid-template-columns: 1fr; }
	.rq-products ul.products, .rq-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rq-header__inner { min-height: auto; padding: 14px 0; }
	.rq-brand { flex: none; }
	.rq-brand img { width: 380px; max-width: 100%; height: 148px; }
	.rq-actions { flex-wrap: wrap; }
	.rq-contact-grid, .rq-contact-form { grid-template-columns: 1fr; }
	.rq-contact-socials { grid-template-columns: 1fr; }
	.rq-contact-map iframe { height: 320px; }
	.rq-hero { background-size: cover; }
	.rq-hero__content h1 { font-size: clamp(32px, 11vw, 44px); }
	.woocommerce ul.products li.product a img, .rq-product-card__image, .rq-product-card__media img { height: 190px; }
}

@media (min-width: 901px) and (max-width: 1200px) {
	.rq-header__inner { gap: 14px; }
	.rq-brand { flex-basis: 390px; }
	.rq-brand img { width: 370px; height: 142px; }
	.rq-nav { gap: 5px; font-size: 11px; }
	.rq-button, .button, .wp-element-button, button, input[type="submit"] { padding-left: 10px; padding-right: 10px; }
	.rq-header-payments span { display: none; }
	.rq-products ul.products, .rq-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
	.rq-products ul.products, .rq-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.rq-product-card { min-height: 350px; }
	.rq-product-card__image, .rq-product-card__media img { height: 135px; }
	.rq-product-card__cart, .rq-product-card__whatsapp { font-size: 12px; }
}

/* Final hero cleanup */
.rq-hero {
	overflow: hidden;
	min-height: clamp(360px, 48vw, 720px);
	background-image: url("assets/images/hero-background-royal.png");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	background-color: #f7f3ed;
}
.rq-hero::before { display: none; }
.rq-hero__inner {
	min-height: 0;
	display: grid;
	place-items: center;
	padding: 0;
}
.rq-hero__slider { display: none !important; }

@media (max-width: 900px) {
	.rq-hero {
		background-position: center center;
		background-size: cover;
		min-height: clamp(260px, 58vw, 520px);
	}
}

/* Final header layout */
.rq-header__inner {
	min-height: 148px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
}
.rq-brand {
	flex: 0 0 385px;
	max-width: 385px;
}
.rq-brand img {
	width: 370px;
	height: 140px;
	object-fit: contain;
}
.rq-header__menu {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
}
.rq-nav {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	font-size: 14px;
}
.rq-nav a {
	white-space: nowrap;
}
.rq-actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
}
.rq-actions > .rq-button:last-child {
	margin-left: 2px;
}
.rq-menu-toggle {
	display: none;
	width: 44px;
	height: 42px;
	padding: 8px;
	border: 1px solid var(--rq-line);
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 8px 18px rgba(16,21,29,0.08);
}
.rq-menu-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	margin: 5px 0;
	border-radius: 999px;
	background: var(--rq-ink);
}
.rq-cart-button__icon {
	width: auto;
	min-width: 20px;
	font-size: 11px;
	text-transform: uppercase;
}

@media (min-width: 901px) and (max-width: 1280px) {
	.rq-header__inner { gap: 14px; }
	.rq-brand { flex-basis: 300px; max-width: 300px; }
	.rq-brand img { width: 290px; height: 110px; }
	.rq-header__menu { gap: 12px; }
	.rq-nav { gap: 9px; font-size: 12px; }
	.rq-actions { gap: 10px; }
	.rq-header-payments span { display: none; }
	.rq-button, .button, .wp-element-button, button, input[type="submit"] { min-height: 40px; padding: 9px 10px; font-size: 13px; }
}

@media (max-width: 900px) {
	.rq-header__inner {
		min-height: auto;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
		padding: 12px 0;
	}
	.rq-brand {
		flex: 0 1 auto;
		max-width: calc(100% - 60px);
	}
	.rq-brand img {
		width: min(320px, 74vw);
		height: auto;
		max-height: 122px;
	}
	.rq-menu-toggle {
		display: block;
	}
	.rq-header__menu {
		display: none;
		flex: 0 0 100%;
		width: 100%;
		padding: 14px 0 4px;
		border-top: 1px solid var(--rq-line);
	}
	.rq-header__menu.is-open {
		display: grid;
		gap: 14px;
	}
	.rq-nav {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		font-size: 14px;
	}
	.rq-nav a {
		min-height: 40px;
		padding: 9px 10px;
		border-radius: 7px;
		background: #f8fafc;
		border: 1px solid var(--rq-line);
	}
	.rq-actions {
		width: 100%;
		justify-content: flex-start;
		flex-wrap: wrap;
	}
}

@media (max-width: 520px) {
	.rq-nav {
		grid-template-columns: 1fr;
	}
	.rq-header-payments {
		width: 100%;
		justify-content: flex-start;
	}
}

/* Product hero slider */
.rq-hero {
	min-height: 0;
	background: #fff;
	position: relative;
}
.rq-hero-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #fff;
}
.rq-hero-slider__track {
	display: grid;
	width: 100%;
}
.rq-hero-slider__slide {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.7s ease;
}
.rq-hero-slider__slide.is-active {
	opacity: 1;
	visibility: visible;
}
.rq-hero-slider__slide img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center;
}
.rq-hero-slider__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 48px;
	height: 48px;
	min-height: 48px;
	padding: 0;
	transform: translateY(-50%);
	border: 1px solid rgba(15,23,42,0.08);
	border-radius: 50%;
	background: rgba(255,255,255,0.92);
	color: var(--rq-blue);
	box-shadow: 0 12px 28px rgba(15,23,42,0.14);
	font-size: 34px;
	font-weight: 900;
	line-height: 1;
}
.rq-hero-slider__arrow:hover {
	background: var(--rq-blue);
	color: #fff;
}
.rq-hero-slider__arrow--prev {
	left: 18px;
}
.rq-hero-slider__arrow--next {
	right: 18px;
}
.rq-hero__content {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 4;
	width: min(680px, calc(100% - 96px));
	transform: translate(-50%, -50%);
	padding: 0;
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
	text-align: center;
	color: #fff;
}
.rq-hero__content h1 {
	margin: 0;
	font-size: clamp(34px, 4.6vw, 58px);
	line-height: 1.06;
	letter-spacing: 0;
	text-shadow: 0 3px 14px rgba(0,0,0,0.42);
}
.rq-hero__content p {
	max-width: 620px;
	margin-left: auto;
	margin-right: auto;
	color: rgba(255,255,255,0.9);
	font-size: clamp(15px, 1.7vw, 18px);
	text-shadow: 0 2px 10px rgba(0,0,0,0.36);
}
.rq-hero__content .rq-actions {
	justify-content: center;
}

@media (max-width: 900px) {
	.rq-hero {
		min-height: 0;
	}
	.rq-hero__content {
		width: min(100% - 44px, 540px);
		padding: 16px 12px;
	}
	.rq-hero__content h1 {
		font-size: clamp(24px, 7vw, 38px);
	}
	.rq-hero__content p {
		font-size: 14px;
		margin-top: 8px;
		margin-bottom: 8px;
	}
	.rq-hero__content .rq-payment-badges span {
		width: 112px;
		height: 44px;
	}
	.rq-hero__content .rq-actions {
		gap: 8px;
	}
	.rq-hero-slider__arrow {
		width: 40px;
		height: 40px;
		min-height: 40px;
		font-size: 28px;
	}
	.rq-hero-slider__arrow--prev {
		left: 10px;
	}
	.rq-hero-slider__arrow--next {
		right: 10px;
	}
}

/* Final menu arrangement */
.rq-header .rq-container {
	width: min(1420px, calc(100% - 32px));
}
.rq-header__inner {
	min-height: 212px;
	display: grid;
	grid-template-columns: 560px minmax(520px, 1fr) auto;
	align-items: center;
	gap: 18px;
}
.rq-brand {
	max-width: 560px;
}
.rq-brand img {
	width: 540px;
	height: 208px;
	object-fit: contain;
}
.rq-header__menu {
	display: contents;
}
.rq-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	font-weight: 900;
}
.rq-nav li {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: nowrap;
}
.rq-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 6px 0;
	white-space: nowrap;
}
.rq-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	min-width: max-content;
}
.rq-header-payments {
	gap: 8px;
}
.rq-header-payments img {
	width: 78px;
	height: 36px;
}

@media (min-width: 901px) and (max-width: 1280px) {
	.rq-header__inner {
		grid-template-columns: 380px minmax(420px, 1fr) auto;
		gap: 14px;
	}
	.rq-brand {
		max-width: 380px;
	}
	.rq-brand img {
		width: 360px;
		height: 138px;
	}
	.rq-nav {
		gap: 8px;
		font-size: 12px;
	}
	.rq-actions {
		gap: 8px;
	}
}

@media (max-width: 900px) {
	.rq-header .rq-container {
		width: min(1180px, calc(100% - 32px));
	}
	.rq-header__inner {
		display: flex;
	}
	.rq-header__menu {
		display: none;
	}
	.rq-header__menu.is-open {
		display: grid;
	}
	.rq-nav {
		display: grid;
	}
}

/* Consistent product cards */
.woocommerce ul.products li.product img,
.rq-product-card__image,
.rq-product-card__media img {
	width: 100%;
	height: 230px;
	object-fit: cover;
	object-position: center;
}
.woocommerce ul.products li.product .price,
.rq-product-card__price {
	margin-bottom: 8px;
}
.rq-product-card {
	min-height: 455px;
}
.rq-product-card__body {
	gap: 7px;
	padding: 12px;
}
.rq-product-card__title {
	min-height: 40px;
	margin-bottom: 0;
}
.rq-product-card__price {
	min-height: 22px;
}

@media (max-width: 900px) {
	.woocommerce ul.products li.product img,
	.rq-product-card__image,
	.rq-product-card__media img {
		height: 190px;
	}
	.rq-product-card {
		min-height: 410px;
	}
}

@media (max-width: 560px) {
	.woocommerce ul.products li.product img,
	.rq-product-card__image,
	.rq-product-card__media img {
		height: 165px;
	}
	.rq-product-card {
		min-height: 380px;
	}
}

/* About page */
.rq-about-hero {
	position: relative;
	padding: 96px 0;
	overflow: hidden;
	background: linear-gradient(90deg, rgba(15,23,42,0.84), rgba(29,78,216,0.58)), url("assets/images/hero-slide-gaming-pc.png") center/cover no-repeat;
	color: #fff;
}
.rq-about-hero__content {
	max-width: 780px;
}
.rq-about-hero h1 {
	margin: 0 0 14px;
	font-size: clamp(38px, 6vw, 68px);
	line-height: 1.02;
	letter-spacing: 0;
}
.rq-about-hero p {
	max-width: 680px;
	margin: 0;
	color: rgba(255,255,255,0.9);
	font-size: clamp(17px, 2vw, 22px);
}
.rq-about-page {
	background: linear-gradient(180deg, #f5f7fb, #fff);
}
.rq-about-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.rq-about-card {
	min-height: 260px;
	padding: 28px;
	border: 1px solid var(--rq-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 16px 38px rgba(16,21,29,0.08);
}
.rq-about-card--wide,
.rq-about-card--promise {
	grid-column: span 2;
}
.rq-about-card span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 18px;
	border-radius: 8px;
	background: #eaf3ff;
	color: var(--rq-blue);
	font-weight: 900;
}
.rq-about-card h2 {
	margin: 0 0 10px;
	font-size: clamp(25px, 3vw, 36px);
	line-height: 1.08;
}
.rq-about-card p {
	max-width: 850px;
	margin: 0;
	color: var(--rq-muted);
	font-size: 16px;
}
.rq-about-card--promise .rq-button {
	margin-top: 22px;
	margin-right: 10px;
}

@media (max-width: 760px) {
	.rq-about-hero {
		padding: 70px 0;
	}
	.rq-about-grid,
	.rq-about-card--wide,
	.rq-about-card--promise {
		display: grid;
		grid-template-columns: 1fr;
		grid-column: auto;
	}
	.rq-about-card {
		min-height: auto;
		padding: 22px;
	}
}

/* Homepage promo images */
.rq-home-promo {
	padding: 34px 0 8px;
	background: #fff;
}
.rq-home-promo__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.rq-home-promo figure {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--rq-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 16px 38px rgba(16,21,29,0.08);
}
.rq-home-promo img {
	display: block;
	width: 100%;
	height: 520px;
	object-fit: cover;
	object-position: center;
}

@media (max-width: 900px) {
	.rq-home-promo {
		padding-top: 22px;
	}
	.rq-home-promo__grid {
		grid-template-columns: 1fr;
	}
	.rq-home-promo img {
		height: auto;
		object-fit: contain;
	}
}

/* Final responsive polish */
html,
body {
	max-width: 100%;
	overflow-x: hidden;
}

input,
select,
textarea,
button {
	max-width: 100%;
}

@media (max-width: 1100px) {
	.rq-header .rq-container {
		width: min(1180px, calc(100% - 32px));
	}
	.rq-header__inner {
		min-height: auto;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
		padding: 12px 0;
		gap: 12px;
	}
	.rq-brand {
		flex: 0 1 auto;
		max-width: calc(100% - 62px);
	}
	.rq-brand img {
		width: min(330px, 74vw);
		height: auto;
		max-height: 126px;
	}
	.rq-menu-toggle {
		display: block;
		flex: 0 0 auto;
	}
	.rq-header__menu {
		display: none;
		flex: 0 0 100%;
		width: 100%;
		padding: 14px 0 4px;
		border-top: 1px solid var(--rq-line);
	}
	.rq-header__menu.is-open {
		display: grid;
		gap: 14px;
	}
	.rq-nav {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
		font-size: 14px;
	}
	.rq-nav li,
	.rq-nav a {
		width: 100%;
	}
	.rq-nav a {
		min-height: 44px;
		justify-content: center;
		padding: 10px;
		border-radius: 7px;
		background: #f8fafc;
		border: 1px solid var(--rq-line);
	}
	.rq-actions {
		width: 100%;
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: 10px;
		min-width: 0;
	}
	.rq-header-payments {
		flex-wrap: wrap;
	}
}

@media (max-width: 700px) {
	.rq-topbar__inner {
		align-items: flex-start;
		flex-direction: column;
		padding: 8px 0;
	}
	.rq-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.rq-button,
	.button,
	.wp-element-button,
	button,
	input[type="submit"] {
		min-height: 46px;
		padding: 11px 14px;
	}
	.rq-hero__content {
		width: min(100% - 28px, 520px);
	}
	.rq-hero__content h1 {
		font-size: clamp(22px, 7vw, 34px);
	}
	.rq-hero__content p {
		font-size: 13px;
		line-height: 1.35;
	}
	.rq-payment-badges {
		gap: 8px;
		margin: 10px 0;
	}
	.rq-hero__content .rq-payment-badges span {
		width: 98px;
		height: 38px;
	}
	.rq-hero__content .rq-actions {
		flex-wrap: wrap;
	}
}

@media (max-width: 520px) {
	.rq-container {
		width: min(100% - 24px, 1180px);
	}
	.rq-nav {
		grid-template-columns: 1fr;
	}
	.rq-actions > .rq-button,
	.rq-actions > .rq-cart-button {
		flex: 1 1 150px;
	}
	.rq-products ul.products,
	.rq-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
	.rq-product-card {
		min-height: auto;
	}
	.woocommerce ul.products li.product img,
	.rq-product-card__image,
	.rq-product-card__media img {
		height: 160px;
	}
	.rq-product-card__body {
		padding: 10px;
		gap: 8px;
	}
	.rq-product-card__title {
		font-size: 14px;
		min-height: 40px;
	}
	.rq-page__panel {
		padding: 18px;
	}
	.rq-section {
		padding: 38px 0;
	}
	.rq-section__head {
		gap: 10px;
		margin-bottom: 18px;
	}
	.rq-section h2 {
		font-size: 28px;
	}
}

.woocommerce-cart table.cart,
.woocommerce-checkout table.shop_table,
.woocommerce table.shop_table {
	max-width: 100%;
}

/* Homepage header and hero viewport fit */
body.home .rq-header__inner,
body.front-page .rq-header__inner {
	min-height: 208px;
}

body.home .rq-hero,
body.front-page .rq-hero {
	margin-top: 0;
	padding-top: 0;
	overflow: hidden;
}

body.home .rq-hero-slider,
body.front-page .rq-hero-slider {
	height: clamp(360px, calc(100vh - 250px), 560px);
	min-height: 0;
}

body.home .rq-hero-slider__track,
body.home .rq-hero-slider__slide,
body.front-page .rq-hero-slider__track,
body.front-page .rq-hero-slider__slide {
	height: 100%;
}

body.home .rq-hero-slider__slide img,
body.front-page .rq-hero-slider__slide img {
	height: 100%;
	object-fit: contain;
	object-position: center top;
}

body.home .rq-hero__content,
body.front-page .rq-hero__content {
	top: 48%;
}

@media (min-width: 901px) and (max-width: 1280px) {
	body.home .rq-header__inner,
	body.front-page .rq-header__inner {
		min-height: 138px;
	}

	body.home .rq-hero-slider,
	body.front-page .rq-hero-slider {
		height: clamp(330px, calc(100vh - 180px), 500px);
	}
}

@media (max-width: 1100px) {
	body.home .rq-header__inner,
	body.front-page .rq-header__inner {
		padding-top: 6px;
		padding-bottom: 6px;
	}
}

@media (max-width: 900px) {
	body.home .rq-hero-slider,
	body.front-page .rq-hero-slider {
		height: clamp(280px, calc(100vh - 170px), 430px);
	}

	body.home .rq-hero__content,
	body.front-page .rq-hero__content {
		top: 50%;
	}
}

@media (max-width: 700px) {
	body.home .rq-topbar__inner,
	body.front-page .rq-topbar__inner {
		padding-top: 5px;
		padding-bottom: 5px;
		gap: 4px;
	}

	body.home .rq-header__inner,
	body.front-page .rq-header__inner {
		gap: 8px;
	}

	body.home .rq-hero-slider,
	body.front-page .rq-hero-slider {
		height: clamp(240px, calc(100vh - 155px), 380px);
	}
}

@media (max-width: 520px) {
	body.home .rq-hero-slider,
	body.front-page .rq-hero-slider {
		height: clamp(220px, calc(100vh - 145px), 340px);
	}
}

/* Landscape product cards */
.rq-products ul.products,
.rq-product-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.woocommerce ul.products li.product img,
.rq-product-card__image,
.rq-product-card__media img {
	aspect-ratio: 16 / 9;
	height: auto;
	object-fit: cover;
	object-position: center;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.rq-product-card {
	min-height: auto;
}

@media (min-width: 1281px) {
	.rq-products ul.products,
	.rq-product-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.rq-products ul.products,
	.rq-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.rq-products ul.products,
	.rq-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

/* Final responsive header tightening */
@media (max-width: 1100px) {
	.rq-header__inner {
		min-height: 0;
		padding-top: 4px;
		padding-bottom: 4px;
	}

	.rq-brand {
		line-height: 0;
	}

	.rq-brand img {
		width: min(260px, 62vw);
		height: 88px;
		object-fit: contain;
		object-position: left center;
	}
}

@media (max-width: 700px) {
	.rq-topbar__inner {
		min-height: 0;
		padding-top: 6px;
		padding-bottom: 6px;
	}

	.rq-header__inner {
		padding-top: 2px;
		padding-bottom: 2px;
	}

	.rq-brand img {
		width: min(210px, 58vw);
		height: 74px;
	}
}

@media (max-width: 1100px) {
	body.home .rq-header__inner,
	body.front-page .rq-header__inner {
		min-height: 96px;
		padding-top: 0;
		padding-bottom: 0;
	}
}

@media (max-width: 700px) {
	body.home .rq-header__inner,
	body.front-page .rq-header__inner {
		min-height: 88px;
	}
}

/* Right-side promotional model. Product grids are not resized or moved. */
.rq-products--promo {
	position: relative;
	overflow: visible;
}

.rq-promo-model-sidebar {
	display: none;
}

@media (min-width: 1560px) {
	.rq-promo-model-sidebar {
		position: absolute;
		top: 128px;
		right: max(18px, calc((100vw - 1180px) / 2 - 250px));
		z-index: 1;
		display: block;
		width: min(232px, calc((100vw - 1180px) / 2 - 34px));
		height: min(640px, calc(100% - 180px));
		min-height: 480px;
		overflow: hidden;
		border-radius: 8px;
		background: #fff;
		box-shadow: 0 18px 45px rgba(16, 21, 29, 0.12);
		pointer-events: none;
	}

	.rq-promo-model-sidebar img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: 78% 8%;
	}
}

@media (max-width: 768px) {
	.woocommerce-cart .woocommerce,
	.woocommerce-checkout .woocommerce,
	.woocommerce-account .woocommerce {
		overflow-x: auto;
	}
	.woocommerce-cart table.cart td,
	.woocommerce-cart table.cart th,
	.woocommerce-checkout table.shop_table td,
	.woocommerce-checkout table.shop_table th {
		padding: 10px 8px;
	}
	.woocommerce form .form-row {
		width: 100% !important;
		float: none !important;
	}
	.woocommerce form .form-row input.input-text,
	.woocommerce form .form-row textarea,
	.woocommerce form .form-row select,
	.select2-container {
		width: 100% !important;
	}
	.woocommerce .col2-set .col-1,
	.woocommerce .col2-set .col-2 {
		width: 100%;
		float: none;
	}
	.woocommerce-checkout #payment ul.payment_methods li label {
		align-items: flex-start;
		flex-wrap: wrap;
	}
}
