/*
Theme Name: DIY Crafts India Child
Theme URI: https://diycraftsindia.com/
Description: Child theme for DIY Crafts India.
Author: Rajeev Chaurasiya
Template: diy-crafts-india
Version: 1.3.6
Text Domain: diy-crafts-india-child
*/
/* =========================
   SEARCH — final child override
   ========================= */
.dci-search form{
  position:relative !important;
  height:48px !important;
}
.dci-search input[type="search"]{
  height:48px !important;
  padding:0 105px 0 20px !important;
  line-height:48px !important;
}
.dci-search button{
  position:absolute !important;
  top:4px !important;
  right:4px !important;
  width:82px !important;
  height:40px !important;
  min-width:82px !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:999px !important;
  background:var(--dci-color-primary) !important;
  color:#FFFFFF !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  box-sizing:border-box !important;
  font-size:13px !important;
  line-height:1 !important;
  font-weight:800 !important;
}
.dci-search button:hover{
  background:var(--dci-color-primary-hover) !important;
}
.dci-search button svg{
  display:block !important;
  position:static !important;
  width:16px !important;
  height:16px !important;
  min-width:16px !important;
  min-height:16px !important;
  fill:none !important;
  stroke:#FFFFFF !important;
  stroke-width:2 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}
.dci-search .dci-search-label{
  display:inline-block !important;
  position:static !important;
  width:auto !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  overflow:visible !important;
  clip:auto !important;
  white-space:nowrap !important;
  color:#FFFFFF !important;
  font-size:13px !important;
  line-height:1 !important;
  font-weight:800 !important;
}

/* =========================
   HEADER ICONS — protect SVGs
   ========================= */
.dci-header__actions .dci-icon-btn{
  color:var(--dci-color-primary-hover) !important;
}
.dci-header__actions .dci-icon-btn svg{
  display:block !important;
  width:20px !important;
  height:20px !important;
  fill:none !important;
  stroke:var(--dci-color-primary-hover) !important;
  stroke-width:1.8 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}

/* Mobile menu must be genuinely hidden until the hamburger is clicked. */
.dci-mobile-panel[hidden]{
  display:none !important;
}

/* =========================================================
   MOBILE HEADER — modal menu only
   Does not change desktop header or mega-menu styling.
   ========================================================= */
