/* ============================================================
   TAXICMS — main.css  (redesign 2026)
   Design system: Navy #0C1E45 dominant | Orange #E8692A accent
   Font: Barlow + Barlow Condensed (Google Fonts)
   ============================================================ */

/* ── CSS CUSTOM PROPERTIES ────────────────────────────────── */
:root {
  --navy:        #0C1E45;
  --navy-mid:    #1A3673;
  --navy-light:  #2A4F9C;
  --orange:      #E8692A;
  --orange-h:    #C9541A;
  --orange-pale: #FDF0E8;
  --white:       #FFFFFF;
  --gray-50:     #F5F7FA;
  --gray-100:    #EAEEf3;
  --gray-300:    #B8C4D4;
  --gray-500:    #64748B;
  --gray-700:    #374151;
  --text:        #1A2340;
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   10px;
  --shadow-sm:   0 1px 4px rgba(12,30,69,0.07);
  --shadow-md:   0 4px 16px rgba(12,30,69,0.10);
  --shadow-lg:   0 8px 32px rgba(12,30,69,0.13);
  --font:        'Barlow', sans-serif;
  --font-head:   'Barlow Condensed', sans-serif;
}

/* ── RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

ul  { padding: 0; margin: 0; list-style-type: none; }
ol  { padding: 0; margin: 0 0 0 20px; list-style-type: decimal; }
li  { padding: 0; margin: 0; }

a {
  color: var(--navy);
  text-decoration: none;
  transition: color .15s;
}
a:hover { color: var(--orange); }

img { max-width: 100%; display: block; border-radius: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--gray-100);
  margin: 0;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

p { margin-bottom: 0; }

/* ── UTILITY CLASSES ──────────────────────────────────────── */
.clearfix::after { content: ""; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix { display: block; }

.btn {
  display: inline-block;
  padding: 10px 26px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
  text-align: center;
  text-decoration: none;
}
.btn-primary  { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-h); color: var(--white); }
.btn-outline  { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-white    { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--gray-50); color: var(--navy); }

/* ── WRAPPER ──────────────────────────────────────────────── */
.wrapper {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}
.main-content { flex: 1; }

/* ── TOP BAR ──────────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  padding: 7px 0;
  font-size: 0.8rem;
  color: var(--gray-300);
}
.topbar .container { display: flex; align-items: center; gap: 24px; }
.topbar a { color: var(--gray-300); }
.topbar a:hover { color: var(--white); }
.topbar i { margin-right: 5px; color: var(--orange); font-size: 0.72rem; }

/* ── NAVBAR ───────────────────────────────────────────────── */
.header-wrapper {
  position: relative;
  z-index: 200;
}
.header-middle {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.sticky.is-sticky .header-middle {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}
.sticky.is-sticky ~ .main-content { margin-top: 66px; }

.navbar {
  background: transparent;
  padding: 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 0;
}

/* Brand / Logo */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 36px;
  text-decoration: none;
  order: 1;
}
.logo-main {
  height: 38px;
  width: auto;
}

/* Navigation */
.header-navigation {
  flex: 1;
  position: relative;
  order: 2;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}
.main-nav-item,
.nav-item {
  position: relative;
  margin: 0;
}
.main-nav-link,
.navbar-nav .nav-link {
  color: var(--gray-700);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
  text-decoration: none;
}
.main-nav-link:hover,
.navbar-nav .nav-link:hover,
.main-nav li.active > a,
.nav-item.active > .nav-link {
  color: var(--orange);
  background: var(--orange-pale);
}
.navbar-expand-lg .navbar-nav .nav-link {
  padding: 8px 13px;
}

/* Dropdown arrow */
.has-submenu:hover .submenu-nav,
.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  margin-top: 0;
}
.has-submenu .main-nav-link::after,
.nav-item.dropdown .nav-link::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.55rem;
  opacity: 0.6;
  border: 0;
}
.submenu-nav,
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 999;
  transition: opacity .2s, visibility .2s, margin-top .2s;
  margin-top: 8px;
}
.submenu-nav::before,
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16px;
  width: 32px;
  border-top: 2px solid var(--orange);
  border-radius: 2px;
}
.submenu-nav-item,
.dropdown-menu > li { padding: 0; }

.submenu-nav-link,
.dropdown-item {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  display: block;
  padding: 7px 18px;
  transition: color .15s, background .15s;
  border-radius: 0;
  background: transparent;
}
.submenu-nav-link:hover,
.dropdown-item:hover {
  color: var(--orange);
  background: var(--orange-pale);
}

/* Mobile toggler */
.navbar-toggler {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  background: var(--white);
  margin-left: auto;
  order: 3;
}
.navbar-toggler:focus { box-shadow: none; outline: none; }

/* Nav right actions */
.col-auto {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  order: 3;
}
.sb-search {
  color: var(--navy);
  padding: 0 14px 0 0;
  border-right: 1px solid var(--gray-100);
  cursor: pointer;
  font-size: 0.9rem;
}
.sb-search:hover { color: var(--orange); }
.cart, #logtext { color: var(--navy); padding: 0 14px 0 0; border-right: 1px solid var(--gray-100); }
.cart span {
  background: var(--orange);
  border-radius: 50%;
  color: var(--white);
  display: inline-block;
  font-size: 0.6rem;
  height: 18px;
  width: 18px;
  line-height: 18px;
  position: absolute;
  top: -8px;
  left: 10px;
  text-align: center;
}
#language {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}
#language a { color: var(--navy); }
#language a:hover { color: var(--orange); }

