/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.wc-stock-progress-wrapper {
    margin: 10px 0;
}

.stock-text {
    font-size: 18px;
    color: #555;
    margin-bottom: 10px;
}

.wc-stock-bar {
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 20px;
    overflow: hidden;
}

.wc-stock-fill {
    height: 100%;
    background: #000;
    border-radius: 20px;
    transition: width 0.4s ease;
}

/* ===== TITLE ===== */

.product-tabs{
	font-family: "Jost", Sans-serif;
}
.tabs-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #000;
}

/* ===== TABS NAV WRAPPER ===== */
.tabs-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    background: #e5e5e5;
	align-items: center;
}

/* ===== INDIVIDUAL TAB ===== */
.tabs-nav li {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    cursor: pointer;
    font-size: 13px;
    text-transform: uppercase;
    color: #333;
    background: #e5e5e5;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    margin: 0;
}

/* ===== ACTIVE TAB ===== */
.tabs-nav li.active {
    background: #000;
    color: #fff;
    font-weight: 600;
}

/* ===== HOVER EFFECT ===== */
.tabs-nav li:hover {
    background: #004438;
	color: #fff;
}
.tabs-nav li.active {
    background: #004438;
}

/* ===== TAB CONTENT ===== */
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}

/* ===== INNER LAYOUT ===== */
.tab-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

/* ✅ FULL WIDTH WHEN NO IMAGE */
.tab-inner.no-image {
    grid-template-columns: 1fr;
}

/* ✅ Hide image container completely if no image */
.tab-inner.no-image .tab-image-side {
    display: none;
}

/* ===== CONTENT SIDE ===== */
.tab-content-side {
    width: 100%;
}

/* ===== TABLE STYLING ===== */
.tab-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
}

/* alternate rows */
.tab-table tr:nth-child(odd) {
    background: #0000001A;
}
.tab-table tr:nth-child(even) {
    background: #0000000A;
}

.tab-table td {
    padding: 12px 15px;
    border: none;
}

/* left column */
.tab-table .tab-table-label {
    font-weight: 600;
    width: 35%;
    color: #333;
}

/* right column */
.tab-table .tab-table-value {
    color: #666;
}

/* ===== IMAGE SECTION ===== */
.tab-image-side {
    text-align: right;
}

.tab-image-side img {
    width: 100%;
    height: auto;
    border-radius: 3px;
    object-fit: cover;
    display: block;
}

/* ===== TEXT CONTENT ===== */
.tab-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .tab-inner {
        grid-template-columns: 1fr;
    }

    .tab-image-side {
        text-align: left;
        margin-top: 20px;
    }

    .tabs-nav {
        flex-wrap: wrap;
    }

    .tabs-nav li {
        flex: 50%;
        font-size: 12px;
        padding: 12px;
    }
}
/* Main layout */
.story-section {
    display: flex;
    align-items: stretch;
    margin-top: 60px;
}

/* Left content */
.story-content {
    flex: 1;
    padding: 20px 50px 20px 0px;
    background: #f8f8f8;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-content h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
}

.story-text {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* Right image */
.story-image {
    flex: 1;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-tabs li.tab-nav-item {
    font-size: 16px;
    font-weight: 500;
}
.tabs-content .tab-table{
	font-size: 16px;
}

/* ✅ Mobile */
@media (max-width: 768px) {
    .story-section {
        flex-direction: column;
    }

    .story-content {
        padding: 30px;
    }

    .story-content h2 {
        font-size: 24px;
    }
}
/* =========================
   COUPON + SAVINGS BOX BASE
========================= */

.coupon-box,
.savings-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e5e5e5;
  padding: 18px 20px;
  margin-top: 15px;
  background: #fff;
  border-radius: 4px;
  transition: all 0.2s ease;
}

/* Hover effect (like premium UI) */
.coupon-box:hover {
	cursor: pointer;
  border-color: #000;
}


/* =========================
   TEXT SECTION
========================= */

.coupon-text {
  flex: 1;
  margin-left: 15px;
}

.coupon-text strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  line-height: 1.3;
}

