 /* ============================================
   DAKEN Global Network Section
   ============================================ */

.daken-global-network {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    background: #f8f8f8;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    gap: 0;
}

/* ─── LEFT PANEL ─────────────────────────── */

.daken-gn-panel {
    flex: 0 0 420px;
    max-width: 420px;
    background: #f8f8f8;
    padding: 32px 20px 24px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.daken-cities-wrapper {
    display: flex;
    flex-direction: column;
    gap: 22px;
    flex: 1;
    justify-content:center !important;
}

/* All city cards always visible — no pagination */
/* .daken-city-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
} */

/* City header: pin icon + title */
.daken-city-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.daken-city-header .daken-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.daken-city-header h3 {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    color: #000000;
}

/* White info card */
.daken-city-body {
    background: #ffffff;
    padding: 12px 14px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Sub-header row: building icon + name */
.daken-city-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.daken-city-name-row .daken-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.daken-city-name-row strong {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 22px;
    color: #000000;
}

.daken-city-body p {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 24px;
    color: #404040;
}

/* ─── RIGHT PANEL: MAP ───────────────────── */

.daken-gn-map {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #f8f8f8;
}

.daken-map-container {
    position: relative;
    width: 100%;
    line-height: 0;
}

.daken-worldmap-img {
    display: block;
    width: 100%;
    height: auto;
}

.daken-pulse-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

/* ─── PULSE / HOTSPOT ANIMATION ─────────── */

@keyframes daken-ripple {
    0%   { transform: scale(1);   opacity: 0.80; }
    100% { transform: scale(5.5); opacity: 0;    }
}

.daken-pulse-ring {
    fill: rgba(250, 105, 4, 0.35);
    transform-box: fill-box;
    transform-origin: center center;
}

.daken-pulse-ring.r1 {
    animation: daken-ripple 2.4s ease-out 0.0s infinite;
}

.daken-pulse-ring.r2 {
    animation: daken-ripple 2.4s ease-out 0.8s infinite;
}

.daken-pulse-ring.r3 {
    animation: daken-ripple 2.4s ease-out 1.6s infinite;
}

/* ─── RESPONSIVE ─────────────────────────── */

@media (max-width: 960px) {
    .daken-global-network {
        flex-direction: column;
    }

    .daken-gn-panel {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .daken-gn-map {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .daken-city-header h3 {
        font-size: 14px;
        line-height: 26px;
    }

    .daken-city-body p {
        font-size: 12px;
    }
}










 

/* ==========================================================
   Apply Gallery — Single-Row Horizontal Auto-Scroll Carousel
   ========================================================== */

/* Ensure the section acts as a positioning context */
#applyga {
    position: relative !important;
    overflow: hidden;
}

/* ----------------------------------------------------------
   Kill Elementor's justified-grid behaviour on the container
   ---------------------------------------------------------- */
#applyga .applygallery .e-gallery-container {
    display:     block    !important;
    position:    relative !important;
    overflow:    hidden   !important;
    height:      500px    !important;
    padding-top: 0        !important;
    width:       100%     !important;
}

/* ----------------------------------------------------------
   Carousel track wrapper  (created by JS)
   ---------------------------------------------------------- */
.cg-track-wrapper {
    position: relative;
    overflow: hidden;
    width:    100%;
    height:   500px;
}

/* ----------------------------------------------------------
   The scrolling strip
   ---------------------------------------------------------- */
.cg-track {
    display:          flex;
    flex-direction:   row;
    align-items:      stretch;
    height:           500px;
    gap:              10px;
    will-change:      transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* ----------------------------------------------------------
   Individual gallery items inside the carousel
   ---------------------------------------------------------- */
.cg-track .e-gallery-item,
.cg-track .cg-clone {
    position:     relative  !important;
    left:         auto      !important;
    top:          auto      !important;
    padding-top:  0         !important;
    height:       500px     !important;
    flex-shrink:  0         !important;
    display:      block     !important;
    overflow:     hidden;
}

/* Background-image div inside each item */
.cg-track .e-gallery-image,
.cg-track .elementor-gallery-item__image {
    position:            absolute      !important;
    inset:               0             !important;
    width:               100%          !important;
    height:              100%          !important;
    background-size:     cover         !important;
    background-position: center center !important;
}

/* ----------------------------------------------------------
   Navigation Arrow Buttons
   ---------------------------------------------------------- */
.cg-nav-btn {
    position:   absolute;
    top:        50%;
    transform:  translateY(-50%);
    z-index:    100;
    background: transparent;
    border:     none;
    cursor:     pointer;
    padding:    8px;
    width:      50px;
    height:     50px;
    display:    flex;
    align-items:     center;
    justify-content: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
    outline:    none;
    -webkit-tap-highlight-color: transparent;
}

.cg-nav-btn:hover {
    opacity:   0.70;
    transform: translateY(-50%) scale(1.12);
}

.cg-nav-btn:active {
    transform: translateY(-50%) scale(0.93);
}

.cg-nav-btn img {
    width:           30px;
    height:          30px;
    display:         block;
    pointer-events:  none;
}

.cg-nav-btn.cg-prev { left:  20px; }
.cg-nav-btn.cg-next { right: 20px; }

/* ----------------------------------------------------------
   Responsive Heights
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
    #applyga .applygallery .e-gallery-container,
    .cg-track-wrapper,
    .cg-track,
    .cg-track .e-gallery-item,
    .cg-track .cg-clone {
        height: 350px !important;
    }
}

@media (max-width: 768px) {
    #applyga .applygallery .e-gallery-container,
    .cg-track-wrapper,
    .cg-track,
    .cg-track .e-gallery-item,
    .cg-track .cg-clone {
        height: 250px !important;
    }

    .cg-nav-btn       { width: 38px; height: 38px; }
    .cg-nav-btn img   { width: 22px; height: 22px; }
    .cg-nav-btn.cg-prev { left:  10px; }
    .cg-nav-btn.cg-next { right: 10px; }
}

@media (max-width: 480px) {
    #applyga .applygallery .e-gallery-container,
    .cg-track-wrapper,
    .cg-track,
    .cg-track .e-gallery-item,
    .cg-track .cg-clone {
        height: 180px !important;
    }

    .cg-nav-btn       { width: 32px; height: 32px; }
    .cg-nav-btn img   { width: 18px; height: 18px; }
}







/* ==================== CSS CODE FOR EXISTING ELEMENTOR CAROUSEL - 3 IMAGES PER SIDE ==================== */
/* Add this to: Appearance > Customize > Additional CSS */

/* Main Container Styling */
#flipca {
  position: relative;
  width: 100%;
  max-width: 1900px;
  margin: 0 auto;
  padding: 60px 20px;
}

#flipca .caro {
  position: relative;
  overflow: visible !important;
}

/* Carousel Wrapper - Make it taller and allow overflow */
#flipca .elementor-image-carousel-wrapper {
  height: 700px !important;
  overflow: visible !important;
  position: relative;
}

