/*
Theme Name:   Jarsi
Theme URI:    https://89.ee
Description:  Custom child theme for Järsi storefront with RAAM templates, PFC configurator styles, and WooCommerce customizations.
Author:       Järsi
Author URI:   https://89.ee
Template:     storefront
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  storefront-child
Tags:         e-commerce, two-columns, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, editor-style
*/

/* ========================================
   PFC (Product Frame Configurator) Styles
   ======================================== */

#pfc_crop_container {
  display: block;
  margin-top: 0px !important;
  position: relative;
  max-width: 100% !important;
  height: auto !important;
  margin-left: auto;
  margin-right: auto;
  padding-right: 32px !important;
}

div#pfc_preview {
  text-align: center;
  max-width: 100% !important;
  width: 100%;
}

#pfc_crop_inline_image {
  max-height: 300px !important;
}

.pfc-workshop-left section {
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 20px !important;
}

#pfc_configurator_container input[type="text"],
#pfc_configurator_container input[type="number"],
#pfc_configurator_container input[type="email"],
#pfc_configurator_container input[type="url"],
#pfc_configurator_container select {
  border-radius: 5px !important;
}

#pfc_running_total {
  font-size: 14px !important;
  font-weight: normal !important;
}

#pfc_running_total > div:nth-child(3) {
  font-weight: bold !important;
}

#pfc_configurator_container
  > div.pfc-workshop-layout
  > div.pfc-workshop-left
  > section.pfc-dimensions
  > div:nth-child(4)
  > span:nth-child(4) {
  font-size: 15px !important;
}

#pfc_price_mat_single,
#pfc_price_mat_outer,
#pfc_price_mat_inner {
  width: 60px !important;
}

#pfc_frame_tooltip .pfc-frame-tooltip-inner {
  max-width: 400px !important;
  padding: 12px !important;
}

#pfc_frame_tooltip .pfc-frame-preview,
#pfc_frame_tooltip .pfc-frame-slice {
  max-width: 48% !important;
  flex: 1 1 48% !important;
}

#pfc_configurator_container .pfc-navigation .button {
  text-transform: none !important;
}

#pfc_configurator_container h3 {
  color: #4e4e4e;
  font-weight: 300;
  font-size: 16px;
}

.pfc-type-group label:has(input[type="radio"]:checked) {
  border-color: #00b29a !important;
  background: #eef7f6 !important;
}

.pfc-type-group label {
  display: block;
  padding: 8px;
  border: 1px solid #ccc;
  cursor: pointer;
}

.pfc-type-group input[type="radio"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid #999;
  border-radius: 50%;
  position: relative;
}

.pfc-type-group input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 9px;
  height: 9px;
  background: #00b29a;
  border-radius: 50%;
}

.pfc-frame-filters {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.pfc-frame-filters label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 0;
}

#pfc_debug_section,
#pfc_crop_container
  > div.__cropro_.__cropro__3_
  > div
  > div:nth-child(1)
  > div:nth-child(2),
#pfc_crop_container > div > div > div:nth-child(1) > div:nth-child(2),
#pfc_crop_container
  > div
  > div
  > div:nth-child(1)
  > div:nth-child(1)
  > div:nth-child(3),
#pfc_calc_debug {
  display: none !important;
}

.pfc-workshop-left .pfc-mat-layer,
.pfc-workshop-left #pfc_frame_row1,
#pfc_configurator_container
  > div.pfc-workshop-layout
  > div.pfc-workshop-left
  > section.pfc-frames
  > div:nth-child(8),
.pfc-workshop-left
  #pfc_configurator_container
  > div.pfc-workshop-layout
  > div.pfc-workshop-left
  > section.pfc-frames
  > div:nth-child(10) {
  align-items: end !important;
}

.pfc-workshop-left label,
#pfc_configurator_container
  > div.pfc-workshop-layout
  > div.pfc-workshop-left
  > section.pfc-dimensions
  > div:nth-child(4)
  > span:nth-child(1),
.pfc-workshop-left
  #pfc_configurator_container
  > div.pfc-workshop-layout
  > div.pfc-workshop-left
  > section.pfc-dimensions
  > div:nth-child(4)
  > span:nth-child(4) {
  font-size: 15px;
}

.pfc-workshop-left h3,
.pfc-workshop-left h4 {
  font-size: 18px !important;
}

.__cropro__1_toolbar_colors,
#pfc_crop_container > div.__cropro_.__cropro__2_ > div > div:nth-child(1),
#pfc_crop_container > div > div > div:nth-child(1),
#pfc_crop_container > div > div > div:nth-child(3) {
  background-color: #233a5e !important;
}

#pfc_configurator_container {
  border: 0px !important;
  padding: 0px !important;
  min-height: 400px;
  background-color: var(--pfc-bg-color);
  color: var(--pfc-text-color);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

#pfc_configurator_container .pfc-tabs {
  display: flex;
  list-style: none;
  padding-left: 0;
  margin: 0;
  overflow-x: auto;
}

#pfc_configurator_container .pfc-tabs li {
  flex: 1 1 0;
  margin-right: 0;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-bottom: none;
  color: var(--pfc-text-color);
  white-space: nowrap;
  border-radius: 0px !important;
  font-size: 0.875rem;
  text-align: center;
  transition: background-color 0.2s ease-in-out;
  font-weight: 600;
  display: inline-block;
  font-size: 16px;
  float: none;
  width: auto;
  line-height: 25px !important;
  overflow: visible;
  white-space: unset;
  text-overflow: unset;
  margin-right: 0;
  padding-top: 15px;
  padding-bottom: 15px;
  border-left: 0px !important;
  border-right: 0px !important;
}

#pfc_configurator_container .pfc-left {
  background-color: var(--pfc-panel-bg);
  border: 0px !important;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#pfc_configurator_container .pfc-right {
  background-color: var(--pfc-panel-bg);
  border: 0px !important;
  padding: 1rem;
  box-shadow: none !important;
  background: none !important;
}

#pfc_configurator_container h1,
#pfc_configurator_container h2,
#pfc_configurator_container h3,
#pfc_configurator_container h4,
#pfc_configurator_container h5,
#pfc_configurator_container h6 {
  color: var(--pfc-heading-color);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.16667;
  letter-spacing: 0.009em;
  font-family: "SF-Display", Arial, sans-serif;
}

#pfc_configurator_container .pfc-option .label,
#pfc_configurator_container .pfc-step-frame label span,
#pfc_configurator_container .pfc-option span {
  color: inherit;
  font-weight: inherit;
}

#pfc_configurator_container
  > div.pfc-wrapper
  > div.pfc-left
  > div.pfc-steps
  > div
  > div
  > label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--pfc-border-color);
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.05s ease;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.42859;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #333;
}

#pfc_configurator_container
  > div.pfc-wrapper
  > div.pfc-left
  > div.pfc-steps
  > div
  > div
  label:active {
  border-color: #00b29a;
  background: #eef7f6;
}

#pfc_configurator_container
  > div.pfc-wrapper
  > div.pfc-left
  > div.pfc-steps
  > div
  > div
  > label:hover {
  border-color: color-mix(
    in srgb,
    var(--pfc-primary-color) 35%,
    var(--pfc-border-color)
  );
  box-shadow: 0 6px 18px rgba(0, 43, 90, 0.08);
}

#pfc_configurator_container
  > div.pfc-wrapper
  > div.pfc-left
  > div.pfc-steps
  > div
  > div
  > br,
