/* ====== GENERAL ====== */
@font-face {
  font-family: 'TheYearofHandicrafts';
  src: url('https://raw.githubusercontent.com/hessennasser/smartdev-website/main/TheYearofHandicrafts-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


*, h1, h2, h3, .avf-grid__cols button span, .avf-feature__title, .avf-newsletter__btn {font-family: 'TheYearofHandicrafts', sans-serif !important;}
.home-block-line, div.my-2.mx-auto.w-28.h-0.border-2.border-primary {display: none}
.s-block {margin-top: 5rem !important}
.home-block-title h2 {line-height: 1.6; font-size: 2rem !important}

@media (min-width:1024px){
.index .product-card__normal-cart {display: none}
}

@media (max-width: 767px) {
.index.mobile_small_blocks_titles .home-block-title h2 {font-size: 1.7rem !important; line-height: 1.6}
}


/* ====== HEADER ====== */
@media (min-width:1024px){
  .main-nav-container {    height: 70px !important;
    display: flex;
    align-items: center;}
.main-nav-container .container > .flex.items-stretch.justify-between > .flex.items-center:not(.justify-end) {    flex-direction: row-reverse !important;
    width: 51%;
    justify-content: space-between;
    align-items: center;}
.main-nav-container .container > .flex.items-stretch.justify-between > .flex.items-center:not(.justify-end) .main-menu {margin: 0; padding: 0}
.main-nav-container .container > .flex.items-stretch.justify-between > .flex.items-center:not(.justify-end) .main-menu .sub-menu {        padding-top: 25px;        border-radius: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-width: unset;
        border: none;
        box-shadow: none;}
.main-nav-container .container > .flex.items-stretch.justify-between > .flex.items-center:not(.justify-end) .main-menu .sub-menu ul {column-count: 2}
.main-nav-container .container > .flex.items-stretch.justify-between > .flex.items-center:not(.justify-end) .main-menu li.root-level>a {padding-bottom: 0}

  .main-nav-container .container > .flex.items-stretch.justify-between > .flex.items-center:not(.justify-end) .main-menu .sub-menu {padding: 4rem}
  .main-menu .has-children>a:after {display: none}
  .main-menu .sub-menu {position: fixed}
  
  .main-menu li:hover a {background-color: #fff !important}  
  .main-menu .sub-menu a span {
        line-height: 1.2;
        color: #666 !important;
        font-size: .95rem !important;
        font-weight: 100 !important;
    }
  .main-menu .sub-menu a[href="https://salla.sa/navajewellery/#"] {pointer-events: none}
  .main-menu .sub-menu a[href="https://salla.sa/navajewellery/#"] span {font-weight: 800 !important; color: #2C2C2C !important; font-size: .95rem !important}
  .main-menu .sub-menu.w-56 > ul {display: grid;
    grid-template-columns: repeat(2, 1fr); max-width: 60%;}
  .main-menu .sub-menu.w-56 li > .sub-menu.w-56 {all: unset}
.sub-menu.w-56 li a {line-height: 1;
        padding: .5rem 1rem; font-size: .9rem}
  .main-menu .sub-menu.w-56 > ul li > div.sub-menu.w-56 > ul {display: flex; flex-direction: column}
.main-menu .sub-menu.w-56 > ul li > div.sub-menu.w-56 {padding: 0 !important}
.main-nav-container.fixed-pinned .main-menu>li>a {padding-top: 0}
    .main-menu li>a span {font-size: .9rem !important}
}


/* ====== PROMOTION ====== */
.promotion-banner ul {justify-content: center; padding:0}
.promotion-banner ul li {animation: unset !important}
.promotion-banner ul li:not(:first-child) {display: none;}
.promotion-banner ul li a {font-size: 13px}
.promotion-banner__close {background: none; box-shadow: none}
.animated-text__close:after, .animated-text__close:before, .promotion-banner__close:after, .promotion-banner__close:before {background-color: #eee}

/* ====== HEADER ====== */
.main-nav-container {min-height: unset;}
.store-header .sicon-cart:before {content: "\ef36";}
.s-cart-summary-count {background-color: #1a1a1a; font-size: 11px !important}

@media (min-width:1024px){
salla-cart-summary {margin-right: .5rem !important}
.main-menu li>a span {font-weight: 400;color: #1a1a1a;}
.main-menu li>a:hover span {opacity: .7}
.main-menu li>a {font-size: 1rem}
}

/* ====== MAIN SLIDER ====== */
.advanced-slider__caption .container {height: 80%;display: flex;flex-direction: column;align-items: center;justify-content: flex-end;}
.advanced-slider .advanced-slider__caption h2 {font-size: 1.5rem;margin-bottom:0; margin-top: 4px; color: #fff}
.advanced-slider .advanced-slider__caption p {color: #fff !important;font-weight: 300; font-size:1rem}
.advanced-slider .advanced-slider__caption a {padding:2px; color:#fff !important; border:none !important; font-weight: 900;border-bottom: 1px solid #fff !important}
.advanced-slider .advanced-slider__caption a:hover span {color:#fff !important; opacity: .7}
.main-slider .advanced-slider__caption span {color:#fff !important}
.advanced-slider__caption__inner__content__button:before {background: #ffffff;}
.main-slider .advanced-slider__caption__inner--center .advanced-slider__caption__inner__content {text-align: center;display: flex;flex-direction: column;align-items: center;}
.advanced-slider__caption__inner {width:100% !important;}
.advanced-slider__caption__inner__content__button:before {display: none}

@media (max-width:768px){
.advanced-slider .swiper .swiper-slide-active a {padding: 0}
}

/* ====== CATEGORIES LIST ====== */
.cats-text ul {grid-template-columns: repeat(4, 1fr);}
.cats-text img {display: none}
.cats-text h3 {font-size: 1.2rem; font-weight: 100 !important;font-style: italic;}
.cats-text h3:hover {opacity: .7}

@media (min-width:1024px){
.cats-text ul {max-width: 35rem; margin: auto} 
.cats-text h3 {font-size: 1.7rem;}
}


/* ====== CATEGORIES ====== */
.categories {margin-top: 2rem !important}
.categories .container.mt-4 {margin-top: 2rem}
.categories h2 {font-size: 2rem;line-height: 1.6;font-weight: 400;color: #1a1a1a;}
.categories img {filter: brightness(0.9);}
.categories .carousel-slider .swiper-wrapper>div {height: fit-content}
.categories h3 {position: absolute;bottom: 3rem;right: 2rem;font-size: 1.9rem;color: #fff;font-weight: 500;}
.categories h3:hover {opacity: .8}
.categories h3:after {content: 'تسوق الآن';display: block;font-size: 1rem;margin: 1rem 0 0;text-align: right;font-weight: 900;border-bottom: 1px solid;width: fit-content;}

html[lang="en"] .categories h3 {left:2rem; right: auto}
html[lang="en"] .categories h3:after {content: 'SHOP NOW';text-align: left}

@media (max-width:768px){
.categories h3 {right: 1.5rem}
}

/* ====== PRODUCTS ====== */
.home-block-title {margin-bottom: 2rem}
.home-block-title h2 {font-weight: 300; opacity: .9}
.product-card__content {align-items: flex-start; text-align: start; padding: 12px 5px !important}
.product-card__price {justify-content: flex-start}
.product-card__title a {font-size: 0.95rem;font-weight: 500;}
.product-card__subtitle {opacity: .7}
.product-card__price .total-price {font-size: .95rem; font-weight: 500}
.product-card__buttons>div button {display: none}
.product-card__promotion {font-weight: 500 !important}

@media (min-width:991px){
.s-products-slider-card {max-width: 290px}
}

@media (max-width:768px){
.product-card__addToCart {display: none}
.product-card--fit-height .product-card__image {max-height: 16rem}
.product-card__actions {display: none} 
}

/* ====== FEATURED PRODUCTS ====== */
.s-block.featured-products {margin-top: 1rem !important; margin-bottom: 4rem !important}
/* .featured-products > .w-full.flex .advanced-slider__caption__inner__content__button {display: none} */
.featured-products .s-slider-block__title-nav {display: none}
.advanced-slider__caption__inner__content__button:hover {background-color: #ffffff20 !important}

@media (min-width:1024px){
.featured-products > .w-full.flex {max-width: 86%; margin: auto}
.featured-products .bg-cover.bg-no-repeat {width: 50%; max-height: unset !important}
.featured-products .bg-cover.bg-no-repeat img, .featured-products video {max-height: unset !important}
.featured-products .slider-wrap {width: 50%; padding: 0}
.featured-products .slider-wrap .s-products-slider-wrapper {padding: 0 !important}
.featured-products .swiper.s-slider-container {padding: 0}
.featured-products .swiper.s-slider-container .s-slider-swiper-wrapper {transform: unset !important;transition: unset;display: grid;grid-template-columns: repeat(2, 1fr);}
.featured-products .product-card__image{max-height: 17rem}
.featured-products .s-products-slider-card {width: 100%}
.featured-products .swiper .swiper-notification {display: none}
}

@media (max-width:768px){
.featured-products .flex.bg-cover.bg-no-repeat, .featured-products .flex.bg-cover.bg-no-repeat img, .featured-products video {min-height: 450px !important}
.featured-products h2 {margin-bottom: .5rem;}
.s-block--special-products-slider .s-products-slider-card {max-width: 250px !important}
.featured-products .slider-wrap.relative {padding-bottom: 0}
}

/* ====== RIGHT TITLE ====== */
.right-title {padding: 0; margin-top: 7rem !important}
.right-title .w-full.mx-auto.text-center {display: flex; justify-content: flex-start; margin: 0 4rem}
.right-title .w-full.mx-auto.text-center h2 {font-size: 2rem; font-weight: 300}

@media (max-width:768px){
.right-title .w-full.mx-auto.text-center {justify-content: center}
.right-title .w-full.mx-auto.text-center h2 {font-size: 1.8rem;line-height: 1.6;margin-bottom: .5rem}
}

/* ====== SHAPES ====== */
.shapes img.aspect-\[14\/13\] {aspect-ratio: unset; object-fit: contain}
.shapes a:hover img {scale: unset !important; transform: unset !important}
.shapes h3 {font-weight: 300; line-height: 3}

@media (max-width:768px){
.shapes salla-slider .slide--one-sixth {width: 36%;}
}

/* ====== TESTIMONAILS ====== */
.s-block--testimonials {background-color: #dddddd20;padding: 3rem 0 2rem;}
.s-block--testimonials.enhanced:before {display: none}
.s-block--testimonials .home-block-title {margin-bottom: .5rem}
.s-block--testimonials.enhanced .review > .flex {background:none; border: 1px solid #44444410; box-shadow: none; gap: 0 !important}
.s-block--testimonials.enhanced .review img {display: none}
.s-block--testimonials .comment__rating {display: flex; font-size: .7rem}
.s-block--testimonials .comment__rating .sicon-star2 {color: #e3ab19 !important}

@media (min-width:1024px){
.s-block--testimonials.enhanced .review {max-width: 25%}
}

/* ====== CUSTOM DESIGN ====== */
.custom-design .advanced-slider__caption .container {justify-content: center}
.custom-design .advanced-slider__caption .advanced-slider__caption__inner__content {max-width: 60%;text-align: left !important;margin-left: 5%;}
.custom-design .advanced-slider__caption h2 {font-size: 2rem; font-weight: 400}
.custom-design .advanced-slider__caption p {font-weight: 600;font-size: 1.3rem;margin-top: 1.5rem;}
.custom-design .advanced-slider__caption a {width: 60%;}
.custom-design .advanced-slider__caption__inner__content__button span {
    color: #1a1a1a !important;
    justify-content: center;
    display: flex;
    align-items: center;
    padding: 8px;
    font-weight: 400;
}
.custom-design .advanced-slider__caption a:hover {background: #eee !important; border: none !important; }
.custom-design .advanced-slider__caption a:hover span {color: #1a1a1a !important}

@media (max-width:768px){
.custom-design .advanced-slider__caption h2 {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
}
  .custom-design .advanced-slider__caption p {
    font-weight: 400;
    font-size: .85rem;
    margin-top: 4px;
}
  .custom-design .advanced-slider__caption a {
    width: 50%;
margin-top: 8px;}
  .custom-design .advanced-slider__caption__inner__content__button span {    padding: 2px;
    font-weight: 400;
    font-size: .8rem;
    line-height: 1;
    margin-top: 4px;}
}

/* ====== CUSTOM FEATURES ====== */
.custom-features .home-block-title {margin-bottom: 3rem;}
.custom-features img.aspect-\[14\/13\] {aspect-ratio: unset; object-fit: contain; max-width: 3.5rem;}
.custom-features a:hover img {scale: unset !important; transform: unset !important}
.custom-features h3 {font-weight: 500; font-size: 1rem;margin-top: 1rem;}
.custom-features p {font-size: .7rem; font-weight: 100; line-height: 1.6; opacity: .7}

@media (max-width:768px){
  .custom-features img.aspect-\[14\/13\] {max-width: 3rem}
  .custom-features h3 {font-size: .95rem }
.custom-features salla-slider .slide--one-sixth {width: 36%;}
}

/* ====== HELP CENTER ====== */
.help-center .home-block-title {margin-bottom: 3rem;}
.help-center img.aspect-\[14\/13\] {aspect-ratio: unset; object-fit: contain; max-width: 3.5rem;}
.help-center a:hover img {scale: unset !important; transform: unset !important}
.help-center h3 {font-weight: 500; font-size: 1rem;margin-top: 1rem;}
.help-center p {font-size: .8rem; font-weight: 100; line-height: 1.6; opacity: .7}

@media (max-width:768px){
.custom-features salla-slider .slide--one-sixth {width: 36%;}
}

/* ====== FEATURES ====== */
.avf-feature__title {font-weight: 500}
.avf-grid__cols button span, .avf-feature__title {font-size: 1rem; font-weight: 500;}
.avf-right {gap: 1rem}
.avf-badge__text {gap: 5px}
.avf-newsletter__btn {font-size:1rem; background-color: #1a1a1a; font-weight: 500; color:#fff}
.avf-newsletter__btn:hover {background-color: #1a1a1a; opacity: .8}
.avf-features {display: none}

@media (min-width:992px){
.avf-feature {justify-content: center}
}

@media (max-width: 480px) {
.avf-col__chev {width: 7px;height: 7px;}
}

/* ====== MAP ====== */
.s-block--map {margin-top: 2rem !important}
.s-block--map .mx-auto.max-w-7xl {padding: 0}
.s-block--map .s-block--map__element {border: 0;
    box-shadow: none;
    border-radius: 0; max-height: 450px !important}

.s-block--map .absolute.bottom-0.bg-gradient-to-t.from-storeBG.mx-auto {display: none}

/* ====== CATEGORY PAGE ====== */
.product-index > .container {padding-top: 40px}
.product-index h1.font-bold {font-weight: 300;font-size: 1.8rem;}
.product-index .s-filters-widget-search-input {border: none;background: #f9f9f9 !important;}
.s-filters-widget-title span {font-weight: 300}
.product-index .product-card__normal-cart {display: none}
.product-index #product-filter {background: none !important;border: none;border-bottom: 1px solid;padding: 0;border-radius: 0;height: 2rem;}
.product-index .s-filters-footer salla-button button {background: #1a1a1a;border-color: #1a1a1a;color: #fff;border-radius: 0;}
.product-index .s-filters-footer salla-button button:hover {background-color: #1a1a1a; opacity: .8}

@media (min-width: 991px) {
.product-index .s-products-list-filters-results {grid-template-columns: repeat(4, 1fr);}
.product-index:has(salla-filters) .product-card--fit-height .product-card__image {max-height: 14rem}
}

@media (max-width:768px){
.product-index h1.font-bold {font-size: 1.5rem}
.product-index .product-card--fit-height .product-card__image {max-height: 11rem !important;}
}

/* ====== BOOK ====== */
.page-single:has(.custom-page) h1.font-bold.text-2xl.mb-6 {display: none !important}
.page-single:has(.custom-page) h1 {text-align: center !important; font-weight: 300}
.page-single:has(.book-appointment) .book-appointment {display: flex; flex-direction: column; gap: 2rem; justify-content: center;align-items: center;}
.page-single:has(.custom-page) .custom-page .bloks {display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem}
.page-single:has(.custom-page) .custom-page .bloks h2 {font-size: 1.1rem; font-weight: 500}
.page-single:has(.custom-page) .custom-page .bloks p {font-size: .8rem; font-weight: 200; opacity: .8}
.page-single:has(.book-appointment) .book-appointment .services a {background-color: #1a1a1a; color:#fff; border-radius: 3px; width: 100%; text-align: center; font-size: .9rem; font-weight: 300;padding: 11px 0 7px 0; max-height: 40px !important}
.page-single:has(.custom-page) .custom-page .bloks img {margin: 0; border-radius: 3px}
.page-single:has(.custom-page) .custom-page .bloks .blok {display: flex; flex-direction: column; gap: 10px;justify-content: space-between;}

@media (max-width:768px){
.page-single:has(.custom-page) .custom-page .bloks {grid-template-columns: repeat(1, 1fr);}
}

/* ====== BESPOKE DESIGN ====== */
.page-single:has(.bespoke) .container:has(.content--single-page) {padding: 0}
.page-single:has(.bespoke) .content--single-page {padding: 0; width: 100%; margin-top: 0}
.bespoke-intro {min-height:10rem; display: flex; background-image: url(https://nussuq-dev.com/av/main.png)}
.page-single:has(.bespoke) .bespoke .steps {gap: 1rem; max-width: 80%; margin: auto}
.page-single:has(.bespoke) .bespoke .single-step {background-color: #f6f6f7; padding: 1rem; border-radius: 6px}
.page-single:has(.bespoke) .bespoke .sub-title {line-height: 2;
    font-style: italic;
    margin-bottom: 1.5rem; font-weight: 500}
.page-single:has(.bespoke) .bespoke .single-step h2 {font-style: italic;}

.page-single:has(.bespoke) .bespoke-intro {    min-height: 18rem;
    display: flex;
                                               justify-content: center; align-items: center;
    background-image: url(https://nussuq-dev.com/av/main.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    margin-bottom: 2rem;}

.our-design {background: #1a1a1a;
    padding: 3rem 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;}
.our-design h1 {color: #fff;}
.our-design p {    color: #fff !important;
    font-weight: 300;
    opacity: .8;
    line-height: 3; font-size: .8rem}
.our-design-images {    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    max-width: 70%;
    margin: 2rem auto;
    gap: 1rem;}
#av-bespoke-layout .bespoke.custom-page {max-width: 100%; padding:0}
#av-bespoke-layout {margin: -3rem 0 12px}
#av-bespoke-layout .custom-form .header p {display: none}

@media (max-width:768px){
.page-single:has(.bespoke) .bespoke-intro {min-height: 9rem; background-size: cover}
.page-single:has(.custom-page) h1 {font-size: 1.5rem}
  .our-design-images {
    grid-template-columns: repeat(2, 1fr) !important;
    margin: 2rem 1rem;
    gap: 1rem !important;
    max-width: 85%;
}
}

/* ====== PRODUCT PAGE ====== */
.product-single .fit-slider-products .product-card__normal-cart {display: none}
.product-single h1.font-bold.text-store-text-primary {font-weight: 300}
.product-single .product-entry__sub-title {font-weight: 300; opacity: .7}
.product-single salla-product-options select, .product-single salla-product-options textarea {border-color: #ddd !important}
.product-single .s-slider-block__title h2 {font-size: 1.6rem; font-weight: 300}
.product-single .promotion-title {font-weight: 300}

.s-payments-list {justify-content: flex-start; padding: 0 15px}

/* ====== FEATURES ====== */
.product-features--wrapper {width: 100%;margin: auto;}
.product-features--wrapper .grid {display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;}
.product-features--wrapper .product-features-item {border: none; padding: 4px 0}
.product-features--wrapper .product-features-item h3 {font-weight: 300;}

.product-single__info {display: flex; flex-direction: column}
.product-single__info h1 {order: 1}
.product-single__info h2.product-entry__sub-title {order: 2}
.product-single__info .product-price-top {order: 3}
.product-single__info small.text-store-text-secondary.block {order: 4}
.product-single__info > .flex.flex-col.space-y-5.mb-5 {order: 5}
.product-single__info salla-installment {order: 6}
.product-single__info .product-form {order: 7}
.product-single__info .product-tabs-container {order: 8}
.product-single__info .s-payments-list-wrap {order: 9}
.product-single__info .s-payments-list-wrap .s-payments-list {padding: 0}
.product-single__info .product-features--wrapper {order: 10; margin-top: 0}
.product-single__info salla-quick-order {order: 11}

.product-single__info .product-tabs-container .accordion-item {    border: none;
    width: 100%;
    margin: 0;}
.product-single__info .product-tabs-container .accordion-toggle {pointer-events: none;    background: #eee;
    border: none;
    border-radius: 10px;}
.product-single__info .product-tabs-container p.text-base.text-gray-700.leading-relaxed {font-weight: 300 !important}
.product-single__info .product-tabs-container p.text-base.text-gray-700.leading-relaxed span {font-weight: 600}
.product-single__info .product-tabs-container svg.arrow-icon {display: none}
.product-single__info .product-tabs-container svg {max-width: 3rem !important; height: auto}

.product-single__info > .flex.flex-col.space-y-5.mb-5 {display: none}
.product-single__info .s-product-options-wrapper, .product-single__info section.bg-storeBG.p-5.rounded-md {padding: 1rem 0 0}

.product-single__info section.bg-storeBG:has(.product-weight) {display: none}
.product-single__info .s-product-options-option {    display: flex;
    flex-direction: column; gap:1rem}
.product-single__info .s-product-options-option label {width: fit-content;}
.s-product-options-option-content:has(textarea) {width: 80%;}
.product-single .s-product-options-colors-wrapper .s-product-options-colors-item {    padding: 6px 10px;
    border: 1px solid #eee;
}
.s-product-options-colors-wrapper input[type=radio]+label {flex-direction: row;
    align-items: center;
    gap: 5px;}
.product-single__info .s-product-options-option-label b {font-weight: 400;
    font-size: 1rem;}
.product-single__info .s-product-options-option-label small {display: none}
.product-single__info .s-product-options-grid-mode-span {border-color: #ddd;font-weight: 400 !important;
    font-size: .8rem !important;min-height: 45px; border-radius: 0}
.product-single__info .s-product-options-grid-mode input:hover+div, .product-single__info .s-product-options-grid-mode input:checked+div {border-color: #1a1a1a; color: #1a1a1a; background: none}
.product-single__info .product-price-bottom {display: none}
.product-single__info .sticky-product-bar__quantity label {font-size: 1rem; font-weight: 400}

.s-slider-vertical .s-slider-thumbs-container .swiper-slide {height: auto !important}

/* ====== FOOTER ====== */
.store-footer h3 {font-weight: 500; color: #1a1a1a}
.avf-newsletter__btn {font-size: .8rem}


/* ====== CUSTOM FORM ====== */
.custom-form.card {
  width: 100%;
  max-width: 720px;
  background: #ffffff;
  border-radius: 0;
  overflow: hidden;
}

.custom-form .header {
  padding: 0;
  background: #fff;
}

.custom-form .header-toggle {
  width: 90%;
  background: #1a1a1a;
  border: 0;
  padding: 25px;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto 2rem;
}

.custom-form .header-content {
  flex: 1;
  min-width: 0;
}

.custom-form .header h1 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.4;
  color: #ffffff;
}

.custom-form .header p {
  margin: 0;
  color: #eadfce;
  line-height: 1.7;
  font-size: 14px;
  display: block;
}

.custom-form .header-chevron {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    background 0.2s ease;
}

.custom-form .header-chevron svg {
  width: 18px;
  height: 18px;
  color: #ffffff;
}

.custom-form.card.open .header-chevron {
  transform: rotate(180deg);
  background: rgba(255, 255, 255, 0.18);
}

.custom-form .form-wrapper {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  margin-bottom: 2rem;
}

.custom-form[dir="ltr"] .header-toggle {
  text-align: left;
}

.custom-form[dir="rtl"] .header-toggle {
  text-align: right;
}

.custom-form form {
  padding: 20px 65px;
}

.custom-form .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.custom-form .field {
  margin-bottom: 18px;
}

.custom-form .field.full {
  grid-column: 1 / -1;
}

.custom-form label {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
  font-size: 0.95rem;
}

.custom-form input,
.custom-form select,
.custom-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 0;
  padding: 13px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background: #fff;
  transition: 0.2s ease;
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
  border-color: #ccc;
}

.custom-form textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.7;
}

.custom-form input[type="file"].native-file {
  display: none;
}

/* Dropzone */
.custom-form .dropzone {
  position: relative;
  border: 2px dashed #ddd;
  border-radius: 0;
  padding: 26px 20px;
  background: #fff;
  text-align: center;
  cursor: pointer;
  transition: 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.custom-form .dropzone:hover {
  border-color: #ccc;
  background: #fff;
}

.custom-form .dropzone.is-dragging {
  border-color: #ddd;
  background: rgba(155, 107, 63, 0.08);
}

.custom-form .dropzone.is-rejecting {
  border-color: #b42318;
  background: rgba(180, 35, 24, 0.06);
}

.custom-form .dropzone-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #00000010;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.custom-form .dropzone.is-dragging .dropzone-icon {
  background: rgba(155, 107, 63, 0.2);
  transform: scale(1.08);
}

.custom-form .dropzone.is-rejecting .dropzone-icon {
  background: rgba(180, 35, 24, 0.12);
  color: #b42318;
}

.custom-form .dropzone-icon svg {
  width: 24px;
  height: 24px;
}

.custom-form .dropzone-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.custom-form .dropzone-subtitle {
  font-size: 0.85rem;
  color: #777;
  margin: 0;
  line-height: 1.7;
}

.custom-form .dropzone-browse {
  color: #555;
  font-weight: 700;
  text-decoration: underline;
}

/* File previews */
.custom-form .file-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.custom-form .file-list:empty {
  display: none;
}

.custom-form .file-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 10px 14px;
}

.custom-form .file-thumb {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(155, 107, 63, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-form .file-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.custom-form .file-info {
  flex: 1;
  min-width: 0;
}

.custom-form .file-name {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-form .file-size {
  margin: 0;
  font-size: 12px;
  color: #777;
}

.custom-form .file-remove {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #b42318;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.custom-form .file-remove:hover {
  background: rgba(180, 35, 24, 0.1);
}

.custom-form .file-remove svg {
  width: 18px;
  height: 18px;
}

.custom-form .upload-meter {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #777;
  gap: 12px;
}

.custom-form .upload-meter .bar {
  flex: 1;
  height: 2px;
  background: #ddd;
  border-radius: 99px;
  overflow: hidden;
}

.custom-form .upload-meter .bar-fill {
  height: 100%;
  width: 0%;
  background: #eee;
  border-radius: 99px;
  transition:
    width 0.25s ease,
    background 0.2s ease;
}

.custom-form .upload-meter.is-over .bar-fill {
  background: #b42318;
}

.custom-form .upload-meter.is-over {
  color: #b42318;
}

.custom-form .hint {
  margin-top: 6px;
  font-size: 12px;
  color: #777;
  line-height: 1.6;
}

.custom-form .error {
  color: #b42318;
  font-size: 13px;
  margin-top: 7px;
  display: none;
}

.custom-form .actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.custom-form button[type="submit"] {
  border: 0;
  border-radius: 0;
  padding: 8px 0;
  background: #1a1a1a;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease;
  min-width: 140px;
}

.custom-form button[type="submit"]:hover {
  opacity: 0.8;
}

.custom-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.custom-form .message {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.custom-form .message.success {
  color: #067647;
}

.custom-form .message.fail {
  color: #b42318;
}

@media (max-width: 650px) {
  .custom-form .grid {
    grid-template-columns: 1fr;
  }

  .custom-form .header-toggle,
  .custom-form form {
    padding: 25px;
  }

  .custom-form .header h1 {
    font-size: 0.95rem;
  }

  .custom-form .header-chevron {
    width: 40px;
    height: 40px;
  }

  .custom-form .dropzone {
    padding: 22px 16px;
  }
}

/* header cta */
.avf-header-cta svg {
  flex-shrink: 0;
  fill: #fff !important;
  color: #1a1a1a !important;
}

.avf-header-cta span {
  color: #1a1a1a !important;
}

/* Keep a single CTA visible per viewport: desktop button in header, mobile button inside menu. */
.avf-header-cta--desktop {
  display: none;
}
.avf-header-cta-mobile-item {
  padding: 8px 0;
}
.avf-header-cta--mobile {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  margin-inline-start: 0;
}

@media (min-width: 1024px) {
      .avf-header-cta--desktop {
        display: inline-flex;
        border: 1px solid #eee;
        padding: 6px 12px;
        border-radius: 50px;
        /* height: 38px; */
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 6px;}
  .avf-header-cta--desktop span {font-size: .8rem;}
  .avf-header-cta-mobile-item,
  .avf-header-cta--mobile {
    display: none !important;
  }
}