/* Swiper Container */
#flipca .elementor-image-carousel {
  height: 100% !important;
  overflow: visible !important;
}

/* Hide default Swiper transformations */
#flipca .elementor-image-carousel {
  transform: none !important;
}

/* Individual Slides - Base Styling */
#flipca .swiper-slide {
  position: absolute !important;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1) !important;
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
  width: auto !important;
  height: auto !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Remove duplicate slides from view */
#flipca .swiper-slide-duplicate {
  display: none !important;
}

/* Slide Images */
#flipca .swiper-slide figure {
  margin: 0;
  width: 100%;
  height: 100%;
}

#flipca .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== CENTER POSITION - LARGEST ========== */
#flipca .swiper-slide[data-position="0"] {
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 500px !important;
  height: 700px !important;
  z-index: 50 !important;
  opacity: 1 !important;
  cursor: default !important;
}

/* ========== LEFT SIDE - 3 IMAGES ========== */

/* Left Side Image 1 - Closest to center */
#flipca .swiper-slide[data-position="-1"] {
  left: 27% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 380px !important;
  height: 525px !important;
  z-index: 40 !important;
  cursor: pointer !important;
  opacity: 1 !important;
}

/* Left Side Image 2 - Middle */
#flipca .swiper-slide[data-position="-2"] {
  left: 10% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 310px !important;
  height: 428px !important;
  z-index: 30 !important;
  cursor: pointer !important;
  opacity: 0.95 !important;
}