#pfc_configurator_container
  > div.pfc-wrapper
  > div.pfc-left
  > div.pfc-steps
  > div
  > hr {
  display: none !important;
}

body > div.__cropro_.__cropro__1_ > div > div:nth-child(1) > div:nth-child(2) {
  display: none !important;
}

.pfc-workshop-right #pfc_preview {
  margin: auto;
  margin-left: auto;
  margin-right: auto;
  width: auto;
  padding-top: 20px;
  padding-left: 20px;
  text-align: center;
}

.pfc-workshop-left {
  padding-top: 20px;
  padding-left: 20px;
  padding-bottom: 20px;
}

.pfc-workshop-right {
  min-width: 40% !important;
}

.pfc-workshop-left #pfc_image_preview {
  display: none !important;
}

.pfc-workshop-left #pfc_height,
.pfc-workshop-left #pfc_width {
  width: 50% !important;
}

body > div.__cropro_.__cropro__0_ > div > div:nth-child(1) > div:nth-child(2) {
  display: none !important;
}

.pfc-btn,
button.button,
input[type="file"]::file-selector-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pfc-btn:hover,
button.button:hover,
input[type="file"]::file-selector-button:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.pfc-btn:active,
button.button:active,
input[type="file"]::file-selector-button:active {
  background: #f3f4f6;
}

.pfc-btn:focus,
button.button:focus,
input[type="file"]::file-selector-button:focus {
  outline: none;
  border-color: #c7d2fe;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

input[type="file"] {
  font-size: 13px;
}

.pfc-workshop-left,
#pfc_configurator_container > div.pfc-wrapper > div.pfc-left {
  max-width: 50%;
  flex: 1 1 520px;
  min-width: 320px;
  -webkit-box-shadow: 5px 5px 15px -7px #0000002e;
  box-shadow: 5px 5px 15px -7px #0000002e;
  padding-right: 10px;
  z-index: 999;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 6px;
  border: 1px solid var(--store-accent) !important;
}

.pfc-workshop-right {
  flex: 0 0 50% !important;
  min-width: 320px;
  position: sticky;
  top: 20px;
  max-width: 50% !important;
  height: 100vh !important;
}

.pfc-workshop-left section input {
  max-width: 120px !important;
}

.pfc-workshop-left section div span {
  font-size: 15px;
}

#pfc_preview_canvas {
  border: none !important;
}

.pfc-workshop-layout {
  gap: 0px !important;
}

#pfc_mirror_section > div:nth-child(5),
#pfc_configurator_container
  > div.pfc-workshop-layout
  > div.pfc-workshop-left
  > section.pfc-frames
  > div:nth-child(10),
#pfc_configurator_container
  > div.pfc-workshop-layout
  > div.pfc-workshop-left
  > section.pfc-frames
  > div:nth-child(12),
#pfc_configurator_container
  > div.pfc-workshop-layout
  > div.pfc-workshop-left
  > section.pfc-frames
  > div:nth-child(14) {
  align-items: flex-end !important;
}

.storefront-breadcrumb {
  margin: 0px !important;
}

.page-id-328 #content > div.col-full,
.page-id-2 #content > div.col-full,
.page-template-template-raam-material-selection #content > div.col-full,
.page-template-template-raam-digital-print-selection #content > div.col-full,
.page-template-template-peegel-material-selection #content > div.col-full,
.page-template-template-canvas-frames #content > div.col-full,
.page-template-template-raam-homepage #content > div.col-full,
.page-template-template-riputussusteemid #content > div.col-full {
  max-width: 100% !important;
  margin-left: 0px !important;
  margin-right: 0px !important;
  padding: 0 2.617924em !important;
  box-sizing: content-box;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.page-id-328 .storefront-breadcrumb,
.page-id-328 .hentry.type-page .entry-header,
.page-id-2 .storefront-breadcrumb,
.page-id-2 .hentry.type-page .entry-header {
  display: none !important;
}

.site-content {
  outline: none;
  background: #f9fbfd;
}

.pfc-size-tabs {
  list-style: none;
  padding: 4px;
  display: inline-flex;
  gap: 4px;
  margin-bottom: 0.75rem;
  background: var(--pfc-secondary-color);
  border: 1px solid var(--pfc-border-color);
  border-radius: 6px;
  margin-left: 0px;
}

.pfc-size-tabs li {
  padding: 6px 12px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pfc-text-color);
  border-radius: 4px;
  transition: all 0.15s ease;
  user-select: none;
}

.pfc-size-tabs li:hover {
  background: var(--pfc-accent-color);
}

.pfc-size-tabs li.active {
  background: var(--pfc-primary-color);
  color: white;
  font-weight: 600;
}

.pfc-size-tabs li:active {
  transform: scale(0.97);
}

.pfc-steps input[type="file"] {
  font-size: 13px;
  display: none !important;
}

.pfc-size-tabs {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.home.blog .site-header,
.home.page:not(.page-template-template-homepage) .site-header,
.home.post-type-archive-product .site-header,
.site-header {
  margin-bottom: 4.235801032em;
  padding-bottom: 0px !important;
  margin-bottom: 0px;
  padding-top: 30px !important;
}

:root {
  --store-primary: #233a5e;
  --store-primary-hover: #1a2f4c;
  --store-secondary: #eef4fb;
  --store-accent: #cfdff4;
  --store-text: #1b2e45;
  --store-muted-text: #5a6e8c;
}

.site-header {
  background-color: var(--store-primary);
  color: #ffffff;
  padding: 1rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.site-header .site-branding a {
  display: flex;
  align-items: center;
}

.site-header .main-navigation ul.menu {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .main-navigation ul.menu li a {
  font-size: 0.95rem;
  color: #333;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.site-header .main-navigation ul.menu li a:hover,
.site-header .main-navigation ul.menu li.current-menu-item a,
.site-header .main-navigation ul.menu li.current_page_item a {
  border-bottom-color: var(--store-accent);
}

.site-header .site-search input.search-field {
  width: 180px;
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid var(--store-accent);
  background-color: var(--store-secondary);
  color: var(--store-text);
  font-size: 0.85rem;
}

.site-header .site-search button {
  background-color: var(--store-accent);
  color: var(--store-primary);
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
}

.site-header .site-search button:hover {
  background-color: var(--store-primary-hover);
  color: #ffffff;
}

#site-header-cart .cart-contents {
  color: #ffffff;
}

.button,
.woocommerce-button,
button.button,
input[type="submit"],
input[type="button"] {
  background-color: var(--store-primary);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.button:hover,
.woocommerce-button:hover,
button.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background-color: var(--store-accent);
  color: var(--store-primary);
}

@media (min-width: 768px) {
  .site-main ul.products.columns-3 li.product {
    width: 29.4117647059%;
    float: left;
    margin-right: 0px !important;
    margin-right: 12px !important;
    margin-left: 12px !important;
  }
}

.vc_row {
  overflow: visible !important;
  transform: none !important;
}

.pfc-wrapper {
  display: flex;
  align-items: flex-start;
}

.pfc-right {
  position: sticky;
  top: 20px;
}

.site-header .main-navigation ul.menu li a {
  font-size: 0.95rem;
  color: #333;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  font-weight: 500;
}

.pfc-workshop-left button.button:hover,
#pfc_enlarge_preview:hover,
.pfc-skip-upload.button:hover {
  background-color: var(--pfc-secondary-color) !important;
  color: var(--pfc-primary-color) !important;
  border-color: var(--pfc-primary-color) !important;
  border: 1px solid !important;
}

.pfc-workshop-left button.button,
#pfc_enlarge_preview,
.pfc-skip-upload.button {
  border: 1px solid !important;
}

#pfc_configurator_container .pfc-option:has(input:checked),
#pfc_configurator_container .pfc-step-frame label:has(input:checked) {
  border-color: #00b29a !important;
  background: #eef7f6 !important;
}

#pfc_configurator_container {
  font-family: "Open Sans", sans-serif !important;
  letter-spacing: 0.5px !important;
}

.pfc-mat-swatch input[type="radio"]:checked + .pfc-mat-circle {
  border-color: #00b29a;
  box-shadow: 0 0 0 2px #00b29a;
}

@media (min-width: 768px) {
  .site-header-cart .cart-contents {
    padding: 0px !important;
  }
}

#site-header-cart .cart-contents {
  color: #333;
}

