/*
Theme Name: Andan Deco Storefront Child
Theme URI: https://andan-deco.com/
Description: Storefront child theme scaffold for the Andan Deco WooCommerce project.
Author: Codex
Author URI: https://openai.com/
Template: storefront
Version: 0.1.0
Text Domain: andan-deco
*/

/*
 * Keep this file lean. The HTML export styles live in /assets/css/main.css
 * and are enqueued from inc/assets.php.
 */

/* Logo – plne responzívne, transparent */
:root{
  --logo-color: #fff;
  --logo-font: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --logo-weight: 250;
  --tagline-weight: 250;
}

.promo-cards {
    --default-color: #555;
    --heading-color: #919191 !important;
}
/*
.btn-primary, a, .active {
    color: var(--heading-color);
}*/

/* Obal loga */
.logo-andan{
  /* FLUID premenné – upravíš raz a škáluje všetko */
  --box:   clamp(180px, 35vw, 320px);   /* veľkosť štvorca */
  --pad:   clamp(10px, 2.2vw, 20px);    /* vnútorné odsadenie */
  --gap:   clamp(6px,  1.2vw, 12px);    /* medzery medzi prvkami */
  --bdr:   clamp(1px,  0.35vw, 3px);    /* hrúbka borderu + liniek */

  inline-size: var(--box);              /* šírka (responzívna) */
  aspect-ratio: 1 / 1;                  /* udrž štvorcový tvar */
  border: var(--bdr) solid currentColor;/* responzívny border */
  color: var(--logo-color);
  background: transparent;

  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap);
  padding: var(--pad);
  margin: 0 auto;
}

/*
* CUSTOM CSS
*/

a {outline : none;}
a img {outline : none;}
img {border : 0;}
a:active, a:focus { 
outline: none; 
ie-dummy: expression(this.hideFocus=true);
}
a:focus,
.focus a {
  outline: none !important;
}

.logo-andan:hover{
  opacity: 1 !important;
  color:#fff;
  border-color:#efefef; /* alebo nechaj currentColor */
}

/* Vodorovné linky – šírka sa prispôsobí vnútornému priestoru */
.logo-andan .logo-line{
  inline-size: calc(100% - (var(--pad) * 2));
  block-size: max(2px, var(--bdr));     /* hrúbka v súlade s borderom */
  background: currentColor;
  opacity:.9;
}

/* Brand text */
.logo-andan .logo-brand{
  font-family: var(--logo-font);
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1;
  font-size: clamp(18px, 5vw, 24px);
  white-space: nowrap;
  font-weight: var(--logo-weight);
}

/* Tagline */
.logo-andan .logo-tagline{
  font-family: var(--logo-font);
  letter-spacing: 0;
  text-transform: lowercase;
  opacity: 1;
  font-size: clamp(10px, 2.2vw, 14px);
  white-space: nowrap;
  font-weight: var(--tagline-weight);
}

/* Voliteľné: invert cez wrapper .dark */
.dark .logo-andan{ color:#fff; }

/* Čierna verzia loga do navbaru */
.logo-andan-navbar{
  --logo-color: #000;
  --logo-font: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: clamp(4px, 0.6vw, 6px);
  color: var(--logo-color);
  text-decoration:none;
  background: transparent;
  max-inline-size: 220px;   /* max šírka 150px */

}

/* Brand text */
.logo-andan-navbar .logo-brand{
  font-family: var(--logo-font);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: clamp(14px, 3vw, 22px);
  line-height:1.2;
  text-align:center;
  white-space: nowrap;
}

/* Horizontálna linka */
.logo-andan-navbar .logo-line{
  inline-size: 100%;
  block-size: 2px;
  background: currentColor;
  opacity: .9;
}

/* Tagline */
.logo-andan-navbar .logo-tagline{
  font-family: var(--logo-font);
  font-weight: 400;
  letter-spacing: .05em;
  font-size: clamp(8px, 2vw, 12px);
  opacity:.85;
  text-align:center;
  white-space: nowrap;
}

.header .search-form .input-group {
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.08) !important;
}
.header .search-form .input-group input {

    box-shadow: inset 0 0px 0px rgba(0,0,0,.125) !important;
}

