/*
Theme Name: Blocksy Child - Rathna Batik
Template: blocksy
Version: 1.0.0
Text Domain: blocksy-child-rathna
*/

/* --- GLOBAL FOOTER OVERRIDE --- */
/* Hide the default Blocksy footer to use our professional custom footer instead */
footer#footer, 
.ct-footer { 
    display: none !important; 
}

/* Full Width Breakout Utility (Zoom Safe) */
.rathna-full-width {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
}

html, body {
    overflow-x: hidden !important;
    width: 100%;
}

/* Force Blocksy containers to allow breakout */
#page, 
#main, 
.site-content, 
.ct-main-container, 
.ct-container,
.elementor-section-wrap {
    overflow: visible !important;
    clip-path: none !important;
}

/* Pull in the parent theme styles (also enqueued in functions.php). */

:root {
	--rathna-accent: #b45309;
	--rathna-accent-dark: #8a3b06;
	--rathna-bg-soft: #fffdf9;
	--rathna-surface: #ffffff;
	--rathna-text: #1f2328;
	--rathna-muted: #5f6368;
	--rathna-border: #f1e6d7;
}

/* Elegant Site Title Styling */
.ct-site-text, .site-title, .site-title a {
    font-family: 'Playfair Display', serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: var(--rathna-text) !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    transition: color 0.3s ease;
}
.site-title a:hover {
    color: var(--rathna-accent) !important;
}

/* Sizes pills under product titles (shop/category grids) */
.rathna-sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
	justify-content: center;
}

.rathna-sizes__label {
	font-size: 12px;
	color: var(--rathna-muted);
	margin-right: 4px;
}

.rathna-size-pill {
	font-size: 12px;
	line-height: 1;
	padding: 7px 10px;
	border-radius: 999px;
	border: 1px solid #ead7bd;
	background: #fff;
	color: var(--rathna-text);
	transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

ul.products li.product:hover .rathna-size-pill {
	border-color: #e4c08d;
}

/* =========================
   Global: remove hover lift
   ========================= */

:root {
	--theme-button-transform: none;
}

@media (hover: hover) {
	/* Disable Blocksy image hover zoom/swap on Woo cards */
	.woocommerce [data-hover] > *:hover .has-hover-effect img {
		transform: none !important;
	}
}

/* Disable our own pill lift */
ul.products li.product:hover .rathna-size-pill {
	transform: none;
}

/* Disable product card lift/raise on hover */
ul.products li.product,
.wc-block-grid__product {
	transform: none !important;
	transition: box-shadow 0.25s ease, border-color 0.25s ease !important;
}

ul.products li.product:hover,
.wc-block-grid__product:hover {
	transform: none !important;
}

ul.products li.product:hover *,
.wc-block-grid__product:hover * {
	transform: none !important;
}

ul.products li.product:hover .button,
ul.products li.product:hover .price,
.wc-block-grid__product:hover .wc-block-grid__product-price,
.wc-block-grid__product:hover .wp-block-button__link {
	transform: none !important;
}

ul.products li.product:hover img,
.wc-block-grid__product:hover img {
	transform: none !important;
}

/* Front page: hide duplicated "Home" page title near logo */
.home.page .entry-header,
.home.page .hero-section[data-type='type-1'],
.home.page .hero-section[data-type='type-2'] {
	display: none !important;
}

/* =========================
   Professional Hero Upgrade
   ========================= */

/* 1. Adjusted Hero Height */
.home .elementor-section.rathna-hero-professional,
.home .elementor-section:first-of-type {
    min-height: auto !important; /* Changed from 80vh */
    height: auto !important;
    display: flex !important;
    align-items: center !important;
}

/* 2. Professional Slider (Ken Burns & Fade) */
.home .elementor-widget-image-carousel .swiper-slide img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    transition: transform 10s linear !important;
}

/* Active slide zoom effect */
.home .elementor-widget-image-carousel .swiper-slide-active img {
    transform: scale(1.15) !important;
}

/* 3. Spacing & Layout - Fill Container */
.home .elementor-widget-wrap {
    align-content: center !important;
    padding: 0 !important;
}

.home .elementor-widget-image-carousel,
.home .elementor-widget-image-carousel .swiper,
.home .elementor-widget-image-carousel .swiper-wrapper,
.home .elementor-widget-image-carousel .swiper-slide {
    height: auto !important;
    width: 100% !important;
    border-radius: 24px;
    overflow: hidden;
}






/* Product category & Shop hero (editable via product category image or customizer) */
.tax-product_cat .hero-section,
.post-type-archive-product .hero-section {
	display: none !important;
}

.rathna-cat-hero {
	width: 100vw !important;
    max-width: 100vw !important;
	position: relative !important;
	left: 50% !important;
    transform: translateX(-50%) !important;
	background: linear-gradient(130deg, #fff6e8 0%, #f5ede1 100%);
	background-size: cover;
	background-position: center;
	min-height: clamp(300px, 40vw, 500px);
	margin: 0 0 40px !important;
	overflow: hidden;
    display: flex;
    align-items: center;
}

.rathna-cat-hero__overlay {
	background: linear-gradient(90deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.15) 50%, rgba(15, 23, 42, 0.08) 100%);
	min-height: inherit;
	display: flex;
	align-items: center;
}

.rathna-cat-hero__inner {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(24px, 5vw, 40px) clamp(20px, 4vw, 24px);
}

.rathna-cat-hero__kicker {
	margin: 0 0 6px;
	color: #fde68a;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 12px;
}

.rathna-cat-hero__title {
	margin: 0;
	color: #fff;
	font-size: clamp(28px, 4vw, 54px);
	line-height: 1.1;
}

.rathna-cat-hero__desc {
	margin: 10px 0 0;
	color: #e5e7eb;
	max-width: 680px;
	font-size: 15px;
}

/* Workshop page polish while still Elementor-editable */
.page-id-446 .entry-content,
.page-template-default.page .entry-content {
	line-height: 1.7;
}

/* Global Mobile Refinements */
@media (max-width: 768px) {
	.rathna-cat-hero {
		min-height: 280px;
		margin-bottom: 20px;
	}
	.rathna-cat-hero__inner {
		text-align: center;
	}
	.rathna-cat-hero__desc {
		margin: 12px auto 0;
	}
}

@media (max-width: 480px) {
	.rathna-cat-hero {
		min-height: 240px;
		border-radius: 8px;
	}
	.rathna-cat-hero__inner {
		padding: 30px 16px;
	}
	.rathna-cat-hero__kicker {
		font-size: 11px;
	}
	.rathna-cat-hero__title {
		font-size: 28px;
	}
	.rathna-cat-hero__desc {
		font-size: 14px;
	}
}


/* Homepage Premium Styles */
.rathna-home {
	--rathna-bg: #FDFBF7;
	--rathna-bg-soft: #ffffff;
	--rathna-text: #2d2d2d;
	--rathna-accent: #b45309;
	--rathna-accent-dark: #8a3b06;
	--rathna-muted: #6b7280;
	--rathna-card: #ffffff;
	--rathna-shadow: 0 10px 40px -10px rgba(180, 83, 9, 0.12);
	--font-heading: 'Playfair Display', serif;
}

.rathna-home > *:not(.elementor):not(.rathna-hero-full) {
    max-width: 1240px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px;
    padding-right: 20px;
}