.coupon-text span {
  font-size: 14px;
  color: #777;
  margin-top: 2px;
}


/* =========================
   RIGHT ARROW
========================= */

.coupon-arrow {
  font-size: 20px;
  color: #111;
  font-weight: 500;
}


/* =========================
   SAVINGS BOX (GREY STYLE)
========================= */

.savings-box {
  background: #f5f5f5;
  border: none;
}

.savings-box .coupon-text strong {
  font-weight: 600;
  color: #111;
}


/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px) {

  .coupon-box,
  .savings-box {
    padding: 14px;
  }

  .coupon-text strong {
    font-size: 14px;
  }

  .coupon-text span {
    font-size: 13px;
  }

  .coupon-icon {
    width: 38px;
    height: 38px;
  }

  .coupon-icon img {
    width: 18px;
  }

}


/* =========================
   REMOVE DEFAULT WOOCOMMERCE COUPON
========================= */

.woocommerce-cart table.cart td.actions .coupon {
  display: none !important;
}

/* =========================
   SIDEBAR BASE
========================= */

#popup-coupons {
  width: 380px;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* HEADER */
#popup-coupons .wd-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

#popup-coupons .title {
  font-size: 18px;
  font-weight: 600;
}

.close-side-hidden a {
  font-size: 14px;
  color: #333;
  text-decoration: none;
}


/* =========================
   SCROLL AREA
========================= */

#popup-coupons .wd-scroll-content {
  overflow-y: auto;
  flex: 1;
  max-height: 85dvh !important;
}


/* =========================
   INPUT FIELD
========================= */

.coupon-input {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  gap: 10px;
}

.coupon-input input {
  flex: 1;
  padding: 12px;
  background: #f5f5f5;
  border: none;
  font-size: 14px;
  outline: none;
}

.coupon-input button {
  background: none;
  border: none;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}


/* =========================
   SECTION TITLES
========================= */

#coupon-list h3 {
  padding: 15px 20px 5px;
  font-size: 15px;
  font-weight: 600;
}


/* =========================
   COUPON CARD
========================= */

.coupon-card {
  border: 1px dashed #ddd;
  margin: 10px 20px;
  padding: 15px;
  background: #fff;
}

/* TITLE */
.coupon-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

/* DESCRIPTION */
.coupon-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 5px;
}

/* EXPIRY */
.coupon-card .expiry {
  font-size: 12px;
  color: red;
  margin-top: 4px;
}

/* BOTTOM ROW */
.coupon-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

/* CODE TEXT */
.coupon-bottom .code {
  font-size: 13px;
  color: #333;
}


/* =========================
   BUTTONS
========================= */

.apply-btn {
  font-size: 13px;
  font-weight: 600;
  border: none;
  background: none;
  cursor: pointer;
  color: #000;
}

.apply-btn:hover {
  text-decoration: underline;
}

.applied-label {
  font-size: 13px;
  font-weight: 600;
  color: #000;
}

.not-available {
  font-size: 13px;
  color: #999;
}


/* =========================
   APPLIED STATE
========================= */

.coupon-card.applied {
  background: #fafafa;
}


/* =========================
   SCROLLBAR (OPTIONAL CLEAN)
========================= */

#popup-coupons .wd-scroll-content::-webkit-scrollbar {
  width: 6px;
}

#popup-coupons .wd-scroll-content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  #popup-coupons {
    width: 100%;
  }

  .coupon-card {
    margin: 10px;
  }

  #coupon-list h3 {
    padding: 15px 15px 5px;
  }

}

h1.ty-title {
    font-family: "Futura PT", Sans-serif;
    font-size: 100px;
    font-weight: 600;
    text-transform: uppercase;
    color: #00000040;
    text-align: center;
}

.woocommerce-order.custom-thankyou-wrapper {
    max-width: 1200px !important;
}