.woocommerce-active .site-header .site-header-cart {
  font-size: 0.95rem;
  font-weight: 500;
  padding-top: 7px;
}

#site-header-cart > li > div > div > ul > li > dl {
  display: none;
}

#pfc_configurator_container .pfc-tabs {
  -webkit-box-shadow: 5px 5px 15px -7px #0000002e;
  box-shadow: 5px 5px 15px -7px #0000002e;
}

/* ===== RAAM Header Styles ===== */
.raam-site #masthead,
.raam-site .storefront-primary-navigation,
.raam-site .header-widget-region {
  display: none !important;
}

.raam-topbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #f2f2f2;
  position: relative;
  z-index: 9999;
}

.raam-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  width: 100%;
  max-width: 1520px;
}

.raam-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.raam-logo .custom-logo-link {
  display: block;
}

.raam-logo .custom-logo-link img {
  display: block;
  max-height: 54px;
  width: auto;
}

.raam-logo-text {
  width: 90px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 4px solid #2b7fbc;
  border-top: 4px solid #2b7fbc;
  color: #2b7fbc;
  font-size: 26px;
  letter-spacing: 4px;
  font-weight: 500;
  position: relative;
}

.raam-logo-text:after {
  content: "";
  position: absolute;
  left: -4px;
  bottom: 0;
  width: 35px;
  border-bottom: 4px solid #2b7fbc;
}

.raam-logo-text:before {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  height: 26px;
  border-right: 4px solid #2b7fbc;
}

.raam-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #252525;
  position: relative;
  z-index: 10002;
}

.raam-mobile-toggle .raam-icon-close {
  display: none;
}

.raam-mobile-toggle.active .raam-icon-open {
  display: none;
}

.raam-mobile-toggle.active .raam-icon-close {
  display: block;
}

/* Remove the browser/theme focus ring (purple border) that stays visible
   on the hamburger icon after tapping it. */
.raam-mobile-toggle:focus,
.raam-mobile-toggle:focus-visible,
.raam-mobile-toggle:active {
  outline: none;
  border: none;
  box-shadow: none;
  background: none;
}

.raam-mobile-toggle svg {
  width: 24px;
  height: 24px;
}

.raam-menu-backdrop {
  display: none;
}

body.raam-menu-open {
  overflow: hidden;
}

.raam-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.raam-nav .raam-menu {
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.raam-nav .raam-menu > li {
  position: relative;
}

.raam-nav .raam-menu > li > a {
  display: block;
  padding: 28px 0;
  font-size: 14px;
  font-weight: 600;
  color: #252525;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.raam-nav .raam-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: #2b7fbc;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.raam-nav .raam-menu > li > a:hover,
.raam-nav .raam-menu > li.current-menu-item > a,
.raam-nav .raam-menu > li.current_page_item > a {
  color: #2b7fbc;
}

.raam-nav .raam-menu > li > a:hover::after,
.raam-nav .raam-menu > li.current-menu-item > a::after,
.raam-nav .raam-menu > li.current_page_item > a::after {
  transform: scaleX(1);
}

/* Dropdown arrow for items with children - REMOVED */

/* Dropdown submenu */
.raam-nav .raam-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.raam-nav .raam-menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.raam-nav .raam-menu .sub-menu li {
  position: relative;
}

.raam-nav .raam-menu .sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: all 0.15s ease;
}

.raam-nav .raam-menu .sub-menu li a:hover,
.raam-nav .raam-menu .sub-menu li.current-menu-item > a,
.raam-nav .raam-menu .sub-menu li.current_page_item > a {
  background: #f0f7fc;
  color: #2b7fbc;
  padding-left: 24px;
}

.raam-nav .raam-menu .sub-menu li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: #2b7fbc;
  border-radius: 2px;
  transition: height 0.15s ease;
}

.raam-nav .raam-menu .sub-menu li a:hover::before,
.raam-nav .raam-menu .sub-menu li.current-menu-item > a::before {
  height: 60%;
}

.raam-icons {
  display: flex;
  gap: 26px;
  align-items: center;
  color: #575757;
  position: relative;
}

.raam-icons svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.raam-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
  background: transparent !important;
  border: none;
  padding: 0;
  cursor: pointer;
}

.raam-icon-link:focus {
  outline: none;
}

.raam-icon-link:hover {
  color: #2b7fbc;
  background: transparent !important;
}

.raam-cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #2b7fbc;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.raam-content {
  margin: 0 !important;
  padding: 0 !important;
}

.raam-content .col-full {
  max-width: 1320px !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

.raam-search-popup {
  position: fixed;
  top: 100px;
  right: calc(50vw - 620px);
  width: 320px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 10000;
}

@media (max-width: 1400px) {
  .raam-search-popup {
    right: 40px;
  }
}

.raam-search-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.raam-search-popup form {
  display: flex;
  gap: 8px;
}

.raam-search-popup input[type="search"] {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
  outline: none;
  transition: border-color 0.2s ease;
}

.raam-search-popup input[type="search"]:focus {
  border-color: #2b7fbc;
}

.raam-search-popup button[type="submit"] {
  padding: 10px 18px;
  background: #233a5e;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: "Open Sans", sans-serif;
}

.raam-search-popup button[type="submit"]:hover {
  background: #1a2f4c;
}

.raam-minicart {
  position: absolute;
  top: 100%;
  right: 0;
  width: 300px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.raam-minicart.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.raam-minicart-items {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 240px;
  overflow-y: auto;
}

.raam-minicart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.raam-minicart-item:last-child {
  border-bottom: none;
}

.raam-minicart-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

.raam-minicart-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.raam-minicart-name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

.raam-minicart-qty {
  font-size: 12px;
  color: #666;
}

.raam-minicart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 2px solid #f0f0f0;
}

.raam-minicart-total {
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.raam-minicart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: #2b7fbc;
  color: #ffffff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
  font-family: "Open Sans", sans-serif;
  flex: 1;
  text-align: center;
}

.raam-minicart-btn:hover {
  background: #1a5a8a;
}

.raam-minicart-empty {
  margin: 0;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #999;
}

@media (max-width: 1050px) {
  .raam-topbar-inner {
    padding: 0 24px;
  }
  .raam-icons {
    gap: 12px;
  }
  .raam-mobile-toggle {
    display: block;
    padding-bottom: 2px;
  }
  .raam-menu-backdrop {
    display: block;
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9998;
  }
  .raam-menu-backdrop.open {
    opacity: 1;
    visibility: visible;
  }
  .raam-nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    display: block;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #f2f2f2;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s ease;
    z-index: 10000;
  }
  .raam-nav.open {
    transform: translateY(0);
    visibility: visible;
  }
  .raam-nav .raam-menu {
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
  }
  .raam-nav .raam-menu > li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .raam-nav .raam-menu > li:last-child {
    border-bottom: none;
  }
  .raam-nav .raam-menu > li > a {
    padding: 18px 56px 18px 24px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #252525;
  }
  .raam-nav .raam-menu > li > a::after {
    display: none;
  }
  .raam-nav .raam-menu > li.menu-item-has-children > a {
    position: relative;
  }
  .raam-nav .raam-menu > li.menu-item-has-children > a::after {
    content: "";
    display: block;
    position: absolute;
    left: auto;
    right: 24px;
    top: 50%;
    bottom: auto;
    width: 7px;
    height: 7px;
    background: none;
    border-right: 1.5px solid #2b7fbc;
    border-bottom: 1.5px solid #2b7fbc;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.25s ease;
  }
  .raam-nav .raam-menu > li.menu-item-has-children.open > a::after {
    transform: translateY(-35%) rotate(-135deg);
  }
  .raam-nav .raam-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: #fafbfc;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0;
    margin: 0;
  }
  .raam-nav .raam-menu > li.menu-item-has-children.open > .sub-menu {
    max-height: 600px;
    padding: 6px 0;
  }
  .raam-nav .raam-menu .sub-menu li a {
    padding: 13px 24px 13px 34px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .raam-nav .raam-menu .sub-menu li a:hover,
  .raam-nav .raam-menu .sub-menu li.current-menu-item > a,
  .raam-nav .raam-menu .sub-menu li.current_page_item > a {
    padding-left: 38px;
  }

  /* Remove the purple focus ring from menu items after tapping/clicking. */
  .raam-nav .raam-menu a:focus,
  .raam-nav .raam-menu a:focus-visible,
  .raam-nav .raam-menu a:active {
    outline: none;
    border: none;
    box-shadow: none;
  }
}