@media (max-width: 820px) {
  .dci-header__actions {
    justify-self: end !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 9px !important;
  }

  .dci-header__main {
    grid-template-columns: auto 1fr auto !important;
  }

  .dci-mobile-panel {
    display:block !important;
    position: fixed !important;
    top: var(--dci-mobile-panel-top, 0px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: calc(100vh - var(--dci-mobile-panel-top, 0px)) !important;
    max-height: calc(100vh - var(--dci-mobile-panel-top, 0px)) !important;
    margin: 0 !important;
    padding: 18px 14px 90px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: 0 18px 40px rgba(30,26,24,.12) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-14px) !important;
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s !important;
    z-index: 250 !important;
  }

  .dci-mobile-panel.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear 0s !important;
  }

  .dci-mobile-panel .dci-menu {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .dci-mobile-panel .dci-menu > li {
    width: 100% !important;
    margin: 0 !important;
  }

  .dci-mobile-panel .dci-menu > li > a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Horizontal overflow guard — prevents unwanted bottom scrollbar. */
html, body {
  overflow-x: hidden !important;
}

/* =========================================================
   MOBILE HEADER v1.1 — VibeCrafts-inspired compact layout
   Mobile only. Desktop header/menu remains unchanged.
   ========================================================= */
@media (max-width: 820px) {
  .dci-header {
    background: var(--dci-color-background) !important;
    border-bottom: 0 !important;
    backdrop-filter: none !important;
  }

  .dci-header__main {
    position: relative !important;
    width: 100% !important;
    min-height: 70px !important;
    padding: 10px 14px 12px !important;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    grid-template-rows: 46px auto !important;
    gap: 10px 0 !important;
    box-sizing: border-box !important;
  }

  .dci-brand {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    min-width: 0 !important;
    z-index: 2 !important;
  }

  .dci-brand img {
    max-height: 42px !important;
    width: auto !important;
    filter: none !important;
  }

  .dci-header__actions {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    z-index: 3 !important;
  }

  .dci-header__actions .dci-icon-btn {
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: 0 !important;
    color: var(--dci-color-primary-hover) !important;
    box-shadow: none !important;
  }

  .dci-header__actions .dci-icon-btn svg {
    stroke: var(--dci-color-primary-hover) !important;
    width: 21px !important;
    height: 21px !important;
  }

  .dci-header__actions .dci-icon-btn:nth-child(2) {
    display: none !important;
  }

  .dci-header__actions .dci-icon-btn:nth-child(3) {
    order: 1 !important;
  }

  .dci-header__actions .dci-icon-btn:nth-child(1) {
    display: grid !important;
    order: 2 !important;
  }

  .dci-mobile-toggle {
    position: absolute !important;
    left: 14px !important;
    top: 13px !important;
    display: grid !important;
    order: 0 !important;
    z-index: 5 !important;
  }

  .dci-mobile-toggle svg {
    stroke: var(--dci-color-primary-hover) !important;
  }

  .dci-count {
    border-color: var(--dci-color-primary-hover) !important;
  }

  .dci-search {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    justify-self: stretch !important;
  }

  .dci-search form {
    height: 46px !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .dci-search input[type="search"] {
    height: 46px !important;
    padding-left: 17px !important;
    padding-right: 86px !important;
    font-size: 14px !important;
  }

  .dci-search button {
    top: 3px !important;
    right: 3px !important;
    width: 72px !important;
    height: 40px !important;
  }

  .dci-mobile-category-strip {
    display: block !important;
    background: var(--dci-color-primary-hover) !important;
    padding: 2px 0 13px !important;
    overflow: hidden !important;
  }

  .dci-mobile-category-strip__inner {
    display: flex !important;
    gap: 17px !important;
    width: max-content !important;
    padding: 0 14px !important;
    overflow: visible !important;
  }

  .dci-mobile-category-strip__item {
    width: 62px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
    color: #fff !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    text-align: center !important;
    flex: 0 0 62px !important;
  }

  .dci-mobile-category-strip__image {
    width: 52px !important;
    height: 52px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255,255,255,.85) !important;
    background: #fff !important;
  }

  .dci-mobile-panel {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    padding: 0 0 72px !important;
    background: #fff !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
    transition: opacity .2s ease, visibility .2s ease !important;
    z-index: 99999 !important;
  }

  .dci-mobile-panel.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .dci-mobile-panel__head {
    position: sticky !important;
    top: 0 !important;
    z-index: 5 !important;
    min-height: 58px !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #1D2327 !important;
    color: #fff !important;
  }

  .dci-mobile-panel__head strong {
    font-size: 18px !important;
    font-weight: 800 !important;
  }

  .dci-mobile-panel__close {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 31px !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  .dci-mobile-category-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px 12px !important;
    padding: 18px 14px 24px !important;
  }

  .dci-mobile-category-card {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 7px !important;
    text-align: center !important;
    color: #1D2327 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
  }

  .dci-mobile-category-card__image {
    display: block !important;
    width: 82px !important;
    height: 64px !important;
    max-width: 100% !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    background: var(--dci-color-background) !important;
  }

  .dci-mobile-category-card__title {
    display: block !important;
  }

  .dci-mobile-panel__fallback {
    display: none !important;
  }

  .dci-mobile-panel__bottom {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    min-height: 54px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    background: var(--dci-color-primary-hover) !important;
    z-index: 10 !important;
  }

  .dci-mobile-panel__bottom a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    border-right: 1px solid rgba(255,255,255,.18) !important;
  }
}

.dci-mobile-category-strip{display:none}


/* =========================================================
   STICKY HEADER — compact + fixed for the full page
   Desktop + mobile. Header stays visible through the footer.
   ========================================================= */