.home .entry-header, 
.home .hero-section, 
.home .page-title, 
.home .entry-title, 
.home .ct-page-title, 
.home .page-header {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

.rathna-wrap {
    max-width: 1600px !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.rathna-hero { 
    width: 100vw !important; 
    position: relative !important;
    left: calc(-50vw + 50%) !important;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 50%, #fffbf5 100%); 
    border-bottom: 1px solid #f3e8d6;
    overflow: hidden !important;
}

/* Hero grid — highly specific to override .rathna-wrap's max-width: 1600px !important */
.rathna-hero .rathna-wrap.rathna-hero-grid { 
    display: grid !important; 
    grid-template-columns: 0.8fr 1.2fr !important; 
    gap: 60px !important; 
    align-items: center !important; 
    min-height: 480px !important;
    width: 100% !important;
    max-width: 1240px !important; 
    margin: 0 auto !important;
    padding: 30px 20px !important;
    box-sizing: border-box !important;
}

.rathna-hero-content {
    transition: opacity 0.35s ease-in-out;
}

.rathna-hero-slider {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #f1e6d7;
    box-shadow: 0 40px 80px -20px rgba(180, 83, 9, 0.15);
    transition: all 0.5s ease;
}

.rathna-slider-ghost-img {
    width: 100%;
    height: auto;
    display: block;
    visibility: hidden;
    pointer-events: none;
}

.rathna-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    pointer-events: none;
}

.rathna-slide.active {
    z-index: 2;
    pointer-events: auto;
}

/* 1. Fade Effect (Default) */
.rathna-hero-slider.effect-fade .rathna-slide {
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.rathna-hero-slider.effect-fade .rathna-slide.active {
    opacity: 1;
}

/* 2. Slide Horizontal */
.rathna-hero-slider.effect-slide-horizontal .rathna-slide {
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease-in-out;
}
.rathna-hero-slider.effect-slide-horizontal .rathna-slide.active {
    opacity: 1;
    transform: translateX(0);
}
.rathna-hero-slider.effect-slide-horizontal .rathna-slide.prev-slide {
    opacity: 0;
    transform: translateX(-100%);
}

/* 3. Slide Vertical */
.rathna-hero-slider.effect-slide-vertical .rathna-slide {
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease-in-out;
}
.rathna-hero-slider.effect-slide-vertical .rathna-slide.active {
    opacity: 1;
    transform: translateY(0);
}
.rathna-hero-slider.effect-slide-vertical .rathna-slide.prev-slide {
    opacity: 0;
    transform: translateY(-100%);
}

/* 4. Zoom Effect */
.rathna-hero-slider.effect-zoom .rathna-slide {
    opacity: 0;
    transform: scale(1.15);
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 1.2s ease-in-out;
}
.rathna-hero-slider.effect-zoom .rathna-slide.active {
    opacity: 1;
    transform: scale(1);
}
.rathna-hero-slider.effect-zoom .rathna-slide.prev-slide {
    opacity: 0;
    transform: scale(0.9);
}
.rathna-kicker { display: inline-block; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid #f3d7b0; color: var(--rathna-accent-dark); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.rathna-btn { display: inline-block; background: var(--rathna-accent); color: #fff; padding: 14px 28px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: 0.25s ease; text-align: center; }
.rathna-btn:hover { background: var(--rathna-accent-dark); color: #fff; }
.rathna-btn-secondary { display: inline-block; margin-left: 10px; padding: 14px 28px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--rathna-text); background: #fff; border: 1px solid #ead7bd; text-align: center; }
.rathna-trust { padding: 30px 0 0; }
.rathna-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rathna-pill { background: #fff; border: 1px solid #f1e3ce; border-radius: 999px; padding: 12px 20px; text-align: center; color: var(--rathna-muted); font-size: 14px; font-weight: 500; box-shadow: 0 4px 15px -5px rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: center; }
.rathna-section-title { margin: 0 0 12px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.01em; }
/* --- CART ICON IN MENU --- */
.rathna-cart-menu-item {
    display: flex !important;
    align-items: center !important;
    margin-left: 15px !important;
}
.rathna-cart-link {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 10px !important;
    color: var(--rathna-text) !important;
}
.rathna-cart-count {
    position: absolute !important;
    top: -8px !important;
    right: -5px !important;
    background: var(--rathna-accent) !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
}
.rathna-cart-link svg {
    transition: transform 0.3s ease;
}
.rathna-cart-link:hover svg {
    transform: scale(1.1);
    color: var(--rathna-accent);
}



.rathna-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.rathna-card { background: var(--rathna-card); padding: 30px; border: 1px solid #f1e6d7; border-radius: 16px; box-shadow: var(--rathna-shadow); transition: transform 0.3s ease; text-decoration: none; display: flex; flex-direction: column; }
.rathna-card:hover { transform: translateY(-5px); border-color: var(--rathna-accent); }
.rathna-benefits { padding: 40px 0 60px; }
.rathna-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rathna-benefit { background: #fff; border: 1px solid #f3e7d6; border-radius: 16px; padding: 32px; text-align: center; }
.rathna-products { background: #ffffff; padding: 60px 0; border-top: 1px solid #f3e8d6; }
.rathna-home ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.rathna-hero-image-wrap { position: relative; min-width: 300px; width: 100%; }
.rathna-hero-image { background: #fff; border-radius: 20px; padding: 15px; border: 1px solid #f1e6d7; box-shadow: 0 30px 60px -20px rgba(180, 83, 9, 0.2); position: relative; z-index: 1; }
.rathna-hero-image img { width: 100% !important; height: auto !important; display: block !important; border-radius: 12px; }

@media (max-width: 1100px) {
	.rathna-hero-grid { gap: 20px; }
}

@media (max-width: 900px) {
	.rathna-wrap { padding: 0 12px; }
	/* Hero: text smaller, image bigger */
	.rathna-hero .rathna-wrap.rathna-hero-grid { grid-template-columns: 0.45fr 1fr !important; gap: 10px !important; padding: 12px 10px !important; min-height: auto !important; align-items: center !important; }
	.rathna-hero-content h1 { font-size: clamp(20px, 5vw, 28px) !important; line-height: 1.2 !important; margin: 6px 0 10px !important; }
	.rathna-hero-desc { margin: 0 0 12px; font-size: clamp(12px, 3vw, 15px); line-height: 1.4; }
	.rathna-kicker { font-size: clamp(10px, 2.5vw, 12px); padding: 4px 8px; margin-bottom: 6px; display: inline-block; }
	.rathna-btn { padding: 10px 18px; font-size: clamp(11px, 2.8vw, 13px); border-radius: 8px; }
	.rathna-btn-secondary { padding: 10px 18px; font-size: clamp(11px, 2.8vw, 13px); margin-left: 6px; border-radius: 8px; }
	.rathna-hero .rathna-hero-actions { display: flex !important; justify-content: center !important; gap: 8px !important; margin-top: 10px !important; } /* Center and show static hero actions on mobile */
	.rathna-hero-grid { grid-template-columns: repeat(2, 1fr) !important; }
	.rathna-grid, .rathna-benefit-grid, .rathna-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rathna-home ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.rathna-hero-image { max-width: 100%; margin: 0 auto; padding: 5px; border-radius: 12px; }
	.rathna-hero-image img { border-radius: 8px; }
	.rathna-hero-slider { height: auto !important; border-radius: 10px; }
	.rathna-hero-image-wrap { min-width: unset; }
	/* Hide trending badge on mobile to save space */
	.rathna-hero-image-wrap > div[style*="position:absolute"] { display: none; }
	.rathna-section-title { font-size: 18px !important; line-height: 1.2 !important; margin-bottom: 6px !important; }
}

@media (max-width: 767px) {
	.rathna-hero .rathna-wrap.rathna-hero-grid {
		grid-template-columns: 1fr !important;
		text-align: center;
		gap: 20px !important;
		padding: 25px 15px !important;
	}
	.rathna-hero-content {
		max-width: 100%;
		margin-bottom: 10px;
	}
	.rathna-hero-actions {
		justify-content: center;
	}
}

@media (max-width: 580px) {
	.rathna-grid, .rathna-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.rathna-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.rathna-home ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.rathna-hero-actions { display: flex; flex-direction: row; gap: 8px; flex-wrap: wrap; justify-content: center; }
	.rathna-btn-secondary { margin-left: 0; }
	.rathna-pill { padding: 8px 10px; font-size: 10px; }
	/* Hero even smaller text for small phones */
	.rathna-hero .rathna-wrap.rathna-hero-grid { gap: 12px !important; padding: 15px 10px !important; }
	.rathna-hero-content h1 { font-size: clamp(16px, 4.5vw, 22px) !important; }
	.rathna-hero-desc { font-size: clamp(11px, 3vw, 13px); margin-bottom: 10px; }
	.rathna-hero-slider { border-radius: 8px; }
	.rathna-kicker { font-size: clamp(9px, 2.2vw, 11px); padding: 3px 6px; margin-bottom: 4px; }
	.rathna-btn { padding: 8px 14px; font-size: clamp(10px, 2.5vw, 12px); }
	.rathna-btn-secondary { padding: 8px 14px; font-size: clamp(10px, 2.5vw, 12px); }
	.rathna-section-title { font-size: 15px !important; line-height: 1.2 !important; }
}
@media (max-width: 400px) {
	.rathna-wrap { padding: 0 6px; }
	.rathna-hero-content h1 { font-size: 14px !important; }
	.rathna-hero-desc { font-size: 10px; }
	.rathna-btn { padding: 6px 10px; font-size: 9px; }
	.rathna-btn-secondary { padding: 6px 10px; font-size: 9px; }
	.rathna-section-title { font-size: 14px !important; }
}

/* --- GLOBAL PREMIUM REFINEMENTS --- */
body { background-color: #fffdf9; }

/* --- FORCED STICKY HEADER --- */
header.ct-header, #main-header, .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08) !important;
}

/* Compensate for fixed header height */
body {
    padding-top: 100px !important;
}
@media (max-width: 900px) {
    body { padding-top: 80px !important; }
}


/* --- KILL ALL ZOOM EFFECTS --- */
ul.products li.product .ct-media-container img,
ul.products li.product:hover .ct-media-container img,
.ct-media-container img,
.ct-media-container:hover img {
    transform: none !important;
    scale: 1 !important;
    transition: opacity 0.4s ease-in-out !important;
}

/* Fix WooCommerce placeholder image to fill the container like real images */
ul.products li.product .ct-media-container img.woocommerce-placeholder {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 30px !important;
    background: #f9f5f0 !important;
    opacity: 0.35 !important;
}

/* Hide Default Theme Credits */
.ct-footer-copyright, .site-info, .copyright {
    display: none !important;
}

/* 4 Columns for Products and Categories */
ul.products, .rathna-grid, .rathna-woo-grid ul.products,
.wc-block-grid__products, ul.wc-block-grid__products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    justify-content: center !important;
    justify-items: center !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    align-items: start !important; 
    padding: 0 !important;
}

.rathna-woo-grid {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

/* Equal height cards within each row */
ul.products li.product {
    height: 100% !important;
}

@media (max-width: 1024px) {
    ul.products, .rathna-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 768px) {
    ul.products, .rathna-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Dark Footer Styling */
.rathna-dark-footer {
    background: #111111;
    color: #ffffff;
    padding: 60px 0 20px;
    font-family: 'Inter', sans-serif;
}
.rathna-footer-cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
}
.rathna-footer-cat-item {
    text-align: center;
}
.rathna-footer-cat-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid #333;
}
.rathna-footer-cat-item span {
    display: block;
    font-size: 14px;
    font-weight: 600;
}
.rathna-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
}
.rathna-footer-grid h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}
.rathna-footer-links ul {
    list-style: none;
    padding: 0;
}
.rathna-footer-links li {
    margin-bottom: 10px;
}
.rathna-footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}
.rathna-footer-links a:hover {
    color: var(--rathna-accent);
}
.rathna-footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 13px;
    color: #666;
}

/* --- FOOTER MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .rathna-dark-footer {
        padding: 35px 0 15px;
    }
    .rathna-dark-footer .rathna-wrap {
        padding: 0 16px;
    }
    .rathna-footer-cats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    .rathna-footer-cat-item img {
        width: 45px;
        height: 45px;
    }
    .rathna-footer-cat-item span {
        font-size: 12px;
    }
    .rathna-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
        text-align: center;
    }
    .rathna-footer-grid h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    .rathna-footer-links li {
        margin-bottom: 8px;
    }
    .rathna-footer-links a {
        font-size: 14px;
    }
    .rathna-footer-bottom {
        margin-top: 25px;
        padding-top: 15px;
        font-size: 11px;
    }
}
@media (max-width: 480px) {
    .rathna-dark-footer {
        padding: 25px 0 12px;
    }
    .rathna-footer-cats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
        margin-bottom: 20px;
    }
    .rathna-footer-cat-item img {
        width: 38px;
        height: 38px;
    }
    .rathna-footer-cat-item span {
        font-size: 11px;
    }
    .rathna-footer-grid h3 {
        font-size: 15px;
    }
    .rathna-footer-bottom {
        font-size: 10px;
    }
}

/* --- STANDARD PROFESSIONAL PRODUCT CARDS (AKIRA.LK STYLE) --- */
ul.products li.product,
.wc-block-grid__product {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    transition: transform 0.3s ease !important;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

ul.products li.product:hover,
.wc-block-grid__product:hover {
    transform: translateY(-5px);
}

/* Image Container with Fixed Aspect Ratio */
/* CSS Order to force: Image -> Title -> Price -> Sizes -> Add to Cart */
/* Image Container with Fixed Aspect Ratio */
/* CSS Order to force: Image -> Title -> Price -> Sizes -> Add to Cart */
ul.products li.product figure {
    order: 1 !important;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

ul.products li.product .woocommerce-loop-product__title {
    order: 2 !important;
}

ul.products li.product .price {
    order: 3 !important;
}

ul.products li.product .rathna-sizes {
    order: 4 !important;
}

ul.products li.product .ct-woo-card-actions,
ul.products li.product > .button,
ul.products li.product > .add_to_cart_button {
    order: 5 !important;
}

ul.products li.product .ct-woo-card-actions {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 15px !important;
    margin-bottom: 5px !important;
}

ul.products li.product .ct-media-container {
    border-radius: 16px !important; /* Matching rounded corners on Akira.lk */
    margin-bottom: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 2 / 3 !important; /* Portrait aspect ratio like Akira.lk */
    background: #f9f9f9;
    z-index: 1;
    display: block;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Elegant soft shadow */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

ul.products li.product:hover .ct-media-container {
    box-shadow: 0 10px 30px rgba(180, 83, 9, 0.15); /* Warm theme hover shadow */
}

/* Base Image - Fill and Cover the entire frame */
ul.products li.product .ct-media-container img:not(.rathna-secondary-image) {
    width: 100% !important;
    height: 100% !important; /* Stretch to fill container height */
    object-fit: cover !important; /* Crop and fill without stretching */
    display: block !important;
    transition: opacity 0.5s ease-in-out !important;
}

/* Secondary Hover Image - Fill and Cover the entire frame */
ul.products li.product .rathna-secondary-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Crop and fill on hover */
    opacity: 0 !important;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 2 !important;
    pointer-events: none !important;
    transform: none !important;
}

ul.products li.product:hover .rathna-secondary-image {
    opacity: 1 !important;
}

/* Optional: Subtle fade of the first image to make the transition even smoother */
ul.products li.product:hover .ct-media-container img:not(.rathna-secondary-image) {
    opacity: 0.7;
}

/* Reset Button (Always Visible) - Pill Button Centered Below Info */
ul.products li.product .button,
ul.products li.product .add_to_cart_button {
    background: var(--rathna-accent) !important;
    color: #fff !important;
    border-radius: 30px !important; /* Modern pill style */
    padding: 10px 24px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important; /* Reset margin since container has margin */
    text-align: center !important;
    display: inline-block !important;
    width: auto !important;
    max-width: 90%;
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.15);
    transition: all 0.3s ease !important;
}

ul.products li.product .button:hover,
ul.products li.product .add_to_cart_button:hover {
    background: var(--rathna-accent-dark) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 18px rgba(180, 83, 9, 0.3);
}

/* Typography Refinement */
ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-heading) !important;
    font-size: 17px !important;
    color: #1f2328 !important;
    margin-bottom: -5px !important; /* Negative margin to pull price up */
    padding-bottom: 0 !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    transition: color 0.3s;
}

ul.products li.product .woocommerce-loop-product__title a {
    line-height: 1.2 !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

ul.products li.product:hover .woocommerce-loop-product__title {
    color: var(--rathna-accent) !important;
}

ul.products li.product .price,
ul.products li.product .price * {
    font-weight: 700 !important;
    color: #444 !important;
    font-size: 15px !important;
    margin-top: 0 !important; /* Remove any top margin */
    margin-bottom: 0 !important;
    padding-top: 0 !important; /* Remove any top padding */
    padding-bottom: 0 !important;
    line-height: 1.2 !important;
}

/* --- MOBILE RESPONSIVENESS (PROFESSIONAL FIXES) --- */
@media (max-width: 768px) {
    .rathna-wrap { padding: 0 12px; }
    /* Keep hero banner as desktop layout but smaller */
    .rathna-hero-grid { grid-template-columns: 0.8fr 1.2fr !important; min-height: auto !important; padding: 15px 12px !important; gap: 12px !important; }
    .rathna-hero-image-wrap { margin-bottom: 0; }
    
    /* Elementor Spacing Fixes for Mobile */
    .home .elementor-section { padding-left: 8px !important; padding-right: 8px !important; }
    .home .elementor-widget-wrap { padding: 8px 0 !important; }
    
    /* Elementor containers - reduce inner padding */
    .home .elementor-element .elementor-widget-container { padding-left: 0 !important; padding-right: 0 !important; }
}

@media (max-width: 600px) {
    /* 2 Columns for Products (Strict override for all shortcodes/blocks) */
    .woocommerce ul.products,
    .elementor-shortcode ul.products,
    ul.wc-block-grid__products,
    .wc-block-grid__products,
    .rathna-home ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .woocommerce ul.products li.product,
    .elementor-shortcode ul.products li.product,
    .wc-block-grid__product {
        padding: 0 !important;
        border-radius: 0 !important;
        border: none !important;
        background: transparent !important;
        margin-bottom: 20px !important; /* Space between rows on mobile */
        width: 100% !important;
    }
    
    /* Typography Adjustments & Spacing for Mobile */
    .woocommerce-loop-product__title,
    .wc-block-grid__product-title {
        font-size: 13px !important;
        line-height: 1.2 !important;
        margin-bottom: -4px !important; /* Negative margin to pull price up */
        padding-bottom: 0 !important;
    }
    
    .price, .wc-block-grid__product-price { 
        font-size: 13px !important; 
        margin-top: 0px !important; /* Zero margin top */
        padding-top: 0 !important;
        margin-bottom: 2px !important; /* Keep a tiny space below price for the button */
        line-height: 1.2 !important;
    }
    
    ul.products li.product .ct-woo-card-actions {
        margin-top: 6px !important; /* Reduce space above button */
        margin-bottom: 0 !important;
        display: flex !important; /* Force visibility on mobile */
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Mobile Cart Button */
    ul.products li.product .button,
    ul.products li.product .add_to_cart_button,
    .wp-block-button__link {
        padding: 10px 20px !important; /* Increased button size */
        font-size: 13px !important; /* Increased font size */
        border-radius: 30px !important; /* Force pill style */
    }
    
    .rathna-sizes { display: none; } /* Hide sizes on small mobile to save space */
    
    .rathna-trust-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    .rathna-pill { padding: 10px; font-size: 12px; }
    
    /* 2 Columns for Categories */
    .rathna-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .rathna-card { padding: 15px !important; }
    .rathna-card h3 { font-size: 16px !important; }
}

/* WhatsApp CTA Breakout - Professional Edge-to-Edge */
.rathna-whatsapp-cta {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
    display: block !important;
}

/* Force breakout through Elementor/Blocksy containers by allowing overflow */
.elementor-section:has(.rathna-whatsapp-cta),
.elementor-container:has(.rathna-whatsapp-cta),
.elementor-column:has(.rathna-whatsapp-cta),
.elementor-widget-wrap:has(.rathna-whatsapp-cta),
.ct-container:has(.rathna-whatsapp-cta) {
    overflow: visible !important;
}

/* =========================================
   WooCommerce: Premium My Account Styling
   ========================================= */

/* Account Container */
.woocommerce-account .woocommerce {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 60px 20px;
}

/* Vertical Navigation Menu */
.woocommerce-MyAccount-navigation {
    flex: 0 0 280px;
    background: #fff;
    border: 1px solid var(--rathna-border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    height: fit-content;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation li {
    margin-bottom: 8px;
}

.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 14px 20px;
    color: var(--rathna-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-navigation li a:hover {
    background: #fdf6ed;
    color: var(--rathna-accent);
    padding-left: 25px;
}

.woocommerce-MyAccount-navigation li.is-active a {
    background: var(--rathna-accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(180, 83, 9, 0.2);
}

/* Account Content Area */
.woocommerce-MyAccount-content {
    flex: 1;
    min-width: 320px;
    background: #fff;
    border: 1px solid var(--rathna-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.woocommerce-MyAccount-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--rathna-muted);
}

/* Dashboard Greeting */
.woocommerce-MyAccount-content .woocommerce-MyAccount-dashboard-greeting {
    font-size: 24px;
    font-weight: 700;
    color: var(--rathna-text);
    margin-bottom: 20px;
}

/* Dashboard Links */
.woocommerce-MyAccount-content a {
    color: var(--rathna-accent);
    text-decoration: none;
    font-weight: 600;
}

.woocommerce-MyAccount-content a:hover {
    text-decoration: underline;
}

/* Table styling (Orders, Downloads) */
.woocommerce-MyAccount-content table.shop_table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--rathna-border);
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce-MyAccount-content table.shop_table th {
    background: #fdfaf7;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce-MyAccount-content table.shop_table td {
    padding: 20px;
    border-top: 1px solid var(--rathna-border);
}

/* Buttons in Account Area */
.woocommerce-MyAccount-content .button {
    background: #f3f4f6 !important;
    color: #1f2937 !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: all 0.3s !important;
}

.woocommerce-MyAccount-content .button:hover {
    background: var(--rathna-accent) !important;
    color: #fff !important;
}

.woocommerce-MyAccount-content .button.view {
    background: var(--rathna-accent) !important;
    color: #fff !important;
}

/* Address Cards */
.woocommerce-MyAccount-content .u-columns.col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.woocommerce-MyAccount-content .u-column1,
.woocommerce-MyAccount-content .u-column2 {
    background: #fdfaf7;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--rathna-border);
}

.woocommerce-MyAccount-content header.title h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

/* Mobile Responsive Adjustments */
@media (max-width: 900px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
    }
    .woocommerce-MyAccount-navigation {
        flex: 1 0 auto;
        width: 100%;
    }
    .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .woocommerce-MyAccount-navigation li {
        flex: 1 1 calc(50% - 5px);
        margin-bottom: 0;
    }
}

@media (max-width: 500px) {
    .woocommerce-MyAccount-navigation li {
        flex: 1 1 100%;
    }
    .woocommerce-MyAccount-content {
        padding: 25px 20px;
    }
    .woocommerce-MyAccount-content .u-columns.col2-set {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   GLOBAL PAGE RESPONSIVE - About, Contact, Shop, All Pages
   Mobile / Tablet / Desktop balanced layouts
   ================================================================ */

/* --- GLOBAL: Elementor Content on All Pages --- */
@media (max-width: 768px) {
    /* Elementor sections & containers */
    .elementor-section,
    .elementor-top-section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
        padding: 10px !important;
    }

    /* Elementor inner sections / columns stack vertically */
    .elementor-section .elementor-container {
        flex-wrap: wrap !important;
    }
    .elementor-section .elementor-column {
        width: 100% !important;
    }

    /* Elementor headings scale */
    .elementor-widget-heading .elementor-heading-title {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }
    .elementor-widget-text-editor {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    /* Elementor images */
    .elementor-widget-image img {
        width: 100% !important;
        height: auto !important;
        border-radius: 10px;
    }

    /* Elementor buttons */
    .elementor-widget-button .elementor-button {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }

    /* Elementor spacers reduce */
    .elementor-widget-spacer .elementor-spacer-inner {
        height: 20px !important;
    }

    /* Elementor dividers */
    .elementor-widget-divider {
        padding: 10px 0 !important;
    }
}

@media (max-width: 480px) {
    .elementor-widget-heading .elementor-heading-title {
        font-size: 18px !important;
    }
    .elementor-widget-text-editor {
        font-size: 13px !important;
    }
    .elementor-widget-button .elementor-button {
        padding: 8px 16px !important;
        font-size: 12px !important;
        width: 100% !important;
        text-align: center !important;
    }
}

/* --- ABOUT PAGE --- */
.page-template-default .entry-content,
.page .entry-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- AJAX Category Tabs (Akira Style) --- */
.rathna-ajax-tabs-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 50px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.rathna-ajax-tab {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    color: #000000 !important;
    padding: 10px 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rathna-ajax-tab:hover,
.rathna-ajax-tab.active {
    color: #000000 !important;
    border-bottom-color: #000000 !important;
    background: transparent !important;
}

/* --- Skeleton Loader --- */
.rathna-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rathna-skeleton-item {
    background: #fff;
    padding: 10px;
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 1/1;
    background: #f2f2f2;
    margin-bottom: 15px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.skeleton-text {
    height: 12px;
    background: #f2f2f2;
    margin-bottom: 10px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.skeleton-text.title { width: 80%; height: 16px; }
.skeleton-text.price { width: 40%; }
.skeleton-button { width: 100%; height: 35px; background: #f2f2f2; border-radius: 4px; position: relative; overflow: hidden; }

/* Shimmer Animation */
.skeleton-image::after,
.skeleton-text::after,
.skeleton-button::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
    animation: rathna-shimmer 1.5s infinite;
}

@keyframes rathna-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@media (max-width: 992px) {
    .rathna-skeleton-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .rathna-ajax-tabs-container {
        gap: 15px;
        margin-bottom: 30px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .rathna-ajax-tabs-container::-webkit-scrollbar { display: none; }
    .rathna-ajax-tab {
        flex: 0 0 auto;
        font-size: 13px;
        white-space: nowrap;
    }
    .rathna-skeleton-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
@media (max-width: 768px) {
    .page .entry-content {
        padding: 0 15px !important;
    }
    .page .entry-content img {
        width: 100% !important;
        height: auto !important;
        margin: 10px 0 !important;
        border-radius: 10px;
    }
    .page .entry-content h1,
    .page .entry-content h2 {
        font-size: 22px !important;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    .page .entry-content h3 {
        font-size: 18px !important;
        margin-bottom: 10px;
    }
    .page .entry-content p {
        font-size: 14px !important;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    /* About page - text + image side by side -> stack */
    .page .entry-content .wp-block-columns,
    .page .entry-content .wp-block-media-text {
        flex-direction: column !important;
        display: flex !important;
    }
    .page .entry-content .wp-block-column,
    .page .entry-content .wp-block-media-text__content,
    .page .entry-content .wp-block-media-text__media {
        width: 100% !important;
        flex-basis: 100% !important;
    }
}

@media (max-width: 480px) {
    .page .entry-content h1,
    .page .entry-content h2 {
        font-size: 19px !important;
    }
    .page .entry-content h3 {
        font-size: 16px !important;
    }
    .page .entry-content p {
        font-size: 13px !important;
    }
}

/* --- CONTACT PAGE --- */
@media (max-width: 768px) {
    /* Contact form containers */
    .wpcf7, .wpforms-container,
    .elementor-widget-form {
        padding: 0 !important;
    }
    .wpcf7-form, .wpforms-form {
        padding: 20px !important;
    }
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 textarea,
    .wpforms-field input,
    .wpforms-field textarea {
        width: 100% !important;
        padding: 12px !important;
        font-size: 14px !important;
        box-sizing: border-box !important;
    }
    .wpcf7 textarea,
    .wpforms-field textarea {
        height: 120px !important;
    }
    .wpcf7 input[type="submit"],
    .wpforms-submit,
    .elementor-field-type-submit button {
        width: 100% !important;
        padding: 14px !important;
        font-size: 14px !important;
    }

    /* Contact info sections - stack columns */
    .elementor-widget-icon-box .elementor-icon-box-wrapper {
        text-align: center !important;
    }
    .elementor-widget-icon-box .elementor-icon-box-title {
        font-size: 16px !important;
    }
    .elementor-widget-icon-box .elementor-icon-box-description {
        font-size: 13px !important;
    }

    /* Google Maps embed */
    .elementor-widget-google_maps iframe,
    .wp-block-embed iframe {
        height: 250px !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .wpcf7-form, .wpforms-form {
        padding: 15px !important;
    }
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 textarea {
        padding: 10px !important;
        font-size: 13px !important;
    }
    .elementor-widget-google_maps iframe,
    .wp-block-embed iframe {
        height: 200px !important;
    }
}

/* --- SHOP / PRODUCT ARCHIVE PAGE --- */
@media (max-width: 768px) {
    .woocommerce-page .woocommerce-result-count,
    .woocommerce-page .woocommerce-ordering {
        width: 100% !important;
        text-align: center;
        margin-bottom: 10px;
    }
    .woocommerce-page .woocommerce-ordering select {
        width: 100% !important;
        padding: 10px !important;
    }
    .woocommerce-page .woocommerce-breadcrumb {
        font-size: 12px !important;
        padding: 10px 15px !important;
    }
}

/* --- SINGLE PRODUCT PAGE --- */
@media (max-width: 768px) {
    .single-product .product .summary {
        padding: 0 15px !important;
    }
    .single-product .product .woocommerce-product-gallery {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    .single-product .product .summary {
        width: 100% !important;
    }
    .single-product .product_title {
        font-size: 22px !important;
    }
    .single-product .price {
        font-size: 20px !important;
    }
    .single-product .woocommerce-tabs .tabs {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    .single-product .woocommerce-tabs .tabs li {
        flex: 1 !important;
        text-align: center;
    }
    .single-product .woocommerce-tabs .tabs li a {
        font-size: 13px !important;
        padding: 10px 8px !important;
    }
    .single-product .woocommerce-tabs .panel {
        padding: 15px !important;
    }
    /* Related products */
    .single-product .related.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

@media (max-width: 480px) {
    .single-product .product_title {
        font-size: 18px !important;
    }
    .single-product .price {
        font-size: 17px !important;
    }
}

/* --- CART PAGE --- */
@media (max-width: 768px) {
    .woocommerce-cart-form table {
        font-size: 13px !important;
    }
    .woocommerce-cart-form .product-thumbnail img {
        width: 60px !important;
        height: auto !important;
    }
    .woocommerce-cart-form .product-name {
        font-size: 13px !important;
    }
    .cart_totals {
        width: 100% !important;
        padding: 15px !important;
    }
    .cart_totals table {
        font-size: 14px !important;
    }
    .wc-proceed-to-checkout .checkout-button {
        width: 100% !important;
        padding: 14px !important;
        font-size: 14px !important;
    }
}

/* --- CHECKOUT PAGE --- */
@media (max-width: 768px) {
    .woocommerce-checkout .col2-set {
        display: flex !important;
        flex-direction: column !important;
    }
    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 {
        width: 100% !important;
    }
    #order_review_heading,
    #order_review {
        width: 100% !important;
    }
    .woocommerce-checkout input[type="text"],
    .woocommerce-checkout input[type="email"],
    .woocommerce-checkout input[type="tel"],
    .woocommerce-checkout select,
    .woocommerce-checkout textarea {
        padding: 12px !important;
        font-size: 14px !important;
    }
    #place_order {
        width: 100% !important;
        padding: 14px !important;
        font-size: 15px !important;
    }
}

/* --- WhatsApp CTA Section Mobile --- */
@media (max-width: 768px) {
    .rathna-whatsapp-cta {
        padding: 30px 15px !important;
    }
    .rathna-whatsapp-cta h2,
    .rathna-whatsapp-cta .elementor-heading-title {
        font-size: 20px !important;
    }
    .rathna-whatsapp-cta a.elementor-button,
    .rathna-whatsapp-cta .rathna-btn {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .rathna-whatsapp-cta {
        padding: 20px 10px !important;
    }
    .rathna-whatsapp-cta h2,
    .rathna-whatsapp-cta .elementor-heading-title {
        font-size: 17px !important;
    }
}

/* --- GLOBAL: Blocksy Theme Header Mobile --- */
@media (max-width: 768px) {
    body {
        padding-top: 70px !important;
    }
    header.ct-header, #main-header, .site-header {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    }
    .ct-site-text, .site-title, .site-title a {
        font-size: 20px !important;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px !important;
    }
    .ct-site-text, .site-title, .site-title a {
        font-size: 17px !important;
    }
}

/* --- PHASE 2 FIXES: Mobile UI & Overlaps --- */
@media (max-width: 768px) {
    /* Ensure floating currency switcher is visible and positioned nicely on mobile */
    .wmc-currency-wrapper,
    .woo-multi-currency {
        display: block !important;
        z-index: 99999 !important;
    }
    
    /* Hide other floating action buttons on mobile to prevent overlap with Add to Cart */
    .joinchat, 
    .joinchat--show,
    .eael-floating-button,
    .elementor-sticky--active {
        display: none !important;
    }
    
    /* Fix Contact Page Layout Clipping (WhatsApp button hidden by header) */
    .rathna-contact-main {
        padding-top: 120px !important;
    }
    .rathna-whatsapp-cta {
        margin-top: 40px !important;
    }
}

/* =========================================
   HOME PAGE HERO BANNER FULL-WIDTH FIX
   Ensures the banner spans edge-to-edge 
   safely without breaking on zoom.
   ========================================= */
.home .elementor-section:first-of-type {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}

/* Ensure any background image added in Elementor covers the full width properly */
.home .elementor-section:first-of-type > .elementor-background-overlay,
.home .elementor-section:first-of-type > .elementor-shape {
    width: 100% !important;
}



/* --- NAVIGATION BAR: BLACK TEXT & NO BLUE --- */
.ct-header nav ul li a,
.ct-header nav ul li a:hover,
.ct-header nav ul li.current-menu-item > a,
.ct-header .ct-menu-link {
    color: #000000 !important; /* Force Black Text */
    background-color: transparent !important; /* Remove any blue background */
}

/* Remove any blue indicator lines under the menu */
[data-header*="type-1"] .ct-header nav ul li a::after,
.ct-header nav ul li a::after {
    background-color: #000000 !important;
}

/* Fix for mobile menu as well */
.mobile-menu a, 
.ct-mobile-menu a,
.ct-panel-content a {
    color: #000000 !important;
}

/* Force White Background for Mobile Menu Panel */
.ct-panel-content,
.ct-mobile-menu,
.ct-panel-inner,
#off-canvas .ct-panel-content {
    background-color: #ffffff !important;
}

/* Ensure the close button is visible on white background */
.ct-panel .ct-panel-actions .ct-close-button {
    color: #000000 !important;
}

/* =========================================
   PREMIUM MOBILE EXPERIENCE REFINEMENTS
   ========================================= */
@media (max-width: 600px) {
    /* Standardize side padding for all main containers */
    .rathna-wrap, 
    .ct-container, 
    .elementor-container,
    .site-main,
    .entry-content {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Refined Heading Scales */
    .entry-content h1, h1 { font-size: 26px !important; line-height: 1.2 !important; margin-bottom: 15px !important; }
    .entry-content h2, h2 { font-size: 22px !important; line-height: 1.2 !important; margin-bottom: 12px !important; }
    .entry-content h3, h3 { font-size: 18px !important; margin-bottom: 10px !important; }

    /* Product Grid Perfection */
    .woocommerce ul.products,
    .rathna-home ul.products {
        gap: 12px !important; /* Slightly more air between cards */
        margin-top: 20px !important;
    }

    ul.products li.product {
        padding: 10px !important; 
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.04) !important;
    }

    ul.products li.product .woocommerce-loop-product__title {
        font-size: 15px !important; /* Increased title size */
        height: 3.2em !important; /* Ensure 2 lines max height for alignment */
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        margin-top: 8px !important;
        line-height: 1.4 !important;
    }

    ul.products li.product .price,
    ul.products li.product .price * {
        font-size: 15px !important; /* Increased price size */
        margin-bottom: 10px !important;
        display: block !important;
    }

    /* Add to Cart Button Polish */
    ul.products li.product .button,
    ul.products li.product .add_to_cart_button {
        padding: 10px 20px !important; /* Increased padding */
        font-size: 13px !important; /* Increased font size */
        border-radius: 30px !important; /* Force pill style */
        letter-spacing: 0.5px !important;
        height: auto !important;
        line-height: 1.2 !important;
        display: inline-block !important;
        width: auto !important;
        max-width: 90% !important;
    }
    
    /* Force display on mobile */
    .woocommerce ul.products li.product .ct-woo-card-actions,
    .woocommerce-page ul.products li.product .ct-woo-card-actions {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
    }

    /* Category Tabs Scrollbar Hide (but keep functionality) */
    .rathna-ajax-tabs-container {
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 0 !important;
        margin-bottom: 25px !important;
        gap: 15px !important;
    }
    .rathna-ajax-tabs-container::-webkit-scrollbar {
        display: none;
    }
    
    .rathna-ajax-tab {
        font-size: 13px !important;
        padding: 8px 2px !important;
    }
}

/* Fix for potentially too-tall headers on mobile */
@media (max-width: 768px) {
    .ct-header {
        height: auto !important;
    }
    .ct-header [data-row="middle"] {
        min-height: 60px !important;
    }
    .ct-header .site-title, 
    .ct-header .site-title a {
        font-size: 18px !important;
    }
}

/* =========================================
   QR PROFILE COMPONENT
   ========================================= */
.rathna-qr-profile-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: var(--font-body);
}

.rathna-qr-header {
    text-align: center;
    margin-bottom: 50px;
}

.rathna-qr-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--rathna-accent);
    padding: 3px;
}

.rathna-qr-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid #ddd;
}

.rathna-qr-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.rathna-qr-role {
    font-size: 16px;
    color: var(--rathna-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 15px;
}

.rathna-qr-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
    margin-bottom: 25px;
    font-size: 15px;
}

.rathna-qr-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.qr-social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: #fff;
}

.qr-social-btn.fb { background: #1877F2; }
.qr-social-btn.ig { background: #E4405F; }
.qr-social-btn.tiktok { background: #000000; }
.qr-social-btn.wa { background: #25D366; }

.rathna-qr-awards-section {
    margin-top: 40px;
}

.qr-awards-title {
    font-size: 24px;
    font-family: var(--font-heading);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.qr-awards-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--rathna-accent);
}

.qr-awards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.qr-award-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.qr-award-card:hover {
    transform: translateY(-5px);
}

.qr-award-image {
    width: 100%;
    aspect-ratio: 4/5;
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #f9f9f9;
}

.qr-award-image.placeholder {
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-award-content {
    padding: 20px;
}

.qr-award-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.qr-award-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .qr-awards-grid {
        grid-template-columns: 1fr;
    }
    .rathna-qr-name {
        font-size: 26px;
    }
}

/* Hide static Elementor hero container when dynamic slider is active */
.home .elementor-element-rb_hero_wrap {
    display: none !important;
}

/* Full-Width Hero Section spanning edge-to-edge across the screen */
.rathna-hero-full {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: calc(-50vw + 50%);
    margin: 0 0 30px;
    overflow: hidden !important;
    border-radius: 0; /* No rounded corners for full-width layout */
    border: none !important;
    box-shadow: 0 10px 30px rgba(180, 83, 9, 0.05) !important;
    box-sizing: border-box !important;
    padding: 0 !important;
}

.rathna-hero-full .rathna-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f1e6d7;
    border-radius: inherit;
    border: none;
}

/* For sliders containing text overlay, set a minimum height on desktop to prevent text overflow under zoom/resize */
.rathna-hero-full.has-text-slider .rathna-hero-slider {
    min-height: 480px !important;
}

/* Ghost image to automatically size container to natural image aspect ratio */
.rathna-hero-full .rathna-slider-ghost-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: relative !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Slide item */
.rathna-hero-full .rathna-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    display: flex;
    align-items: center;
    pointer-events: none;
    transition: all 1s ease-in-out;
}

.rathna-hero-full .rathna-slide.active {
    z-index: 2;
    pointer-events: auto;
}

.rathna-hero-full .rathna-slide-media-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
    overflow: hidden;
}

.rathna-hero-full .rathna-slide-media-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}


/* Slide Overlay for text readability (Removed overlay as requested) */
.rathna-hero-full .rathna-slide-overlay {
    display: none !important;
}

/* Slide Content Container */
.rathna-hero-full .rathna-slide-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--theme-container-width, 1240px); /* Align text container with the site width */
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.rathna-hero-full .rathna-slide-content {
    max-width: 550px;
    color: #fff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9) !important; /* Strong drop shadow for readability without background overlay */
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.rathna-hero-full .rathna-slide.active .rathna-slide-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* Text styles in full slider */
.rathna-hero-full .rathna-kicker {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    backdrop-filter: blur(5px);
    margin-bottom: 15px;
    padding: 6px 14px;
    font-size: 13px;
    display: inline-block;
    border-radius: 999px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.rathna-hero-full h1.rathna-slide-title {
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.15;
    font-weight: 800;
    color: #fff;
    margin: 10px 0 15px;
    font-family: var(--font-heading);
}

.rathna-hero-full .rathna-slide-desc {
    font-size: clamp(14px, 1.8vw, 18px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.rathna-hero-full .rathna-btn {
    background: var(--rathna-accent);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
    display: inline-block;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
    text-align: center;
}
.rathna-hero-full .rathna-btn:hover {
    background: var(--rathna-accent-dark);
    color: #fff;
}

.rathna-hero-full .rathna-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    display: inline-block;
    margin-left: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
    text-align: center;
}
.rathna-hero-full .rathna-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Trending Badge inside full slider */
.rathna-hero-trending-badge-full {
    position: absolute;
    bottom: 30px;
    right: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 14px 22px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 10;
}

/* Transition Effects at section level */
/* Fade */
.rathna-hero-full .rathna-hero-slider.effect-fade .rathna-slide {
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.rathna-hero-full .rathna-hero-slider.effect-fade .rathna-slide.active {
    opacity: 1;
}

/* Slide Horizontal */
.rathna-hero-full .rathna-hero-slider.effect-slide-horizontal .rathna-slide {
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease-in-out;
}
.rathna-hero-full .rathna-hero-slider.effect-slide-horizontal .rathna-slide.active {
    opacity: 1;
    transform: translateX(0);
}
.rathna-hero-full .rathna-hero-slider.effect-slide-horizontal .rathna-slide.prev-slide {
    opacity: 0;
    transform: translateX(-100%);
}

/* Slide Vertical */
.rathna-hero-full .rathna-hero-slider.effect-slide-vertical .rathna-slide {
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease-in-out;
}
.rathna-hero-full .rathna-hero-slider.effect-slide-vertical .rathna-slide.active {
    opacity: 1;
    transform: translateY(0);
}
.rathna-hero-full .rathna-hero-slider.effect-slide-vertical .rathna-slide.prev-slide {
    opacity: 0;
    transform: translateY(-100%);
}

/* Zoom */
.rathna-hero-full .rathna-hero-slider.effect-zoom .rathna-slide {
    opacity: 0;
    transform: scale(1.12);
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 1.2s ease-in-out;
}
.rathna-hero-full .rathna-hero-slider.effect-zoom .rathna-slide.active {
    opacity: 1;
    transform: scale(1);
}
.rathna-hero-full .rathna-hero-slider.effect-zoom .rathna-slide.prev-slide {
    opacity: 0;
    transform: scale(0.9);
}

/* Mobile Responsiveness for Full-width slider */
@media (max-width: 900px) {
    .rathna-hero-full .rathna-slide-container {
        padding: 0 24px;
    }
    .rathna-hero-trending-badge-full {
        bottom: 15px !important;
        right: 20px !important;
        padding: 8px 14px !important;
        border-radius: 10px !important;
    }
    .rathna-hero-trending-badge-full span:first-child {
        font-size: 8px !important;
        margin-bottom: 2px !important;
    }
    .rathna-hero-trending-badge-full span:last-child {
        font-size: 11px !important;
    }
}

@media (max-width: 767px) {
    .rathna-hero-full {
        width: 100vw;
        max-width: 100vw;
        position: relative;
        left: calc(-50vw + 50%);
        margin: 0 0 20px;
        border-radius: 0; /* No rounded corners on mobile */
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    .rathna-hero-full .rathna-hero-slider,
    .rathna-hero-full.has-text-slider .rathna-hero-slider,
    .rathna-hero-full.image-only-slider .rathna-hero-slider {
        aspect-ratio: auto !important;
        height: auto !important;
        min-height: auto !important;
    }
    .rathna-hero-full.has-text-slider .rathna-hero-slider {
        min-height: 380px !important; /* Force minimum height for text readability and layout spacing */
    }
    .rathna-hero-full .rathna-slider-ghost-img {
        display: block !important;
        visibility: hidden !important;
    }
    .rathna-hero-full.image-only-slider .rathna-slider-ghost-img {
        display: none !important;
    }
    .rathna-hero-full .rathna-slide {
        align-items: center;
        justify-content: center !important; /* Center content horizontally on mobile */
    }
    .rathna-hero-full .rathna-slide-content {
        max-width: 90% !important; /* Increase width to prevent wrapping text too much */
        text-align: center !important; /* Center-aligned text */
        margin: 0 auto !important; /* Center the block itself */
        padding: 0;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important; /* Strong shadow to read clearly without overlay */
    }
    .rathna-hero-full h1.rathna-slide-title {
        font-size: clamp(24px, 7vw, 36px) !important; /* Increased title size on mobile */
        margin: 6px 0 10px !important;
        line-height: 1.2 !important;
    }
    .rathna-hero-full .rathna-slide-desc {
        font-size: clamp(14px, 4vw, 17px) !important; /* Increased description size */
        margin-bottom: 16px !important;
        line-height: 1.35 !important;
    }
    .rathna-hero-full .rathna-kicker {
        font-size: clamp(11px, 3vw, 13px) !important; /* Increased kicker size */
        padding: 4px 10px !important;
        margin-bottom: 8px !important;
    }
    .rathna-hero-full .rathna-hero-actions {
        display: flex;
        justify-content: center !important; /* Center action buttons horizontally on mobile */
        gap: 8px;
    }
    .rathna-hero-full .rathna-btn, 
    .rathna-hero-full .rathna-btn-secondary {
        padding: 10px 18px !important; /* Increased button size */
        font-size: clamp(12px, 3.5vw, 14px) !important; /* Increased button text size */
        border-radius: 8px !important;
        margin: 0 !important;
    }
    .rathna-hero-trending-badge-full {
        display: none !important; /* Hide badge on tiny mobile screens to avoid overlap */
    }
    .rathna-hero-full .rathna-slide-overlay {
        display: none !important; /* Remove background overlay on mobile */
    }
    .rathna-hero-full .rathna-slide-container {
        display: flex !important; /* Restore display of slider container on mobile */
        padding: 0 15px !important;
    }
    .rathna-hero-full.has-text-slider .rathna-hero-slider {
        min-height: auto !important; /* Remove minimum height limit so banner adjusts naturally to image without cropping */
    }
}

/* Make banner content auto-adjust dynamically on smaller mobile devices */
@media (max-width: 480px) {
    .rathna-hero-full .rathna-slide-content {
        max-width: 90% !important; /* Give a bit more horizontal space on tiny screens */
    }
    .rathna-hero-full h1.rathna-slide-title {
        font-size: clamp(20px, 6vw, 25px) !important; /* Increased title size */
        margin: 5px 0 8px !important;
        line-height: 1.2 !important;
    }
    .rathna-hero-full .rathna-slide-desc {
        font-size: clamp(13px, 3.8vw, 15px) !important; /* Increased description size */
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
    }
    .rathna-hero-full .rathna-kicker {
        font-size: clamp(10px, 3vw, 12px) !important; /* Increased kicker size */
        padding: 3px 8px !important;
        margin-bottom: 6px !important;
    }
    .rathna-hero-full .rathna-hero-actions {
        gap: 6px;
    }
    .rathna-hero-full .rathna-btn, 
    .rathna-hero-full .rathna-btn-secondary {
        padding: 8px 14px !important;
        font-size: clamp(11px, 3vw, 13px) !important; /* Increased button size */
    }
}

@media (max-width: 360px) {
    .rathna-hero-full .rathna-slide-content {
        max-width: 95% !important;
    }
    .rathna-hero-full h1.rathna-slide-title {
        font-size: 18px !important; /* Increased title size */
    }
    .rathna-hero-full .rathna-slide-desc {
        font-size: 11px !important; /* Increased description size */
        margin-bottom: 8px !important;
    }
    .rathna-hero-full .rathna-kicker {
        font-size: 9px !important; /* Increased kicker size */
        padding: 2px 6px !important;
    }
    .rathna-hero-full .rathna-btn, 
    .rathna-hero-full .rathna-btn-secondary {
        padding: 6px 12px !important; /* Increased button size */
        font-size: 10px !important; /* Increased font size */
    }
}

/* --- CUSTOM HIDE REQUESTS --- */
/* Hide product categories on WooCommerce product cards (e.g. "Batik Shirts", "Sarong", etc.) */
.products li.product .posted_in,
.products li.product .ct-card-categories,
.products li.product .meta-categories,
.products li.product .ct-post-meta,
.wc-block-grid__product .posted_in,
.wc-block-grid__product .meta-categories {
    display: none !important;
}

/* Hide WhatsApp CTA section at the bottom of the homepage */
.home .rathna-whatsapp-cta,
.home .elementor-element-rb_whatsapp_cta,
.home #rb_whatsapp_cta {
    display: none !important;
}


/* Floating WhatsApp Logo at the bottom-left corner */
.rathna-floating-whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 99999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
}

.rathna-floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: #fff !important;
}

.rathna-floating-whatsapp svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}


