/**
 * Tumanyan Notebooks — custom CSS
 * Migrated from WPCode snippet "custom CSS" (#17306).
 */

/******* HOME ********/

rs-group-wrap.rs-parallax-wrap {
	display: none;
}

.grecaptcha-badge {
	display: none !important;
}

/********* CART, CHECKOUT *************/

#shipping_method .woocommerce-Price-amount {
	font-weight: bold;
	font-size: 18px;
}

/************** YITH WAPO — for all ***************/

.yith-wapo-block .yith-wapo-addon {
	padding: 20px;
}

.yith-wapo-block .yith-wapo-addon .options {
	display: flex !important;
	flex-wrap: wrap;
	gap: 0 !important;
}

.yith-wapo-block .yith-wapo-addon .yith-wapo-option {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: start;
	padding: 10px;
	margin-top: 20px;
	border: 2px solid transparent;
	border-radius: 5px;
	position: relative;
}

.yith-wapo-block #yith-wapo-addon-1 .yith-wapo-option .description {
	background: #000;
	color: #fff;
	text-align: center;
	width: 80%;
	margin: 10px auto;
	position: absolute;
	left: 0;
	right: 0;
	bottom: -22px;
	border-radius: 20px;
}

.yith-wapo-block #yith-wapo-addon-1 #yith-wapo-option-1-7.yith-wapo-option .description {
	background: #813589;
	width: 200px;
}

.yith-wapo-block .yith-wapo-addon .yith-wapo-option.selected {
	border-color: #950000;
	background-color: #f2f5f7;
}

.yith-wapo-block .yith-wapo-addon span.radiobutton {
	display: none !important;
}

.yith-wapo-block .yith-wapo-addon .yith-wapo-option .image img {
	border-radius: 10px;
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
	width: 100%;
	height: 100%;
	min-height: 100%;
}

.yith-wapo-block .yith-wapo-addon .yith-wapo-option label {
	display: flex;
	flex-direction: column;
}

#yith-wapo-block-1 .yith-wapo-addon .yith-wapo-option .radio-button-container {
	text-align: center;
}

.yith-wapo-block .yith-wapo-addon .yith-wapo-option label .option-price {
	font-size: 16px;
	font-weight: bold;
	margin-top: 5px;
}

/************** type ***************/

#yith-wapo-block-1 #yith-wapo-addon-1 .yith-wapo-option {
	width: 25%;
}

@media screen and (max-width: 475px) {
	#yith-wapo-block-1 #yith-wapo-addon-1 .yith-wapo-option {
		width: 50%;
	}
}

/************** colors ***************/

/* Hide the checkbox squares in the color options — the swatch itself is the
   control, so the checkbox is redundant (mirrors the hidden radio buttons). */
#yith-wapo-block-1 #yith-wapo-addon-47 .checkbox-button-container,
#yith-wapo-block-1 #yith-wapo-addon-47 span.checkboxbutton {
	display: none !important;
}

#yith-wapo-block-1 #yith-wapo-addon-47 .yith-wapo-option,
#yith-wapo-block-1 #yith-wapo-addon-35 .yith-wapo-option,
#yith-wapo-block-1 #yith-wapo-addon-2 .yith-wapo-option {
	width: 14%;
}

#yith-wapo-block-1 #yith-wapo-addon-47 .yith-wapo-option label,
#yith-wapo-block-1 #yith-wapo-addon-35 .yith-wapo-option label,
#yith-wapo-block-1 #yith-wapo-addon-2 .yith-wapo-option label {
	font-size: 12px;
}

@media screen and (max-width: 769px) {
	#yith-wapo-block-1 #yith-wapo-addon-47 .yith-wapo-option,
	#yith-wapo-block-1 #yith-wapo-addon-35 .yith-wapo-option,
	#yith-wapo-block-1 #yith-wapo-addon-2 .yith-wapo-option {
		width: 25%;
	}
}

@media screen and (max-width: 475px) {
	#yith-wapo-block-1 #yith-wapo-addon-47 .yith-wapo-option,
	#yith-wapo-block-1 #yith-wapo-addon-35 .yith-wapo-option,
	#yith-wapo-block-1 #yith-wapo-addon-2 .yith-wapo-option {
		width: 33%;
	}
}

/************** inside ***************/

#yith-wapo-block-1 #yith-wapo-addon-3 .yith-wapo-option {
	width: 25%;
}

@media screen and (max-width: 769px) {
	#yith-wapo-block-1 #yith-wapo-addon-3 .yith-wapo-option {
		width: 25%;
	}
}

@media screen and (max-width: 475px) {
	#yith-wapo-block-1 #yith-wapo-addon-3 .yith-wapo-option {
		width: 50%;
	}
}

/************** packaging ***************/