.dci-header{
  position:sticky !important;
  top:0 !important;
  z-index:9990 !important;
  transition:box-shadow .22s ease, background-color .22s ease !important;
}
.dci-header--scrolled{
  position:fixed !important;
  left:0 !important;
  right:0 !important;
  top:0 !important;
  width:100% !important;
  box-shadow:0 2px 14px rgba(0,0,0,.12) !important;
}
body.dci-header-is-fixed{
  padding-top:var(--dci-sticky-height, 0px) !important;
}
body.dci-header-is-fixed .dci-header--scrolled{
  margin-top:0 !important;
}
.dci-header--scrolled .dci-header__main{
  min-height:64px !important;
  padding-top:7px !important;
  padding-bottom:7px !important;
  transition:min-height .22s ease, padding .22s ease !important;
}
.dci-header--scrolled .dci-brand img{
  max-height:34px !important;
}
.dci-header--scrolled .dci-search form,
.dci-header--scrolled .dci-search input[type="search"]{
  height:42px !important;
}
.dci-header--scrolled .dci-search button{
  top:3px !important;
  height:36px !important;
}
.dci-header--scrolled .dci-nav__inner{
  min-height:42px !important;
}
body.admin-bar .dci-header--scrolled{top:32px !important;}
@media (max-width:820px){
  .dci-header--scrolled .dci-header__main{
    min-height:58px !important;
    padding:5px 14px !important;
    grid-template-rows:48px !important;
    gap:0 !important;
  }
  .dci-header--scrolled .dci-brand img{
    max-height:34px !important;
  }
  .dci-header--scrolled .dci-search{
    display:none !important;
  }
  .dci-header--scrolled .dci-mobile-toggle{
    top:9px !important;
  }
  .dci-header--scrolled + .dci-mobile-category-strip{
    display:none !important;
  }
  body.admin-bar .dci-header--scrolled{top:46px !important;}
}

/* v1.2.4 — desktop header background applied to mobile + sticky header only */
@media (max-width:820px){
   .dci-header, .dci-header--scrolled{background:var(--dci-color-background) !important;}
  .dci-header__actions .dci-icon-btn, .dci-header__actions .dci-icon-btn svg, .dci-mobile-toggle svg{color:var(--dci-color-primary-hover) !important;stroke:var(--dci-color-primary-hover) !important;}
}
.dci-header--scrolled{background:var(--dci-color-background) !important;}


/* =========================================================
   FOOTER v2 — locked DIY Crafts India palette
   var(--dci-color-secondary) gold / var(--dci-color-primary) maroon / var(--dci-color-background) cream
   ========================================================= */