/* Left Side Image 3 - Furthest */
#flipca .swiper-slide[data-position="-3"] {
  left: -2% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 250px !important;
  height: 345px !important;
  z-index: 20 !important;
  cursor: pointer !important;
  opacity: 0.85 !important;
}

/* Hide images beyond position -3 on the left */
#flipca .swiper-slide[data-position="-4"],
#flipca .swiper-slide[data-position="-5"],
#flipca .swiper-slide[data-position="-6"],
#flipca .swiper-slide[data-position="-7"],
#flipca .swiper-slide[data-position="-8"],
#flipca .swiper-slide[data-position="-9"],
#flipca .swiper-slide[data-position="-10"] {
  display: none !important;
}

/* ========== RIGHT SIDE - 3 IMAGES ========== */

/* Right Side Image 1 - Closest to center */
#flipca .swiper-slide[data-position="1"] {
  right: 27% !important;
  left: auto !important;
  top: 50% !important;
  transform: translate(50%, -50%) !important;
  width: 380px !important;
  height: 525px !important;
  z-index: 40 !important;
  cursor: pointer !important;
  opacity: 1 !important;
}

/* Right Side Image 2 - Middle */
#flipca .swiper-slide[data-position="2"] {
  right: 10% !important;
  left: auto !important;
  top: 50% !important;
  transform: translate(50%, -50%) !important;
  width: 310px !important;
  height: 428px !important;
  z-index: 30 !important;
  cursor: pointer !important;
  opacity: 0.95 !important;
}

/* Right Side Image 3 - Furthest */
#flipca .swiper-slide[data-position="3"] {
  right: -2% !important;
  left: auto !important;
  top: 50% !important;
  transform: translate(50%, -50%) !important;
  width: 250px !important;
  height: 345px !important;
  z-index: 20 !important;
  cursor: pointer !important;
  opacity: 0.85 !important;
}

/* Hide images beyond position 3 on the right */
#flipca .swiper-slide[data-position="4"],
#flipca .swiper-slide[data-position="5"],
#flipca .swiper-slide[data-position="6"],
#flipca .swiper-slide[data-position="7"],
#flipca .swiper-slide[data-position="8"],
#flipca .swiper-slide[data-position="9"],
#flipca .swiper-slide[data-position="10"] {
  display: none !important;
}

/* ========== HOVER EFFECTS ========== */

/* Hover Effect on Clickable Slides */
#flipca .swiper-slide[data-position]:not([data-position="0"]):hover {
  filter: brightness(1.1);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

#flipca .swiper-slide[data-position="-1"]:hover,
#flipca .swiper-slide[data-position="-2"]:hover,
#flipca .swiper-slide[data-position="-3"]:hover {
  transform: translate(-50%, -50%) scale(1.05) !important;
}

#flipca .swiper-slide[data-position="1"]:hover,
#flipca .swiper-slide[data-position="2"]:hover,
#flipca .swiper-slide[data-position="3"]:hover {
  transform: translate(50%, -50%) scale(1.05) !important;
}

/* ========== NAVIGATION BUTTONS ========== */

#flipca .elementor-swiper-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 50%;
  width: 50px !important;
  height: 50px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#flipca .elementor-swiper-button:hover {
  background: rgba(255, 255, 255, 1) !important;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#flipca .elementor-swiper-button-prev {
  left: 20px;
}

#flipca .elementor-swiper-button-next {
  right: 20px;
}

#flipca .elementor-swiper-button svg {
  width: 26px;
  height: 26px;
  fill: #333;
}

/* ========== PAGINATION DOTS ========== */

#flipca .swiper-pagination {
  position: absolute !important;
  bottom:-50px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 60 !important;
  display: flex !important;
  gap: 10px;
  width: auto !important;
}

#flipca .swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50%;
  background: rgba(200, 200, 200, 0.9) !important;
  opacity: 1 !important;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 !important;
}

#flipca .swiper-pagination-bullet:hover {
  background: rgba(150, 150, 150, 1) !important;
  transform: scale(1.2);
}