#yith-wapo-block-1 .yith-wapo-addon.conditional_logic .yith-wapo-option {
	width: 25%;
}

@media screen and (max-width: 475px) {
	#yith-wapo-block-1 .yith-wapo-addon.conditional_logic .yith-wapo-option {
		width: 100%;
	}
}

/************** other options ***************/

#yith-wapo-block-3 .yith-wapo-addon {
	padding: 20px;
	margin-top: 20px;
}

#yith-wapo-block-3 #yith-wapo-addon-25 .addon-header {
	margin-bottom: 20px;
}

#yith-wapo-block-3 #yith-wapo-addon-25 .options-container label {
	margin-bottom: 10px;
}

#yith-wapo-block-3 #yith-wapo-addon-25 #yith-wapo-option-25-0,
#yith-wapo-block-3 #yith-wapo-addon-25 #yith-wapo-option-25-1 {
	flex-direction: column;
}

#yith-wapo-block-3 #yith-wapo-addon-26 .yith-wapo-option {
	width: 50%;
}

@media screen and (max-width: 769px) {
	#yith-wapo-block-3 #yith-wapo-addon-26 .yith-wapo-option {
		width: 50%;
	}
}

@media screen and (max-width: 475px) {
	#yith-wapo-block-3 #yith-wapo-addon-26 .yith-wapo-option {
		width: 100%;
	}
}

#yith-wapo-addon-1 label .option-price .positive {
	display: none;
}

#yith-wapo-block-1 .yith-wapo-addon .yith-wapo-option label .option-price .brackets {
	display: none;
}

/************** total price table + cart actions ***************/

#wapo-total-price-table {
	position: sticky;
	bottom: 70px;
	padding: 10px 20px 0;
}

tr.wapo-total-options {
	display: none;
}

.ct-cart-actions {
	position: sticky;
	bottom: 0px;
	background: #fff;
	padding: 10px 20px;
}

.ct-cart-actions .quantity input {
	background-color: #fff;
}

@media screen and (max-width: 475px) {
	#wapo-total-price-table {
		bottom: 60px;
	}
}

/* Force-hide helper used by the engraving-position toggle script. */
.force-hide-option {
	display: none !important;
}

/* ==========================================================================
   TUMANYAN NOTEBOOKS - HEADER & FOOTER COLORS (QUIET LUXURY PALETTE)
   ========================================================================== */

/* --- 1. HEADER COLORS --- */

/* Main Header background and bottom border (Replaces cold #f2f5f7 with warm cream #fcfbf9) */
#header.ct-header,
.ct-header,
.ct-header [data-row="middle"],
.ct-header [data-row="middle"] .ct-container,
.ct-header [data-device="desktop"] [data-row="middle"],
.ct-header [data-device="mobile"] [data-row="middle"] {
	background-color: #fcfbf9 !important;
}

#header.ct-header {
	border-bottom: 1px solid rgba(36, 33, 30, 0.08) !important;
	box-shadow: 0 2px 14px rgba(36, 33, 30, 0.03) !important;
	transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Header Navigation Menu */
.ct-header .header-menu-1 .menu > li > a,
.ct-header [data-id="menu"] .menu > li > a,
.ct-header nav.header-menu-1 .ct-menu-link {
	color: #24211e !important;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.025em !important;
	transition: color 0.25s cubic-bezier(0.2, 0, 0, 1) !important;
}

.ct-header .header-menu-1 .menu > li > a:hover,
.ct-header [data-id="menu"] .menu > li > a:hover,
.ct-header nav.header-menu-1 .ct-menu-link:hover,
.ct-header .header-menu-1 .menu > li.current-menu-item > a,
.ct-header [data-id="menu"] .menu > li.current-menu-item > a,
.ct-header .header-menu-1 .menu > li.current_page_item > a,
.ct-header .header-menu-1 .menu > li.current-menu-ancestor > a {
	color: #8c3b29 !important;
}

/* Header Cart */
.ct-header-cart .ct-cart-item {
	color: #24211e !important;
	transition: color 0.25s ease !important;
}

.ct-header-cart .ct-cart-item:hover {
	color: #8c3b29 !important;
}

.ct-header-cart .ct-dynamic-count-cart {
	background-color: #8c3b29 !important;
	color: #ffffff !important;
	font-weight: 600 !important;
	font-size: 11px !important;
}

.ct-header-cart svg path {
	fill: currentColor !important;
}

/* Dropdown Mini Cart Panel */
.ct-header-cart .ct-cart-content {
	background-color: #ffffff !important;
	border: 1px solid rgba(36, 33, 30, 0.08) !important;
	box-shadow: 0 16px 36px rgba(36, 33, 30, 0.1) !important;
	border-radius: 12px !important;
}