/* ── BREADCRUMB / PATH ────────────────────────────────────── */
.path {
  position: absolute;
  left: 15px;
  top: 50px;
  font-size: 0.78rem;
  font-weight: 400;
  width: auto;
}
div.path-products { top: 150px; }
.path ul li { display: inline-block; }
.path ul li::after { content: "|"; margin-left: 5px; }
.path ul li:last-child::after { content: ""; }
.path a { color: var(--orange); }
.path a:hover { color: var(--orange-h); text-decoration: underline; }

/* ── LAYOUT ───────────────────────────────────────────────── */
.layout {
  position: absolute;
  top: 0; left: 0; right: 0;
  width: 50%;
  height: 100%;
  background: rgba(12, 30, 69, 0.40);
  backdrop-filter: blur(2px);
}

/* ── CAROUSEL / HERO ──────────────────────────────────────── */
.carousel-caption {
  position: absolute;
  right: 50%;
  bottom: 0;
  left: 0;
  padding: 0 60px 0 15px;
  color: var(--white);
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.carousel-caption h5 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}
.carousel-caption p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 36px;
}
.carousel-wrap {
  position: absolute;
  top: 0;
  height: 100%;
  left: 0; right: 0;
}
.carousel-button {
  display: inline-block;
  padding: 11px 28px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border: 0;
  border-radius: var(--radius-sm);
  text-align: center;
  text-decoration: none;
  width: auto;
  min-width: 200px;
  transition: background .18s;
}
.carousel-button:hover { background: var(--orange-h); color: var(--white); }

/* ── SECTION: CONTENT AREA ────────────────────────────────── */
#content {
  padding: 32px 0;
}
.container.body {
  max-width: 1140px;
}
#content h2 {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 8px;
}
#content h5 {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-500);
  margin-bottom: 20px;
}

/* ── SECTIONS: wrapper-section ───────────────────────────── */
.wrapper-section { padding: 10px; }

/* ── PACKAGES row (row-edit) ──────────────────────────────── */
.row-edit {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
}
.row-edit .col-md-3 {
  width: calc(25% - 12px);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-top: 3px solid var(--gray-300);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px 18px;
  transition: box-shadow .2s, border-top-color .2s;
}
.row-edit .col-md-3:hover {
  box-shadow: var(--shadow-md);
  border-top-color: var(--orange);
}

/* ── ABOUT section ────────────────────────────────────────── */
section.about {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 72px 0;
  margin-top: 0;
}
.about-content h2, .gp-title h2 {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 20px;
}
.about-content p {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 20px;
}
.about-home-image { height: 400px; margin-bottom: 0; border-radius: var(--radius-lg); }
.about-image      { height: 400px; border-radius: var(--radius-lg); }

/* ── PRODUCT CATEGORIES ───────────────────────────────────── */
.product-categories-area {
  padding: 72px 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}
.product-category-thumb {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-top: 3px solid var(--gray-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  padding: 28px 24px;
  height: 100%;
  transition: box-shadow .2s, border-top-color .2s;
}
.product-category-thumb:hover {
  box-shadow: var(--shadow-md);
  border-top-color: var(--orange);
}
.product-category-thumb img { max-width: 100%; margin: 0 auto; }
.product-category-thumb h5 {
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 1.5rem 0 0;
  line-height: 1.2;
}
.product-category-thumb:hover h5 { color: var(--orange); }
.product-categories-area a { text-decoration: none; color: var(--navy); }
.product-categories-area a.carousel-button { color: var(--white); }

/* ── PRODUCTS AREA ────────────────────────────────────────── */
.products-area {
  background: url(../images/back-products.jpg) no-repeat fixed top center;
  padding: 88px 0;
  background-size: cover;
  min-height: 500px;
}
.product-box {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  position: relative;
  height: 100%;
}
.product-box h2 {
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 16px;
  text-align: left;
}
.product-box p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
  margin-bottom: 2rem;
}
.product-image { width: 100%; text-align: center; padding: 24px 0 80px; }
.product-button {
  position: absolute;
  display: inline-block;
  margin: 0 auto;
  width: 200px;
  padding: 10px 20px;
  border: 0;
  background: var(--orange);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  border-radius: var(--radius-sm);
  text-align: center;
  text-decoration: none;
  bottom: 28px;
  left: 0; right: 0;
}
.product-button:hover { background: var(--orange-h); color: var(--white); }