#flipca .swiper-pagination-bullet-active {
  background: #FA6904 !important;
  width: 36px !important;
  border-radius: 6px !important;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Large Desktop */
@media (max-width: 1600px) {
  #flipca {
    max-width: 1600px;
  }
  
  #flipca .elementor-image-carousel-wrapper {
    height: 650px !important;
  }
  
  #flipca .swiper-slide[data-position="0"] {
    width: 600px !important;
    height: 800px !important;
  }
  
  #flipca .swiper-slide[data-position="-1"],
  #flipca .swiper-slide[data-position="1"] {
    width: 350px !important;
    height: 483px !important;
  }
  
  #flipca .swiper-slide[data-position="-2"],
  #flipca .swiper-slide[data-position="2"] {
    width: 280px !important;
    height: 386px !important;
  }
  
  #flipca .swiper-slide[data-position="-3"],
  #flipca .swiper-slide[data-position="3"] {
    width: 230px !important;
    height: 317px !important;
  }
}

/* Tablet */
@media (max-width: 1200px) {
  #flipca {
    padding: 50px 15px;
  }
  
  #flipca .elementor-image-carousel-wrapper {
    height: 550px !important;
  }
  
  #flipca .swiper-slide[data-position="0"] {
    width: 380px !important;
    height: 524px !important;
  }
  
  #flipca .swiper-slide[data-position="-1"],
  #flipca .swiper-slide[data-position="1"] {
    width: 300px !important;
    height: 414px !important;
  }
  
  #flipca .swiper-slide[data-position="-2"],
  #flipca .swiper-slide[data-position="2"] {
    width: 240px !important;
    height: 331px !important;
  }
  
  #flipca .swiper-slide[data-position="-3"],
  #flipca .swiper-slide[data-position="3"] {
    width: 200px !important;
    height: 276px !important;
  }
  
  #flipca .swiper-slide[data-position="-1"] {
    left: 24% !important;
  }
  
  #flipca .swiper-slide[data-position="1"] {
    right: 24% !important;
  }
  
  #flipca .swiper-slide[data-position="-2"] {
    left: 8% !important;
  }
  
  #flipca .swiper-slide[data-position="2"] {
    right: 8% !important;
  }
  
  #flipca .swiper-slide[data-position="-3"] {
    left: -3% !important;
  }
  
  #flipca .swiper-slide[data-position="3"] {
    right: -3% !important;
  }
}

/* Mobile Landscape / Small Tablet */
@media (max-width: 900px) {
  #flipca {
    padding: 40px 10px;
  }
  
  #flipca .elementor-image-carousel {
    overflow: hidden !important;
}
  
  #flipca .elementor-image-carousel-wrapper {
    height: 480px !important;
  }
  
  #flipca .swiper-slide[data-position="0"] {
    width: 320px !important;
    height: 441px !important;
  }
  
  #flipca .swiper-slide[data-position="-1"],
  #flipca .swiper-slide[data-position="1"] {
    width: 250px !important;
    height: 345px !important;
  }
  
  #flipca .swiper-slide[data-position="-2"],
  #flipca .swiper-slide[data-position="2"] {
    width: 200px !important;
    height: 276px !important;
  }
  
  #flipca .swiper-slide[data-position="-3"],
  #flipca .swiper-slide[data-position="3"] {
    width: 160px !important;
    height: 221px !important;
  }
  
  #flipca .swiper-slide[data-position="-1"] {
    left: 22% !important;
  }
  
  #flipca .swiper-slide[data-position="1"] {
    right: 22% !important;
  }
  
  #flipca .swiper-slide[data-position="-2"] {
    left: 5% !important;
  }
  
  #flipca .swiper-slide[data-position="2"] {
    right: 5% !important;
  }
  
  #flipca .swiper-slide[data-position="-3"] {
    left: -5% !important;
  }
  
  #flipca .swiper-slide[data-position="3"] {
    right: -5% !important;
  }
  
  #flipca .elementor-swiper-button {
    width: 44px !important;
    height: 44px !important;
  }
  
  #flipca .elementor-swiper-button-prev {
    left: 10px;
  }
  
  #flipca .elementor-swiper-button-next {
    right: 10px;
  }
}

