/* WDPC - Customizer final CSS */

.wdpc-app {
    display: flex;
    width: 100%;
    gap: 0;
    position: relative;
}
/* LEFT — BOTTLE PREVIEW (30%) */
.wdpc-canvas-wrapper {
    width: 30%;
    min-width: 280px;
    padding: 20px;
    background: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wdpc-preview-bottle { width: 360px; height: 520px; position: relative; }
#wdpc_base_img { width:100%; height:auto; display:block; position: relative; z-index: 1; }

/* layers sit above base image but below sidebar */
.wdpc-layer { position:absolute; left:0; right:0; z-index: 2; pointer-events:none; }

/* user media/text */
#wdpc_user_image, #wdpc_user_logo { position:absolute; z-index: 5; display:none; cursor:move; }
#wdpc_user_text { position:absolute; z-index: 5; display:block; top:auto; left:auto; }

/* RIGHT — CONTROLS SIDEBAR (70%) */
.wdpc-right-sidebar {
    width: 70%;
    padding: 20px;
    background: #FFE5C5;
    border-left: 2px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;

}

/* part buttons */
.wdpc-part-buttons { display:flex; flex-direction:column; gap:10px; }
.wdpc-btn {
    padding: 12px;
    background: #f5f5f5;
    border-radius: 6px;
    border:1px solid #ddd;
    text-align:left;
    cursor:pointer;
}
.wdpc-btn.active { background:#111; color:#fff; border-color:#000; }

/* COLOR SWATCHES — SINGLE ROW & SCROLL HORIZONTAL */
.wdpc-swatches {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 6px;
}

.wdpc-swatch {
   width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent; /* default no border */
    transition: border 0.2s ease;
}

/* Hover effect: circle border only */
.wdpc-swatch:hover {
    border-color: #333; /* your border color on hover */
}

/* Selected / Active swatch */
.wdpc-swatch.active {
    border-color: #000; /* your theme color */
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000; /* optional double-ring */
}

/* OPTIONAL: prettier scrollbar */
.wdpc-swatches::-webkit-scrollbar {
    height: 6px;
}
.wdpc-swatches::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/* inputs */
.wdpc-section input[type="file"] { width:100%; }
.wdpc-section input[type="color"] { height:36px; width:100%; padding:0; border:none; }

/* color panel (if you want to show dedicated panel) */
.wdpc-color-panel { display:block; padding:10px; border-radius:6px; background:#fafafa; border:1px solid #eee; }

/* Make the part selector a single horizontal row */
.wdpc-categories {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    width: 100%;
    padding: 6px 0;

    border-bottom: 1px solid #eee;
}

/* Remove the dividers since they break the row layout */
.wdpc-categories .home-categories-divider {
    display: none;
}

/* Normalize button styling */
.wdpc-categories .home-categories-item {
    flex: 1;
    background: #FF6F61 !important;
    border: 1px solid #fff !important;
    border-radius: 30px;
    padding: 10px 8px !important;
    text-align: center;
    cursor: pointer;
    color: #fff;
    transition: 0.2s ease;
}

/* Hover */
.wdpc-categories .home-categories-item:hover {
    background: #fff !important;
    color: #000;
}

/* Active (selected part) */
.wdpc-categories .home-categories-item.active {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}


/* Card container */
.wdpc-color-card {
    position: relative; /* keep in normal flow */
    margin: 85px auto;  /* center horizontally and add top/bottom spacing */
    width: 250px; 
    height:250px;/* adjust width as needed */
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(185, 202, 210, 0.5);
    background: #fff;
    padding: 15px;
    text-align: center;
}

/* Title */
.wdpc-color-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

/* Color name */
.wdpc-color-name {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

/* Swatch row */
.wdpc-color-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Circular buttons */
.wdpc-color-item {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}
/* Remove all hover backgrounds & borders */
.wdpc-color-item:hover,
.wdpc-color-item:focus,
.wdpc-color-item:active {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Inner color circle */
.wdpc-color-inner {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent; /* default */
    transition: 0.2s ease;
}

/* Active = thick ring */
.wdpc-color-item.active .wdpc-color-inner {
    border: 3px solid #000;
}
/* When selected → show BLACK border */
.wdpc-color-item.selected .wdpc-color-inner {
    border-color: #000; /* black */
}

/* --- BODY CONTROLS RIGHT PANEL (Professional Style) --- */

#wdpc_body_controls {
    width: 150px;
   /* background: #ffffff;*/
    border-radius: 14px;
    padding: 22px;
    /*box-shadow: 0 8px 30px rgba(0,0,0,0.08);*/

    position: absolute;
    top: 100px;
    right: 25px;

    display: none; /* shown only when BODY is active */
    z-index: 40;
}

/* Headers (Text / Image / Product) */
#wdpc_body_controls h4 {
        font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: center;
}

/* Section Block */
#wdpc_body_controls .wdpc-section {
    margin-bottom: 22px;
}

/* Inputs Styling */
#wdpc_body_controls input,
#wdpc_body_controls select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    background: #fafafa;
    font-size: 14px;
    margin-bottom: 10px;
    outline: none;
}

/* Range styling (slider) */
#wdpc_body_controls input[type="range"] {
    background: transparent;
}

