/* Flatsome global fix */

html {
  scrollbar-gutter: both-edges;
}

a, button, input, textarea, select { -webkit-tap-highlight-color: transparent; }

.account-user .user-id { display: none; }

.wp-video { width: 100% !important; }

/* Flatsome bug - tooltip over product photo */
.tooltipster-base { z-index: 10 !important; /* lower than product image */ }

h1.shop-page-title { text-transform: uppercase; }


.has-hover .bg, .has-hover [class*=image-] img {
    border-radius: 25px 25px 0px 0px;
}
.box-shadow, .box-shadow-2, .box-shadow-2-hover:hover, .row-box-shadow-2 .col-inner, .row-box-shadow-2-hover .col-inner:hover {
    border-radius: 25px;
}
.has-shadow .box:not(.box-overlay):not(.box-shade), .has-shadow.box:not(.box-overlay):not(.box-shade) {
    border-radius: 25px 25px 25px 25px;
}

.product-small.box {
    border-radius: 25px;
    overflow: hidden;
      box-shadow: 0 3px 6px -4px rgba(0,0,0,.16),
              0 3px 6px rgba(0,0,0,.23);
}

/* Hide catalog ordering on mobile */
@media (max-width: 849px) {
    .woocommerce .woocommerce-ordering {
        display: none;
    }
}


.nav-outline>li>a {
    border-radius: 5px!important;
}

.row-small>.col, .row-small>.flickity-viewport>.flickity-slider>.col {
    padding: 4px 6px 10px 6px!important;
}

.video-wrapper {
margin-bottom: 30px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 3px 6px -4px rgba(0,0,0,.16),
              0 3px 6px rgba(0,0,0,.23);
}

.video-wrapper video {
  width: 103%; /*remove 1px white space left + bottom */
  height: auto;
  display: block;
}


.hero-video-grid .img-inner {
    border-radius: 25px;
    overflow: hidden;
}
.hero-video-grid img {
    display: block;
    transform: scale(1.03); /* increase slightly if needed */
}


/*--------------------------------------------------------*/

/* Shipping */
li:has(input[type="radio"][name="shipping_method[0]"]:checked)
label.shipping__list_label {
        background: linear-gradient(135deg,
        #FFCCE6,
        #FFD6E8,
        #B3E0FF,
        #D9B3FF,
        #FFCCE6
    );
    background-size: 400% 400%;
    animation: rainbowShift 12s ease infinite;
	border-radius: 50px;
}
.shipping__list_label {
    opacity: 1!important;
	padding-left: 20px!important;
	padding-right: 0px!important;
	padding-bottom: 0.2em!important;
}

/* Если вместо логотипа текст, чтобы он был тоже изменчивым! */
#logo a {
    font-size: clamp(20px, 7vw, 32px) !important;
}

/* Softer pastel rainbow for Flatsome header */
.yith-par-message.yith-par-message-product,
.header-top,
.header-main,
.header-bottom {
    background-image: linear-gradient(
        135deg,
        #fff1f8,  /* ultra light pink */
        #fff5fa,  /* airy rose */
        #eaf6ff,  /* very pale sky */
        #f4efff,  /* whisper lavender */
        #fff1f8
    );
    background-size: 400% 400%;
    animation: rainbowShift 12s ease infinite;
}


/* Чтобы объявление о скидках не было чёрным */
.demo_store {
    background: linear-gradient(
        135deg,
        #ffa3d1,
        #ffb3d9,
        #80ccff,
        #bf99ff,
        #ffa3d1
    );
    background-size: 400% 400%;
    animation: rainbowShift 12s ease infinite;
}

.filter-button {
    padding: 10px 18px;
    border-radius: 5px;

    background: linear-gradient(
        135deg,
        #ffa3d1,
        #ffb3d9,
        #80ccff,
        #bf99ff,
        #ffa3d1
    );
    background-size: 400% 400%;
    animation: rainbowShift 12s ease infinite;

    margin-bottom: 10px; /* space under the button / после добавления товара в корзину нету пробела - прилегает к фото */
}

.single_add_to_cart_button, .nav-icon.has-icon .header-button > a.icon.primary.button.round.is-small {
    background: linear-gradient(
        135deg,
        #ffa3d1,
        #ffb3d9,
        #80ccff,
        #bf99ff,
        #ffa3d1
    );
    background-size: 400% 400%;
    animation: rainbowShift 12s ease infinite;
}
a.filter-button.uppercase.plain {
    color: #ffffff!important;
}

