/*
 * Aritaum Aberdeen Centre — site stylesheet.
 * Recreates the Enfold theme ("Vine" colour scheme, Open Sans, logo-left / menu-right header,
 * stretched layout, 1310px content width) without any theme or framework dependency.
 */

:root {
  --primary: #734854;
  --primary-dark: #5e3a44;
  --secondary: #736766;
  --text: #666666;
  --heading: #222222;
  --meta: #919191;
  --border: #e1e1e1;
  --bg: #ffffff;
  --bg2: #f8f8f8;
  --header-text: #333333;
  --header-meta: #808080;
  --alt-bg: #736766;
  --alt-bg2: #826c6b;
  --alt-border: #807877;
  --alt-text: #ffffff;
  --socket-bg: #524a4a;
  --socket-text: #eeeeee;
  --socket-meta: #a9a5a5;
  --ok: #2e7d32;
  --err: #b3261e;
  --header-h: 90px;
  --container: 1310px;
  --gutter: 50px;
  --font: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.65em;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: var(--primary); text-decoration: none; transition: color .15s ease; }
a:hover, a:focus { color: var(--primary-dark); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
p { margin: 0.85em 0; }
strong { color: inherit; font-weight: 600; }
h1, h2, h3, h4, h5, h6 { color: var(--heading); font-weight: 600; line-height: 1.3em; margin: 0 0 .5em; letter-spacing: 0; }
h1 { font-size: 34px; } h2 { font-size: 28px; } h3 { font-size: 20px; } h4 { font-size: 18px; } h5 { font-size: 16px; } h6 { font-size: 14px; }
ul, ol { padding-left: 1.4em; }
table { border-collapse: collapse; width: 100%; }
mark { background: none; color: var(--heading); font-weight: 600; }
address { font-style: normal; }
[hidden] { display: none !important; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; }
.clear { clear: both; }

/* ------------------------------------------------------------------ layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.container::after, .entry-content-wrapper::after, .clearfix::after { content: ""; display: table; clear: both; }
#wrap_all { width: 100%; position: relative; }
.container_wrap { border-top: 1px solid var(--border); clear: both; position: relative; width: 100%; }
#main > .container_wrap_first { border-top: 0; }
.content { padding-top: 50px; padding-bottom: 50px; }
.av-content-full { width: 100%; }
.av-section-cont + .av-section-cont .content { padding-top: 0; }

/* ------------------------------------------------------------------ header */
#header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  color: var(--header-text);
}
#header_main .container { height: var(--header-h); }
#header_main .inner-container { display: flex; align-items: center; height: 100%; }
.logo { display: flex; align-items: center; height: 100%; flex: 0 0 auto; }
.logo a { display: flex; align-items: center; height: 100%; }
.logo img { max-height: calc(var(--header-h) - 24px); width: auto; }
.main_menu { margin-left: auto; height: 100%; }
.av-main-nav { list-style: none; margin: 0; padding: 0; display: flex; height: 100%; }
.av-main-nav > li { position: relative; display: flex; align-items: stretch; }
.av-main-nav > li > a {
  display: flex; align-items: center; padding: 0 13px; height: 100%;
  color: var(--header-meta); font-weight: 600; font-size: 13px; text-decoration: none;
  position: relative;
}
.av-main-nav > li > a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: -1px; height: 2px;
  background: var(--primary); opacity: 0; transform: scaleX(.3); transition: all .2s ease;
}
.av-main-nav > li:hover > a, .av-main-nav > li > a:focus, .av-main-nav > li.current-menu-item > a { color: var(--header-text); }
.av-main-nav > li:hover > a::after, .av-main-nav > li.current-menu-item > a::after { opacity: 1; transform: scaleX(1); }
.av-main-nav .sub-menu {
  list-style: none; margin: 0; padding: 0; position: absolute; top: 100%; left: 0; min-width: 208px;
  background: var(--bg); border: 1px solid var(--border); border-top: 2px solid var(--primary);
  box-shadow: 0 8px 15px rgba(0,0,0,.08);
  visibility: hidden; opacity: 0; transform: translateY(6px); transition: all .18s ease; z-index: 20;
}
.av-main-nav > li:hover > .sub-menu, .av-main-nav > li:focus-within > .sub-menu, .av-main-nav > li.open > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.av-main-nav .sub-menu a { display: block; padding: 9px 15px; color: var(--header-meta); border-top: 1px solid var(--border); font-size: 12px; text-decoration: none; }
.av-main-nav .sub-menu li:first-child a { border-top: 0; }
.av-main-nav .sub-menu a:hover, .av-main-nav .sub-menu .current-menu-item a { color: var(--header-text); background: var(--bg2); }
.submenu-toggle { display: none; }
.menu-item-search > a, .menu-item-cart > a, .menu-item-account > a { padding: 0 10px; }
.icon-search, .icon-cart, .icon-user { display: inline-block; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.icon-search { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 016.32 12.9l5.39 5.4-1.41 1.4-5.4-5.39A8 8 0 1110 2zm0 2a6 6 0 100 12 6 6 0 000-12z'/%3E%3C/svg%3E"); }
.icon-cart { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18a2 2 0 110 4 2 2 0 010-4zm10 0a2 2 0 110 4 2 2 0 010-4zM1 2h3.3l.94 2H21a1 1 0 01.96 1.27l-2.5 9A1 1 0 0118.5 15H8.1l-.9 1.6L7.1 17H19v2H5.5L7.6 15 3.7 4H1V2z'/%3E%3C/svg%3E"); }
.icon-user { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 110-10 5 5 0 010 10zm0 2c5.33 0 9 2.67 9 6v2H3v-2c0-3.33 3.67-6 9-6z'/%3E%3C/svg%3E"); }
.cart-count { position: absolute; top: 22px; right: 0; background: var(--primary); color: #fff; font-size: 10px; line-height: 16px; min-width: 16px; height: 16px; border-radius: 8px; text-align: center; padding: 0 4px; }
.av-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.av-burger span { display: block; height: 2px; background: var(--header-text); margin: 5px 0; transition: transform .2s; }
.header-search { background: var(--bg2); border-top: 1px solid var(--border); padding: 12px 0; }
.header-search .container { display: flex; gap: 10px; }
.header-search input { flex: 1; }

/* ------------------------------------------------------------------ title bar */
.title_container { background: var(--alt-bg); color: var(--alt-text); border-top: 1px solid var(--alt-border); border-bottom: 1px solid var(--alt-border); }
.title_container .container { display: flex; align-items: center; min-height: 56px; padding-top: 10px; padding-bottom: 10px; }
.title_container .main-title { font-size: 16px; font-weight: 400; color: #fff; margin: 0; line-height: 2.3em; display: block; }
.title_container .main-title a { color: #fff; text-decoration: none; }
.title_container .main-title a:hover { opacity: .8; }
.breadcrumb { font-size: 10px; color: #fff; line-height: 1.6; text-align: right; }
.breadcrumb a { color: #fff; }
.breadcrumb .sep { padding: 0 4px; opacity: .7; }
.breadcrumb-title { opacity: .8; margin-right: 3px; }

/* ------------------------------------------------------------------ notices */
.notices { padding-top: 20px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  padding: 12px 16px 12px 44px; margin: 0 0 14px; border: 1px solid var(--border); border-left: 4px solid var(--primary);
  background: var(--bg2); color: var(--heading); position: relative; list-style: none;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { content: "i"; position: absolute; left: 16px; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 600; font-size: 11px; text-align: center; line-height: 18px; }
.woocommerce-message.is-success { border-left-color: var(--ok); }
.woocommerce-message.is-success::before { content: "✓"; background: var(--ok); }
.woocommerce-message.is-error, .woocommerce-error { border-left-color: var(--err); }
.woocommerce-message.is-error::before, .woocommerce-error::before { content: "!"; background: var(--err); }

/* ------------------------------------------------------------------ builder columns (Enfold widths) */
.flex_column { float: left; position: relative; min-height: 1px; margin-left: 6%; }
.flex_column.first { margin-left: 0; clear: left; }
.av_one_full { width: 100%; margin-left: 0; }
.av_one_half { width: 47%; }
.av_one_third { width: 29.333%; }
.av_two_third { width: 64.667%; }
.av_one_fourth { width: 20.5%; }
.av_three_fourth { width: 73.5%; }
.av_one_fifth { width: 15.2%; }
.av_two_fifth { width: 36.4%; }
.av_three_fifth { width: 57.6%; }
.av_four_fifth { width: 78.8%; }
.flex_column > * + * { margin-top: 0; }

.av-layout-grid-container { display: flex; width: 100%; clear: both; }
.flex_cell { flex: 1 1 0; min-width: 0; }
.av_cell_one_full { flex-basis: 100%; } .av_cell_one_half { flex-basis: 50%; } .av_cell_one_third { flex-basis: 33.333%; }
.av_cell_one_fourth { flex-basis: 25%; } .av_cell_one_fifth { flex-basis: 20%; }
.flex_cell .avia-image-container { margin: 0; }
.flex_cell .avia-image-container { text-align: center; }

.av-special-heading { display: flex; align-items: center; gap: 15px; width: 100%; margin: 0; }
.av-special-heading-tag { margin: 0; flex: 0 1 auto; }
.special-heading-border { flex: 1 1 auto; position: relative; height: 1px; }
.special-heading-inner-border { border-top: 1px solid var(--text); opacity: .15; width: 100%; }

.avia_textblock { line-height: 1.65em; }
.avia_textblock > :first-child { margin-top: 0; }
.hr { clear: both; width: 100%; }
.hr-default { border-top: 1px solid var(--border); margin: 30px 0; }
.avia-image-container { display: block; margin-bottom: 0; }
.avia-align-center { text-align: center; }
.avia-align-left { text-align: left; } .avia-align-right { text-align: right; }
.avia-image-container-inner { display: inline-block; position: relative; max-width: 100%; }
.avia-image-container a { display: block; overflow: hidden; }
.avia-image-container a img, .av-masonry a img, .grid-image img, .slide-image img { transition: transform .4s ease, opacity .3s ease; }
.avia-image-container a:hover img, .av-masonry a:hover img { opacity: .85; }
.av-image-caption { font-size: 12px; color: var(--meta); padding-top: 5px; }
.avia-code-element-container iframe { max-width: 100%; width: 100%; border: 0; }
.avia-code-element-container { position: relative; }

/* ------------------------------------------------------------------ slideshows */
.avia-slideshow { position: relative; overflow: hidden; margin: 0 0 20px; background: var(--bg2); }
.avia-slideshow-inner { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.avia-slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, transform .7s ease, visibility 0s linear .7s; }
.avia-slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease, transform .7s ease; z-index: 1; }
.avia-slideshow[data-animation="slide"] .avia-slide { transform: translateX(6%); }
.avia-slideshow[data-animation="slide"] .avia-slide.is-active { transform: none; }
.avia-slide img { display: block; width: 100%; height: auto; }
.avia-slide a { display: block; }
.avia-fullwidth-slider { margin: 0; border-top: 0; }
.avia-slideshow-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 60px; height: 60px; border: 0; border-radius: 3px;
  background: rgba(0,0,0,.3); color: #fff; font-size: 34px; line-height: 56px; cursor: pointer; opacity: 0; transition: opacity .2s;
}
.avia-slideshow:hover .avia-slideshow-arrow, .avia-slideshow-arrow:focus { opacity: 1; }
.avia-slideshow-arrow.prev { left: 15px; } .avia-slideshow-arrow.next { right: 15px; }
.avia-slideshow-dots { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; z-index: 3; }
.avia-slideshow-dots button { width: 14px; height: 14px; border-radius: 14px; border: 0; margin: 0 2px; background: #000; opacity: .6; cursor: pointer; padding: 0; }
.avia-slideshow-dots button.active { background: #fff; opacity: .8; }
.avia-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 40px; background: rgba(0,0,0,.45); color: #fff; z-index: 2; }
.avia-caption-title { color: #fff; font-size: 24px; margin: 0; }
.avia-logo-slider { background: transparent; }

/* ------------------------------------------------------------------ galleries & grids */
.av-masonry { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--gap, 15px); }
.av-masonry-entry a, .av-masonry-entry img { display: block; width: 100%; }
.avia-gallery { margin-bottom: 20px; }
.avia-gallery-big { display: block; margin-bottom: 10px; }
.avia-gallery-big img { width: 100%; }
.avia-gallery-thumb { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 10px; }
.avia-logo-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 15px; align-items: center; }
.aviaccordion { list-style: none; margin: 0; padding: 0; display: flex; height: 360px; overflow: hidden; }
.aviaccordion-slide { flex: 1; overflow: hidden; transition: flex .5s ease; border-left: 1px solid #fff; }
.aviaccordion-slide:hover { flex: 4; }
.aviaccordion-slide img { height: 360px; width: 100%; object-fit: cover; }

.avia-blog-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 30px; }
.slide-entry { border: 1px solid var(--border); background: var(--bg); }
.slide-image { display: block; overflow: hidden; }
.slide-image img { width: 100%; }
.slide-image:hover img { transform: scale(1.03); }
.slide-content { padding: 15px 20px 20px; }
.slide-entry-title { font-size: 15px; margin: 0 0 4px; }
.slide-entry-title a { color: var(--heading); }
.slide-meta { font-size: 11px; color: var(--meta); }
.slide-entry-excerpt { margin-top: 8px; }

.av-portfolio .sort_width_container { margin: 0 0 25px; font-size: 12px; color: var(--meta); }
.sort-btn { border: 0; background: none; color: var(--meta); cursor: pointer; font: inherit; padding: 2px 4px; }
.sort-btn.active, .sort-btn:hover { color: var(--primary); font-weight: 600; }
.text-sep { color: var(--border); padding: 0 4px; }
.grid-sort-container { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.grid-entry { background: var(--bg); text-align: center; transition: opacity .3s; }
.grid-entry.is-hidden { display: none; }
.grid-image { display: block; position: relative; overflow: hidden; }
.grid-image img { width: 100%; display: block; aspect-ratio: 495 / 400; object-fit: contain; background: #fff; }
.grid-image .image-overlay { position: absolute; inset: 0; background: var(--primary); opacity: 0; transition: opacity .3s; }
.grid-image:hover .image-overlay { opacity: .25; }
.grid-image:hover img { transform: scale(1.04); }
.grid-entry-title { font-size: 13px; margin: 0; padding: 12px 10px; }
.grid-entry-title a { color: var(--heading); }
.no-image { display: block; aspect-ratio: 495 / 400; background: var(--bg2); }

/* ------------------------------------------------------------------ blog / single */
.av-content-small { float: left; width: 73%; padding-right: 50px; }
.sidebar { float: left; width: 27%; padding-top: 50px; padding-bottom: 50px; padding-left: 30px; border-left: 1px solid var(--border); }
.widget { margin-bottom: 40px; }
.widgettitle { font-size: 14px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 15px; }
.news-wrap { list-style: none; padding: 0; margin: 0; }
.news-content { padding: 8px 0; border-bottom: 1px solid var(--border); }
.news-link { display: flex; gap: 10px; align-items: center; color: var(--heading); }
.news-thumb img { width: 36px; height: 36px; object-fit: cover; }
.news-headline { font-weight: 600; font-size: 12px; }
.post-entry { margin-bottom: 40px; }
.big-preview { margin-bottom: 25px; }
.entry-content-header .post-title { font-size: 26px; margin-bottom: 5px; }
.post-meta-infos { font-size: 11px; color: var(--meta); display: block; margin-bottom: 20px; }
.post-meta-infos a { color: var(--meta); }
.single-small { display: flex; gap: 25px; border-bottom: 1px solid var(--border); padding-bottom: 30px; }
.single-small .small-preview { flex: 0 0 180px; }
.single-small .post-title { font-size: 20px; margin: 0 0 5px; }
.single-small .post-title a { color: var(--heading); }
.more-link { font-weight: 600; font-size: 12px; }

.searchform { display: flex; gap: 8px; max-width: 520px; margin-bottom: 25px; }
.searchform input[type="search"] { flex: 1; }
.search-count { margin: 10px 0 20px; }
.search-results { list-style: none; padding: 0; }
.search-result { border-bottom: 1px solid var(--border); padding: 15px 0; }
.search-result .post-title { font-size: 18px; margin: 2px 0 4px; }
.search-result-type { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--meta); }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin: 30px 0 0; font-size: 12px; }
.pagination a, .pagination span { display: inline-block; min-width: 32px; text-align: center; padding: 5px 9px; border: 1px solid var(--border); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ------------------------------------------------------------------ forms & buttons */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], select, textarea {
  font: inherit; color: var(--heading); background: var(--bg2); border: 1px solid var(--border); padding: 9px 10px; border-radius: 0; width: 100%; max-width: 100%; min-height: 38px;
}
input:focus, select:focus, textarea:focus { background: #fff; border-color: var(--primary); }
textarea { min-height: 90px; resize: vertical; }
label { display: block; font-weight: 600; color: var(--heading); margin-bottom: 4px; }
label.checkbox { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; }
abbr.required { color: var(--err); text-decoration: none; border: 0; }
.optional { color: var(--meta); font-weight: 400; }
.button, button.button, .avia-button {
  display: inline-block; font: 600 13px/1 var(--font); padding: 12px 18px; border: 1px solid var(--primary); border-radius: 3px;
  background: var(--primary); color: #fff; cursor: pointer; text-decoration: none; transition: background .2s, border-color .2s; text-align: center;
}
.button:hover, .button:focus, .avia-button:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; text-decoration: none; }
.button.alt { background: var(--secondary); border-color: var(--secondary); }
.button.alt:hover { background: #5d5352; }
.button[disabled] { opacity: .5; cursor: not-allowed; }
.link-button { border: 0; background: none; padding: 0; color: var(--primary); cursor: pointer; font: inherit; }
.link-button:hover { text-decoration: underline; }
.form-row { margin: 0 0 14px; }
.form-row-first, .form-row-last { width: 48%; float: left; }
.form-row-last { float: right; }
.form-row-wide, .notes { clear: both; }
fieldset { border: 1px solid var(--border); padding: 15px 20px; margin: 20px 0; }
legend { font-weight: 600; color: var(--heading); padding: 0 6px; }
.address-fields::after, .woocommerce-EditAccountForm::after, .lost_reset_password::after { content: ""; display: table; clear: both; }

/* ------------------------------------------------------------------ shop */
.woocommerce .products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.woocommerce .products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.inner_product { display: flex; flex-direction: column; height: 100%; }
.single_button { margin-top: auto; padding: 0 15px 15px; }
.single_button .button { width: 100%; }
.placeholder-img { width: 100%; height: auto; }
.woocommerce .products .product { border: 1px solid var(--border); background: var(--bg); display: flex; flex-direction: column; text-align: center; }
.thumbnail_container { position: relative; background: var(--bg2); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.thumbnail_container img { width: 100%; height: 100%; object-fit: contain; }
.inner_product_header { padding: 15px 15px 10px; }
.woocommerce-loop-product__title { font-size: 13px; margin: 0 0 6px; color: var(--heading); }
.woocommerce .products .price { color: var(--primary); font-weight: 600; }
.onsale { position: absolute; top: 10px; left: 10px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 2px; }
.placeholder-image { display: block; width: 100%; aspect-ratio: 1; background: var(--bg2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ccc'%3E%3Cpath d='M21 5v14H3V5h18zm-2 2H5v8.6l3.3-3.3 3 3 4-4 3.7 3.7V7z'/%3E%3C/svg%3E") center / 30% no-repeat; }
.product-sorting { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 20px; flex-wrap: wrap; }
.woocommerce-result-count { margin: 0; color: var(--meta); }
.woocommerce-ordering select { width: auto; }
.product-categories { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 25px; font-size: 12px; }
.product-categories .count { color: var(--meta); }
.price del { color: var(--meta); font-weight: 400; }
.price ins { text-decoration: none; }

.product.type-product { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 50px; }
.single-product-main-image { grid-column: 1; }
.single-product-summary { grid-column: 2; }
.woocommerce-tabs, .related { grid-column: 1 / -1; }
.woocommerce-product-gallery .product-main-image { display: block; border: 1px solid var(--border); }
.woocommerce-product-gallery .thumbnails { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.woocommerce-product-gallery .thumbnails a { border: 1px solid var(--border); display: block; }
.product_title { font-size: 26px; margin-bottom: 10px; }
.summary .price { font-size: 20px; color: var(--primary); font-weight: 600; margin: 0 0 15px; }
.woocommerce-product-details__short-description { margin-bottom: 20px; }
form.cart, .variations_form { margin: 20px 0; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
form.cart { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.quantity .qty { width: 80px; text-align: center; }
.woocommerce-variation-add-to-cart { display: flex; gap: 10px; align-items: center; }
.variations { margin-bottom: 10px; }
.variations th { text-align: left; width: 100px; padding: 6px 10px 6px 0; vertical-align: middle; }
.variations td { padding: 6px 0; }
.variations select { max-width: 260px; }
.single_variation { min-height: 1em; margin: 6px 0 12px; font-weight: 600; color: var(--primary); }
.stock { font-weight: 600; }
.out-of-stock { color: var(--err); }
.in-stock { color: var(--ok); }
.product_meta { font-size: 12px; color: var(--meta); }
.product_meta > span { display: block; padding: 3px 0; }
.woocommerce-tabs { border-top: 1px solid var(--border); }
.woocommerce-tabs .tabs { list-style: none; margin: 0; padding: 0; display: flex; border-bottom: 1px solid var(--border); }
.woocommerce-tabs .tabs button { font: 600 13px var(--font); background: var(--bg2); border: 1px solid var(--border); border-bottom: 0; color: var(--meta); padding: 10px 18px; margin: 0 -1px -1px 0; cursor: pointer; }
.woocommerce-tabs .tabs li.active button { background: var(--bg); color: var(--heading); border-bottom: 1px solid var(--bg); }
.woocommerce-Tabs-panel { padding: 25px 0; }
.woocommerce-Tabs-panel h2 { font-size: 18px; }
.shop_attributes th { text-align: left; width: 200px; padding: 8px; background: var(--bg2); border: 1px solid var(--border); }
.shop_attributes td { padding: 8px; border: 1px solid var(--border); }
.related h2 { font-size: 20px; margin: 20px 0; }

.shop_table { border: 1px solid var(--border); margin-bottom: 25px; }
.shop_table th, .shop_table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.shop_table thead th { background: var(--bg2); color: var(--heading); font-weight: 600; }
.shop_table tfoot th, .shop_table tfoot td, .cart_totals th { font-weight: 600; color: var(--heading); }
.cart .product-thumbnail img { width: 64px; }
.cart .remove { border: 0; background: none; font-size: 22px; color: var(--err); cursor: pointer; line-height: 1; padding: 0 4px; }
.cart .actions { text-align: right; }
.cart .coupon { float: left; display: flex; gap: 8px; }
.cart .coupon input { width: 180px; }
dl.variation { margin: 4px 0 0; font-size: 12px; color: var(--meta); }
dl.variation dt, dl.variation dd { display: inline; margin: 0; }
.cart-collaterals { display: flex; justify-content: flex-end; }
.cart_totals { width: 48%; min-width: 300px; }
.cart_totals h2 { font-size: 20px; }
.wc-proceed-to-checkout .button { width: 100%; padding: 16px; font-size: 15px; }
.shipping-methods { list-style: none; padding: 0; margin: 0; }
.shipping-methods label { font-weight: 400; display: flex; gap: 6px; align-items: center; }

.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 30px; }
#order_review_heading { margin-top: 10px; }
.woocommerce-checkout-payment { background: var(--bg2); border: 1px solid var(--border); padding: 20px; }
.wc_payment_methods { list-style: none; margin: 0 0 15px; padding: 0; }
.wc_payment_method { padding: 10px 0; border-bottom: 1px solid var(--border); }
.wc_payment_method > label { display: inline; margin-left: 6px; }
.payment_box { background: #fff; border: 1px solid var(--border); padding: 10px 14px; margin-top: 8px; font-size: 12px; }
.payment_box p { margin: 0; }
#place_order { width: 100%; padding: 16px; font-size: 15px; }
.woocommerce-privacy-policy-text { font-size: 12px; color: var(--meta); }

.woocommerce-order-overview { list-style: none; padding: 0; margin: 20px 0 30px; display: flex; flex-wrap: wrap; border: 1px dashed var(--border); }
.woocommerce-order-overview li { padding: 12px 20px; border-right: 1px dashed var(--border); font-size: 11px; text-transform: uppercase; color: var(--meta); }
.woocommerce-order-overview li strong { display: block; font-size: 14px; text-transform: none; color: var(--heading); }
.woocommerce-thankyou-order-received { font-size: 16px; color: var(--ok); font-weight: 600; }

/* ------------------------------------------------------------------ account */
.my-account { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--border); }
.woocommerce-MyAccount-navigation a, .woocommerce-MyAccount-navigation .link-button { display: block; padding: 10px 6px; color: var(--text); width: 100%; text-align: left; }
.woocommerce-MyAccount-navigation li.is-active a { color: var(--primary); font-weight: 600; }
.login-only { max-width: 480px; }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; }
.woocommerce-Address-title h3 { font-size: 16px; }
.notes .note { border-left: 3px solid var(--border); padding-left: 12px; margin-bottom: 12px; list-style: none; }
.notes .meta { font-size: 11px; color: var(--meta); margin: 0; }

/* ------------------------------------------------------------------ store management */
.admin-nav { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-nav a { padding: 8px 14px; border: 1px solid var(--border); background: var(--bg2); color: var(--heading); }
.admin-nav a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.subsubsub { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; }
.subsubsub .current { font-weight: 600; color: var(--heading); }
.admin-search { display: flex; gap: 8px; max-width: 480px; margin: 10px 0 20px; }
.order-status { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 11px; font-weight: 600; background: #e5e5e5; color: #777; }
.status-processing { background: #c6e1c6; color: #5b841b; }
.status-on-hold { background: #f8dda7; color: #94660c; }
.status-completed { background: #c8d7e1; color: #2e4453; }
.status-failed, .status-cancelled { background: #eba3a3; color: #761919; }
.admin-order-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; }
.admin-box { border: 1px solid var(--border); padding: 15px 18px; margin-bottom: 20px; background: var(--bg2); }
.admin-box h3 { font-size: 15px; }
.order_notes { list-style: none; padding: 0; margin: 0; }
.order_notes .note { background: #fff; border: 1px solid var(--border); padding: 8px 10px; margin-bottom: 8px; }
.order_notes .customer-note { border-left: 3px solid var(--primary); }
.order_notes .meta { font-size: 11px; color: var(--meta); margin: 4px 0 0; }
.admin-table .thumb img { width: 40px; }
.variation-list { margin: 4px 0 0; font-size: 12px; color: var(--meta); }
.admin-hint { color: var(--meta); }

/* ------------------------------------------------------------------ socket */
#socket { background: var(--socket-bg); color: var(--socket-text); border-top: 1px solid #806e6e; font-size: 11px; }
#socket .container { padding-top: 15px; padding-bottom: 15px; }
#socket a { color: #fff; }

.scroll-top { position: fixed; right: 50px; bottom: 50px; width: 50px; height: 50px; border-radius: 2px; background: #524a4a; color: #fff; text-align: center; line-height: 56px; font-size: 24px; z-index: 50; opacity: .9; }
.scroll-top:hover { opacity: 1; color: #fff; text-decoration: none; }

/* ------------------------------------------------------------------ lightbox */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 50px; }
.lightbox-overlay img { max-width: 100%; max-height: 100%; box-shadow: 0 0 25px rgba(0,0,0,.6); }
.lightbox-overlay button { position: absolute; background: none; border: 0; color: #fff; font-size: 44px; cursor: pointer; padding: 10px 16px; opacity: .8; }
.lightbox-overlay button:hover { opacity: 1; }
.lb-close { top: 10px; right: 10px; } .lb-prev { left: 10px; top: 50%; transform: translateY(-50%); } .lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* ------------------------------------------------------------------ responsive (Enfold breakpoints) */
@media (max-width: 989px) {
  :root { --gutter: 30px; }
  .av-main-nav > li > a { padding: 0 9px; }
  .woocommerce .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .avia-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-sort-container { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; --header-h: 70px; }
  .av-burger { display: block; }
  .main_menu { position: absolute; top: 100%; left: 0; right: 0; height: auto; background: var(--bg); border-bottom: 1px solid var(--border); display: none; box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  #header.menu-open .main_menu { display: block; }
  #header.menu-open .av-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #header.menu-open .av-burger span:nth-child(2) { opacity: 0; }
  #header.menu-open .av-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .av-main-nav { flex-direction: column; height: auto; }
  .av-main-nav > li { flex-wrap: wrap; border-top: 1px solid var(--border); }
  .av-main-nav > li > a { padding: 13px var(--gutter); height: auto; flex: 1; }
  .av-main-nav > li > a::after { display: none; }
  .submenu-toggle { display: block; width: 50px; border: 0; border-left: 1px solid var(--border); background: none; cursor: pointer; position: relative; }
  .submenu-toggle::before { content: "+"; font-size: 18px; color: var(--header-meta); }
  .open > .submenu-toggle::before { content: "–"; }
  .av-main-nav .sub-menu { position: static; display: none; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; flex-basis: 100%; }
  .av-main-nav > li.open > .sub-menu { display: block; }
  .av-main-nav > li:hover > .sub-menu { display: none; }
  .av-main-nav > li.open:hover > .sub-menu { display: block; }
  .av-main-nav .sub-menu a { padding-left: calc(var(--gutter) + 15px); }
  .menu-item-search, .menu-item-cart, .menu-item-account { display: inline-flex; }
  .cart-count { top: 6px; right: auto; left: calc(var(--gutter) + 14px); }
  .title_container .container { flex-direction: column; align-items: flex-start; gap: 4px; }
  .breadcrumb { text-align: left; }
  .flex_column, .flex_column.first { width: 100%; margin-left: 0; margin-bottom: 25px; float: none; }
  .av-layout-grid-container { flex-wrap: wrap; }
  .av_cell_one_fourth, .av_cell_one_third, .av_cell_one_fifth { flex-basis: 50%; }
  .av-content-small, .sidebar { float: none; width: 100%; padding-right: 0; padding-left: 0; border-left: 0; }
  .sidebar { padding-top: 0; }
  .woocommerce .products, .avia-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .grid-sort-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .av-masonry { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); }
  .product.type-product, .col2-set, .my-account, .admin-order-grid { grid-template-columns: 1fr; gap: 25px; }
  .single-product-main-image, .single-product-summary { grid-column: 1; }
  .cart_totals { width: 100%; min-width: 0; }
  .form-row-first, .form-row-last { width: 100%; float: none; }
  .single-small { flex-direction: column; }
  .single-small .small-preview { flex-basis: auto; }
  .aviaccordion { height: 220px; } .aviaccordion-slide img { height: 220px; }
  .shop_table_responsive thead, .cart thead { display: none; }
  .cart tr.cart_item { display: grid; grid-template-columns: 40px 70px 1fr; }
  .cart td { border: 0; padding: 6px; }
  .cart td[data-title]::before { content: attr(data-title) ": "; font-weight: 600; color: var(--heading); }
  .cart .product-name { grid-column: 3; }
  .cart .product-price, .cart .product-quantity, .cart .product-subtotal { grid-column: 1 / -1; text-align: left; }
  .cart .coupon { float: none; margin-bottom: 10px; }
  .cart .actions { text-align: left; }
  .woocommerce-order-overview li { border-right: 0; border-bottom: 1px dashed var(--border); width: 100%; }
  .scroll-top { right: 12px; bottom: 12px; }
  .lightbox-overlay { padding: 50px 10px; }
  h1 { font-size: 26px; }
}
@media (max-width: 479px) {
  .woocommerce .products, .avia-blog-grid { grid-template-columns: 1fr; }
  .av_cell_one_fourth, .av_cell_one_third { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------------ live-site parity (Enfold widgets, archives, search, shop sorting) */
.sidebar .widget ul { list-style: none; padding: 0; margin: 0; }
.sidebar .widget ul li { padding: 5px 0; border-top: 1px solid var(--border); }
.sidebar .widget ul li:first-child { border-top: 0; }
.sidebar .widget a { color: var(--text); }
.sidebar .widget a:hover { color: var(--primary); }
.seperator { display: block; border-top: 1px solid var(--border); margin-top: 30px; }
.widget .newsbox .news-content, .newsbox .news-content { border: 0; padding: 7px 0; }
.news-time { display: none !important; }
.searchform > div { display: flex; position: relative; width: 100%; }
.searchform > div input[type="text"] { flex: 1; padding-right: 44px; }
.search-submit { position: absolute; right: 0; top: 0; height: 100%; width: 40px; padding: 0; background: var(--secondary); border-color: var(--secondary); display: flex; align-items: center; justify-content: center; }
.search-submit .icon-search { color: #fff; }
.blog-meta { flex: 0 0 180px; }
.blog-meta:empty { display: none; }
.single-small .post-title a span { display: none; }
.read-more-link { margin-top: 10px; }
.more-link { display: inline-block; padding: 6px 12px; border: 1px solid var(--border); background: var(--bg2); color: var(--text); font-weight: 400; }
.more-link:hover { color: var(--primary); text-decoration: none; }
.more-link-arrow::after { content: " ›"; }
.pagination-meta { border: 0 !important; color: var(--meta); }
.page-heading-container { border-bottom: 1px solid var(--border); padding-bottom: 25px; margin-bottom: 30px; }
.search_form_field h4 { margin-bottom: 4px; }
.search_form_field .searchform { max-width: none; }
.extra-mini-title { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--meta); margin-bottom: 25px; }
.search-result { position: relative; padding: 0 0 25px 60px; border: 0; }
.search-result-counter { position: absolute; left: 0; top: 0; width: 44px; height: 44px; line-height: 44px; border-radius: 50%; border: 1px solid var(--border); text-align: center; color: var(--meta); font-size: 15px; }
.search-result .post-title { font-size: 20px; margin: 0 0 3px; }
.search-result .post-title a { color: var(--heading); }
#search-fail .searchform { max-width: 520px; margin: 15px 0 25px; }
.av-cat-count { color: var(--meta); font-size: 10px; margin-left: 3px; }
.product-sorting { justify-content: flex-start; gap: 10px; }
.sort-param { position: relative; border: 1px solid var(--border); background: var(--bg2); font-size: 12px; }
.sort-param summary { list-style: none; cursor: pointer; padding: 7px 30px 7px 12px; }
.sort-param summary::-webkit-details-marker { display: none; }
.sort-param summary::after { content: "▾"; position: absolute; right: 10px; color: var(--meta); }
.sort-param ul { list-style: none; margin: 0; padding: 6px 0; position: absolute; z-index: 30; left: -1px; top: 100%; min-width: 200px; background: var(--bg); border: 1px solid var(--border); box-shadow: 0 6px 12px rgba(0,0,0,.08); }
.sort-param li a { display: block; padding: 4px 12px; color: var(--text); }
.sort-param li.current-param a { color: var(--heading); font-weight: 600; }
.avia-bullet { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--border); margin-right: 8px; vertical-align: middle; }
.current-param .avia-bullet { background: var(--primary); }
.related-wrap { background: var(--alt-bg); border-top: 1px solid var(--alt-border); padding: 30px 0 40px; }
.related-wrap h2 { color: #fff; font-size: 18px; }
.related-wrap .product { border-color: var(--alt-border); }
.avia-blog-grid .slide-content { padding: 12px 15px 15px; text-align: center; }
.avia-blog-grid .slide-entry-title { font-size: 13px; margin: 0; }
@media (max-width: 767px) {
  .woocommerce .products.columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-meta { flex-basis: auto; }
  .scroll-top { right: 12px; bottom: 12px; }
}