/* Add to cart button */
#wdpc_body_controls .wdpc-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    background: #FF6F61;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

#wdpc_body_controls .wdpc-btn:hover {
    background: #e85748;
}

/* EXACT style like screenshot */
.wdpc-round-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #d7dde3;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: 0.2s ease;
    margin: 0 auto;
}

.wdpc-round-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.wdpc-round-btn img {
    width: 15px;
    height: 15px;
    object-fit: contain;
    opacity: 0.85;
}
.wdpc-side-panel {
  position: absolute;
    top: 180px;
    right: 120px; /* hidden */
    width: 170px;
    height: 60%;
    background: #fff;
    padding: 10px;
    border-left: 1px solid #eee;
    border-radius: 12px;
    box-shadow: -2px 0 12px rgba(0,0,0,0.1);
    transition: right 0.35s ease-in-out;
    z-index: 99999;
}

.wdpc-side-panel.open {
    right: 0;
}

.wdpc-side-header {
    padding: 14px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.wdpc-close-btn {
    background: #ff6f61;
    border: none;
    padding: 6px 9px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 8px;
}

.wdpc-close-btn hover{
    background-color: #ffe5c5;
    color: black;
}

.wdpc-input {
     width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 16px;
}

.wdpc-main-btn {
     width: 100%;
    padding: 12px;
    background: #ff6f61;
    color: #fff;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}
.wdpc-main-btn hover{
    background-color: #ffe5c5;
    color: black;
}

#wdpc_body_color_preview {
    transition: background-color 0.25s ease;
}

#wdpc-side-panel {
    right: -350px;
    transition: right .3s ease;
    position: absolute;
      display: none;
}


#wdpc-side-panel.wdpc-open {
    right: 145px;
    display: block;
}


#wdpc-image-panel {
    display: none;
    right: -350px;
    position: absolute;
    transition: right .3s ease;
}
#wdpc-image-panel.wdpc-open {
    display: block;
    right: 145px;
}

/* Small color card preview */
.wdpc-color-card.hidden {
    display: none !important;
}



.wdpc-color-card-preview {
    width: 55px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #ccc;
    cursor: pointer;
    background: #ffffff; /* default */
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    transition: transform .2s, box-shadow .2s;
}

.wdpc-color-card-preview:hover {
    transform: scale(1.03);
    box-shadow: 0 3px 6px rgba(0,0,0,0.25);
}

/* Overlay */
.wdpc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 998;
}

/* Modal container */
.wdpc-modal {
    display: none;
    position: fixed;
    right: 0;
    top: 5px;
    width: 350px;
    height: 100%;
    background: #fff;
    z-index: 999;
    box-shadow: -3px 0 12px rgba(0,0,0,0.2);
}