.dci-footer-v2{
  background:var(--dci-color-background) !important;
  color:var(--dci-color-primary) !important;
  border-top:1px solid var(--dci-color-secondary) !important;
}
.dci-footer-v2 *{box-sizing:border-box}
.dci-footer-newsletter{
  position:relative;
  margin:0 auto;
  max-width:1400px;
  padding:30px 42px;
  background:var(--dci-color-background);
  border-bottom:1px solid rgba(224,163,38,.28);
  overflow:hidden;
}
.dci-footer-newsletter__content{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr);
  gap:38px;
  align-items:center;
}
.dci-footer-newsletter__copy h2{
  margin:0 0 8px;
  color:var(--dci-color-secondary);
  font-size:34px;
  line-height:1.1;
  font-weight:800;
}
.dci-footer-newsletter__copy h2 span{color:var(--dci-color-primary)}
.dci-footer-newsletter__copy p{
  margin:0 0 18px;
  color:#000;
  font-size:15px;
}
.dci-footer-newsletter__form{
  display:flex;
  gap:10px;
  max-width:780px;
}
.dci-footer-newsletter__form input{
  flex:1;
  min-width:0;
  height:52px;
  padding:0 18px;
  border:1px solid var(--dci-color-secondary);
  border-radius:8px;
  background:var(--dci-color-background);
  color:#000;
  font-size:14px;
  outline:none;
}
.dci-footer-newsletter__form input::placeholder{color:var(--dci-color-primary);opacity:.7}
.dci-footer-newsletter__form button{
  height:52px;
  min-width:160px;
  padding:0 24px;
  border:1px solid var(--dci-color-primary);
  border-radius:8px;
  background:var(--dci-color-primary);
  color:var(--dci-color-background);
  font-weight:800;
  cursor:pointer;
}
.dci-footer-newsletter__features{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.dci-footer-newsletter__features div{
  min-height:110px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-align:center;
  border-left:1px solid var(--dci-color-secondary);
  color:var(--dci-color-primary);
}
.dci-footer-newsletter__features b{
  width:42px;height:42px;
  display:grid;place-items:center;
  border:2px solid var(--dci-color-secondary);
  border-radius:50%;
  color:var(--dci-color-secondary);
  font-size:21px;
}
.dci-footer-newsletter__features span{font-size:13px;font-weight:800}
.dci-footer-newsletter__feature-icon{
  width:42px!important;height:42px!important;
  object-fit:contain;
  display:block;
}
.dci-footer-social-icon{
  width:24px!important;height:24px!important;
  object-fit:contain;
  display:block;
}
.dci-footer-v2__social a span{display:block}
.dci-footer-newsletter__leaf{
  position:absolute;
  color:var(--dci-color-secondary);
  font-size:52px;
  line-height:1;
  opacity:.8;
}
.dci-footer-newsletter__leaf--left{left:8px;top:14px}
.dci-footer-newsletter__leaf--right{right:8px;bottom:14px}

.dci-footer-v2__main{background:var(--dci-color-background)}
.dci-footer-v2__grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 1fr 1.25fr;
  gap:0;
  padding:42px 28px;
}
.dci-footer-v2__grid>div{
  padding:0 28px;
  border-right:1px solid rgba(224,163,38,.28);
}
.dci-footer-v2__grid>div:first-child{padding-left:0}
.dci-footer-v2__grid>div:last-child{border-right:0;padding-right:0}
.dci-footer-v2__brand img{
  max-width:210px;
  max-height:78px;
  width:auto;
  height:auto;
}
.dci-footer-v2__brand>strong{
  display:block;
  font-size:26px;
  color:var(--dci-color-primary);
}
.dci-footer-v2__brand p{
  max-width:270px;
  margin:18px 0;
  color:#000;
  font-size:14px;
  line-height:1.55;
}
.dci-footer-v2__brand p span{color:var(--dci-color-secondary)}
.dci-footer-v2__social{display:flex;gap:10px}
.dci-footer-v2__social a{
  width:40px;height:40px;
  display:grid;place-items:center;
  border:2px solid var(--dci-color-secondary);
  border-radius:50%;
  color:var(--dci-color-primary);
  font-size:12px;font-weight:800;
}
.dci-footer-v2 h3{
  margin:0 0 16px;
  color:var(--dci-color-primary);
  font-size:18px;
  font-weight:800;
}
.dci-footer-v2 ul{list-style:none;margin:0;padding:0}
.dci-footer-v2 li{margin:0 0 9px}
.dci-footer-v2 li a,
.dci-footer-v2__help a,
.dci-footer-v2__hours{
  color:#000 !important;
  font-size:14px;
  line-height:1.45;
}
.dci-footer-v2 .menu-item-has-children > a::after,
.dci-footer-v2 .menu-item-has-children > button,
.dci-footer-v2 .sub-menu-toggle,
.dci-footer-v2 .dropdown-toggle{display:none!important}
.dci-footer-v2 .sub-menu{display:none!important}
.dci-footer-v2 .menu-item-has-children > a{padding-right:0!important}
.dci-footer-v2 li a:hover,
.dci-footer-v2__help a:hover{color:var(--dci-color-secondary) !important}
.dci-footer-v2__help>a{
  display:flex;
  gap:10px;
  margin-bottom:12px;
  text-decoration:none;
}
.dci-footer-v2__hours{display:flex;gap:10px}
.dci-footer-v2__creative{
  margin-top:24px;
  display:flex;
  gap:10px;
  align-items:center;
  color:#000;
  font-size:26px;
}
.dci-footer-v2__creative span{font-size:14px;line-height:1.3}
.dci-footer-v2__creative b{color:var(--dci-color-secondary)}
.dci-footer-v2__bottom{
  background:var(--dci-color-primary);
  color:var(--dci-color-background);
  border-top:2px solid var(--dci-color-secondary);
}
.dci-footer-v2__bottom-inner{
  min-height:74px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:24px;
  align-items:center;
  padding:12px 28px;
}
.dci-footer-v2__bottom small{color:var(--dci-color-background);font-size:12px}
.dci-footer-v2__flourish{color:var(--dci-color-secondary);font-size:22px;letter-spacing:8px}
.dci-footer-v2__payments{
  display:flex;
  justify-content:flex-end;
  gap:7px;
  flex-wrap:wrap;
}
.dci-footer-v2__payments span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:54px;
  height:30px;
  padding:0 8px;
  border:1px solid var(--dci-color-secondary);
  border-radius:5px;
  background:var(--dci-color-background);
  color:var(--dci-color-primary);
  font-size:10px;
  font-weight:800;
}