/* ── CATEGORY BOX (sidebar) ───────────────────────────────── */
.category-box, .filter-box {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 15px 0;
}
.category-box { margin-top: 0; }
.category-box h2, .filter-box h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0;
}
.category-box .accordion-button {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.category-box .accordion-button::after {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23E8692A'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}
.category-box li, .filter-box li {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
}
.category-box li.sub_nav {
  padding-left: 18px;
  font-weight: 400;
}
.category-box li.sub_nav::before {
  content: '';
  background: url(../images/kockica.png);
  width: 8px; height: 8px;
  position: absolute;
  left: 0; top: 12px;
}
.add-navlinks-default-row {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
}

/* ── GROUP PRODUCT IMAGE ──────────────────────────────────── */
.group-product-image {
  height: 520px;
  background-repeat: no-repeat;
  background-position: top center;
  width: 100%;
  background-size: cover;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.group-product-image h2 {
  font-family: var(--font-head);
  font-size: 2.75rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 12px;
}
.group-product-image .subheader {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 50%;
}
.product-area .group-product-image { height: 420px; }
.breadcrumbs-menu ul { list-style: disc; margin: 24px 0 40px; }
.breadcrumbs-menu ul li {
  font-size: 0.65rem;
  font-weight: 300;
  text-transform: uppercase;
  display: inline-block;
  color: var(--gray-500);
}
.breadcrumbs-menu ul li::after { content: '/'; padding: 0 0 0 5px; }
.breadcrumbs-menu ul li:last-child::after { content: ''; }
.breadcrumbs-menu ul li a { color: var(--gray-500); text-decoration: underline; }
.breadcrumbs-menu ul li a:hover { color: var(--orange); }
.product-group-title { margin-top: 72px; margin-bottom: 24px; }
.product-group-title h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
}
.product-group-box {
  background: var(--white);
  border-top: 2px solid var(--orange);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 40px 15px 24px;
}
.product-item-price { font-size: 1rem; font-weight: 700; color: var(--orange); }

/* ── SLIKA / IMAGE HOVER ──────────────────────────────────── */
.slika {
  text-align: center;
  position: relative;
  display: inline-block;
  background-repeat: no-repeat;
  transition: opacity .25s ease-in-out;
  background-position: center;
  background-size: cover;
}
.news-group-box .slika { min-height: 240px; }
.slika img { z-index: 1; max-width: 100%; transition: opacity .25s ease-in-out; }
.slika:hover img { opacity: 0; }
.slika-home { margin-bottom: 56px; }

/* ── PRODUCT DETAIL ───────────────────────────────────────── */
.swiper-slide {
  text-align: center;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-slide img { display: block; width: 100%; }
.swiper { width: 100%; height: 300px; margin: auto; }
.swiper-slide { background-size: cover; background-position: center; }
.myimage { height: 80%; width: 100%; }
.myimagethumb { height: 21%; box-sizing: border-box; }
.myimagethumb .swiper-wrapper { height: auto; }
.myimagethumb .swiper-slide { width: 33%; height: 100%; opacity: 0.4; }
.myimagethumb .swiper-slide-thumb-active img { border: 1px solid var(--orange); }
.myimagethumb .swiper-slide-thumb-active { opacity: 1; overflow: hidden; }
.product-detail-area { padding: 220px 0 120px; }
.product-detail-box {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 40px;
}
.product-detail-content h4 { font-size: 1.1rem; font-weight: 400; color: var(--navy-light); margin: 0 0 8px; }
.product-detail-content p.code { font-size: 1.1rem; color: var(--gray-500); margin: 0 0 32px; }
.product-detail-content h2.product-detail-title {
  font-family: var(--font-head);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 24px;
}
.product-detail-price { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--orange); margin: 24px 0; }
.product-description { margin-bottom: 32px; min-height: 25px; }
.product-description p { font-size: 0.95rem; line-height: 1.5; }
.product-detail-cart input.quantity {
  width: 36px; border: 0; background: var(--white);
  text-align: center; color: var(--navy); font-size: 1.4rem;
}
.pro-qty label { font-weight: 400; font-size: 1.1rem; margin-right: 24px; }
.pro-qty button {
  border: 0; background: var(--white); color: var(--gray-700);
  font-size: 0.95rem; position: relative; top: -5px; cursor: pointer;
}
.product-detail-cart-btn {
  width: auto; min-width: 240px;
  padding: 11px 28px; border: 0;
  background: var(--orange); font-family: var(--font);
  font-size: 1.05rem; font-weight: 600;
  color: var(--white); border-radius: var(--radius-sm);
  text-align: center; text-decoration: none; display: inline-block;
}
.product-detail-cart-btn:hover { background: var(--orange-h); color: var(--white); }
.conected-products-box { margin-top: 96px; margin-left: -30px; margin-right: -30px; }

/* ── BASKET / CHECKOUT ────────────────────────────────────── */
.basket-area { padding: 112px 0; }
.basket-area h2 {
  font-family: var(--font-head);
  font-size: 2.6rem; font-weight: 700;
  color: var(--navy); margin-bottom: 40px;
}
.basket-area table, .basket-area th, .basket-area td { border: 1px solid var(--gray-100); }
.basket-area th { padding: 12px 32px; font-size: 0.85rem; font-weight: 600; background: var(--gray-50); }
.basket-area td { padding: 32px; }
.basket-area td.product-name { font-size: 0.95rem; font-weight: 600; color: var(--navy); }
.basket-area td.product-thumbnail img { max-width: 72px; }
.basket-area td.product-price { font-size: 0.95rem; font-weight: 600; color: var(--orange); white-space: nowrap; }
.basket-area input.quantity { width: 25px; border: 0; background: var(--white); text-align: center; color: var(--navy); font-size: 1.05rem; }
.basket-area .product-quantity button { border: 0; background: var(--white); color: var(--gray-700); font-size: 0.7rem; position: relative; top: -5px; }
.basket-area .product-remove { background: var(--white); text-align: center; color: var(--orange); font-size: 1.05rem; }
.basket-area .product-remove i { cursor: pointer; }
.basket-area td.product-subtotal { font-size: 0.95rem; font-weight: 600; color: var(--orange); white-space: nowrap; }
.basket-area #totalprice, .basket-area .total-amount {
  max-width: 100px; border: 0;
  font-size: 0.95rem; font-weight: 600; color: var(--navy); white-space: nowrap;
}
.buttons-cart a {
  width: 240px; padding: 10px 20px;
  background: var(--orange); font-family: var(--font);
  font-size: 1.05rem; font-weight: 600; color: var(--white);
  border-radius: var(--radius-sm); border: 0; display: inline-block;
  text-align: center; text-decoration: none;
}
.wc-proceed-to-checkout .order-proceed {
  width: 340px; padding: 10px 20px;
  background: var(--orange); font-family: var(--font);
  font-size: 1.05rem; font-weight: 600; color: var(--white);
  border-radius: var(--radius-sm); border: 0; float: right;
  text-align: center; text-decoration: none; display: inline-block;
}
.buttons-cart a:hover, .wc-proceed-to-checkout .order-proceed:hover {
  background: var(--orange-h); color: var(--white);
}
#orderdata { padding: 80px 0; }
.order-data {
  padding: 56px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
}
.checkout-form-list { margin-bottom: 8px; }
.checkout-form-list label {
  display: flex; color: var(--gray-700);
  font-size: 0.88rem; font-weight: 600;
  line-height: 1.25rem; width: 100%;
}
.checkout-form-list input, .checkout-form-list textarea {
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  width: 100%; padding: 6px 10px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}
.checkout-form-list .name { min-width: 135px; }
.gdpr-click label, .sameaddress label { font-size: 0.8rem; line-height: 1.25rem; }
#order_finish {
  margin-top: 40px; width: 100%;
  padding: 11px 20px; border: 0;
  background: var(--orange); font-family: var(--font);
  font-size: 1.05rem; font-weight: 600; color: var(--white);
  border-radius: var(--radius-sm); text-align: center;
  text-decoration: none; display: block; cursor: pointer;
}
.order-data-checkout {
  margin-top: 40px; padding: 40px 40px 0;
  background: var(--gray-50); border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md); border-radius: var(--radius-md);
}
.order-data-title { border-bottom: 2px solid var(--orange); padding-bottom: 24px; }
.order-data-title h3 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 400; }
.order-data-title h5 { font-size: 0.88rem; font-weight: 400; color: var(--gray-500); }
.order-data-list { padding: 24px 40px; }
.order-data-list .checkout-form-list label { font-weight: 400; }
.order-data-list .checkout-form-list label span, .order-data-title span { font-size: 1.4rem; }
.order-data-list .checkout-form-list { margin-bottom: 24px; }