/* ===== WooCommerce Pages ===== */
.woocommerce-page #content > .col-full,
.woocommerce #content > .col-full {
  max-width: 1320px !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 0 !important;
  overflow: hidden;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
  display: flex !important;
  flex-direction: column !important;
}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.woocommerce ul.products li.product a img {
  border-radius: 0;
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 12px;
  font-weight: 600;
  margin: 0;
  padding: 14px 14px 6px;
  color: #333;
  line-height: 1.3;
  min-height: calc(12px * 1.3 * 3 + 14px + 6px);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.woocommerce ul.products li.product .price {
  font-size: 14px;
    font-weight: 700;
    color: #001a3a;
    padding: 0 14px 14px;
    margin-bottom: 0px !important;
    min-height: calc(14px * 1.4 + 14px);
}

.woocommerce ul.products li.product .button {
  margin-top: auto;
  margin-bottom: 10px;
    width: 90%;
    border-radius: 0px;
    background: #fff;
    color: #001a3a;
    padding: 10px 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border: 1px solid #abc8ec;
    border-radius: 7px !important;
    margin-left: auto;
    margin-right: auto;
}

.woocommerce ul.products li.product .button:hover {
  background: #001a3a;
  color: #ffffff;
}

.woocommerce ul.products li.product .button.loading,
.woocommerce ul.products li.product .button.added {
  background: #28a745;
  color: #ffffff;
  pointer-events: none;
}

.woocommerce ul.products li.product .button.added:hover {
  background: #218838;
  color: #ffffff;
}

.added_to_cart {
  display: block;
  width: 100%;
  background: #00a901;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
  border: none;
  margin-top: 0 !important;
}

.added_to_cart:hover {
  background: #008f01;
  color: #ffffff;
}

.added_to_cart.alt,
.added_to_cart,
.widget a.button.checkout {
  background-color: #00a901 !important;
  border-color: #00a901 !important;
}

.added_to_cart:hover {
  background: #008f01;
  color: #ffffff;
}

.woocommerce .woocommerce-products-header__title,
.woocommerce-page .woocommerce-products-header__title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: #202428;
}

.woocommerce .woocommerce-products-header {
  margin-bottom: 30px;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce-page .woocommerce-breadcrumb {
  font-size: 13px;
  color: #888;
  margin-bottom: 20px !important;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering {
  margin-bottom: 0 !important;
}

.woocommerce .woocommerce-ordering select.orderby {
  padding: 10px 36px 10px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
  color: #333;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.woocommerce .woocommerce-ordering select.orderby:focus {
  border-color: #2b7fbc;
  outline: none;
}

.woocommerce .woocommerce-result-count {
  display: none !important;
}

.site-main {
  margin-bottom: 2.617924em;
  padding-top: 40px;
}

.storefront-sorting {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.storefront-sorting + .storefront-sorting,
.woocommerce-pagination + .storefront-sorting {
  margin-top: 40px;
}

.storefront-sorting .woocommerce-notices-wrapper {
  width: 100%;
  order: -1;
}

.storefront-sorting .woocommerce-ordering {
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  order: 1;
}

.storefront-sorting .woocommerce-result-count {
  display: none !important;
}

.storefront-sorting .woocommerce-pagination {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
  margin-left: auto;
  order: 2;
}

@media (max-width: 768px) {
  .raam-content .col-full,
  .woocommerce-page #content > .col-full,
  .woocommerce #content > .col-full {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  .site-main {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .woocommerce ul.products li.product a img {
    height: 140px;
  }
  
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 10px 10px 4px;
    font-size: 11px;
    min-height: calc(11px * 1.3 * 2 + 10px + 4px);
    -webkit-line-clamp: 2;
  }
  
  .woocommerce ul.products li.product .price {
    padding: 0 10px 10px;
    font-size: 13px;
    min-height: auto;
  }
  
  .woocommerce ul.products li.product .button {
    margin-bottom: 8px;
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .raam-gallery-grid {
    gap: 6px;
  }
  
  .raam-gallery-grid img {
    height: 80px;
  }
  
  .storefront-sorting {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .storefront-sorting .woocommerce-ordering {
    width: 100%;
    margin-left: 0 !important;
  }
  
  .storefront-sorting .woocommerce-pagination {
    width: 100%;
    margin-left: 0 !important;
  }
  
  .woocommerce .woocommerce-pagination ul.page-numbers {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
  }
  
  .woocommerce .woocommerce-pagination .page-numbers li span,
  .woocommerce .woocommerce-pagination .page-numbers li a {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 13px;
  }
}

.storefront-sorting:not(:has(.woocommerce-pagination)) {
  justify-content: flex-start !important;
}

.woocommerce nav.woocommerce-pagination {
  margin-top: 0 !important;
}

.woocommerce + .storefront-sorting,
.site-main > .storefront-sorting:last-child {
  margin-top: 40px;
}

.woocommerce .woocommerce-pagination {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.woocommerce .woocommerce-pagination ul.page-numbers {
  display: flex;
  gap: 8px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.woocommerce .woocommerce-pagination .page-numbers li span,
.woocommerce .woocommerce-pagination .page-numbers li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #333;
  transition: all 0.2s ease;
}

.woocommerce .woocommerce-pagination .page-numbers li a:hover {
  border-color: #2b7fbc;
  color: #2b7fbc;
}

.woocommerce .woocommerce-pagination .page-numbers li .current {
  background: #2b7fbc;
  color: #fff;
  border-color: #2b7fbc;
}

.single-product .product .images {
  border-radius: 6px;
  overflow: visible;
  background: #ffffff;
  border: 1px solid #e8e8e8;
}

.single-product .product .images img,
.single-product .product .woocommerce-product-gallery__image img {
  max-height: 500px;
  object-fit: contain;
  width: 100%;
  display: block;
}

.single-product .product .woocommerce-product-gallery__wrapper {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
}

.single-product .product .woocommerce-product-gallery__trigger {
  display: none;
}

.single-product .product .flex-control-thumbs {
  display: none;
}

.raam-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.raam-gallery-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e8e8e8;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.raam-gallery-grid img:hover {
  border-color: #2b7fbc;
}

.raam-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.raam-lightbox.active {
  display: block;
}

.raam-lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
}

.raam-lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s;
}

.raam-lightbox-close:hover {
  color: #bbb;
}

.raam-lightbox-prev,
.raam-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  padding: 16px;
  user-select: none;
  transition: color 0.3s;
  z-index: 10000;
}

.raam-lightbox-prev:hover,
.raam-lightbox-next:hover {
  color: #bbb;
}

.raam-lightbox-prev {
  left: 20px;
}

.raam-lightbox-next {
  right: 20px;
}

.single-product .product .summary {
  background: #ffffff;
  padding: 30px;
  border-radius: 6px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.single-product .product .entry-summary h1.product_title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: #202428;
  margin-bottom: 12px;
}

.single-product .product .price {
  font-size: 24px;
  font-weight: 700;
  color: #2b7fbc;
  margin-bottom: 16px;
}

.single-product .product .woocommerce-product-details__short-description {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.single-product .product form.cart {
  margin-bottom: 24px;
}

.single-product .product form.cart .button {
  background: #002855;
  color: #ffffff;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: "Open Sans", sans-serif;
}

.single-product .product form.cart .button:hover {
  background: #001a3a;
}

.single-product .product form.cart .button.loading,
.single-product .product form.cart .button.added {
  background: #28a745;
  color: #ffffff;
}

.single-product .product .woocommerce-tabs {
  margin-top: 40px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
}

.single-product .product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 2px solid #f0f0f0;
  background: #fafbfc;
  width: 100%;
  float: none;
}

.single-product .product .woocommerce-tabs ul.tabs::after {
  content: "";
  display: table;
  clear: both;
}

.single-product .product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  float: none;
}