@media(max-width:900px){
  .dci-footer-newsletter{padding:26px 20px}
  .dci-footer-newsletter__content{grid-template-columns:1fr}
  .dci-footer-newsletter__features{grid-template-columns:repeat(3,1fr)}
  .dci-footer-v2__grid{grid-template-columns:repeat(2,1fr);padding:34px 20px}
  .dci-footer-v2__grid>div:nth-child(2){border-right:1px solid rgba(224,163,38,.28)}
  .dci-footer-v2__grid>div:nth-child(3){border-right:0}
  .dci-footer-v2__grid>div{padding:0 20px 26px;margin-bottom:26px}
}
@media(max-width:600px){
  .dci-footer-newsletter{padding:24px 14px}
  .dci-footer-newsletter__copy h2{font-size:25px}
  .dci-footer-newsletter__form{flex-direction:column}
  .dci-footer-newsletter__form button{width:100%}
  .dci-footer-newsletter__features{grid-template-columns:1fr}
  .dci-footer-newsletter__features div{
    min-height:60px;
    flex-direction:row;
    border-left:0;
    border-top:1px solid rgba(224,163,38,.28);
  }
  .dci-footer-v2__grid{grid-template-columns:1fr;padding:30px 18px}
  .dci-footer-v2__grid>div,
  .dci-footer-v2__grid>div:first-child,
  .dci-footer-v2__grid>div:last-child{
    padding:0 0 24px;
    margin-bottom:24px;
    border-right:0;
    border-bottom:1px solid rgba(224,163,38,.28);
  }
  .dci-footer-v2__grid>div:last-child{border-bottom:0;margin-bottom:0}
  .dci-footer-v2__bottom-inner{grid-template-columns:1fr;text-align:center;gap:12px}
  .dci-footer-v2__payments{justify-content:center}
  .dci-footer-v2__flourish{order:3}
}


/* =========================================================
   FOOTER v1.3.2 — menu chevrons and light separators
   Footer only. Header/Mega Menu/Mobile Navigation untouched.
   ========================================================= */
.dci-footer-v2__col {
  border-left: 1px solid rgba(224,163,38,.35) !important;
}
.dci-footer-v2__col .menu,
.dci-footer-v2__col .menu > li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.dci-footer-v2__col .menu > li > a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  text-decoration: none !important;
}
.dci-footer-v2__col .menu > li > a::after {
  content: "›" !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
  color: var(--dci-color-secondary) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}
.dci-footer-v2__brand p {
  white-space: normal !important;
}
@media (max-width: 820px) {
  .dci-footer-v2__col {
    border-left: 0 !important;
    border-top: 1px solid rgba(224,163,38,.35) !important;
  }
  .dci-footer-v2__col .menu > li > a::after {
    font-size: 17px !important;
  }
}


/* =========================================================
   ORDER RECEIVED — uses existing Product Manager Design Settings
   Scoped only to the WooCommerce order-received page.
   ========================================================= */