/*
* CUSTOM HOMEPAGE
*/

.hero {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    /*background: url("https://shop.andan-deco.com/wp-content/uploads/2026/04/background.jpg") center center / cover no-repeat;*/
    background: url("assets/img/hero/andan_hero_02.webp") center center / cover no-repeat;
}

/* filter / overlay cez background */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.40); /* tmavý filter */
    z-index: 1;
    pointer-events: none;
}

/* obsah hero sekcie musí byť nad filtrom */
.hero > * {
    position: relative;
    z-index: 2;
}
.hero .slide-content h1 {text-align: center;color:#FFFFFF;}
.hero .slide-content h1 span {text-align: center;color:var(--heading-color) !important;}

.hero .slide-content h1 span {color: #ffffff;}
.hero .slide-content h1 span::after {display: none;}
.hero .slide-content .slide-cta {text-align: center;}
.hero .slide-content .slide-cta .btn {padding: 0.95rem 1.95rem !important;border-radius: 50px !important;}
.hero .slide-new .product-showcase .product-grid .product-item a {
	color: inherit;
	text-decoration: none;
}
.hero .slide-new .product-showcase .product-grid .product-item .product-image a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.promo-cards .section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #b2a393 !important;
    font-family: var(--heading-font);
}

.promo-cards .promo-card .promo-image img {
    height: 70% !important;
    padding: 0 10px;
}

.promo-cards .promo-card.promo-card-3 {
    background-color: #F0F5F0 !important;
}
.about .content .read-more:hover i {
  transform: rotate(0deg) !important;
}

/*
* CUSTOM CATEGORY PAGE
*/
.category-page .andan-shop-layout {
    grid-template-columns: minmax(240px, 1fr) minmax(0, 0fr) !important;
}
.category-page .andan-products-grid, .category-page .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.category-page .widgets-container .widget,
.category-page .widgets-container .widget-item {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 20px;
	padding: 1.75rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.category-page .widgets-container .widget:last-child,
.category-page .widgets-container .widget-item:last-child {
	margin-bottom: 0;
}

.category-page .widgets-container .widget-title,
.category-page .widgets-container .widget > .widgettitle {
	font-size: 1.125rem;
	font-weight: 600;
	margin-bottom: 1.25rem;
}

.category-page .widgets-container ul,
.category-page .widgets-container ol {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.category-page .widgets-container li {
	margin: 0;
	padding: 0.65rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.category-page .widgets-container li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.category-page .widgets-container a {
	color: inherit;
	text-decoration: none;
}

.category-page .widgets-container .children,
.category-page .widgets-container .woocommerce-widget-layered-nav-list__children {
	padding-left: 1rem;
	margin-top: 0.5rem;
}

.category-page .widgets-container .count {
	opacity: 0.7;
	font-size: 0.875rem;
}

.category-page .widget_price_filter .price_slider_wrapper .ui-widget-content {
	border: 0;
	background: rgba(0, 0, 0, 0.08);
	border-radius: 999px;
	height: 6px;
}

.category-page .widget_price_filter .ui-slider .ui-slider-range {
	background: #b2a393;
}

.category-page .widget_price_filter .ui-slider .ui-slider-handle {
	background: #fff;
	border: 2px solid #b2a393;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	top: -6px;
}

.category-page .widget_price_filter .price_slider_amount {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	margin-top: 1rem;
}

.category-page .widget_price_filter .price_slider_amount .button {
	background: #111;
	border: 0;
	border-radius: 999px;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 0.7rem 1.2rem;
}

.category-page .archive-ordering .woocommerce-ordering,
.category-page .archive-result-count .woocommerce-result-count,
.category-page .woocommerce-notices-wrapper > * {
	margin: 0;
}

.category-page .archive-ordering .orderby {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 1rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 14px;
	background: #fff;
	color: #111;
}

.category-page .archive-result-count .shop-toolbar-meta {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 0.75rem 1rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 14px;
	background: #fff;
}

.category-page .archive-search-form .input-group {
	flex-wrap: nowrap;
}

.category-page .woocommerce-notices-wrapper {
	margin-bottom: 1rem;
}

.category-page .woocommerce-message,
.category-page .woocommerce-info,
.category-page .woocommerce-error {
	margin-bottom: 0;
	border-radius: 16px;
}

.category-page .products-list .product-box {
    border:1px solid #efefef !important;
}

.category-page .product-thumb-link {
	display: block;
}

.category-page .product-thumb-link img {
	display: block;
	width: 100%;
}

.category-page .product-box .add-to-cart-container .add-to-cart-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	text-decoration: none;
}

.category-page .product-box .add-to-cart-container .added_to_cart {
	display: none !important;
}

.category-page .product-content .product-title {
	margin-bottom: 0.75rem;
  color: var(--default-color) !important;
}

.category-page .product-content .product-title a {
	color: inherit;
	text-decoration: none;
}

.category-page .product-content .product-price {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
  justify-content: center !important;
}

.category-page .product-content .product-price .amount {
	color: inherit;
  color:#dd6b20 !important;
}
.products-list .product-price span {
  color:#dd6b20 !important;
}

.category-page .product-content .product-rating-container {
	margin-top: 0.9rem;
}

.category-page .product-category-card .category-title a {
	color: inherit;
	text-decoration: none;
}

.category-page #category-pagination ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.category-page #category-pagination li {
	margin: 0;
}

.category-page #category-pagination .page-numbers,
.category-page #category-pagination li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 0.95rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	color: #111;
	text-decoration: none;
	font-weight: 500;
}

.category-page #category-pagination .page-numbers.active,
.category-page #category-pagination .page-numbers.current {
	background: #111;
	border-color: #111;
	color: #fff;
}