/* Payment */
#payment .wc_payment_methods > .wc_payment_method{
	border-top-style:dotted;
	border-width:5px !important;
	border-top-color:#ffffff;
}
#payment {
    position: relative;
	padding-top: 25px;
	padding-bottom: 10px;
	padding-left: 20px;
	padding-right: 20px;
    color: #444;
    border-radius: 25px;
    margin: 20px 0;
    overflow: hidden;
    display: block;
    background: linear-gradient(135deg,
        #FFCCE6,
        #FFD6E8,
        #B3E0FF,
        #D9B3FF,
        #FFCCE6
    );
    background-size: 400% 400%;
    animation: rainbowShift 12s ease infinite;
}
#payment::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255,255,255,0.08) 50%, /* softer shimmer */
        transparent 100%
    );
    transform: translateX(-100%) skewX(-15deg);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
    will-change: transform; /* GPU acceleration */
}
@keyframes rainbowShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes shimmer {
    0% { transform: translateX(-100%) skewX(-15deg); }
    100% { transform: translateX(100%) skewX(-15deg); }
}


/* Col inner */
.checkout .col-inner{
	border-top-left-radius:5px;
	border-top-right-radius:5px;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
}

/* Link */
#logo a{
	text-transform:none;
}

/* Span Tag */
#shipping_method .shipping__list_item .shipping__list_label div > span{
	transform:translatex(0px) translatey(0px);
	align-self:center;
	font-size:0.9rem;
}

/* Shipping method */
#shipping_method{
	float:left;
	display:block;
}

/* Table Data */
.checkout .row .col .col-inner .checkout-sidebar #order_review .woocommerce-checkout-review-order-table tfoot .woocommerce-shipping-totals .shipping__inner .shipping__table tbody tr td{
	border-bottom-width:0px !important;
}

/* Table Data */
.shipping__table tr td{
	border-bottom-width:0px;
}

/* Th */
.shipping__table tr th{
	border-width:0px;
}

/* List */
.checkout .woocommerce-NoticeGroup-checkout ul{
	padding-left:12px;
	padding-right:12px;
	padding-top:9px;
	padding-bottom:11px;
	margin-top:8px;
	margin-bottom:20px;
	border-style:dashed;
	border-color:#f41800;
	border-width:2px;
	border-top-left-radius:5px;
	border-top-right-radius:5px;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
	display:inline-block;
}

/* Woocommerce checkout form coupon */
#woocommerce-checkout-form-coupon{
	border-top-left-radius:5px;
	border-top-right-radius:5px;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
}

/* B2B + PRO */
.pro-cta-card {
    margin-top: 15px;
    background-image: linear-gradient(
        135deg,
        #fff1f8,  /* ultra light pink */
        #fff5fa,  /* airy rose */
        #eaf6ff,  /* very pale sky */
        #f4efff,  /* whisper lavender */
        #fff1f8
    );
    background-size: 400% 400%;
    animation: rainbowShift 12s ease infinite;
    border-radius: 25px;
    width: 100%;
    max-width: 250px;
    padding: 20px 15px;
    text-align: center;

    box-shadow: 1px 3px 7px rgba(0,0,0,0.25);
}

/* ===== Text ===== */
.pro-cta-card__title {
    margin: 0.4rem 0;
    font-weight: 600;
    line-height: 1.3;
}

.pro-cta-card__subtitle {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.4;
}

.cta-rainbow-pro {
    display: inline-block;
    padding: 8px 18px;
    margin-bottom: 10px;
    border-radius: 999px;
    border: 2px solid #ffffff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #ffa3d1,
        #ffb3d9,
        #80ccff,
        #bf99ff,
        #ffa3d1
    );
    background-size: 400% 400%;
    animation: rainbowShift 12s ease infinite;
}

/* Brand Logo widget */ 
.simple-brand-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.simple-brand-logos .brand-logo {
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

.simple-brand-logos .brand-logo:not(:last-child) {
    border-bottom: 1px solid #e5e5e5; /* HR-like line */
}

.simple-brand-logos img {
    width: 100%;
    height: auto;
}

/* Widget: Color Circles */
/* ===============================
   Simple Color Widget – base
   =============================== */

.simple-color-circles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    text-align: center;
}

/* clickable item */
.simple-color-circles .color-item {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* THE DOT — fully locked size */
.simple-color-circles .scw-color-dot {
    display: inline-block !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    flex: 0 0 36px !important;   /* prevents flex collapse */
    border-radius: 50% !important;
    margin-bottom: 6px;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,0.15);
}

/* color name */
.simple-color-circles .color-name {
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
}

/* ===============================
   ACTIVE STATE — UNIQUE STYLE
   =============================== */

.simple-color-circles .color-item.is-active .scw-color-dot {
    transform: scale(1.1);
    box-shadow:
        0 0 0 2px #111,
        0 0 0 5px #fff,
        0 0 14px rgba(0,0,0,0.35);
}

/* glow ring */
.simple-color-circles .color-item.is-active .scw-color-dot::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(255,255,255,0.45);
    animation: scwPulse 1.8s ease-out infinite;
    pointer-events: none;
}

/* ===============================
   MOBILE
   =============================== */

