/*
 *   This file is used to write custom CSS for your theme.
 *   You can also use this file to override the CSS of the theme.
 */ 
 @layer base {
    :root {
        /* --radius: 0px;
        --container: 1170px;
        --form-radius: var(--radius);
        --body-bg-color: #ffffff;
        */
        --container: 1440px;
    }
    body {
        background-color: var(--body-bg-color);
    }
    *, :after, :before {
        @apply border-form;
    }
}
@layer components {
    .block-title {
        .title {
            @apply font-medium text-xl text-center tracking-[4px];
        }
        .subtitle {
            @apply text-gray-500 text-xs lg:text-sm font-light tracking-[4px];
        }
    }
    .accordion-title,
    .sidebar-title {
        @apply font-semibold text-sm lg:text-base;
    }
    .swiper-button-next,
    .swiper-button-prev {
        @apply bg-white shadow size-8 lg:size-10 pointer-events-auto text-primary font-bold text-[12px] m-0 top-1/2 -translate-y-1/2 select-none;
        &:after{
            font-size: inherit;
            @apply rtl:rotate-180;
        }
        &.swiper-button-disabled {
            @apply pointer-events-auto opacity-30;
        }
    }
    @media (min-width: calc(theme('screens.2xl') + 8rem)) {
        .container .swiper-button-prev.outside {
            @apply ltr:-left-4 ltr:right-auto rtl:-right-4 rtl:left-auto ltr:-translate-x-full rtl:translate-x-full;
        }
        .container .swiper-button-next.outside {
            @apply ltr:-right-4 ltr:left-auto rtl:-left-4 rtl:right-auto ltr:translate-x-full rtl:-translate-x-full;
        }
    }
    .swiper-button-lg {
        @apply size-11;
        &:after{
            font-size: 14px;
        }
    }
    .swiper-pagination {
        @apply flex items-center justify-center flex-wrap select-none gap-1.5;
        &.swiper-pagination-lock {
            @apply pointer-events-auto opacity-0;
        }
    }
    .swiper-pagination-bullet {
        @apply w-3 h-1 !mx-0 bg-slate-300 rounded-3xl opacity-100 transition-all;
    }
    .swiper-pagination-bullet-active {
        @apply bg-primary w-8;
    }
    .form-control[type="checkbox"],
    .form-control[type="radio"] {
        &.checked + label > .input-checkbox,
        &.checked + label > .input-radio,
        &:checked + label > .input-checkbox,
        &:checked + label > .input-radio {
            @apply bg-primary ring-1 ring-transparent border-transparent before:opacity-100 text-white;
        }
    }
    [first-full] .gallery-selector:has(~ .gallery-selector),
    [first-full] .gallery-selector~.gallery-selector {
        @apply col-span-1;
    } 
}
@layer utilities {
    .bg-checkbox {
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z'/%3E%3C/svg%3E");
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z'/%3E%3C/svg%3E");
        -webkit-mask-size: contain;
        mask-size: contain;
    }
    .border-custom {
        @apply border [&.active]:border-primary;
        /* @apply border-none shadow [&.active]:shadow-md [&.active]:shadow-primary; */
    }
}