/* ── PAGINATION ───────────────────────────────────────────── */
.pagination {
  display: flex; padding: 0; list-style: none;
  justify-content: center; color: var(--gray-300);
}
.pagination a, .pagination button {
  margin: 0 8px; color: var(--gray-500); position: relative;
}
.pagination a:hover { color: var(--orange); }
.pagination button { border: 0; background: none; cursor: pointer; }

/* ── ABOUT AREAS ──────────────────────────────────────────── */
.about-area, .system-area2, .about-area3 { padding: 112px 0 56px; }
.about-area2 {
  background-image: linear-gradient(to right, var(--navy), var(--navy-mid));
  padding: 80px 0;
  position: relative;
}
.about-area2 h2, .system-area2 h2, .system-area3 h2, .system-area5 h2 {
  font-family: var(--font-head);
  font-size: 2.75rem; line-height: 1.1;
  padding-bottom: 72px; color: var(--white);
}
.system-area5 h2 { padding-bottom: 48px; line-height: 1.2; }
.system-area3 { padding: 80px 0; }
.system-area3 h2 { padding-bottom: 56px; }
.about-area2 h3, .system-area2 h3 {
  font-family: var(--font-head);
  font-size: 1.4rem; padding: 32px 0;
  color: var(--white); text-align: center;
}
.system-area4 h3 {
  font-family: var(--font-head);
  font-size: 1.75rem; padding: 0 0 72px;
  color: var(--navy); text-align: left; line-height: 1;
}
.system-area4 img { max-width: 100%; }
.system-area4 .carousel-button { width: 100%; }
section.system-area2 h2, section.system-area2 h3, .system-area3 h2 { color: var(--navy); }
.system-area5 {
  background: url(../images/system_back5.jpg) no-repeat fixed top center;
  padding: 120px 0; background-size: cover; min-height: 500px;
}
.system-area5 p { font-size: 1.2rem; color: var(--white); line-height: 1.4; margin-bottom: 48px; }
.about-box {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  margin-bottom: 64px;
}
.about-area .about-box  { border-left: 3px solid var(--orange); }
.about-area3 .about-box { border-right: 3px solid var(--orange); }
.about-box h2 { font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; padding: 24px 0 0; }
.about-box p  { font-size: 0.95rem; font-weight: 400; color: var(--gray-500); }