/* Modal content */
.wdpc-modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header */
.wdpc-modal-header {
    padding-left: 15px;
    background: #f5f5f5;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
}



/* Body */
.wdpc-modal-body {
    padding: 15px;
    overflow-y: auto;
}

/* Grid for template thumbnails */
.wdpc-template-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 10px;
}

.wdpc-template-item img {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
}

.wdpc-template-item {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ddd;
}
#wdpc-color-modal{
    position: relative;
    margin: 2% 55%;
    width: 225px;
    height: 250px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(185, 202, 210, 0.5);
    background: #fff;
    padding: 15px;
    text-align: center;
}

/* Make modal float next to sidebar like RRRTS */
#wdpc-color-modal {
    position: absolute;
    top: 100px;           /* adjust */
    right: -345px;        /* sits to the right of body control */
    width: 320px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    padding: 20px;
    display: none;
    z-index: 999999;
}

/* Show when open */
#wdpc-color-modal.open {
    display: block;
}

/* Make sure swatches show normally */
#wdpc_colors_modal {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

/* Circle color swatches */
.wdpc-color-item-modal {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    background: transparent;
}

.wdpc-color-item-modal .wdpc-color-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
}

/* Active state */
.wdpc-color-item-modal.active .wdpc-color-inner {
    border-color: red;
}

/* Title labels */
#wdpc_color_label_modal {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

#wdpc_body_layer {
position: absolute;
  inset: 0;
  overflow: hidden; /* 🔒 HARD CLIP */
}

/* ==============================
   TEXT TOOLBAR — FINAL FIX
   ============================== */

#wdpc-text-toolbar {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);

  display: none;
  align-items: center;
  gap: 6px;

  padding: 6px 8px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);

  white-space: nowrap;
  flex-wrap: nowrap;        /* 🔥 VERY IMPORTANT */

  z-index: 999999;
}

#wdpc-text-toolbar.active {
  display: inline-flex;
}

/* compact font select */
#wdpc-text-toolbar select {
  width: 80px;              /* 🔥 reduced */
  height: 28px;
  font-size: 13px;
  padding: 2px 4px;
}

/* compact font size */
#wdpc-text-toolbar input[type="number"] {
  width: 55px;              /* 🔥 reduced */
  height: 28px;
  font-size: 13px;
  padding: 2px 4px;
}

/* icon buttons */
#wdpc-text-toolbar button {
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 4px;
  border: 1px solid #ccc;
  background: #f7f7f7;
  cursor: pointer;
}

#wdpc-text-toolbar button:hover {
  background: #ff6f61;
  border-color: #ff6f61;
  color: #fff;
}

/* color picker */
#wdpc-text-toolbar input[type="color"] {
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: none;
}



.wdpc-selectable-text {
  cursor: pointer;
}

#wdpc_body_color_overlay{
  position:absolute;
  inset:0;
  z-index:1.5;
  background:transparent;
  mix-blend-mode:multiply;
  pointer-events:none;
}

.wdpc-canvas-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* BODY ACTION ROW */
.wdpc-body-actions-row {
  display: flex;
  gap: 10px;
  margin-top: -90px;
  padding-top: 1px;
  margin-left: -32vw;
}

.wdpc-action-btn {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  background: #f4f4f4;
  border: 1px solid #ddd;
  cursor: pointer;
}

.wdpc-action-btn:hover {
  background: #eaeaea;
}

.wdpc-action-btn.wdpc-danger {
  background: #ffe8e8;
  border-color: #f2b4b4;
  color: #b10000;
}
/* ===============================
   MOBILE: 2 ROWS (LEFT → RIGHT)
   =============================== */