/* Mobile Trigger (Hamburger) */
.ct-header .ct-header-trigger {
	color: #24211e !important;
}

.ct-header .ct-header-trigger svg rect {
	fill: #24211e !important;
	transition: fill 0.25s ease;
}

.ct-header .ct-header-trigger:hover svg rect {
	fill: #8c3b29 !important;
}

/* Offcanvas Mobile Menu Drawer */
#offcanvas {
	background-color: #fcfbf9 !important;
	border-left: 1px solid rgba(36, 33, 30, 0.08) !important;
}

#offcanvas .menu > li > a {
	color: #24211e !important;
	font-weight: 500 !important;
	border-bottom: 1px solid rgba(36, 33, 30, 0.06) !important;
	transition: color 0.25s ease !important;
}

#offcanvas .menu > li > a:hover,
#offcanvas .menu > li.current-menu-item > a {
	color: #8c3b29 !important;
}


/* --- 2. FOOTER COLORS --- */

/* Main Footer Container (Replaces cold #E2E8EC with warm sandstone linen #f5efe8) */
#footer,
#footer > footer#colophon,
.elementor-266 .elementor-element.elementor-element-8f12660,
.elementor-266 .elementor-element.elementor-element-8f12660:not(.elementor-motion-effects-element-type-background),
.elementor-266 .elementor-element.elementor-element-8f12660 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background-color: #f5efe8 !important;
	border-top: 1px solid rgba(36, 33, 30, 0.08) !important;
}

/* Footer Newsletter / Subscription Heading ("Բաժանորդագրվեք") */
.elementor-266 .elementor-element.elementor-element-f5ec9eb {
	color: #24211e !important;
	font-family: 'Cardo', 'Cinzel', 'Playfair Display', Georgia, serif !important;
	font-size: 1.4rem !important;
	font-weight: 400 !important;
	letter-spacing: 0.02em !important;
}

/* Footer Navigation Menu ("Պայմաններ և դրույթներ") */
.elementor-266 .elementor-element.elementor-element-cc07a5e .menu-item a.hfe-menu-item,
.elementor-266 .elementor-element.elementor-element-cc07a5e .sub-menu a.hfe-sub-menu-item {
	color: #24211e !important;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
	font-size: 0.92rem !important;
	font-weight: 500 !important;
	transition: color 0.25s ease !important;
}

.elementor-266 .elementor-element.elementor-element-cc07a5e .menu-item a.hfe-menu-item:hover,
.elementor-266 .elementor-element.elementor-element-cc07a5e .sub-menu a.hfe-sub-menu-item:hover {
	color: #8c3b29 !important;
}

/* Footer Social Icons (Facebook, Instagram) */
.elementor-266 .elementor-element.elementor-element-c9e16eb .elementor-social-icon {
	background-color: transparent !important;
	transition: all 0.25s cubic-bezier(0.2, 0, 0, 1) !important;
}

.elementor-266 .elementor-element.elementor-element-c9e16eb .elementor-social-icon i {
	color: #24211e !important;
	transition: color 0.25s ease, transform 0.25s ease !important;
}

.elementor-266 .elementor-element.elementor-element-c9e16eb .elementor-social-icon svg {
	fill: #24211e !important;
	transition: fill 0.25s ease, transform 0.25s ease !important;
}

.elementor-266 .elementor-element.elementor-element-c9e16eb .elementor-social-icon:hover i {
	color: #8c3b29 !important;
}

.elementor-266 .elementor-element.elementor-element-c9e16eb .elementor-social-icon:hover svg {
	fill: #8c3b29 !important;
	transform: translateY(-2px);
}

/* Footer Bottom Strip: Copyright & Payment Badges (Replaces cold #DAE0E4 with warm linen #ede5db) */
.elementor-266 .elementor-element.elementor-element-9d7a761,
.elementor-266 .elementor-element.elementor-element-9d7a761:not(.elementor-motion-effects-element-type-background),
.elementor-266 .elementor-element.elementor-element-9d7a761 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background-color: #ede5db !important;
	border-top: 1px solid rgba(36, 33, 30, 0.08) !important;
}

/* Copyright text */
.elementor-266 .elementor-element.elementor-element-bf7a875 .hfe-copyright-wrapper,
.elementor-266 .elementor-element.elementor-element-bf7a875 .hfe-copyright-wrapper span {
	color: #6b635b !important;
	font-size: 0.88rem !important;
	font-weight: 400 !important;
	letter-spacing: 0.02em !important;
}

/* Footer payment icons alignment */
.elementor-266 .elementor-element.elementor-element-9c5d755 {
	display: flex !important;
	align-items: center !important;
	gap: 16px !important;
	opacity: 0.88;
	transition: opacity 0.25s ease;
}

.elementor-266 .elementor-element.elementor-element-9c5d755:hover {
	opacity: 1;
}

