/* =========================================================
   Rakhmani Luxury Perfumes — main stylesheet
   ========================================================= */

*{ box-sizing: border-box; }
body{
	margin: 0;
	font-family: var(--font-body);
	color: var(--rk-brown);
	background: var(--rk-cream-2);
	line-height: 1.6;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4{ font-family: var(--font-heading); color: var(--rk-black); margin: 0 0 .5em; }
.rk-container{ max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.rk-btn{
	display: inline-block;
	padding: 13px 28px;
	border-radius: var(--rk-radius);
	font-weight: 600;
	letter-spacing: .02em;
	transition: transform .15s ease, box-shadow .15s ease;
	border: 1px solid transparent;
}
.rk-btn-gold{
	background: linear-gradient(180deg, #e6bd7c, #c8963f);
	color: var(--rk-black);
	border-color: #8a5a22;
}
.rk-btn-gold:hover{ transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.25); }
.rk-btn-gold-outline{
	background: transparent;
	color: var(--rk-gold);
	border-color: var(--rk-gold);
}
.rk-btn-gold-outline:hover{ background: var(--rk-gold); color: var(--rk-black); }
.rk-btn-whatsapp{
	background: var(--rk-green);
	color: #fff;
}
.rk-btn-whatsapp:hover{ background: #0e7233; }
.rk-btn-block{ display: block; text-align: center; margin-top: 10px; }

/* Top bar */
.rk-topbar{ background: var(--rk-black); color: var(--rk-gold-light); font-size: 12.5px; }
.rk-topbar-inner{ display: flex; justify-content: space-between; align-items: center; padding: 6px 24px; }
.rk-topbar-lang a{ color: var(--rk-gold-light); opacity: .7; }
.rk-topbar-lang a.active{ opacity: 1; font-weight: 700; }

/* Header */
.rk-header{ background: var(--rk-cream-2); border-bottom: 2px solid var(--rk-gold); position: relative; z-index: 50; }
.rk-header-inner{ display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 20px; }
.rk-menu{ list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.rk-menu a{ font-weight: 600; color: var(--rk-brown); }
.rk-menu a:hover{ color: var(--rk-gold); }
.rk-nav-right{ display: flex; align-items: center; gap: 20px; }
.rk-header-link{ font-weight: 600; }
.rk-header-link:hover{ color: var(--rk-gold); }
.rk-icon-link{ position: relative; display: inline-flex; }
.rk-cart-count{
	position: absolute; top: -8px; right: -10px;
	background: var(--rk-gold); color: var(--rk-black);
	font-size: 10px; font-weight: 700; border-radius: 50%;
	width: 16px; height: 16px; display: flex; align-items: center; justify-content: center;
}

.rk-logo a{ display: flex; align-items: center; gap: 10px; }
.rk-logo-icon{ width: 46px; height: auto; }
.rk-logo-text{ font-family: var(--font-heading); font-size: 24px; color: var(--rk-black); line-height: 1.1; }
.rk-logo-text small{ display: block; font-size: 10px; letter-spacing: .2em; color: var(--rk-gold); font-family: var(--font-body); font-weight: 700; }

.rk-nav-toggle{ display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; }
.rk-nav-toggle span{ width: 24px; height: 2px; background: var(--rk-black); }

/* Hero */
.rk-hero{
	position: relative;
	background-size: cover;
	background-position: center;
	background-color: var(--rk-black);
	min-height: 560px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 60px 20px;
}
.rk-hero::before{
	content:"";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(10,6,3,.55), rgba(10,6,3,.75));
}
.rk-hero-frame{ position: relative; z-index: 1; max-width: 720px; }
.rk-hero-logo{ max-width: 160px; margin: 0 auto 18px; filter: drop-shadow(0 8px 20px rgba(0,0,0,.5)); }
.rk-hero-title{ color: #fff; font-size: 46px; margin-bottom: 6px; }
.rk-hero-arabic{ color: var(--rk-gold-light); font-size: 22px; margin-bottom: 26px; font-family: var(--font-heading); }

/* Collection tile strip (top nav bar under hero) */
.rk-tiles-section{ background: var(--rk-black); }
.rk-tile-strip{ display: flex; list-style: none; }
.rk-tile-strip-item{
	flex: 1; text-align: center; padding: 16px 10px;
	color: var(--rk-gold-light); font-family: var(--font-heading); font-size: 16px;
	border-right: 1px solid rgba(214,166,86,.25);
}
.rk-tile-strip-item:last-child{ border-right: 0; }
.rk-tile-strip-item:hover{ background: rgba(214,166,86,.08); }

.rk-tile-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 24px 0 34px; }
.rk-tile-card{
	position: relative; border-radius: var(--rk-radius); overflow: hidden;
	background: var(--rk-brown); aspect-ratio: 4/3; display: flex; align-items: flex-end;
	box-shadow: var(--rk-shadow);
}
.rk-tile-card img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rk-tile-placeholder{ position: absolute; inset: 0; background: linear-gradient(135deg, #3a2413, #1e140b); }
.rk-tile-label{
	position: relative; z-index: 1; width: 100%; padding: 10px; text-align: center;
	background: rgba(10,6,3,.65); color: var(--rk-gold-light); font-weight: 700; font-size: 14px;
}

/* Featured products */
.rk-featured-section{ padding: 50px 0; }
.rk-section-title{ text-align: center; font-size: 30px; margin-bottom: 30px; }
.rk-featured-section ul.products{ display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; padding: 0; }
.rk-featured-section .product{ background: #fff; border-radius: var(--rk-radius); padding: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.06); transition: transform .15s ease; }
.rk-featured-section .product:hover{ transform: translateY(-4px); }
.rk-featured-section .product img{ border-radius: 4px; }
.rk-featured-section .price{ color: var(--rk-gold); font-weight: 700; }

/* Loyalty section */
.rk-loyalty{ background: linear-gradient(135deg, var(--rk-black), var(--rk-brown)); padding: 50px 0; color: #fff; }
.rk-loyalty-inner{ display: grid; grid-template-columns: 280px 1fr; grid-template-rows: auto auto; gap: 30px 40px; align-items: center; }
.rk-loyalty-card-wrap{ grid-row: 1 / 3; }
.rk-loyalty-card{
	aspect-ratio: 1.586/1;
	border-radius: 14px;
	background: linear-gradient(135deg, #1c130a, #3a2413 60%, #1c130a);
	border: 1px solid var(--rk-gold);
	padding: 20px;
	position: relative;
	box-shadow: var(--rk-shadow);
	transform: rotate(-4deg);
}
.rk-loyalty-card-logo{ width: 70px; margin-bottom: 20px; filter: brightness(1.4); }
.rk-loyalty-card-name{ letter-spacing: .15em; font-size: 11px; color: var(--rk-gold-light); position: absolute; bottom: 40px; left: 20px; }
.rk-loyalty-card-number{ letter-spacing: .12em; font-size: 13px; color: var(--rk-gold); position: absolute; bottom: 18px; left: 20px; }
.rk-loyalty-content h2{ color: #fff; margin-bottom: 12px; }
.rk-loyalty-deal{ font-size: 20px; font-weight: 700; color: var(--rk-gold-light); margin: 0 0 8px; }
.rk-loyalty-sub{ color: #d8c8ac; margin-bottom: 20px; max-width: 520px; }
.rk-loyalty-tiers{ grid-column: 2; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.rk-tier{ text-align: center; background: rgba(255,255,255,.05); border: 1px solid rgba(214,166,86,.3); border-radius: var(--rk-radius); padding: 16px 8px; }
.rk-tier-badge{ width: 26px; height: 26px; border-radius: 50%; margin: 0 auto 10px; }
.rk-tier-bronze .rk-tier-badge, .rk-tier-bronze{ }
.rk-tier-bronze .rk-tier-badge{ background: #a5652f; }
.rk-tier-silver .rk-tier-badge{ background: #c7c7c7; }
.rk-tier-gold .rk-tier-badge{ background: #d6a656; }
.rk-tier-platinum .rk-tier-badge{ background: #b9c2c9; }
.rk-tier-diamond .rk-tier-badge{ background: #9fd8e6; }
.rk-tier-name{ font-weight: 700; color: #fff; margin-bottom: 4px; }
.rk-tier-threshold{ font-size: 11px; color: #b6a684; margin-bottom: 8px; }
.rk-tier-perk{ font-size: 12px; color: var(--rk-gold-light); }

/* Trust / feature grid */
.rk-trust-section{ padding: 46px 0; background: var(--rk-cream); }
.rk-trust-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.rk-trust-icon{ font-size: 30px; }
.rk-trust-item h4{ margin: 10px 0 6px; font-size: 16px; }
.rk-trust-item p{ font-size: 13px; color: #6b5a45; margin: 0; }

/* Footer */
.rk-footer{ background: var(--rk-black); color: #cbb894; }
.rk-footer-grid{ display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 30px; padding: 50px 24px 30px; }
.rk-footer-col h3, .rk-footer-col h4{ color: #fff; }
.rk-footer-logo{ width: 42px; margin-bottom: 10px; }
.rk-footer-menu{ list-style: none; margin: 0; padding: 0; }
.rk-footer-menu li{ margin-bottom: 8px; }
.rk-footer-menu a:hover{ color: var(--rk-gold); }
.rk-footer-contact{ list-style: none; margin: 0 0 14px; padding: 0; }
.rk-footer-contact li{ margin-bottom: 8px; }
.rk-footer-contact a:hover{ color: var(--rk-gold); }

.rk-footer-badges{ border-top: 1px solid rgba(214,166,86,.2); border-bottom: 1px solid rgba(214,166,86,.2); }
.rk-footer-badges-inner{ display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px 24px; }
.rk-payment-icons{ display: flex; gap: 10px; }
.rk-badge{ background: rgba(255,255,255,.08); padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; color: #e9ddc4; }
.rk-footer-strip{ font-size: 13px; color: #b6a684; }

.rk-footer-bottom{ text-align: center; padding: 16px; font-size: 12px; color: #8a7a5f; }

/* WhatsApp floating bubble */
.rk-whatsapp-float{
	position: fixed; right: 22px; bottom: 22px; z-index: 999;
	display: flex; align-items: center; gap: 10px;
	background: var(--rk-green); color: #fff;
	padding: 12px 16px; border-radius: 50px;
	box-shadow: 0 8px 24px rgba(0,0,0,.3);
	animation: rkPulse 2.4s ease-in-out infinite;
}
.rk-whatsapp-icon{ display: flex; }
.rk-whatsapp-text{ display: flex; flex-direction: column; line-height: 1.2; }
.rk-whatsapp-text small{ font-size: 10.5px; opacity: .85; }
@keyframes rkPulse{
	0%,100%{ box-shadow: 0 8px 24px rgba(0,0,0,.3), 0 0 0 0 rgba(18,140,62,.5); }
	50%{ box-shadow: 0 8px 24px rgba(0,0,0,.3), 0 0 0 10px rgba(18,140,62,0); }
}

@media (max-width: 900px){
	.rk-header-inner{ flex-wrap: wrap; }
	.rk-nav-left{ order: 3; width: 100%; display: none; }
	.rk-nav-left.rk-open{ display: block; }
	.rk-menu{ flex-direction: column; gap: 10px; padding: 14px 0; }
	.rk-nav-toggle{ display: flex; }
	.rk-tile-grid{ grid-template-columns: repeat(2, 1fr); }
	.rk-featured-section ul.products{ grid-template-columns: repeat(2, 1fr) !important; }
	.rk-loyalty-inner{ grid-template-columns: 1fr; }
	.rk-loyalty-tiers{ grid-column: 1; grid-template-columns: repeat(2, 1fr); }
	.rk-loyalty-card-wrap{ grid-row: auto; display: flex; justify-content: center; }
	.rk-trust-grid{ grid-template-columns: repeat(2, 1fr); }
	.rk-footer-grid{ grid-template-columns: 1fr 1fr; }
	.rk-hero-title{ font-size: 32px; }
	.rk-whatsapp-text{ display: none; }
}
@media (max-width: 560px){
	.rk-tile-grid{ grid-template-columns: 1fr; }
	.rk-tile-strip{ flex-wrap: wrap; }
	.rk-tile-strip-item{ flex: 1 1 50%; }
	.rk-footer-grid{ grid-template-columns: 1fr; }
}

/* generic content pages */
.rk-page-title{ font-size: 34px; padding-top: 40px; }
.rk-page-body{ padding-bottom: 50px; }
.rk-content-layout{ display: grid; grid-template-columns: 1fr 280px; gap: 40px; padding: 40px 24px; }
.rk-content-main{ min-width: 0; }
.rk-post-card{ background: #fff; border-radius: var(--rk-radius); overflow: hidden; margin-bottom: 26px; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.rk-post-body{ padding: 18px; }
.rk-widget{ background: #fff; border-radius: var(--rk-radius); padding: 16px; margin-bottom: 20px; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.rk-widget-title{ font-size: 16px; border-bottom: 2px solid var(--rk-gold); padding-bottom: 8px; }

.rk-search-form{ display: flex; }
.rk-search-input{ flex: 1; padding: 10px 12px; border: 1px solid var(--rk-gold); border-radius: 4px 0 0 4px; }
.rk-search-submit{ background: var(--rk-gold); border: 1px solid var(--rk-gold); border-radius: 0 4px 4px 0; padding: 0 14px; cursor: pointer; }