@media (max-width: 480px) {
    .simple-color-circles {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}


/* ===============================
 swatches
   =============================== */

.cv-color-grid p {
    margin: 0;
}

.cv-color-grid br {
    display: none;
}

/* swatches grid */
.cv-color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 50px 70px;
    max-width: 1200px;
    margin: 0 0 30px 0;
    padding: 25px 25px 18px 25px;
    border-radius: 25px;
    background-image: linear-gradient(
        135deg,
        #fff1f8,  /* ultra light pink */
        #fff5fa,  /* airy rose */
        #eaf6ff,  /* very pale sky */
        #f4efff,  /* whisper lavender */
        #fff1f8
    );
    background-size: 400% 400%;
    animation: rainbowShift 12s ease infinite;
    box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
}

.cv-color-grid p {
    margin: 0 !important;
}

/* card */
.cv-color-card {
    text-decoration: none;
    color: inherit;
    text-align: center;
}

/* image – ROUND */
.cv-color-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 50%; /* THIS is the change */
    box-shadow: 0px 0px 7px 7px #ffffff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* hover (desktop only, safe on mobile) */
.cv-color-card:hover img {
    transform: scale(1.06);
}

/* label */
.cv-color-card span {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;

    overflow-wrap: break-word;
    hyphens: auto;
}

/* === Compact mobile view === */
@media (max-width: 849px) {

.cv-color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 30px 40px;
    margin: 0 0 30px 0;
}

.cv-color-card span {
        display: block;
    margin-top: 10px;
    font-size: 0.8rem;
}

}

/* ===============================

   =============================== */

/* === Private Download Manager === */

.pdm-table {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    font-size: 14px;
}

.pdm-table thead {
    background: #f6f7f7;
    border-bottom: 1px solid #ddd;
}

.pdm-table th {
    padding: 10px 12px;
    font-weight: 600;
    color: #2c3338;
    white-space: nowrap;
}

.pdm-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.pdm-table tbody tr:hover {
    background: #f9fafb;
}

/* Folder rows */
.pdm-table tr td[colspan] {
    background: #fafafa;
    font-weight: 600;
    color: #2271b1;
    border-bottom: 1px solid #e5e5e5;
}

/* File icon */
.pdm-table td:first-child::before {
    content: "📄";
    margin-right: 8px;
    opacity: 0.7;
}

/* Folder icon */
.pdm-table tr td[colspan]::before {
    content: "📁";
    margin-right: 8px;
}

/* Size column */
.pdm-table td:nth-child(2) {
    color: #646970;
    font-variant-numeric: tabular-nums;
}

/* Date column */
.pdm-table td:nth-child(3) {
    color: #646970;
    white-space: nowrap;
}

/* === Compact mobile view === */
@media (max-width: 849px) {


    /* remove table structure */
    .pdm-table thead {
        display: none;
    }

    .pdm-table,
    .pdm-table tbody,
    .pdm-table tr,
    .pdm-table td {
        display: block;
        width: 100%;
        border: 0px;
    }

    /* card container */
    .pdm-table tr {
        max-width: 300px;
        margin: 0 auto 14px auto;
        background: #fff;
        border: 1px solid #e6e6e6;
        border-radius: 10px;
        padding: 12px 14px;
        box-shadow: 0 6px 14px rgba(0,0,0,0.06);
    }

    /* filename */
    .pdm-table td:first-child {
        font-weight: 600;
        font-size: 15px;
        line-height: 1.3;
        margin-bottom: 6px;
        padding: 0;
    }

    /* download button */
    .pdm-table td:last-child {
        margin-top: 10px;
        padding: 0;
    }

    /* folders */
    .pdm-table tr td[colspan] {
        max-width: 520px;
        margin: 0 auto 10px auto;
        background: #f7f7f9;
        border: 1px dashed #d7d7db;
        box-shadow: none;
    }
}


/* ===============================

   =============================== */

/* === MASTERCLASS === */

/* LAYOUT */
.hv-main {
  width: 100%;
}

/* ROW */
.hv-row {
  display: flex;
  gap: 20px;          /* horizontal gap */
  margin-bottom: 20px; /* vertical gap */
}

/* COLUMN WIDTHS (12-grid system) */
.hv-3 { width: 25%; }
.hv-4 { width: 33.333%; }
.hv-5 { width: 41.666%; }
.hv-6 { width: 50%; }
.hv-7 { width: 58.333%; }
.hv-9 { width: 75%; }

/* CARD */
.hv-col {
  display: block;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: all .3s ease;
}

.hv-col img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1.03);
  transition:transform .4s ease;
}

.hv-col:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.hv-col:hover img {
  transform: scale(1.08);
}

.hv-main p {
  display:none;
}

/* RESPONSIVE */
@media (max-width:1024px) {
  .hv-sidebar { display:none; }
  .hv-main { width:100%; }
}

@media (max-width:768px) {
  .hv-row {
    flex-direction: column;
  }
  .hv-3, .hv-4, .hv-5, .hv-6, .hv-7, .hv-9 {
    width: 100%;
  }
}









.hv-col img {
  width: 100%;
  display: block;
  /* REMOVE height:100%; */
  /* REMOVE object-fit if not using fixed height */
  transform: scale(1.03);
  transition: transform .4s ease;
}