/* Mobile Portrait */
@media (max-width: 600px) {
  #flipca {
    padding: 30px 5px;
  }
  
  #flipca .elementor-image-carousel-wrapper {
    height: 420px !important;
  }
  
  #flipca .swiper-slide[data-position="0"] {
    width: 260px !important;
    height: 359px !important;
  }
  
  #flipca .swiper-slide[data-position="-1"],
  #flipca .swiper-slide[data-position="1"] {
    width: 200px !important;
    height: 276px !important;
  }
  
  #flipca .swiper-slide[data-position="-2"],
  #flipca .swiper-slide[data-position="2"] {
    width: 160px !important;
    height: 221px !important;
  }
  
  #flipca .swiper-slide[data-position="-3"],
  #flipca .swiper-slide[data-position="3"] {
    width: 130px !important;
    height: 179px !important;
  }
  
  #flipca .swiper-slide[data-position="-1"] {
    left: 18% !important;
  }
  
  #flipca .swiper-slide[data-position="1"] {
    right: 18% !important;
  }
  
  #flipca .swiper-slide[data-position="-2"] {
    left: 2% !important;
  }
  
  #flipca .swiper-slide[data-position="2"] {
    right: 2% !important;
  }
  
  #flipca .swiper-slide[data-position="-3"] {
    left: -8% !important;
  }
  
  #flipca .swiper-slide[data-position="3"] {
    right: -8% !important;
  }
  
  #flipca .elementor-swiper-button {
    width: 40px !important;
    height: 40px !important;
  }
  
  #flipca .elementor-swiper-button svg {
    width: 22px;
    height: 22px;
  }
  
  #flipca .swiper-pagination {
    bottom: 25px !important;
    gap: 8px;
  }
  
  #flipca .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
  }
  
  #flipca .swiper-pagination-bullet-active {
    width: 28px !important;
  }
}

/* Small Mobile */
@media (max-width: 400px) {
  #flipca .elementor-image-carousel-wrapper {
    height: 380px !important;
  }
  
  #flipca .swiper-slide[data-position="0"] {
    width: 220px !important;
    height: 303px !important;
  }
  
  #flipca .swiper-slide[data-position="-1"],
  #flipca .swiper-slide[data-position="1"] {
    width: 170px !important;
    height: 234px !important;
  }
  
  #flipca .swiper-slide[data-position="-2"],
  #flipca .swiper-slide[data-position="2"] {
    width: 140px !important;
    height: 193px !important;
  }
  
  #flipca .swiper-slide[data-position="-3"],
  #flipca .swiper-slide[data-position="3"] {
    width: 110px !important;
    height: 152px !important;
  }
  .elementor-image-carousel-wrapper.swiper.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
    padding-bottom: 0px !important;
}
}




@media (min-width:1024px) and (max-width:1950px) {


    .singleprt .elementor-heading-title {
    font-size:30px !important;
}

}












/* ==========================================================================
   DAKEN — Product Categories Grid  |  v1.0.1
   ========================================================================== */

/* ── Grid wrapper ─────────────────────────────────────────────────────────── */
.daken-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ── Card ─────────────────────────────────────────────────────────────────── */
.daken-category-card {
    display: flex;
    /* min-height: 322px; */
    position: relative;
}

/* ── LEFT column ──────────────────────────────────────────────────────────── */
.daken-card-left {
    position: relative;           /* anchor for absolute children */
    flex: 0 0 45.5%;
    width: 45.5%;
    overflow: hidden;             /* image + button stay clipped inside */
}

/* Dark navy right-border line (Figma spec) */
.daken-card-left::after {
    content: '';
    position: absolute;
    inset: 0;
    border-right: 3px solid #0c2460;
    pointer-events: none;
    z-index: 2;
}

/* ── Category image — fills the entire left column ─────────────────────── */
.daken-cat-img {
    position: absolute;           /* stretch to all four edges */
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;            /* cover, never distort */
    object-position: center;
    display: block;
}

/* Fallback when no image is set */
.daken-cat-img-placeholder {
    position: absolute;
    inset: 0;
    background: #c8d0e0;
}