/* ── NEWS AREA ────────────────────────────────────────────── */
.news-area, .system-area2, .system-area4, .news-details-area,
.contact-form, .contact-form1, .contact-form2 {
  padding: 80px 0;
}
.contact-form1, .contact-form2 { padding: 0; }
.news-details-area { padding: 0 0 80px; }
.system-area4 { padding: 80px 0 160px; }
.news-box {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding-bottom: 24px;
  text-align: center;
  height: 100%;
}
.news-box h2 { color: var(--navy); font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; line-height: 1.25; padding: 24px; text-align: left; }
.news-box p  { color: var(--gray-500); font-size: 0.9rem; line-height: 1.4; padding: 0 24px; text-align: left; }
.news-image img { max-width: 100%; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.news-image { width: 100%; text-align: center; }
.news-button {
  display: inline-block; margin: 0 auto;
  padding: 10px 28px; border: 0;
  background: var(--orange); font-family: var(--font);
  font-size: 0.95rem; font-weight: 600;
  color: var(--white); border-radius: var(--radius-sm);
  text-align: center; text-decoration: none;
}
.news-button:hover { background: var(--orange-h); color: var(--white); }
.news-group-box {
  background: var(--white);
  border-top: 2px solid var(--orange);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 0;
  display: flex; flex-direction: column; height: 100%;
}
.news-content { position: relative; padding: 24px 64px 24px 32px; height: 100%; }
.news-group-box:hover .news-content { background: rgba(12,30,69,0.04); }
.news-content h5 { font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); padding-bottom: 12px; }
a:hover .news-content p { color: var(--navy); }
.news-link {
  position: absolute; right: 32px; top: 50%;
  font-size: 1.3rem; color: var(--orange);
}
.path-news { position: relative; left: 0; top: 0; padding: 48px 0 80px; }
p.date { font-weight: 400; font-size: 0.85rem; padding-bottom: 40px; color: var(--gray-500); }

/* ── GALLERY ──────────────────────────────────────────────── */
.content-gallery { padding-bottom: 112px; }
.content-gallery img { min-width: 100%; }
.video-gallery { padding: 56px 0; }
.galerija {
  padding: 0; position: relative; z-index: 10;
  overflow: hidden; width: 100%; padding-top: 100%;
}
.example-image-link {
  border: 1px solid var(--gray-100);
  position: relative; width: 100%; height: 75%;
  margin-top: -75%;
  display: flex; flex-direction: column; justify-content: center;
}
.image-wrap { padding: 0; position: relative; height: 100%; overflow: hidden; }
.example-image-link::after {
  content: '\A';
  position: absolute; width: 100%; height: 100%; top: 0; left: 0;
  background-color: rgba(12,30,69,0.25);
  background-image: url(../images/icon-zoom.png);
  background-position: center; background-repeat: no-repeat;
  opacity: 0; transition: all .4s; z-index: 10;
}
.example-image-link:hover::after { opacity: 1; }
.loadmore { display: none; margin-top: 80px; }
#loadMore {
  display: flex; justify-content: center;
  margin: 40px auto; width: 200px;
  padding: 10px 20px; border: 0;
  background: var(--orange); font-family: var(--font);
  font-size: 0.95rem; font-weight: 600; color: var(--white);
  border-radius: var(--radius-sm); text-align: center;
  text-decoration: none; cursor: pointer;
}
#loadMore:hover { background: var(--orange-h); }
.galerija-wrap { margin-bottom: -5%; display: none; }
.galerija img {
  z-index: 1; position: absolute;
  top: -9999px; bottom: -9999px; left: -9999px; right: -9999px;
  margin: auto; width: auto;
}
.g-title { padding: 64px 0 0; margin-bottom: -40px; border-top: 1px solid var(--gray-100); }

/* ── SUB MENU ─────────────────────────────────────────────── */
.sub-menu { padding: 112px 0 0; }
.sub-menu li {
  display: inline-block; min-width: 200px;
  padding: 8px 28px; margin-right: 20px;
  border: 0; background: var(--orange);
  font-family: var(--font); font-size: 0.95rem; font-weight: 600;
  color: var(--white); border-radius: var(--radius-sm);
  text-align: center; text-decoration: none;
}
.sub-menu li a { color: var(--white); }
.sub-menu li:hover, .sub-menu li.selected { background: var(--navy); color: var(--white); }

/* ── SEARCH MODAL ─────────────────────────────────────────── */
#search .modal-dialog { top: 90px; max-width: 1100px; }
#search .modal-content, #search .modal-header { background: none; border: 0; }
#search .modal-header { justify-content: flex-end; }
#search .modal-body { margin-top: 56px; padding: 0 10%; }
#search .close {
  color: var(--gray-300); text-shadow: none;
  font-size: 0.7rem; font-weight: 500;
  float: right; line-height: 1; opacity: .6;
  border: 0; background: none; cursor: pointer;
}
#search .close span {
  font-size: 0.9rem; border: 1px solid var(--gray-300);
  padding: 4px 10px; margin-left: 8px; border-radius: var(--radius-sm);
}
#search form { display: flex; }
#search input.search-input {
  font-size: 1.1rem; font-weight: 600;
  background: var(--white); border: 1px solid var(--gray-100);
  padding: 8px 16px; color: var(--navy);
  flex: 8; width: 100%; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
#search input.search-input:focus { outline: none; border-color: var(--orange); }
#search input.search-submit {
  font-size: 0.95rem; font-weight: 600;
  background: var(--orange); border: 0;
  padding: 10px 40px; color: var(--white);
  flex: 1; cursor: pointer;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
#search input.search-submit:hover { background: var(--orange-h); }
.modal-backdrop { background-color: var(--navy); }
.modal-backdrop.show { opacity: .85; }
.search-header-area { padding: 96px 0 48px; background: var(--gray-50); position: relative; z-index: 1; }
.search-result-area { padding: 80px 0; }
.search-result-area h3 { color: var(--navy); }
.search-result-area a { display: block; }