.category-page #category-pagination .ellipsis {
	opacity: 0.6;
}

.products-list-2 .product-image > a {
	display: block;
	height: 100%;
}

.products-list-2 .quick-actions a {
	text-decoration: none;
}

.products-list .add-to-cart-btn {
    border-radius: 30px !important;
    background: #ffffff !important;
    color:var(--heading-color) !important;
}

.andan-shop-sidebar {display: none !important}

.category-pagination {
    padding-top: 0;
    margin-top: 25px;
}
.category-page #category-pagination .page-numbers, .category-page #category-pagination li span {
	border:0px !important;
	padding: 0 0rem !important;
}

/*
* CUSTOM PAGE
*/

.faq-2 .faq-categories .nav-tabs {
    margin: 0 0 1.41575em 0em;
}
.faq-2 .faq-item .faq-answer ul.faq-2 li {
    margin: 0;
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: color-mix(in srgb, var(--default-color) 75%, transparent) !important;
}

/*
.clients .client-logo {
    width: 280px !important;
    height: auto !important;
}

.clients .client-logo img {
    max-width: 100%;
    max-height: 180px !important;
}*/

.clients {
    position: relative;
    padding: 60px 0 !important;
}
.clients .clients-wrapper {
    position: relative;
    padding: 0px 0 !important;
    padding-bottom: 60px;
}
.clients .section-title {
    padding-bottom: 0px !important;
}


/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 100px 0 !important;
  position: relative;
  clip-path: inset(0);
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-color);
}

.call-to-action p {
  color: var(--default-color);
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 25px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--default-color);
  color: var(--default-color);
}

.call-to-action .cta-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 2px solid var(--accent-color);
}

/*
* YITH FILTER
*/
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.active > a, .yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.active > label > a
 {
    color: #b4a28f !important;
}
.yith-wcan-filters .filter-items label {
    display: flex !important;
    align-items: center !important;
}

.yith-wcan-filters .filter-item input[type=checkbox] {width:20px !important; height:20px !important;margin-right:25px !important; }



/*--------------------------------------------------------------
# Contact 2 Section
--------------------------------------------------------------*/
.contact-2 {
  padding-top: 5px;
}

.contact-2 .info-item+.info-item {
  margin-top: 40px;
}

.contact-2 .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact-2 .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact-2 .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact-2 .ar-email-form {
  height: 100%;
}