/* ── View More button — bottom-RIGHT of the left column ─────────────────── */
.daken-view-more-btn {
    position: absolute;
    bottom: 0;
    right: 0;           /* ← right-aligned (was left) */
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fa6904;
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 8px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: capitalize;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.daken-view-more-btn:hover,
.daken-view-more-btn:focus-visible {
    background: #d95900;
}

.daken-view-more-btn svg {
    flex-shrink: 0;
}

/* ── RIGHT column ─────────────────────────────────────────────────────────── */
.daken-card-right {
    flex: 1;
    background: #f8f8f8;
    padding: 29px 26px 29px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    min-width: 0;
}

/* ── Category name ────────────────────────────────────────────────────────── */
.daken-cat-name {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #0c2460;
    line-height: 32px;
    text-transform: capitalize;
    flex-shrink: 0;               /* never squished by the body area */
}

.daken-cat-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.daken-cat-name a:hover {
    color: #fa6904;
}

/* ── Cat body: desc + overlay container ──────────────────────────────────── */
/*
 * This wrapper is the "description zone".
 * Both .daken-cat-desc and .daken-products-overlay live inside it.
 * The overlay is positioned absolute so it covers exactly this area.
 */
.daken-cat-body {
    position: relative;
    flex: 1;
    min-height: 0;
}

/* ── Description (always rendered, may be hidden behind overlay) ─────────── */
.daken-cat-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #555;
    line-height: 1.6;
}

/* ── Products overlay ─────────────────────────────────────────────────────── */
/*
 * Positioned absolute so it covers only .daken-cat-body (the description
 * zone) — the category name above stays fully visible.
 *
 * Background: #fff  +  bottom-only box-shadow so the visitor perceives
 * it as a floating layer triggered by the hover action.
 */
.daken-products-overlay {
    position: absolute;
    inset: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.08);
    overflow-y: auto;
    padding: 16px 18px;
    box-sizing: border-box;
    border-radius: 0 0 2px 2px;

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 10;
}

/* Active state toggled by JS */
.daken-category-card.show-products .daken-products-overlay {
    opacity: 1;
    visibility: visible;
}

/* ── Products list ────────────────────────────────────────────────────────── */
.daken-products-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.daken-product-item {
    display: block;
}

.daken-product-item a {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    text-decoration: none;
    padding: 5px 0;
    line-height: 1.45;
    transition: color 0.18s ease;
}

.daken-product-item a:hover {
    color: #fa6904;
}