/* ── CONTACT FORM ─────────────────────────────────────────── */
.contact-form { padding: 88px 56px 80px; }
.contact-form-wrapper {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 48px 56px;
}
.cf-title h2 {
  font-family: var(--font-head);
  font-size: 2.6rem; font-weight: 700;
  color: var(--navy); line-height: 1;
  margin-bottom: 56px;
}
.contact-form h3 { font-family: var(--font-head); font-size: 1.75rem; padding: 0 0 16px; color: var(--navy); line-height: 1; }
.contact-form-info { font-size: 0.72rem; line-height: 1.2; margin: 16px 0 16px 8px; }
.buttons-contact {
  width: 100%; padding: 11px 20px;
  border: 0; background: var(--orange);
  font-family: var(--font); font-size: 1.05rem; font-weight: 600;
  color: var(--white); border-radius: var(--radius-sm);
  text-align: center; text-decoration: none; display: block; cursor: pointer;
}
.buttons-contact:hover { background: var(--orange-h); }
.contact-container {
  margin-bottom: 40px; padding-top: 120px;
  padding-left: 28px; border-left: 2px solid var(--orange);
}
.contact-info { padding-top: 12px; }
.contact-info h2 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; padding: 0 56px 16px 0; }
.contact-info p { line-height: 1.6; color: var(--gray-500); }
.contact-info h3 { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; padding: 16px 0 8px; }
.contact-info h4 { font-size: 1.25rem; font-weight: 400; padding: 0 0 16px; }
.contact-info h4 i, .contact-info .phone i { padding-right: 16px; color: var(--orange); }
.contact-info .phone { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--navy); }
.contact-info-header { margin: 0 -24px; }
.contact-info-other {
  display: flex; flex-direction: column;
  justify-content: space-between; height: 100%;
  padding: 40px 0 20px 20px;
  border-left: 2px solid var(--orange);
}
.contact-info-other h2 { font-size: 0.95rem; font-weight: 700; padding: 0 32px 0 0; margin-bottom: 0.6rem; }
.contact-info-other p { font-size: 0.78rem; line-height: 1.4; padding: 0; margin-bottom: 0.6rem; flex-grow: 1; color: var(--gray-500); }
.contact-info-other h4 { font-size: 0.88rem; font-weight: 400; padding: 0 0 16px; }
.contact-info-other .phone { font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.map img, .video-gallery iframe { width: 100%; }

/* ── NEWSLETTER ───────────────────────────────────────────── */
.newsletter-area {
  background: var(--navy);
  box-shadow: var(--shadow-lg);
  padding: 64px 0;
  margin-bottom: 96px;
  border-radius: var(--radius-lg);
}
.newsletter-area h2 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.9rem; font-weight: 700; line-height: 1.25;
  padding-bottom: 24px;
}
.newsletter-area input {
  background: var(--white);
  border: 0; box-shadow: var(--shadow-sm);
  padding: 14px 16px; border-radius: var(--radius-sm);
}
#mc-embedded-subscribe {
  display: inline-block; margin: 0;
  width: 200px; height: 64px;
  padding: 10px 20px; border: 0;
  background: var(--orange); font-family: var(--font);
  font-size: 0.95rem; font-weight: 600; color: var(--white);
  border-radius: var(--radius-sm); text-align: center; cursor: pointer;
}
#mc-embedded-subscribe:hover { background: var(--orange-h); }

/* ── TERMS ────────────────────────────────────────────────── */
.terms-area { padding: 112px 0 32px; }
.terms-area h5 { font-size: 0.95rem; margin: 32px 0 64px; text-align: left; color: var(--navy); }

/* ── SOCIAL ICONS DOCK ────────────────────────────────────── */
.social-icons {
  position: fixed; right: 0; top: 50%;
  transform: translate(0, -50%); z-index: 100;
}
.soc, .in, .insta {
  display: flex; justify-content: center; flex-direction: column;
  background: var(--navy); width: 48px; height: 48px; margin: 2px;
  transition: background .15s;
}
.soc.open {
  width: 360px; height: auto;
  margin-left: -312px;
  animation: left-animate .3s ease;
  position: relative;
  background: var(--orange);
}
.float-contact { display: none; }
.soc.open .float-contact { display: block; }
.soc:hover, .in:hover, .insta:hover { background: var(--orange); }
.soc img, .in img, .insta img { align-self: center; }
.soc.open img { top: 12px; position: absolute; right: 14px; }
@keyframes left-animate {
  0%   { transform: translateX(360px); }
  100% { transform: translateX(0); }
}
.float-contact { padding: 20px 32px; }
.float-contact h2 { color: var(--navy); font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.float-contact p  { font-size: 0.85rem; font-weight: 600; line-height: 1.4; color: var(--white); margin-bottom: 12px; }
.float-contact a:hover { color: var(--white); }
.float-contact p.date  { color: var(--navy); margin-bottom: 0; }
.float-contact p.place { color: var(--white); margin-bottom: 0; }
.soc.open .float-contact img { position: relative; top: unset; right: unset; margin-bottom: 4px; }

/* ── MODULE CARDS (news-area style cards for modules page) ── */
.col-md-6-modules-edit { margin-bottom: 24px; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer-area {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 0;
  font-size: 0.85rem;
}
.footer-area a { color: rgba(255,255,255,0.6); }
.footer-area a:hover { color: var(--orange); }
.footer-area h4 {
  font-family: var(--font-head);
  font-size: 0.82rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 14px;
}
.footer-area li { padding: 6px 0; }
.footer-logo { padding-bottom: 56px; }
.footer-main { padding: 24px 0 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}
.footer-bottom .copyright { color: rgba(255,255,255,0.45); }
.social { min-width: 110px; }
.social a { font-size: 1.1rem; margin-left: 12px; color: rgba(255,255,255,0.55); }
.social a:hover { color: var(--orange); }

/* ── MISC ─────────────────────────────────────────────────── */
.google-maps {
  position: relative; padding-bottom: 5%;
  overflow: hidden; margin: 16px 0;
}
.videodetector {
  position: relative; padding-bottom: 56.25%;
  padding-top: 25px; height: 0;
}
.videodetector iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: 0;
}
#toTop {
  position: fixed; right: 10px; bottom: 35px;
  display: none; width: 35px; height: 34px;
  border: none; background: url(../images/top.png) no-repeat left top;
  text-decoration: none; text-indent: 100%; overflow: hidden;
}
.scroll-to-top {
  position: fixed; bottom: 40px; right: 12px;
  width: 40px; height: 40px;
  background: var(--navy); color: var(--white);
  border-radius: var(--radius-sm); display: none;
  align-items: center; justify-content: center;
  font-size: 0.9rem; cursor: pointer; z-index: 99;
  border: 0; transition: background .15s;
}
.scroll-to-top:hover { background: var(--orange); }