.single-product .product .woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #888;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s ease;
  float: none;
}

.single-product .product .woocommerce-tabs ul.tabs li a:hover {
  color: #2b7fbc;
}

.single-product .product .woocommerce-tabs ul.tabs li.active a {
  color: #2b7fbc;
  border-bottom-color: #2b7fbc;
  background: #fff;
}

.single-product .product .woocommerce-tabs .panel {
  width: 100%;
  float: none;
  margin-right: 0;
  margin-top: 0;
  padding: 24px 28px;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.single-product .product .woocommerce-tabs .panel.active,
.single-product .product .woocommerce-tabs .panel[style*="display: block"],
.single-product
  .product
  .woocommerce-tabs
  .panel:not([style*="display: none"]) {
  display: block;
}

.single-product .product .woocommerce-tabs .panel h2 {
  font-size: 12px;
  font-weight: 600;
  color: #202428;
  margin: 0 0 16px;
}

.single-product .related h2,
.single-product .upsells h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: #202428;
  margin-bottom: 24px;
}

.single-product .woocommerce-product-attributes {
  width: 100%;
  border-collapse: collapse;
}

.single-product .woocommerce-product-attributes tr {
  border-bottom: 1px solid #f0f0f0;
}

.single-product .woocommerce-product-attributes tr:last-child {
  border-bottom: none;
}

.single-product .woocommerce-product-attributes th {
  padding: 12px 16px 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-align: left;
  width: 30%;
}

.single-product .woocommerce-product-attributes td {
  padding: 12px 0;
  font-size: 14px;
  color: #555;
}

/* ===== Sidebar Product Categories ===== */
.wc-block-product-categories {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
}

/* Hide unwanted categories (scoped to sidebar widget only) */
.wc-block-product-categories
  .wc-block-product-categories-list
  > .wc-block-product-categories-list-item:has(> a[href*="/maaramata/"]),
.wc-block-product-categories
  .wc-block-product-categories-list
  > .wc-block-product-categories-list-item:has(> a[href*="/alusraam/"]),
.wc-block-product-categories
  .wc-block-product-categories-list
  > .wc-block-product-categories-list-item:has(> a[href*="/back/"]),
.wc-block-product-categories
  .wc-block-product-categories-list
  > .wc-block-product-categories-list-item:has(> a[href*="/extra/"]),
.wc-block-product-categories
  .wc-block-product-categories-list
  > .wc-block-product-categories-list-item:has(> a[href*="/frame/"]),
.wc-block-product-categories
  .wc-block-product-categories-list
  > .wc-block-product-categories-list-item:has(> a[href*="/glass/"]),
.wc-block-product-categories
  .wc-block-product-categories-list
  > .wc-block-product-categories-list-item:has(> a[href*="/mat/"]),
.wc-block-product-categories
  .wc-block-product-categories-list
  > .wc-block-product-categories-list-item:has(> a[href*="/mirror/"]),
.wc-block-product-categories
  .wc-block-product-categories-list
  > .wc-block-product-categories-list-item:has(> a[href*="/paper/"]),
.wc-block-product-categories
  .wc-block-product-categories-list
  > .wc-block-product-categories-list-item:has(> a[href*="/service/"]),
.wc-block-product-categories
  .wc-block-product-categories-list
  > .wc-block-product-categories-list-item:has(
    > a[href*="/uncategorized-et/"]
  ) {
  display: none !important;
}

.wc-block-product-categories-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Category icon in sidebar */
.raam-cat-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-right: 8px;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(13%) sepia(17%) saturate(2467%) hue-rotate(183deg) brightness(91%) contrast(92%);

}