@media (max-width: 767px) {

  /* App becomes vertical */
  .wdpc-app {
    flex-direction: column;
  }

  /* LEFT BAR (Canvas) = ROW 1 */
  .wdpc-canvas-wrapper {
    width: 100%;
    order: 1;
  }

  /* RIGHT BAR (Tools) = ROW 2 */
  .wdpc-right-sidebar {
    width: 100%;
    order: 2;
  }

  /* Canvas height control */
  #wdpc_3d_canvas {
    height: 320px !important;
  }

}
@media (max-width: 767px) {
  #wdpc_body_controls {
    padding-top: 10px;
  }
}

#wdpc_preview_box {
  position: relative;
    overflow: hidden;

}

#wdpc_3d_canvas {
  pointer-events: none; /* 🔥 MAIN FIX */
}

/* ===============================
   MOBILE HEADER DROPDOWN
   =============================== */

.wdpc-header-dropdown {
  display: none;
}

@media (max-width: 767px) {

  /* Hide desktop header buttons */
  .home-categories {
    display: none;
  }

  .wdpc-header-dropdown {
    display: block;
    margin-bottom: 12px;
  }

  .wdpc-header-toggle {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-size: 14px;
    border: none;
    cursor: pointer;
  }

  .wdpc-header-menu {
    display: none;
    margin-top: 8px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }

  .wdpc-header-menu button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #fff;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
  }

  .wdpc-header-menu button:not(:last-child) {
    border-bottom: 1px solid #eee;
  }

  .wdpc-header-dropdown.open .wdpc-header-menu {
    display: block;
  }
}
/* ===============================
   MOBILE BODY TOOL DROPDOWN
   =============================== */

.wdpc-body-dropdown {
  display: none;
}

@media (max-width: 767px) {

  /* Hide desktop body tools */
  #wdpc_body_controls .wdpc-section {
    display: none;
  }

  .wdpc-body-dropdown {
    display: block;
    margin-bottom: 12px;
  }

  .wdpc-body-toggle {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: #ff6f61;
    color: #fff;
    font-size: 14px;
    border: none;
    cursor: pointer;
  }
.wdpc-body-toggle hover{
    background-color: #000;
    
}

  .wdpc-body-menu {
    display: none;
    margin-top: 8px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }

  .wdpc-body-menu button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #fff;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
  }

  .wdpc-body-menu button:not(:last-child) {
    border-bottom: 1px solid #eee;
  }

  .wdpc-body-dropdown.open .wdpc-body-menu {
    display: block;
  }
}
/* ===============================
   WDPC MODAL CENTERING (GLOBAL)
   =============================== */

#wdpc-color-modal {
  position: fixed;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  max-width: 310px;
  max-height:680vh;

  background: #fff;
  border-radius: 14px;
  overflow-y: auto;

  z-index: 9999;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

#wdpc-design-modal
{
  position: fixed;
  top: 50%;
  left: 75%;
  transform: translate(-50%, -50%);
    height: 100%;
  max-width: 310px;
  max-height: 60vh;
  background: #fff;
  border-radius: 14px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

#wdpc-side-panel{
    position: fixed;
  top: 50%;
  left: 80%;
  transform: translate(-50%, -50%);
  max-width: 310px;
  max-height: 60vh;
  background: #fff;
  border-radius: 14px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
#wdpc-image-panel{
    position: fixed;
  top: 50%;
  left: 80%;
  transform: translate(-50%, -50%);
  max-width: 310px;
  max-height: 60vh;
  background: #fff;
  border-radius: 14px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}


@media (max-width: 767px) {
  #wdpc-color-modal,
  #wdpc-design-modal,
  #wdpc-side-panel,
  #wdpc-image-panel {
    width: 94%;
    max-height: 85vh;
   
  }
}

@media (max-width: 767px) {
    #wdpc-color-modal{
     top: 70%;
  left: -5%;
    }
}


    
#wdpc-color-modal,
#wdpc-design-modal,
#wdpc-side-panel,
#wdpc-image-panel {
  animation: wdpcFadeIn 0.2s ease;
}