/* ── No products / no categories messages ─────────────────────────────────── */
.daken-no-products,
.daken-no-categories {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #888;
    margin: 0;
    text-align: center;
    padding: 20px 0;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media ( max-width: 980px ) {
    .daken-categories-grid {
        grid-template-columns: 1fr;
    }
}

@media ( max-width: 600px ) {
    .daken-category-card {
        flex-direction: column;
        min-height: auto;
    }

    /* Left column becomes a fixed-height banner on mobile */
    .daken-card-left {
        flex: 0 0 240px;
        width: 100%;
        height: 240px;
    }

    .daken-card-left::after {
        border-right: none;
        border-bottom: 3px solid #0c2460;
    }

    /* Button stays bottom-right on mobile too */
    .daken-view-more-btn {
        font-size: 14px;
        padding: 7px 13px;
    }

    .daken-card-right {
        padding: 20px 18px;
    }

    .daken-cat-name {
        font-size: 20px;
    }

    .daken-cat-desc,
    .daken-product-item a {
        font-size: 15px;
    }
}










/* ==========================================================================
   DAKEN Products Section
   File: wp-content/plugins/corefiles/css/custom.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section wrapper
   -------------------------------------------------------------------------- */
.daken-products-section {
    padding: 0px 0;
    width: 100%;
}

/* --------------------------------------------------------------------------
   Grid layout  — 5 columns on desktop
   -------------------------------------------------------------------------- */
.daken-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* --------------------------------------------------------------------------
   Individual product card
   -------------------------------------------------------------------------- */
.daken-product-card {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.daken-product-card:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------------------------------
   Product image
   -------------------------------------------------------------------------- */
.daken-product-image-link {
    display: block;
    overflow: hidden;
    border-bottom: 1px solid #e6e6e6;
}

.daken-product-image {
    width: 100%;
    height: 200px;
    /* object-fit: cover; */
    object-fit: contain !important;
    display: block;
    transition: transform 0.3s ease;
}
/*样式调整*/
.daken-products-section .daken-product-image {
  height: 200px !important
}
.daken-products-section .daken-view-more-btn{position:static !important}
.daken-categories-grid .daken-cat-img{height:100% !important}
/*样式调整*/
.daken-product-card:hover .daken-product-image {
    transform: scale(1.03);
}

.daken-product-no-image {
    width: 100%;
    height: 229px;
    background-color: #f5f5f5;
}

/* --------------------------------------------------------------------------
   Product title
   -------------------------------------------------------------------------- */
.daken-product-info {
    padding: 14px 14px 18px;
}

.daken-product-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 36px;
    color: #0c2460;
    text-decoration: none;
    text-transform: capitalize;
    display: block;
    transition: color 0.25s ease;
}

.daken-product-title:hover,
.daken-product-title:focus {
    color: #FA6904;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Text block  — spans 2 columns in the same grid
   -------------------------------------------------------------------------- */
.daken-product-text-block {
    grid-column: span 2;
    background: #F3F4F7;
    border: 1px solid #e6e6e6;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    min-height: 320px;
}

.daken-text-block-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #222222;
    line-height: 1.75;
    margin: 0;
}

/* --------------------------------------------------------------------------
   "View More Products" button
   -------------------------------------------------------------------------- */
.daken-view-more-btn {
    display: inline-block;
    background-color: #FA6904;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 13px 28px;
    border: 2px solid #FA6904;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    align-self: flex-start;
}

.daken-view-more-btn:hover,
.daken-view-more-btn:focus {
    background-color: #ffffff;
    color: #FA6904;
    border-color: #FA6904;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   No products fallback
   -------------------------------------------------------------------------- */
.daken-no-products {
    grid-column: 1 / -1;
    text-align: center;
    color: #666666;
    font-family: 'Montserrat', sans-serif;
    padding: 40px 0;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Large tablets / small laptops  ≤ 1200px  →  4 columns */
@media screen and (max-width: 1200px) {
    .daken-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .daken-product-text-block {
        grid-column: span 2;
    }
}

/* Tablets  ≤ 991px  →  3 columns */
@media screen and (max-width: 991px) {
    .daken-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .daken-product-text-block {
        grid-column: span 3;
        min-height: auto;
    }

    .daken-product-image,
    .daken-product-no-image {
        height: 200px;
    }
}

/* Large phones  ≤ 767px  →  2 columns */
@media screen and (max-width: 767px) {
    .daken-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .daken-product-text-block {
        grid-column: span 2;
        padding: 22px 20px;
        gap: 18px;
    }

    .daken-product-image,
    .daken-product-no-image {
        height: 180px;
    }

    .daken-product-title {
        font-size: 16px;
        line-height: 28px;
    }

    .daken-text-block-desc {
        font-size: 14px;
    }
}

/* Small phones  ≤ 480px  →  1 column */
@media screen and (max-width: 480px) {
    .daken-products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .daken-product-text-block {
        grid-column: span 1;
    }

    .daken-product-image,
    .daken-product-no-image {
        height: 200px;
    }

    .daken-view-more-btn {
        width: 100%;
        text-align: center;
        align-self: stretch;
    }
}






 


/* ----------------------------------------------------------------
   Parallelogram clip-paths
   ----------------------------------------------------------------
   Small shape (354 × 204 px, 50 px skew):
     SVG path: M50 0 H354 L304 204 H0 Z
     → top-left at 14.12 %, bottom-right at 85.88 %

   Large shape (362 × 226 px, 58 px skew):
     SVG path: M58 0 H362 L304 226 H0 Z
     → top-left at 16.02 %, bottom-right at 83.98 %
   ---------------------------------------------------------------- */
.cf-sm-clip {
  clip-path: polygon(14% 0%, 100% 0%, 86% 100%, 0% 100%);
}

.cf-lg-clip {
  clip-path: polygon(16% 0%, 100% 0%, 84% 100%, 0% 100%);
}

/* ----------------------------------------------------------------
   Section wrapper
   ---------------------------------------------------------------- */
.cf-cap-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 15px;
}

/* ----------------------------------------------------------------
   Canvas  (maintains 792 × 660 aspect ratio)
   ---------------------------------------------------------------- */
.cf-cap-wrap {
  position: relative;
  width: 100%;
  padding-top: 83.33%; /* 660 ÷ 792 = 0.8333 */
}

/* ----------------------------------------------------------------
   Each card  (absolute, percentage-based positions)
   ----------------------------------------------------------------
   All percentages derived from the 792 × 660 Figma canvas.

   Item       left%     top%    width%   height%
   Design     15.66     0.00    44.70    30.91
   Inspection  8.21    34.24    44.70    30.91
   Manufacture 0.00    68.64    44.70    30.91
   Project    54.29    15.91    45.71    34.24
   Technology 46.59    53.64    45.71    34.24
   ---------------------------------------------------------------- */
.cf-cap-item {
  position: absolute;
  cursor: pointer;
}

/* size classes */
.cf-cap-sm {
  width: 44.7%;
  height: 30.91%;
}
.cf-cap-lg {
  width: 45.71%;
  height: 34.24%;
}

/* positions */
.cf-cap-design {
  left: 15.66%;
  top: 0%;
}
.cf-cap-inspection {
  left: 8.21%;
  top: 34.24%;
}
.cf-cap-manufacture {
  left: 0%;
  top: 68.64%;
}
.cf-cap-project {
  left: 54.29%;
  top: 15.91%;
}
.cf-cap-technology {
  left: 46.59%;
  top: 53.64%;
}

/* ----------------------------------------------------------------
   Stripe  —  the coloured right-border strip
   ----------------------------------------------------------------
   Sits behind the image; shifted 5 px right & 5 px down.
   Only the strip at the right (and tiny sliver at the bottom) of
   the parallelogram shows because the image covers the rest.

   Default  → dark navy  #0C2460
   Hover    → orange     #FA6904
   ---------------------------------------------------------------- */
.cf-cap-stripe {
  position: absolute;
  inset: 0;
  transform: translate(5px, 5px);
  background-color: #0c2460;
  z-index: 1;
  transition: background-color 0.35s ease;
}

.cf-cap-item:hover .cf-cap-stripe {
  background-color: #fa6904;
}

/* ----------------------------------------------------------------
   Image wrapper  (clips the image to the parallelogram)
   ---------------------------------------------------------------- */
.cf-cap-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 2;
}

.cf-cap-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  object-position: center center !important;
}