.woocommerce-order-received .woocommerce-order-details {
  margin-top: 28px;
  font-family: var(--dci-design-font, var(--dci-font-body, Inter, Arial, sans-serif));
  color: var(--dci-text_color, var(--dci-color-text, #1E1A18));
  font-size: var(--dci-text-size, var(--dci-font-size-body, 16px));
}
.woocommerce-order-received .woocommerce-order-details__title { margin-bottom: 14px; }
.woocommerce-order-received .woocommerce-table--order-details {
  width: 100%; border: 1px solid var(--dci-border_color, var(--dci-color-border, rgba(91,65,48,.22))) !important;
  border-collapse: separate !important; border-spacing: 0 !important; border-radius: 10px !important;
  overflow: hidden; background: var(--dci-related_card_bg, var(--dci-color-surface, #fff));
}
.woocommerce-order-received .woocommerce-table--order-details th,
.woocommerce-order-received .woocommerce-table--order-details td {
  padding: 13px 15px !important; border-color: var(--dci-border_color, var(--dci-color-border, rgba(91,65,48,.16))) !important;
  vertical-align: middle; color: var(--dci-text_color, var(--dci-color-text, #1E1A18));
  font-family: var(--dci-design-font, var(--dci-font-body, Inter, Arial, sans-serif));
}
.woocommerce-order-received .woocommerce-table--order-details thead th {
  background: var(--dci-related_heading_bg, var(--dci-color-background, #F7F1E7));
  color: var(--dci-related_heading_text, var(--dci-title_color, var(--dci-color-primary, #730F05)));
  font-weight: 800;
}
.woocommerce-order-received .woocommerce-table--order-details tbody tr:last-child td,
.woocommerce-order-received .woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-order-received .woocommerce-table--order-details tfoot tr:last-child td { font-weight: 800; }
.woocommerce-order-received .dci-order-item-name { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.woocommerce-order-received .dci-order-item-thumb {
  display: block; width: 54px !important; height: 54px !important; min-width: 54px; object-fit: contain;
  padding: 4px; border: 1px solid var(--dci-border_color, var(--dci-color-border, rgba(91,65,48,.15)));
  border-radius: 8px; background: var(--dci-related_card_bg, #fff);
}
.woocommerce-order-received .dci-order-item-name__text { min-width: 0; }
.woocommerce-order-received .dci-continue-shopping-wrap { display: flex; justify-content: center; margin: 28px 0 12px; }
.woocommerce-order-received .dci-continue-shopping {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 12px 24px;
  border: 1px solid var(--dci-button_border, var(--dci-color-primary, #730F05));
  border-radius: var(--dci-button-radius, 999px);
  background: var(--dci-button_bg, var(--dci-color-primary, #730F05));
  color: var(--dci-button_text, #fff) !important;
  font-family: var(--dci-design-font, var(--dci-font-body, Inter, Arial, sans-serif));
  font-size: var(--dci-button-size, 15px); font-weight: 800; line-height: 1.2; text-decoration: none !important;
  transition: transform var(--dci-hover-speed, .18s) ease, opacity .18s ease;
}
.woocommerce-order-received .dci-continue-shopping:hover {
  opacity: .92; transform: translateY(-1px); background: var(--dci-button_hover_bg, var(--dci-button_bg, #730F05)) !important;
  color: var(--dci-button_hover_text, var(--dci-button_text, #fff)) !important;
}
@media (max-width: 600px) {
  .woocommerce-order-received .woocommerce-order-details { margin-top: 22px; }
  .woocommerce-order-received .woocommerce-table--order-details { font-size: var(--dci-text-size, 13px); table-layout: fixed; }
  .woocommerce-order-received .woocommerce-table--order-details th,
  .woocommerce-order-received .woocommerce-table--order-details td { padding: 10px 8px !important; overflow-wrap: anywhere; }
  .woocommerce-order-received .woocommerce-table--order-details th:first-child,
  .woocommerce-order-received .woocommerce-table--order-details td:first-child { width: 72%; }
  .woocommerce-order-received .woocommerce-table--order-details th:last-child,
  .woocommerce-order-received .woocommerce-table--order-details td:last-child { width: 28%; }
  .woocommerce-order-received .dci-order-item-name { align-items: flex-start; gap: 8px; }
  .woocommerce-order-received .dci-order-item-thumb { width: 42px !important; height: 42px !important; min-width: 42px; padding: 2px; }
  .woocommerce-order-received .dci-order-item-name__text { overflow-wrap: anywhere; }
  .woocommerce-order-received .dci-continue-shopping-wrap { margin: 22px 0 8px; }
  .woocommerce-order-received .dci-continue-shopping { width: 100%; max-width: 320px; min-height: 44px; padding: 12px 18px; }
}
