.custom-tabs {border: 1px solid #e5e7eb;border-radius: 16px;background: #ffffff;overflow: hidden;margin: 1.25rem 0;}
.custom-tabs__nav {display: flex;align-items: center;gap: 0.625rem;padding: 0.875rem;border-bottom: 1px solid #e5e7eb;overflow-x: auto;overflow-y: hidden;scrollbar-width: thin;-webkit-overflow-scrolling: touch;scroll-behavior: smooth;}
.custom-tabs__nav::-webkit-scrollbar {height: 6px;}
.custom-tabs__nav::-webkit-scrollbar-thumb {background: rgba(0, 0, 0, 0.18);border-radius: 999px;}
.custom-tabs__tab {appearance: none;-webkit-appearance: none;border: 0;background: #f3f4f6;color: #111827;border-radius: 12px;padding: 0.85rem 1rem;display: inline-flex;align-items: center;gap: 0.625rem;white-space: nowrap;cursor: pointer;font: inherit;font-size: 0.96rem;font-weight: 600;line-height: 1;flex: 0 0 auto;transition:background-color 0.2s ease,color 0.2s ease,box-shadow 0.2s ease,transform 0.2s ease;}
.custom-tabs__tab:hover {background: #e5e7eb;}
.custom-tabs__tab:focus-visible {outline: 2px solid #2563eb;outline-offset: 2px;}
.custom-tabs__tab[aria-selected="true"] {background: #111827;color: #ffffff;box-shadow: 0 4px 14px rgba(17, 24, 39, 0.16);}
.custom-tabs__icon {width: 18px;height: 18px;display: inline-flex;align-items: center;justify-content: center;flex: 0 0 18px;}
.custom-tabs__icon svg {width: 18px;height: 18px;display: block;}
.custom-tabs__label {display: inline-block;}
.custom-tabs__panels {width: 100%;}
.custom-tabs__panel {padding: 1.125rem;}
.custom-tabs__panel[hidden] {display: none !important;}
.custom-tabs__panel > *:first-child {margin-top: 0;}
.custom-tabs__panel > *:last-child {margin-bottom: 0;}
/* Tablet */
@media (max-width: 991px) {
    .custom-tabs__nav {padding: 0.75rem;gap: 0.5rem;}
    .custom-tabs__tab {padding: 0.8rem 0.95rem;font-size: 0.93rem;}
    .custom-tabs__panel {padding: 1rem;}
}

/* Mobile */
@media screen and (max-width:823px){
    .custom-tabs{margin:1rem 0;border:1px solid #e5e7eb;border-radius:16px;background:#ffffff;overflow:hidden;}
    .custom-tabs__nav{display:none;}
    .custom-tabs__panels{width:100%;padding:12px;box-sizing: border-box;}
    .custom-tabs__panel{display:block !important;margin:0 0 10px 0;padding:0 !important;background:transparent !important;border:none !important;border-radius:0 !important;overflow:hidden;box-shadow:none !important;}
    .custom-tabs__panel:last-child{margin-bottom:0;}
    .custom-tabs__panel[hidden]{display:block !important;}
    .accordion-header{display:block;width:100%;padding:16px 46px 16px 16px;background: var(--primary);color: var(--bg);border: 1px solid var(--primary--primary);border-radius:0;font-size:15px;font-weight:500;line-height:1.4;cursor:pointer;position:relative;box-sizing:border-box;}
    .accordion-header:after{content:"▼";position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:12px;color: var(--bg);}
    .custom-tabs__panel.active .accordion-header{background: var(--primary-light);color: var(--bg);}
    .custom-tabs__panel.active .accordion-header:after{content:"▲";}
    .accordion-content{display:none;padding:18px 16px;background:#ffffff;border-left:1px solid #d9d9d9;border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;box-sizing:border-box;}
    .custom-tabs__panel.active .accordion-content{display:block;}
    .custom-tabs__panel.panel-tour-details .accordion-content,.custom-tabs__panel.panel-itinerary .accordion-content,.custom-tabs__panel.panel-faq .accordion-content{padding:18px 16px;background:var(--bg);border-radius:0;}
    .custom-tabs__panel.panel-tour-details h2{font-size:22px;margin:0 0 14px 0;}
    .custom-tabs__panel.panel-tour-details h2:not(:first-child){margin-top:24px;}
    .custom-tabs__panel.panel-tour-details ul{margin:0 0 18px 0;padding:0;}
    .custom-tabs__panel.panel-tour-details li{padding-left:34px;margin-bottom:10px;font-size:14px;line-height:1.6;}
    .custom-tabs__panel.panel-tour-details li::before{width:20px;height:20px;font-size:10px;top:1px;}
    .custom-tabs__panel.panel-tour-details li:hover{transform:none;}
    .custom-tabs__panel.panel-itinerary{position:relative;}
    .custom-tabs__panel.panel-itinerary::before{display:none;}
    .custom-tabs__panel.panel-itinerary h2{font-size:24px;margin:0 0 22px 0;letter-spacing:0;}
    .custom-tabs__panel.panel-itinerary h3{margin:0 0 10px 0;padding:16px 16px 16px 56px;font-size:16px;line-height:1.4;border-radius:8px;}
    .custom-tabs__panel.panel-itinerary h3::before{left:16px;width:12px;height:12px;border:2px solid var(--white);box-shadow:0 0 0 2px var(--accent);}
    .custom-tabs__panel.panel-itinerary h3::after{left:52px;top:-14px;font-size:10px;letter-spacing:.8px;}
    .custom-tabs__panel.panel-itinerary p{margin:0 0 22px 0;padding:0 10px 0 56px;font-size:14px;line-height:1.7;}
    .custom-tabs__panel.panel-itinerary h3:hover{background:var(--bg-alt);transform:none;}
    .custom-tabs__panel.panel-faq h2{font-size:24px;margin:0 0 22px 0;}
    .custom-tabs__panel.panel-faq h3{margin:0 0 6px 0;padding:16px 16px 16px 48px;font-size:15px;line-height:1.4;border-radius:8px;}
    .custom-tabs__panel.panel-faq h3::before{left:16px;font-size:15px;}
    .custom-tabs__panel.panel-faq p{margin:0 0 16px 0;padding:0 14px 12px 18px;font-size:14px;line-height:1.7;border-left:2px solid var(--accent);margin-left:0;}
    .custom-tabs__panel.panel-faq h3:hover{background:var(--bg-alt);transform:none;box-shadow:none;}
    .General-owl,.galeria-owl{width:100%;overflow:hidden;}
    .galeria-owl .item img{height:260px;border-radius:10px;}
    .galeria-owl .owl-stage-outer{border-radius:10px;}
    .galeria-owl .owl-nav button{width:36px;height:36px;font-size:15px;}
    .galeria-owl .owl-nav .owl-prev{left:10px;}
    .galeria-owl .owl-nav .owl-next{right:10px;}
    .galeria-owl .owl-dots{bottom:10px;}
    .custom-tabs__panel .accordion-content>*:first-child{margin-top:0;}
    .custom-tabs__panel .accordion-content>*:last-child{margin-bottom:0;}
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .custom-tabs__nav {scroll-behavior: auto;}
    .custom-tabs__tab {transition: none;}
}