.wc-block-product-categories-list-item {
  margin: 0 !important;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.wc-block-product-categories-list-item:last-child {
  border-bottom: none;
}

.wc-block-product-categories-list-item > a {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}

.wc-block-product-categories-list-item > a:hover {
  background: #f8f9fa;
  color: #2b7fbc;
}

.wc-block-product-categories-list-item.current-cat > a,
.wc-block-product-categories-list-item > a.active {
  background: #eef7f6;
  color: #2b7fbc;
  font-weight: 600;
}

.wc-block-product-categories-list-item > .cat-toggle {
  width: 36px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease;
  color: #999;
  flex-shrink: 0;
}

.wc-block-product-categories-list-item > .cat-toggle:hover {
  color: #2b7fbc;
}

.wc-block-product-categories-list-item > .cat-toggle::after {
  content: "+";
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.wc-block-product-categories-list-item > .cat-toggle.expanded::after {
  content: "−";
}

.wc-block-product-categories-list-item:last-child {
  border-bottom: none;
}

.wc-block-product-categories-list-item > a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}

.wc-block-product-categories-list-item > a:hover {
  background: #f8f9fa;
  color: #2b7fbc;
}

.wc-block-product-categories-list-item.current-cat > a,
.wc-block-product-categories-list-item > a.active {
  background: #eef7f6;
  color: #2b7fbc;
  font-weight: 600;
}

.wc-block-product-categories-list-item > a .cat-toggle {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  color: #999;
  flex-shrink: 0;
}

.wc-block-product-categories-list-item > a .cat-toggle::after {
  content: "+";
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.wc-block-product-categories-list-item > a.expanded .cat-toggle::after {
  content: "−";
}

.wc-block-product-categories-list-item > ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fafbfc;
  flex-basis: 100%;
  width: 100%;
}

.wc-block-product-categories-list-item > ul.open {
  max-height: 500px;
}

.wc-block-product-categories-list-item > ul > li {
  margin: 0 !important;
  border-bottom: 1px solid #f0f0f0;
}

.wc-block-product-categories-list-item > ul > li:last-child {
  border-bottom: none;
}

.wc-block-product-categories-list-item > ul > li > a {
  display: block;
  padding: 10px 16px 10px 28px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  transition: all 0.2s ease;
}

.wc-block-product-categories-list-item > ul > li > a:hover {
  background: #f0f4f8;
  color: #2b7fbc;
}

.wc-block-product-categories-list-item > ul > li.current-cat > a {
  background: #eef7f6;
  color: #2b7fbc;
  font-weight: 600;
}

/* ===== Cart Page ===== */
.woocommerce-cart .cart-collaterals {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 24px;
}

.woocommerce-cart .cart-collaterals .cart_totals h2 {
  font-size: 20px;
  font-weight: 500;
  color: #202428;
  margin-bottom: 20px;
}

.woocommerce-cart table.cart {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
}

.woocommerce-cart table.cart th {
  background: #f8f9fa;
  font-weight: 600;
  font-size: 14px;
  color: #333;
  padding: 14px 16px;
}

.woocommerce-cart table.cart td {
  padding: 14px 16px;
  vertical-align: middle;
}

.woocommerce-cart table.cart img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.woocommerce-cart .product-name a {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

.woocommerce-cart .product-price,
.woocommerce-cart .product-subtotal {
  font-size: 14px;
  font-weight: 600;
  color: #2b7fbc;
}

.woocommerce-cart .quantity input.qty {
  width: 70px;
  padding: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
}

.woocommerce-cart .button.checkout {
  background: #2b7fbc;
  color: #ffffff;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  width: 100%;
  text-align: center;
}

.woocommerce-cart .button.checkout:hover {
  background: #1a5a8a;
}

/* Checkout Page */
.woocommerce-checkout #customer_details,
.woocommerce-checkout .woocommerce-checkout-review-order {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 24px;
}

.woocommerce-checkout h3 {
  font-size: 18px;
  font-weight: 500;
  color: #202428;
  margin-bottom: 20px;
}

.woocommerce-checkout .form-row label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
  transition: border-color 0.2s ease;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  border-color: #2b7fbc;
  outline: none;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  padding: 12px 0;
  font-size: 14px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
  font-size: 16px;
  font-weight: 700;
  color: #2b7fbc;
}

.woocommerce-checkout .place-order .button {
  background: #2b7fbc;
  color: #ffffff;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  width: 100%;
}

.woocommerce-checkout .place-order .button:hover {
  background: #1a5a8a;
}

/* My Account Page */
.woocommerce-account .woocommerce-MyAccount-navigation {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 16px 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background: #f8f9fa;
  color: #2b7fbc;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: #eef7f6;
  color: #2b7fbc;
  font-weight: 600;
  border-left: 3px solid #2b7fbc;
}

.woocommerce-account .woocommerce-MyAccount-content {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 24px;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-size: 20px;
  font-weight: 500;
  color: #202428;
  margin-bottom: 20px;
}

.woocommerce-account table.my_account_orders .order-number,
.woocommerce-account table.my_account_orders .order-date {
  font-size: 14px;
  color: #555;
}

.woocommerce-account table.my_account_orders .order-total {
  font-size: 14px;
  font-weight: 600;
  color: #2b7fbc;
}

.woocommerce-account .order-actions .button {
  background: #ffffff;
  color: #2b7fbc;
  border: 1px solid #2b7fbc;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
}

.woocommerce-account .order-actions .button:hover {
  background: #2b7fbc;
  color: #ffffff;
}

/* Category description */
.woocommerce .woocommerce-products-header__description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-top: 12px;
}

/* Sale badge */
.woocommerce span.onsale {
  background: #2b7fbc;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  min-height: auto;
  line-height: 1.4;
  top: 12px;
  left: 12px;
}

/* Star rating */
.woocommerce .star-rating {
  color: #2b7fbc;
}

.woocommerce ul.products li.product .star-rating {
  padding: 0 14px 8px;
}

/* Related products grid */
.single-product .related ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
}

.widget-area .widget a {
  color: #1a2b4a;
  font-size: 12px;
  line-height: 1.6;
  text-decoration: none;
}

@media (max-width: 1050px) {
  .raam-content .col-full,
  .woocommerce-page #content > .col-full,
  .woocommerce #content > .col-full {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .single-product .related ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 20px;
  }
}

/* ===== RAAM Footer ===== */
.site-footer a:not(.button):not(.components-button) {
  color: inherit !important;
}

.site-footer {
  padding-bottom: 0 !important;
}

.raam-footer {
  background: #1a2332;
  color: #c8d0db;
  font-family: "Open Sans", sans-serif;
}

.raam-footer-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 60px 10px 40px;
}

.raam-footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.raam-footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 18px;
  letter-spacing: 0.3px;
}

.raam-footer .custom-logo-link {
  display: block;
  margin-bottom: 12px;
}

.raam-footer .custom-logo-link img {
  max-height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
}

.raam-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 42px;
  border-left: 3px solid #ffffff;
  border-top: 3px solid #ffffff;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 3px;
  font-weight: 500;
  position: relative;
  margin-bottom: 12px;
}

.raam-footer-logo:after {
  content: "";
  position: absolute;
  left: -3px;
  bottom: 0;
  width: 28px;
  border-bottom: 3px solid #ffffff;
}

.raam-footer-logo:before {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  height: 20px;
  border-right: 3px solid #ffffff;
}

.raam-footer-tagline {
  font-size: 13px;
  line-height: 1.5;
  color: #8a96a8;
  margin: 0;
}

.raam-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.raam-footer-menu li {
  margin: 0;
}

.raam-footer-menu li a {
  display: block;
  padding: 6px 0;
  color: #8a96a8;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.raam-footer-menu li a:hover {
  color: #ffffff;
}

.raam-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.raam-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: #8a96a8;
  line-height: 1.4;
}

.raam-footer-contact li:first-child {
  padding-top: 0;
}

.raam-footer-contact li span {
  flex: 1;
}

.raam-footer-contact li svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 2px;
  color: #2b7fbc;
}

.raam-footer-contact li a {
  color: #8a96a8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.raam-footer-contact li a:hover {
  color: #ffffff;
}

.raam-footer-map {
  font-size: 13px;
  color: #2b7fbc;
  text-decoration: none;
  margin-left: 4px;
}

.raam-footer-map:hover {
  color: #ffffff;
}

.raam-footer-social {
  display: flex;
  gap: 12px;
}

.raam-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #8a96a8;
  transition: all 0.2s ease;
  text-decoration: none;
}

.raam-footer-social a:hover {
  background: #2b7fbc;
  color: #ffffff;
}

.raam-footer-social a svg {
  width: 18px;
  height: 18px;
}

.raam-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.raam-footer-bottom-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 20px 70px;
}

.raam-footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: #5a6e8c;
}

@media (max-width: 1050px) {
  .raam-footer-inner {
    padding: 40px 24px 30px;
  }
  .raam-footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .raam-footer-bottom-inner {
    padding: 16px 24px;
  }
}