.cf-cap-item:hover .cf-cap-img-wrap img {
  transform: scale(1.05);
}

/* ----------------------------------------------------------------
   Label
   ---------------------------------------------------------------- */
.cf-cap-label {
  position: absolute;
  bottom: 28%;
  left: 0;
  right: 0;
  text-align: center;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  white-space: nowrap;
  z-index: 3;
}

/* ----------------------------------------------------------------
   Responsive  —  stack vertically on small screens
   ---------------------------------------------------------------- */
@media (max-width: 767px) {

  .elementor-element.elementor-element-982c3d9.gallerya.elementor-widget.elementor-widget-shortcode {
    height: 400px !important;
}

  /* .cf-cap-wrap {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  } */


  .cf-cap-wrap {
    padding-top: 0;
    display: flex;
    flex-direction: row;
    column-count: 2 !important;
    gap: 14px;
    flex-wrap: wrap;
  }

  /* reset absolute positioning */
  /* .cf-cap-item {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: 200px !important;
  } */


    .cf-cap-item {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 45% !important;
    height: 100px !important;
  }

  /* on mobile the stripe offset uses px, stays consistent */
  .cf-cap-stripe {
    transform: translate(5px, 5px);
  }

  .cf-cap-label {
    font-size: 16px;
  }
}

/* ----------------------------------------------------------------
   Touch / tap state (added by custom.js on mobile)
   ---------------------------------------------------------------- */
.cf-cap-item.cf-touch-hover .cf-cap-stripe {
  background-color: #fa6904;
}

.cf-cap-item.cf-touch-hover .cf-cap-img-wrap img {
  transform: scale(1.05);
}