/* page top */
.page-desc h1 {
  font-family: var(--font-head);
  font-size: 2.75rem; font-weight: 700;
  color: var(--navy); line-height: 1.1;
  margin: 80px 0 64px;
}
/* ============================================================
   main-additions.css — v2 komponente (dodati na kraj main.css)
   ============================================================ */

/* ── HERO VIDEO SECTION ───────────────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
}
.hero-video-wrap {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(12, 30, 69, 0.88) 0%,
    rgba(12, 30, 69, 0.55) 55%,
    rgba(12, 30, 69, 0.20) 100%
  );
  z-index: 1;
}
.hero-content-wrap {
  position: relative;
  z-index: 2;
  padding-top: 72px;
  padding-bottom: 72px;
}
.hero-caption {
  color: var(--white);
}
/* Smarty shorthtml içindeki h5 → hero title */
.hero-caption h5 {
  font-family: var(--font-head);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
/* Smarty html içindeki p → hero lead */
.hero-caption p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 32px;
}
/* CTA dugme nasljeđuje .carousel-button iz main.css */

/* ── MODULE CARDS ─────────────────────────────────────────── */
.modules-grid-wrap { padding: 8px 0; }

.module-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.module-card-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-top: 3px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, border-top-color .2s, transform .2s;
}
.module-card-item:hover {
  box-shadow: var(--shadow-lg);
  border-top-color: var(--orange);
  transform: translateY(-3px);
}
.module-card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-50);
}
.module-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform .35s;
}
.module-card-item:hover .module-card-thumb img {
  transform: scale(1.03);
}
.module-card-body {
  padding: 20px 22px 12px;
  flex: 1;
}
.module-card-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.module-card-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.55;
}
.module-card-desc p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.55;
}
.module-card-footer {
  padding: 12px 22px;
  border-top: 1px solid var(--gray-100);
}
.module-card-arrow {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 6px;
}
.module-card-link:hover .module-card-arrow { color: var(--orange-h); }

/* ── NAVLINKS SIDEBAR ─────────────────────────────────────── */
.add-navlinks-default-row {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  margin-bottom: 4px;
}
.add-navlinks-default-row a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-700);
  display: block;
  padding: 5px 0;
  transition: color .15s;
}
.add-navlinks-default-row a:hover,
.add-navlinks-default-row a.selected {
  color: var(--orange);
}

/* ── COMPANY SECTION ──────────────────────────────────────── */
.company-section { background: var(--gray-50); }
.company-title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.company-block { margin-bottom: 16px; }
.company-block p { color: var(--gray-500); line-height: 1.7; }

/* ── MODULE/OPTION DETAILS: box-text ─────────────────────── */
.box-text {
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.box-text a {
  font-weight: 500;
  color: var(--navy);
}
.box-text a:hover { color: var(--orange); }
.box-text a.bg-info {
  background: var(--navy-light) !important;
  color: var(--white) !important;
  font-size: 0.7rem;
  font-style: normal;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.box-text a.bg-info:hover { background: var(--orange) !important; }
.box-text i.fa-question-circle { color: var(--gray-300); font-size: 0.9rem; }
.box-text small i { font-style: italic; color: var(--gray-500); font-size: 0.8rem; }
/* ============================================================
   v3-additions.css — preostale komponente (dodati na kraj main.css)
   ============================================================ */

/* ── NAVLINKS SIDEBAR ─────────────────────────────────────── */
.navlinks-sidebar {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-md);
  padding: 8px 0;
  margin-bottom: 16px;
}
.navlink-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: background .15s, color .15s;
}
.navlink-item a:hover {
  background: var(--orange-pale);
  color: var(--orange);
}
.navlink-item a.active {
  color: var(--orange);
  font-weight: 600;
  background: var(--orange-pale);
}
.navlink-active-icon {
  font-size: 0.6rem;
  color: var(--orange);
}