@media (max-width: 600px) {
  .raam-footer-cols {
    grid-template-columns: 1fr;
  }
  .raam-footer-col {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .raam-footer-col h4 {
    display: block !important;
  }
  .raam-footer-menu,
  .raam-footer-contact,
  .raam-footer-social {
    display: block !important;
  }
  .raam-footer-contact li {
    display: flex !important;
  }
  .raam-footer-tagline {
    display: block !important;
  }
  .raam-footer .custom-logo-link,
  .raam-footer-logo {
    display: block !important;
  }
}

/* ===== Search Results Page ===== */
.search .page-header {
  margin-bottom: 30px;
}

.search .page-header .page-title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: #202428;
}

.search .page-header .page-title span {
  color: #2b7fbc;
}

.search-other-results {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.search-other-results h3 {
  font-size: 18px;
  font-weight: 500;
  color: #202428;
  margin-bottom: 16px;
}

.search-other-results ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-other-results ul li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.search-other-results ul li a {
  color: #2b7fbc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.search-other-results ul li a:hover {
  text-decoration: underline;
}

h2#pfc_type_title.pfc-type-title {
  display: none;
}

#pfc_configurator_container h3 {
  font-size: 1.4em !important;
}

#pfc_configurator_container h4 {
  font-size: 1em !important;
}

.pfc-dim-standard > label {
  display: none !important;
}

#pfc_filter_search,
#pfc_filter_sort,
#pfc_filter_color {
  padding: 0 !important;
  box-shadow: none !important;
  letter-spacing: 0 !important;
}

#pfc_configurator_container select {
  padding-left: 4px !important;
}

@media (min-width: 768px) {
  .site-branding,
  .site-search,
  .site-header-cart,
  .site-logo-anchor,
  .site-logo-link,
  .custom-logo-link {
    margin-bottom: 0;
    vertical-align: middle;
  }
}

/* ===== Double Mat Separation ===== */
#pfc_mats_double_group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pfc-mat-block {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pfc-mat-block-outer {
  border-left: 4px solid #2b7fbc;
}

.pfc-mat-block-inner {
  border-left: 4px solid #00b29a;
}

.pfc-mat-block::before {
  display: block;
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.pfc-mat-block-outer::before {
  content: "Välimine paspartuu";
}

.pfc-mat-block-inner::before {
  content: "Sisemine paspartuu";
}

.pfc-mat-block > p:first-child {
  display: none !important;
}

.pfc-mat-block .pfc-mat-categories {
  margin-bottom: 12px;
}

.pfc-mat-block .pfc-mat-swatches {
  margin-bottom: 12px;
}

.pfc-mat-block .pfc-mat-width-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}

.pfc-mat-block #pfc_mat_color_picker_outer,
.pfc-mat-block #pfc_mat_color_picker_inner {
  margin-top: 12px;
}

.pfc-mat-block #pfc_mat_type_filter_group {
  display: none !important;
}

#pfc_mat_type_filter_outer,
#pfc_mat_type_filter_inner {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
  color: #333;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

#pfc_mat_type_filter_outer:focus,
#pfc_mat_type_filter_inner:focus {
  border-color: #2b7fbc;
  outline: none;
}

@media (max-width: 768px) {
  .pfc-mat-block {
    padding: 12px;
  }
}

#content > div > section.benefits > div:nth-child(2) > img { margin-left: auto;
    margin-right: auto;
    }


.raam-template .kuidas-tellida  {
    margin-left: auto;
    margin-right: auto;
    }

/* ========================================
   eZ Form Calculator (ezfc) Styles
   Inspired by Järsi product page styling
   ======================================== */

.ezfc-wrapper {
  background: #fff;
  border-radius: 8px;
  padding: 10px 0;
}

.ezfc-wrapper .ezfc-form-elements {
  display: flex;
  flex-wrap: wrap;
}

.ezfc-wrapper .ezfc-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

.ezfc-element-wrapper-heading h4 {
  font-size: 18px;
  font-weight: 700;
  color: #002855;
  margin: 12px 0 6px;
  padding: 0;
}

.ezfc-element-wrapper-heading h4 a {
  font-size: 13px;
  font-weight: 400;
  text-decoration: underline;
  color: #002855;
  margin-left: 8px;
}