/* Native Blocksy footer fallback */
.ct-footer {
	background-color: #f5efe8 !important;
	border-top: 1px solid rgba(36, 33, 30, 0.08) !important;
	color: #6b635b !important;
}

.ct-footer a {
	color: #24211e !important;
	transition: color 0.25s ease !important;
}

.ct-footer a:hover {
	color: #8c3b29 !important;
}

/* ==========================================================================
   Tumanyan Notebooks — Flag Language Switcher (Desktop & Mobile)
   ========================================================================== */

/* Shared Switcher Styles */
.tn-lang-switcher {
	display: inline-flex;
	align-items: center;
	padding: 0;
	margin: 0;
	list-style: none;
}

.tn-lang-flag-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	text-decoration: none !important;
	border: none !important;
	background: transparent !important;
	opacity: 0.52;
	transition: opacity 0.22s cubic-bezier(0.2, 0, 0, 1), transform 0.22s cubic-bezier(0.2, 0, 0, 1);
	line-height: 0;
	cursor: pointer;
}

.tn-lang-flag-link:hover,
.tn-lang-flag-link:focus-visible {
	opacity: 1;
	outline: none;
}

.tn-lang-flag-link:hover .tn-flag-box {
	transform: translateY(-1.5px);
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.22);
}

.tn-lang-flag-link.is-active {
	opacity: 1;
	cursor: default;
}

.tn-flag-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14);
	background-color: #ffffff;
	line-height: 0;
	transition: transform 0.22s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.22s cubic-bezier(0.2, 0, 0, 1);
}

.tn-flag-box .tn-flag-icon {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

/* --- Desktop Layout (Header Menu) --- */
.header-menu-1 .menu > li.tn-nav-lang-item,
.ct-header [data-id="menu"] .menu > li.tn-nav-lang-item {
	display: inline-flex !important;
	align-items: center !important;
	margin-left: 24px !important;
	padding-left: 18px !important;
	border-left: 1px solid rgba(36, 33, 30, 0.12) !important;
	height: auto;
	align-self: center;
}

.tn-lang-switcher-desktop {
	gap: 10px;
}

.tn-lang-switcher-desktop .tn-lang-flag-link {
	padding: 6px 3px;
}

.tn-lang-switcher-desktop .tn-flag-box {
	width: 22px;
	height: 15px;
	border-radius: 2.5px;
}

/* Override any default Blocksy menu anchor styling leaking to flag links */
.header-menu-1 .menu > li.tn-nav-lang-item a,
.ct-header [data-id="menu"] .menu > li.tn-nav-lang-item a {
	padding: 6px 3px !important;
	background: transparent !important;
	box-shadow: none !important;
}

.header-menu-1 .menu > li.tn-nav-lang-item a::before,
.header-menu-1 .menu > li.tn-nav-lang-item a::after {
	display: none !important;
}

/* Ensure active underline from .tn-lang-flag-link is restored */
.header-menu-1 .menu > li.tn-nav-lang-item a.tn-lang-flag-link.is-active::after {
	display: block !important;
	content: '' !important;
	position: absolute !important;
	bottom: 0px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	width: 14px !important;
	height: 2px !important;
	background-color: #8c3b29 !important;
	border-radius: 1px !important;
}

/* --- Mobile Layout (Inside Offcanvas Toggle Menu) --- */
.tn-mobile-lang-wrap {
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid rgba(36, 33, 30, 0.08);
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
}

.tn-lang-switcher-mobile {
	display: inline-flex;
	align-items: center;
	gap: 16px;
}

.tn-lang-switcher-mobile .tn-lang-flag-link {
	padding: 8px 6px;
}

.tn-lang-switcher-mobile .tn-flag-box {
	width: 28px;
	height: 19px;
	border-radius: 3.5px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16);
}

.tn-lang-switcher-mobile .tn-lang-flag-link.is-active::after {
	content: '';
	position: absolute;
	bottom: 2px;
	left: 50%;
	transform: translateX(-50%);
	width: 18px;
	height: 2.5px;
	background-color: #8c3b29;
	border-radius: 1.5px;
}

/* Responsive Display Visibility Rules */
@media (min-width: 1000px) {
	.tn-mobile-lang-wrap,
	.tn-lang-mobile-wrap {
		display: none !important;
	}
	.tn-nav-lang-item,
	.tn-lang-desktop-wrap {
		display: inline-flex !important;
	}
}

@media (max-width: 999px) {
	.tn-nav-lang-item,
	.tn-lang-desktop-wrap,
	.header-menu-1 .menu > li.tn-nav-lang-item {
		display: none !important;
	}
	.tn-mobile-lang-wrap,
	.tn-lang-mobile-wrap {
		display: flex !important;
	}
}