/* HEADER */
.ty-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: #F1F1F1;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.ty-header-left {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.ty-header-left > div {
    display: flex;
    flex-direction: column;
}

.ty-header-right {
  margin-left: auto;
}

.ty-header-right p {
	margin: 0;
}

/* BUTTON */
.btn-invoice {
    background: #000;
    color: #fff;
    padding: 12px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
}

.btn-invoice:hover {
  background: #333;
}

/* TABLE */
.ty-table-head,
.ty-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  align-items: center;
}

.ty-table-head {
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
  font-weight: 600;
}

.ty-table-row {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

/* PRODUCT */
.product-info {
  display: flex;
  gap: 15px;
  align-items: center;
}

.product-image img {
  width: 80px;
}

.product-name {
  font-weight: 600;
}

/* ALIGN */
.col-total,
.col-qty,
.col-subtotal {
  text-align: center;
}

/* SUMMARY */
.ty-summary-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.ty-summary {
  width: 350px;
  background: #fafafa;
  padding: 20px;
   border: 1px solid;
}

.ty-summary .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ty-summary .total {
  border-top: 1px solid #ddd;
  padding-top: 10px;
  font-size: 18px;
}

/* MOBILE */
@media (max-width: 768px) {
  .ty-table-head {
    display: none;
  }

  .ty-table-row {
    grid-template-columns: 1fr;
  }

  .ty-summary-wrapper {
    justify-content: stretch;
  }

  .ty-summary {
    width: 100%;
  }
}

.upload-row {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .upload-box {
            width: 140px;
            height: 140px;
            border: 2px dashed #ccc;
            border-radius: 12px;
            cursor: pointer;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .upload-placeholder {
            text-align: center;
            color: #999;
        }

        .plus-icon {
            font-size: 32px;
            display: block;
        }

        .upload-text {
            font-size: 13px;
        }

        #preview-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .upload-actions {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .change-btn {
            background: #eee;
            border: none;
            padding: 6px 12px;
            cursor: pointer;
        }

        .remove-btn {
            background: #000;
            color: #fff;
            border: none;
            padding: 6px 12px;
            cursor: pointer;
        }


.inline-error {
    color: #e11900;
    font-size: 13px;
    line-height: 1.4;
    margin-top: 6px;
    display: block;
}

.contact_footer_sec a {
	text-decoration: none;
}

.field-error {
    border-color: #e11900 !important;
}

.field-valid {
    border-color: #1fa64a !important;
}

/* Hide Cancel Request button on Thank You page */
.woocommerce-order-details a.wc-cancel-order {
    display: none !important;
}

/* ===== Base ===== */
.info-scroll-horizontal {
    font-family: "Jost", Sans-serif;
    position: relative;
}

.info-sticky {
    position: sticky;
    top: 35px;
    height: 90vh;
    overflow: hidden;
}

.info-track {
    display: flex;
    height: 100%;
    will-change: transform;
}

.info-item {
    flex: 0 0 40%;
    max-width: 40%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.info-content h3 { padding-bottom: 25px; margin: 0; font-size: 36px; text-transform: uppercase; font-weight: 600; color: #000;} 

.info-content p{
    color: #000;
    font-size: 18px;
}

.info-image img {
    max-width: 100%;
    max-height: 500px;
}

/* ===== Tablet ===== */
@media (max-width: 1024px) {
    .info-item {
        flex: 0 0 60%;
        max-width: 60%;
    }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {

    .info-scroll-horizontal {
        height: auto !important;
    }

    .info-sticky {
        position: relative;
        height: auto;
    }

    .info-track {
        flex-direction: column;
        transform: none !important;
    }

    .info-item {
        flex: 0 0 100%;
        max-width: 100%;
        min-width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 0px;
    }

    .info-content {
        text-align: center;
    }

    .info-image img {
        max-height: 100%;
    }
    .info-content h3{
        font-size: 28px;
        padding-bottom: 5px;
    }
    .info-content.left{
        margin-top: 25px;
    }
}