.contact-2 .ar-email-form input[type=text],
.contact-2 .ar-email-form input[type=email],
.contact-2 .ar-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 8px !important;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%) !important;
}

.contact-2 .ar-email-form input[type=text]:focus,
.contact-2 .ar-email-form input[type=email]:focus,
.contact-2 .ar-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact-2 .ar-email-form input[type=text]::placeholder,
.contact-2 .ar-email-form input[type=email]::placeholder,
.contact-2 .ar-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact-2 .ar-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 25px !important;
}

.contact-2 .ar-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}



.contact-2 .contact-info-box .info-content p a {
    color: color-mix(in srgb,var(--default-color),transparent 20%)
}

.ar-email-form .validate {
    display: block;
    font-size: .875rem;
    margin-top: 6px;
    color: #dc3545
}

.contact-2 .contact-form-wrapper {
    background-color: var(--surface-color);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
    padding: 20px 35px;
    position: relative;
    overflow: hidden
}

.contact-2 .contact-form-wrapper:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0px !important;
    background-color: var(--accent-color)
}

.contact-2 .contact-form-wrapper .ar-email-form .form-group {
    margin-bottom: 15px
}

.contact-2 .contact-form-wrapper .ar-email-form .form-group label {
    font-weight: 500;
    color: var(--heading-color);
    margin-bottom: 8px;
    font-size: 14px;
    display: block
}

.contact-2 .contact-form-wrapper .ar-email-form .form-group .form-control {
    height: auto;
    border-radius: 8px;
    padding: 12px 20px;
    border: 1px solid color-mix(in srgb,var(--default-color),transparent 80%);
    color: var(--default-color);
    background-color: var(--surface-color);
    font-size: 14px;
    box-shadow: inset 0 0 0 rgba(0,0,0,.125)
}

.contact-2 .contact-form-wrapper .ar-email-form .form-group .form-control:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: none
}

.contact-2 .contact-form-wrapper .ar-email-form .form-group .form-control::placeholder {
    color: color-mix(in srgb,var(--default-color),transparent 70%)
}

.contact-2 .contact-form-wrapper .ar-email-form .form-group textarea.form-control {
    min-height: 120px;
    resize: vertical
}

.contact-2 .contact-form-wrapper .ar-email-form .form-check {
    margin-bottom: 20px;
    margin-left:20px !important;
    padding-left:20px !important;
}

.contact-2 .contact-form-wrapper .ar-email-form .form-check .form-check-input {
    margin-top: .3em
}

.contact-2 .contact-form-wrapper .ar-email-form .form-check .form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color)
}

.contact-2 .contact-form-wrapper .ar-email-form .form-check .form-check-input:focus {
    box-shadow: none;
    border-color: color-mix(in srgb,var(--accent-color),transparent 50%)
}

.contact-2 .contact-form-wrapper .ar-email-form .form-check .form-check-label {
    color: var(--default-color);
    font-size: 14px;
    padding-left: 5px
}

.contact-2 .contact-form-wrapper .ar-email-form button {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer
}

.contact-2 .contact-form-wrapper .ar-email-form button:hover {
    background-color: color-mix(in srgb,var(--accent-color),transparent 20%);
    transform: translateY(-3px)
}

.contact-2 .contact-form-wrapper .ar-email-form .form-group .form-control::placeholder {
    color: color-mix(in srgb,var(--accent-color),transparent 0%)
}

/*
* CUSTOM SINGLE PRODUCT
*/
.product-details .product-gallery .main-image-wrapper .image-nav .image-nav-btn {
    width: 40px;
    height: 45px !important;
}

.product-details .product-info-wrapper .delivery-options {
    grid-template-columns: repeat(1, 1fr) !important;
}

.product-details .product-info-wrapper .product-options .option-group .option-header .selected-option {
    display: none !important;
}


table.cart .product-thumbnail img {
    margin: 0 auto;
    max-width: 100% !important;
    height: auto !important;
}

.page-id-10772 #cmplz-document, .editor-styles-wrapper .cmplz-unlinked-mode {
  max-width: 100% !important;
}

@media (max-width: 991.98px) {
	.category-page .sidebar {
		margin-bottom: 2rem;
	}
}