.ezfc-element-wrapper-numbers input[type="tel"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.ezfc-element-wrapper-numbers input[type="tel"]:focus {
  border-color: #002855;
  box-shadow: 0 0 0 2px rgba(0, 40, 85, 0.1);
  outline: none;
  background: #fff;
}

.ezfc-element-wrapper-numbers .ezfc-label {
  font-size: 13px;
  font-weight: 500;
  color: #555;
}

.ezfc-element-wrapper-hr hr {
  border: none;
  border-top: 2px solid #e8e8e8;
  margin: 8px 0;
}

.ezfc-element-radio-container {
  background: #f8f9fa;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  text-align: center;
  position: relative;
  display: inline-block;
  width: calc(33.333% - 10px);
  vertical-align: top;
  box-sizing: border-box;
}

.ezfc-element-radio-container:hover {
  border-color: #bbb;
  background: #fff;
}

.ezfc-element-radio-container:has(.ezfc-element-radio-input:checked) {
  border-color: #002855;
  background: #f0f4fa;
  box-shadow: 0 0 0 2px rgba(0, 40, 85, 0.15);
}

.ezfc-element-radio-container:has(.ezfc-element-radio-input:checked) .ezfc-element-radio-image {
  opacity: 1;
}

.ezfc-element-radio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ezfc-element-radio-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ezfc-element-option-image {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  opacity: 0.7;
  transition: opacity 0.2s;
  display: block;
  margin: 0 auto;
}

.ezfc-selected {
  opacity: 1;
}

.ezfc-element-radio-text {
  margin-top: 4px;
}

.ezfc-element-radio-text label {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
}

.ezfc-element-radio-price {
  font-size: 12px;
  color: #888;
}

.ezfc-element-radio-clear {
  clear: both;
}

.ezfc-price-wrapper-element {
  background: #f0f4fa;
  border: 2px solid #002855;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.ezfc-price-wrapper-element .ezfc-label {
  font-size: 18px;
  font-weight: 700;
  color: #002855;
  margin: 0;
}

.ezfc-price-wrapper {
  font-size: 28px;
  font-weight: 800;
  color: #002855;
}

.ezfc-price-prefix,
.ezfc-price-suffix {
  font-size: 14px;
  font-weight: 400;
  color: #555;
}

.ezfc-price-currency {
  font-size: 20px;
  font-weight: 700;
}

.ezfc-btn.ezfc-element-submit {
  width: 100%;
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: #002855;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-transform: none;
}

.ezfc-btn.ezfc-element-submit:hover {
  background: #003d7a;
}

.ezfc-btn.ezfc-element-submit:active {
  transform: scale(0.98);
}

.ezfc-submit-wrapper {
  margin-top: 8px;
}

.ezfc-submit-icon {
  display: none;
}

/* Hidden elements */
.ezfc-hidden {
  display: none !important;
}

/* Grid columns for form elements within ezfc */
.ezfc-column.ezfc-col-6 {
  width: 100%;
  padding: 4px 8px;
  box-sizing: border-box;
}

.ezfc-column.ezfc-col-3 {
  width: 50%;
  padding: 4px 8px;
  box-sizing: border-box;
  float: left;
}

.ezfc-column.ezfc-col-1 {
  width: 50%;
  padding: 4px 8px;
  box-sizing: border-box;
  float: left;
}

.ezfc-inline-options .ezfc-element-radio-container {
  width: calc(33.333% - 10px);
  margin: 0 5px 10px;
}

/* Form elements row clearfix */
.ezfc-form-elements::after {
  content: "";
  display: table;
  clear: both;
}

.ezfc-message {
  margin-top: 12px;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
}

.ezfc-success-text {
  margin-top: 12px;
}

/* Option container grid layout */
.ezfc-element-option-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ezfc-element-single-option-container {
  width: auto;
  box-sizing: border-box;
}

/* Responsive */
@media (max-width: 768px) {
  .ezfc-column.ezfc-col-3,
  .ezfc-column.ezfc-col-1 {
    width: 100%;
  }

  .ezfc-inline-options .ezfc-element-radio-container,
  .ezfc-element-radio-container {
    width: calc(50% - 10px);
  }

  .ezfc-price-wrapper-element {
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
  }

  .ezfc-price-wrapper {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .ezfc-inline-options .ezfc-element-radio-container,
  .ezfc-element-radio-container {
    width: 100%;
    margin: 0 0 10px;
  }
}

#post-4858 > header {
    display: none;
  }

.page-id-4858 .site-main {
    padding-top: 0px !important;
}

.ezfc-element-option-has-image {
    display: inline-block;
    padding: 0 .75em .75em 0;
    position: relative;
    text-align: center;
    width: 30%;
}

.ezfc-inline-options .ezfc-element-radio-container {
    width: 30% !important;
    margin: 0px !important;
}

.woocommerce-tabs ul.tabs li.active::after {
    right: 0px !important;
}

.related>h2:first-child, .upsells>h2:first-child {
    font-size: 1.618em;
    margin-bottom: 1em;
    margin-top: 1em;
}

/* ============================================
   Single Product Variation Selection Fields
   ============================================ */

.single-product div.product form.variations_form {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.single-product div.product table.variations {
  margin: 0;
  table-layout: auto;
  width: 100%;
}

.single-product div.product table.variations tbody {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.single-product div.product table.variations tr {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.single-product div.product table.variations th,
.single-product div.product table.variations td {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

.single-product div.product table.variations th.label {
  margin-bottom: 0;
}

.single-product div.product table.variations th.label label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #555;
}

.single-product div.product table.variations td.value {
  margin-bottom: 0;
  position: relative;
}

.single-product div.product table.variations select {
  width: 100%;
  max-width: 100%;
  padding: 11px 40px 11px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
  color: #333;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath fill='%23666' d='M6 7L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  line-height: 1.5;
}

.single-product div.product table.variations select:hover {
  border-color: #a0aec0;
}

.single-product div.product table.variations select:focus {
  border-color: #2b7fbc;
  box-shadow: 0 0 0 3px rgba(43, 127, 188, 0.12);
  outline: none;
}

.single-product div.product table.variations select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #f9fafb;
}

.single-product div.product table.variations .reset_variations {
  display: none !important;
}

.single-product div.product .single_variation_wrap {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.single-product div.product .single_variation_wrap .woocommerce-variation {
  margin-bottom: 16px;
}

.single-product div.product .single_variation_wrap .woocommerce-variation-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.6;
}

.single-product div.product .single_variation_wrap .woocommerce-variation-price {
  margin-bottom: 12px;
}

.single-product div.product .single_variation_wrap .woocommerce-variation-price .price {
  font-size: 1.5em;
  font-weight: 700;
  color: #002855;
  margin-bottom: 0;
}

.single-product div.product .single_variation_wrap .woocommerce-variation-price .price ins {
  text-decoration: none;
}

.single-product div.product .single_variation_wrap .woocommerce-variation-availability {
  margin-bottom: 12px;
}

.single-product div.product .single_variation_wrap .woocommerce-variation-availability .stock {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}

.single-product div.product .single_variation_wrap .woocommerce-variation-availability .stock.in-stock {
  background: #e8f5e9;
  color: #2e7d32;
}

.single-product div.product .single_variation_wrap .woocommerce-variation-availability .stock.out-of-stock {
  background: #fbe9e7;
  color: #c62828;
}

.single-product div.product .variations_button {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 4px;
}

.single-product div.product .variations_button .quantity {
  margin-right: 0;
}

.single-product div.product .variations_button .quantity input.qty {
  width: 60px;
  padding: 11px 8px;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
  text-align: center;
  color: #333;
  background: #fff;
  transition: border-color 0.2s ease;
}

.single-product div.product .variations_button .quantity input.qty:focus {
  border-color: #2b7fbc;
  outline: none;
  box-shadow: 0 0 0 3px rgba(43, 127, 188, 0.12);
}

.single-product div.product form.cart .variations_button .button {
  flex: 1;
  min-width: 180px;
  padding: 13px 28px;
  font-size: 15px;
}

@media (max-width: 768px) {
  .single-product div.product form.variations_form {
    padding: 16px;
  }

  .single-product div.product table.variations tbody {
    gap: 14px;
  }

  .single-product div.product .variations_button {
    flex-direction: column;
    align-items: stretch;
  }

  .single-product div.product .variations_button .quantity input.qty {
    width: 100%;
  }

  .single-product div.product form.cart .variations_button .button {
    min-width: 0;
  }

  .single-product div.product .single_variation_wrap .woocommerce-variation-price .price {
    font-size: 1.25em;
  }
}

#wpadminbar {
    width: 100vw !important;
}

a.custom-logo-link > img {
    min-height: 50px;
}

.raam-oos-inquiry-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 20px;
    background: #233a5e;
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    font-family: "Open Sans", sans-serif;
}

.raam-oos-inquiry-btn:hover {
    background: #1a2f4c;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* UX Products Slider (Flatsome compatibility) */
.raam-ux-products-slider {
    position: relative;
    margin: 30px 0;
    padding: 0 50px;
}

.raam-ux-products-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.raam-ux-products-track::-webkit-scrollbar {
    display: none;
}

.raam-ux-products-track .product {
    flex: 0 0 240px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.raam-ux-products-track .product:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.raam-ux-products-track .product a img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 15px;
    background: #fafafa;
}

.raam-ux-products-track .product .woocommerce-loop-product__title {
    font-size: 14px;
    font-weight: 600;
    padding: 12px 15px 8px;
    margin: 0;
    color: #333;
    line-height: 1.4;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.raam-ux-products-track .product .price {

   font-size: 14px;
    font-weight: 700;
    color: #001a3a;
    padding: 0 14px 14px;
    margin-bottom: 0px !important;
    min-height: calc(14px * 1.4 + 14px);
    margin: 0;
}

.raam-ux-products-track .product .button,
.raam-ux-products-track .product .add_to_cart_button {
    margin: auto 15px 15px;
    padding: 10px 15px;
    background: #233a5e;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.raam-ux-products-track .product .button:hover,
.raam-ux-products-track .product .add_to_cart_button:hover {
    background: #1a2f4c;
}

.raam-ux-products-prev,
.raam-ux-products-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    z-index: 10;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.raam-ux-products-prev:hover,
.raam-ux-products-next:hover {
    background: #233a5e;
    color: #fff;
    border-color: #233a5e;
}

.raam-ux-products-prev {
    left: 0;
}

.raam-ux-products-next {
    right: 0;
}

@media (max-width: 768px) {
    .raam-ux-products-slider {
        padding: 0 40px;
    }
    
    .raam-ux-products-track .product {
        flex: 0 0 180px;
    }
    
    .raam-ux-products-track .product a img {
        height: 140px;
    }
}

/* Embed wrapper for responsive videos */
.raam-embed-wrapper {
    position: relative;
    max-width: 100%;
    margin: 20px 0;
}

.raam-embed-wrapper iframe {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}