@keyframes wdpcFadeIn {
  from { opacity: 0; transform: translate(-50%, -46%); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}

@media (max-width: 767px) {

  .wdpc-body-actions-row {
   /* display: flex;
    flex-direction: column;*/
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    margin-left: -136px;
  }

  .wdpc-action-btn {
    width: 70%;
    max-width: 240px;
    text-align: center;
  }

}
/* BODY PREVIEW */
.wdpc-body-preview-row {
  margin: 14px 0 20px;
}

.wdpc-body-preview-box {
  width: 100%;
  max-width: 400px;
  height: 250px;
  margin: 40px auto;
  background: #f7f7f7;
  border-radius: 14px;
  border: 2px dashed #ddd;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Layers */
.wdpc-preview-layer.body {
    position: absolute;
    inset: 0;
    background: transparent;
}

.wdpc-preview-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-family: Arial, sans-serif;
  color: #000;
  white-space: nowrap;
  pointer-events: none;
  text-align: center;
  z-index: 999999;      
}
.wdpc-preview-text.active {
  outline: 2px dashed #007cba;
  outline-offset: 4px;
  z-index: 999999;      
}

.wdpc-preview-image {
    pointer-events: auto;
}

/* MOBILE */
@media (max-width: 767px) {
  .wdpc-body-preview-box {
    height: 220px;
    max-width: 180px;
  }
}

#wdpc_body_preview {
    display: none;
     position: relative;
}
/* ================================
   IMAGE ALIGNMENT TOOLBAR
   ================================ */

#wdpc-image-toolbar {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 6px;
   z-index: 9999;
  visibility: hidden;
  opacity: 0;
   border-radius: 5px !important;
   padding: 6px 10px;
  background: #fff;
   position: absolute;
  top: 80px;                /* 🔼 preview se upar */
  left: 50%;
  transform: translateX(-50%);
}


#wdpc-image-toolbar.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.wdpc-img-delete {
  background: #d63638;
  color: #fff;
  border: none;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  cursor: pointer;
}

.wdpc-img-delete:hover {
  background: #b32d2e;
}

/* Button groups */
.wdpc-toolbar-group {
  display: flex;
  gap: 6px;
   position: relative; /* 🔑 anchor */
}

/* Buttons */
.wdpc-image-toolbar button {
  min-width: 30px;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #f7f7f7;
  cursor: pointer;
  transition: all 0.15s ease;
}

.wdpc-image-toolbar button:hover {
  background: #ff6f61;
  border-color: #ff6f61;
  color: #fff;
}

/* Separator */
.wdpc-toolbar-sep {
  width: 1px;
  height: 22px;
  background: #ddd;
  margin: 0 6px;
}
#wdpc-image-toolbar {
  pointer-events: auto !important;
}

#wdpc-image-toolbar * {
  pointer-events: auto !important;
}
canvas {
  pointer-events: none;
}
#wdpc-text-toolbar,
#wdpc-text-toolbar * {
  pointer-events: auto !important;
}
/* FILTER POPUP */
.wdpc-filter-panel {
  position: absolute;
  top: 110%;                 /* 🔽 toolbar ke niche */
  left: 50%;
  transform: translateX(-50%);

  display: none;
  gap: 12px;
  padding: 12px;

  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);

  z-index: 999999;
  white-space: nowrap;
}

/* show */
.wdpc-filter-panel.active {
  display: flex;
}
.wdpc-filter-item {
  width: 72px;
  display: flex;              /* 🔥 */
  flex-direction: column;     /* 🔥 image upar, text niche */
  align-items: center;
  gap: 6px;                   /* image & text gap */
  cursor: pointer;
}

.wdpc-filter-item img {
  width: 100%;
  height: 45px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.wdpc-filter-item span {
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  color: #333;
  white-space: nowrap;
}

.wdpc-filter-item:hover img {
  outline: 2px solid #ff6f61;
}


