/* Fashion10 Theme Custom CSS */
/* This file is for theme-specific customizations ONLY */
/* Common t02 styles are handled by t02-common.css */

/**
 * Common t02 customizations are in t02-common.css:
 * - Debug toolbar styling
 * - Dropdown positioning
 * - Navigation menus
 * - Modal styling
 * - Responsive behavior
 * - Footer interactions
 *
 * This file should only contain Fashion10-specific branding or customizations.
 */

/* ==========================================================================
   Page Title Background
   Matches Ecomus demo peachy-pink gradient (not the shipped neutral gray image)
   ========================================================================== */
.tf-page-title {
    background-image: linear-gradient(90deg, #fef5f0 0%, #fdfbf9 50%, #ffffff 100%);
}

/* ==========================================================================
   PRODUCT CARD - Glami.bg Style
   ========================================================================== */

/* Grid gap - tighter spacing between cards */
.tf-grid-layout.wrapper-shop {
    gap: 15px 10px;
}

/* Mobile grid - 2 columns on small screens */
@media (max-width: 767px) {
    .tf-grid-layout.tf-col-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Tablet - 3 columns */
@media (min-width: 768px) and (max-width: 991px) {
    .tf-grid-layout.tf-col-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Discount badge - bottom-left, small orange circle */
.card-product .discount-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #f26522;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    z-index: 5;
}

/* Hide old sale badge */
.card-product .on-sale-wrap {
    display: none;
}

/* Card info - very tight spacing */
.card-product .card-product-info {
    gap: 1px;
    padding-top: 8px;
}

/* Price block */
.card-product .price-block {
    line-height: 1.3;
}
.card-product .price-current {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}
.card-product .price-current.sale {
    color: #e53935;
}
.card-product .price-current.sale .price-main,
.card-product .price-current.sale .price-secondary {
    color: #e53935;
}
.card-product .price-current .price-secondary {
    font-weight: 400;
    margin-left: 2px;
}
.card-product .price-old {
    font-size: 12px;
    color: #999;
}
.card-product .price-old .compare-at-price {
    text-decoration: line-through;
    color: #999;
}

/* Brand name - subtle, uppercase, smaller */
.card-product .card-product-info .brand-name {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-decoration: none;
    margin-top: 1px;
}
.card-product .card-product-info .brand-name:hover {
    color: #000;
}

/* Title - single line, 12px */
.card-product .card-product-info .title {
    font-size: 12px;
    font-weight: 400;
    color: #666;
    line-height: 1.3;
}
.card-product .card-product-info .title.text-line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Provider/Store - 12px gray */
.card-product .tf-product-info-provider {
    font-size: 12px;
    color: #999;
}
.card-product .tf-product-info-provider i {
    display: none;
}

/* Hover size-list removed (EVA) — markup dropped from product-card.html.twig */

/* Color swatches */
.card-product .list-color-product {
    display: flex;
    gap: 4px;
    margin-top: 6px;
    padding: 0;
    list-style: none;
}
.card-product .list-color-product .list-color-item {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #ddd;
    cursor: pointer;
}
.card-product .list-color-product .list-color-item:hover {
    transform: scale(1.2);
    border-color: #333;
}
.card-product .list-color-product .swatch-value {
    display: block;
    width: 100%;
    height: 100%;
}

/* Color swatch background colors (Bulgarian transliterated slugs) */
.bg-color-cherven { background-color: #e53935; }  /* Червен - Red */
.bg-color-sin { background-color: #1e88e5; }      /* Син - Blue */
.bg-color-cheren { background-color: #212121; }   /* Черен - Black */
.bg-color-byal { background-color: #fafafa; border: 1px solid #ddd !important; }  /* Бял - White */
.bg-color-zelen { background-color: #43a047; }    /* Зелен - Green */
.bg-color-tamnsin { background-color: #1a237e; }  /* Тъмносин - Navy */
.bg-color-siv { background-color: #9e9e9e; }      /* Сив - Gray */
.bg-color-rozov { background-color: #ec407a; }    /* Розов - Pink */
.bg-color-oranjew { background-color: #ff9800; }  /* Оранжев - Orange */
.bg-color-kafiav { background-color: #795548; }   /* Кафяв - Brown */
.bg-color-bejov { background-color: #d7ccc8; }    /* Бежов - Beige */
.bg-color-zhylt { background-color: #fdd835; }    /* Жълт - Yellow */
.bg-color-violeotv { background-color: #7b1fa2; } /* Виолетов - Purple */

/* ==========================================================================
   PRODUCT VARIANT PICKER - Affiliate site overrides
   ========================================================================== */

/* EVA-586: the picker no longer emits `sold-out` on variant labels (it struck
   them through + blocked the click, losing affiliate commission). Combos with no
   variant in our data now get the soft `availability-uncertain` dot styled in the
   shared themes/common/t02-common.css. The old strike-through override is removed. */

/* ==========================================================================
   FACET FILTERS - SEO-friendly link-based checkboxes
   ========================================================================== */

/* Facet link - looks like a label */
.facet-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}
.facet-link:hover {
    color: #000;
}
.cate-item.active .facet-link {
    font-weight: 500;
}

/* Facet checkbox - custom checkbox appearance */
.facet-checkbox {
    display: inline-block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    position: relative;
    transition: all 0.2s;
}
.facet-link:hover .facet-checkbox {
    border-color: #999;
}
.facet-checkbox.checked {
    background: #333;
    border-color: #333;
}
.facet-checkbox.checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ==========================================================================
   BREADCRUMB - Compact, left-aligned
   ========================================================================== */
.tf-breadcrumb-wrap {
    justify-content: flex-start;
    padding: 10px 0;
}
@media (min-width: 1150px) {
    .tf-breadcrumb-wrap {
        padding: 10px 0;
    }
}

/* ==========================================================================
   HEADER - Left-aligned category navigation
   ========================================================================== */
.header-bottom .wrapper-header {
    justify-content: flex-start;
}

/* ==========================================================================
   STICKY BOTTOM BAR - Affiliate CTA on product page scroll
   ========================================================================== */

/* Price display in sticky bar */
.tf-sticky-btn-atc .tf-sticky-atc-price {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.tf-sticky-btn-atc .tf-sticky-atc-price .price-on-sale {
    color: #e53935;
    font-size: 16px;
}
.tf-sticky-btn-atc .tf-sticky-atc-price .compare-at-price {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
}
.tf-sticky-btn-atc .tf-sticky-atc-price .tf-tag {
    font-size: 11px;
}

/* Affiliate button in sticky bar */
.tf-sticky-btn-atc .tf-btn {
    white-space: nowrap;
}

/* Mobile: show price + button side by side */
@media (max-width: 767px) {
    .tf-sticky-btn-atc .tf-sticky-atc-btns {
        width: 100%;
        flex-wrap: nowrap;
    }
    .tf-sticky-btn-atc .tf-btn {
        min-width: unset;
        flex: 1;
        font-size: 12px;
        padding: 10px 12px;
    }
    .tf-sticky-btn-atc .tf-sticky-atc-price .price-on-sale {
        font-size: 14px;
    }
}
