/*
Theme Name: RK Trading Library
Theme URI: https://rktradinlibrery.com/
Author: RK Trading Library
Author URI: https://rktradinlibrery.com/
Description: A clean, responsive digital publishing storefront for RK Trading Library. Supports WooCommerce downloadable products.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: rk-trading-library
*/
:root{--rk-navy:#101d32;--rk-navy-2:#192d49;--rk-gold:#c49a52;--rk-cream:#f8f6f0;--rk-ink:#172238;--rk-muted:#687486;--rk-border:#e8e9ec;--rk-white:#fff;--rk-radius:8px;--rk-shadow:0 12px 35px rgba(16,29,50,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--rk-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.7}img{max-width:100%;height:auto}a{color:var(--rk-navy);text-decoration:none}a:hover{color:#9c7334}button,input,select,textarea{font:inherit}.rk-container{width:min(1160px,calc(100% - 40px));margin-inline:auto}.rk-site-header{position:relative;z-index:20;background:var(--rk-navy);color:#fff}.rk-header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}.rk-brand{display:flex;align-items:center;gap:12px;color:#fff;font-size:20px;font-weight:800;letter-spacing:.5px}.rk-brand:hover{color:#fff}.rk-brand-mark{display:grid;place-items:center;width:39px;height:39px;border:1px solid var(--rk-gold);border-radius:50%;color:var(--rk-gold);font-family:Georgia,serif;font-size:18px}.rk-brand-text span{color:#d8b574}.rk-nav{display:flex;align-items:center;gap:25px}.rk-nav a{color:#e6eaf0;font-size:14px;font-weight:600}.rk-nav a:hover{color:#e0bb7b}.rk-nav .rk-nav-cta{background:var(--rk-gold);color:var(--rk-navy);padding:10px 16px;border-radius:4px}.rk-menu-toggle{display:none;background:transparent;border:1px solid #607086;color:#fff;border-radius:5px;padding:8px 11px}.rk-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 82% 35%,rgba(196,154,82,.18),transparent 28%),linear-gradient(115deg,#101d32,#1b3453);color:#fff;padding:88px 0 92px}.rk-hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:55px;align-items:center}.rk-eyebrow,.rk-section-eyebrow{font-size:11px;font-weight:800;letter-spacing:3px;text-transform:uppercase;color:#d8b574}.rk-hero h1{max-width:700px;margin:18px 0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(38px,5vw,61px);line-height:1.12;letter-spacing:-1px;color:#fff}.rk-hero-copy{max-width:590px;color:#d0d8e3;font-size:16px;line-height:1.9}.rk-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:29px}.rk-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:13px 21px;border:1px solid transparent;border-radius:4px;font-size:13px;font-weight:800;transition:.2s}.rk-button-primary{background:var(--rk-gold);color:var(--rk-navy)}.rk-button-primary:hover{background:#dfba7c;color:var(--rk-navy);transform:translateY(-1px)}.rk-button-outline{border-color:#8492a5;color:#fff}.rk-button-outline:hover{border-color:#d8b574;color:#d8b574}.rk-hero-art{min-height:330px;display:grid;place-items:center;position:relative}.rk-book-mock{width:230px;min-height:305px;padding:27px 20px;display:flex;flex-direction:column;justify-content:space-between;text-align:center;color:#fff;background:linear-gradient(145deg,#294666,#0a1424);border:1px solid #c49a52;box-shadow:22px 25px 45px rgba(0,0,0,.32);transform:rotate(-5deg)}.rk-book-mock small,.rk-book-mock em{font-size:9px;letter-spacing:2px;color:#e0bd7d;font-style:normal}.rk-book-mock strong{font-family:Georgia,serif;font-size:27px;line-height:1.25}.rk-book-chart{font-size:43px;color:#d9b777}.rk-trust-strip{background:var(--rk-cream);padding:23px 0}.rk-trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;text-align:center}.rk-trust-item strong{display:block;color:var(--rk-navy);font-size:14px}.rk-trust-item span{color:var(--rk-muted);font-size:12px}.rk-section{padding:78px 0}.rk-section-head{text-align:center;max-width:700px;margin:0 auto 38px}.rk-section-eyebrow{color:#a77d3d}.rk-section-title{margin:10px 0 12px;color:var(--rk-navy);font-family:Georgia,"Times New Roman",serif;font-size:clamp(30px,4vw,41px);line-height:1.2}.rk-section-desc{margin:0;color:var(--rk-muted);font-size:14px}.rk-feature{background:var(--rk-cream)}.rk-feature-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:65px;align-items:center}.rk-cover-panel{min-height:410px;display:grid;place-items:center;padding:30px;background:var(--rk-navy)}.rk-cover-placeholder{width:225px;min-height:320px;padding:28px 18px;display:flex;flex-direction:column;justify-content:space-between;text-align:center;color:#fff;border:1px solid var(--rk-gold);background:linear-gradient(145deg,#294666,#0b1628);box-shadow:12px 15px 30px #0005}.rk-cover-placeholder strong{font-family:Georgia,serif;font-size:25px;line-height:1.25}.rk-cover-placeholder span{font-size:9px;letter-spacing:2px;color:#e0bd7d}.rk-feature-copy h2{margin:12px 0 16px;color:var(--rk-navy);font-family:Georgia,serif;font-size:clamp(30px,4vw,39px);line-height:1.2}.rk-feature-copy p{color:var(--rk-muted);font-size:14px}.rk-check-list{padding:0;margin:20px 0 25px;list-style:none}.rk-check-list li{margin:8px 0;color:#35445a;font-size:14px}.rk-check-list li:before{content:"✓";margin-right:11px;color:#a77d3d;font-weight:900}.rk-product-section{background:#fff}.rk-product-section .woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:30px 0 0;padding:0}.rk-product-section .woocommerce ul.products:before,.rk-product-section .woocommerce ul.products:after{display:none}.rk-product-section .woocommerce ul.products li.product{float:none;width:auto;margin:0;padding:18px;border:1px solid var(--rk-border);border-radius:var(--rk-radius);background:#fff;box-shadow:0 4px 18px rgba(16,29,50,.04);transition:.2s}.rk-product-section .woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:var(--rk-shadow)}.rk-product-section .woocommerce ul.products li.product a img{border-radius:5px;aspect-ratio:4/3;object-fit:contain;background:var(--rk-cream);margin:0 0 15px}.rk-product-section .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px;color:var(--rk-navy);padding:0 0 8px}.rk-product-section .woocommerce ul.products li.product .price{color:#9b7133;font-weight:800}.rk-product-section .woocommerce ul.products li.product .button{margin-top:12px;background:var(--rk-navy);color:#fff;border-radius:4px;font-size:12px}.rk-product-section .woocommerce ul.products li.product .button:hover{background:var(--rk-gold);color:var(--rk-navy)}.rk-empty-products{padding:28px;border:1px dashed #c9cdd4;border-radius:var(--rk-radius);text-align:center;color:var(--rk-muted);background:#fbfbfa}.rk-category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.rk-category-card{padding:27px;border:1px solid var(--rk-border);border-radius:var(--rk-radius);background:#fff}.rk-category-icon{font-size:28px;color:var(--rk-gold)}.rk-category-card h3{margin:13px 0 7px;color:var(--rk-navy);font-size:17px}.rk-category-card p{margin:0;color:var(--rk-muted);font-size:13px}.rk-about{background:var(--rk-navy);color:#fff;text-align:center}.rk-about .rk-section-title{color:#fff}.rk-about .rk-section-desc{max-width:760px;margin:0 auto;color:#cbd4df;line-height:1.9}.rk-cta{padding:62px 0;text-align:center;background:var(--rk-cream)}.rk-cta .rk-section-desc{max-width:650px;margin:0 auto 24px}.rk-site-footer{padding:34px 0;background:#0b1525;color:#aeb9c8}.rk-footer-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.rk-footer-inner p{margin:5px 0;font-size:12px}.rk-footer-links{display:flex;gap:18px;flex-wrap:wrap}.rk-footer-links a{font-size:12px;color:#d8b574}.rk-page{padding:55px 0 75px;min-height:45vh}.rk-page h1,.rk-page h2{color:var(--rk-navy);font-family:Georgia,serif}.rk-content{max-width:850px}.rk-content a{ text-decoration:underline}.rk-pagination{margin-top:30px}.rk-pagination .page-numbers{display:inline-block;padding:8px 12px;margin:3px;border:1px solid var(--rk-border);border-radius:4px}.rk-pagination .current{background:var(--rk-navy);color:#fff}.woocommerce .quantity .qty{min-height:40px}.woocommerce div.product .product_title{color:var(--rk-navy);font-family:Georgia,serif}.woocommerce div.product p.price,.woocommerce div.product span.price{color:#9b7133}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--rk-navy);color:#fff;border-radius:4px}.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--rk-gold);color:var(--rk-navy)}.woocommerce-message{border-top-color:var(--rk-gold)}.woocommerce-message:before{color:var(--rk-gold)}
@media(max-width:800px){.rk-nav{display:none;position:absolute;top:82px;left:0;right:0;padding:18px 22px 22px;background:#101d32;flex-direction:column;align-items:flex-start;gap:17px}.rk-nav.is-open{display:flex}.rk-menu-toggle{display:block}.rk-header-inner{min-height:72px}.rk-hero{padding:65px 0}.rk-hero-grid,.rk-feature-grid{grid-template-columns:1fr;gap:35px}.rk-hero-art{min-height:290px}.rk-feature-grid{gap:28px}.rk-product-section .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.rk-category-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.rk-container{width:min(100% - 30px,1160px)}.rk-hero h1{font-size:39px}.rk-trust-grid{grid-template-columns:1fr;gap:13px}.rk-product-section .woocommerce ul.products,.rk-category-grid{grid-template-columns:1fr}.rk-cover-panel{min-height:365px}.rk-section{padding:58px 0}.rk-footer-inner{align-items:flex-start;flex-direction:column}}