/* ── CONTACT FORM ─────────────────────────────────────────── */
.contact-form-image {
  position: relative;
  min-height: 480px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden;
}
.contact-form-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(12,30,69,0.55) 0%, rgba(12,30,69,0.15) 100%);
}
.contact-form-fields {
  padding: 48px 40px;
}
.contact-form-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.cf-form { display: flex; flex-direction: column; gap: 0; }
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.cf-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
}
.cf-field input,
.cf-field textarea {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.cf-field input:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,105,42,0.1);
  background: var(--white);
}
.cf-field textarea { resize: vertical; }
.cf-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.cf-check input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--orange);
}
.cf-check-label {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.4;
}
.cf-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .18s;
  align-self: flex-start;
}
.cf-submit-btn:hover { background: var(--orange-h); }
.cf-message {
  font-size: 0.78rem;
  padding: 4px 0;
  margin-top: 4px;
}
.cf-error { color: #b91c1c; }

/* ── NEWS DETAIL ──────────────────────────────────────────── */
.news-detail-header {
  padding: 24px 0 8px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 24px;
}
.news-detail-header h2 {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 8px;
}
.news-detail-image {
  margin-bottom: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.news-detail-image img {
  width: 100%;
  height: auto;
  border-radius: 0;
}
.news-detail-body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gray-700);
}
.news-detail-body h2,
.news-detail-body h3,
.news-detail-body h4 {
  color: var(--navy);
  margin-top: 28px;
  margin-bottom: 12px;
}
.news-detail-body p { margin-bottom: 16px; }
.news-detail-body a { color: var(--orange); text-decoration: underline; }
.news-detail-body ul,
.news-detail-body ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.news-detail-body li { padding: 3px 0; list-style: disc; }
.news-detail-body img { border-radius: var(--radius-md); max-width: 100%; }

/* ── NEWS HOME CARD ───────────────────────────────────────── */
.news-home-area { padding: 64px 0; background: var(--gray-50); }
.news-home-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.news-home-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 3px solid var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  transition: border-left-color .2s, box-shadow .2s;
}
.news-home-card:hover {
  border-left-color: var(--orange);
  box-shadow: var(--shadow-md);
}
.news-home-card-image {
  flex-shrink: 0;
  width: 88px; height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.news-home-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.news-home-card-body { flex: 1; }
.news-home-card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.25;
}
.news-home-card-desc {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.5;
}
.news-home-card-desc p { font-size: 0.82rem; color: var(--gray-500); }
.news-home-card-arrow {
  flex-shrink: 0;
  color: var(--orange);
  font-size: 0.9rem;
  opacity: 0.6;
  transition: opacity .15s;
}
.news-home-card:hover .news-home-card-arrow { opacity: 1; }

/* ── SEARCH MODAL ─────────────────────────────────────────── */
.search-modal-content {
  background: var(--navy);
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.search-modal-header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.search-modal-label {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-modal-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.search-modal-close:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.search-modal-body {
  padding: 28px 24px;
}
.search-form {
  display: flex;
  gap: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.search-form .search-input {
  flex: 1;
  background: var(--white);
  border: 0;
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  border-radius: 0;
}
.search-form .search-input:focus { outline: none; }
.search-form .search-input::placeholder { color: var(--gray-300); }
.search-form .search-submit {
  background: var(--orange);
  border: 0;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 14px 28px;
  cursor: pointer;
  transition: background .18s;
  white-space: nowrap;
}
.search-form .search-submit:hover { background: var(--orange-h); }

/* ── SEARCH RESULTS PAGE ──────────────────────────────────── */
.search-meta {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 8px;
}
.search-meta strong { color: var(--navy); }
.search-result-group {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-100);
}
.search-result-group:last-child { border-bottom: none; }
.search-result-group-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-result-group-title i { color: var(--orange); }
.search-result-list { display: flex; flex-direction: column; gap: 4px; }
.search-result-item { padding: 2px 0; }
.search-result-breadcrumb {
  font-size: 0.72rem;
  color: var(--gray-300);
  margin-bottom: 2px;
}
.search-result-breadcrumb a { color: var(--gray-300); text-decoration: underline; }
.search-result-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy-light);
  padding: 4px 0;
  transition: color .15s;
}
.search-result-link:hover { color: var(--orange); }
.search-result-link i { font-size: 0.6rem; color: var(--orange); }

/* ── PAGINATION ───────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  padding: 16px 0;
}
.pag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px; height: 36px;
  padding: 0 10px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--gray-700);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.pag-btn:hover {
  background: var(--orange-pale);
  color: var(--orange);
  border-color: var(--orange);
  text-decoration: none;
}
.pag-btn.pag-active,
.pag-btn:disabled {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  cursor: default;
  font-weight: 700;
}
.pag-btn:disabled:hover {
  background: var(--navy);
  color: var(--white);
}

/* ── NEWS NOTIFY (social dock) ────────────────────────────── */
.news-notify {
  padding: 20px 24px;
}
.news-notify h2 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.news-notify h2 a { color: var(--navy); }
.news-notify h2 a:hover { color: var(--orange-h); }
.news-notify img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.news-notify p,
.news-notify div {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ── MODULE DETAILS: options list ────────────────────────── */
.module-options-list {
  margin-top: 16px;
}
.module-options-list p {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
