/* Customizer Additional CSS (auto-generated, edit in Appearance > Customize) */
.wa-order-button-under-atc, .wa-order-button-shortdesc, .wa-order-button {
    padding: 2px 8px !important;
	font-size:13px!important;
}

#rank-math-rich-snippet-wrapper {
	display: none;
}

.wcosm-product-message {
	background-color: #140B0B !important;
}

/* Related product add to cart button adjust */
@media (max-width: 768.98px) {
    .wd-product.wd-hover-fw-button .wd-add-btn-replace .add-to-cart-loop {
        --btn-height: 38px;
    }
}
.wd-product.wd-hover-fw-button .wd-add-btn>a {
    width: 100%;
    border-radius: var(--btn-accented-brd-radius);
    color: var(--btn-accented-color);
    box-shadow: var(--btn-accented-box-shadow);
    background-color: var(--btn-accented-bgcolor);
    text-transform: var(--btn-accented-transform, var(--btn-transform, uppercase));
    font-weight: var(--btn-accented-font-weight, var(--btn-font-weight, 600));
    font-family: var(--btn-accented-font-family, var(--btn-font-family, inherit));
    font-style: var(--btn-accented-font-style, var(--btn-font-style, unset));
}
.wd-add-btn-replace .add-to-cart-loop {
    overflow: hidden;
    padding: 0;
}
a.wa-shop-button {
    background-color: #25D366 !important;
    color: #fff !important;
    border: none !important;
	  width: 100%;
	  margin-top: 10px !important;
}

.group_table td.product-name a {

display: inline-block; /* Ensure the width applies */
    
    max-width: 60%; /* Ensure responsiveness */
    line-height: 1.5; /* Set line height */
    overflow-wrap: break-word; /* Allow breaking long words */
    white-space: pre-wrap; /* Preserve whitespace for better control */
}


/* Adjust for smaller screens */
@media (max-width: 900px) {
    .group_table td.product-name a {
        width: 80%; /* Adjust width for tablets */
    }
}
@media (max-width: 600px) {
    .group_table td.product-name a {
        width: 100%; /* Full width on smaller screens */
        max-width: none; /* Remove max width restriction */
    }
}


.group_table td.product-name label {
	display: inline-block; /* Ensure the width applies */
    width: 15ch; /* Approximate width for 5 words */
    max-width: 90%; /* Ensure responsiveness */
    line-height: 1.5; /* Set line height */
    overflow-wrap: break-word; /* Allow breaking long words */
    white-space: pre-wrap; /* Preserve whitespace for better control */
}

/* Adjust for smaller screens */
@media (max-width: 600px) {
    .group_table td.product-name label {
        width: 100%; /* Full width on smaller screens */
        max-width: none; /* Remove max width restriction */
    }
}

.table td {
padding: 5px !important;
}

.table td {
    width: 100%; /* Full width for the container */
    overflow-x: auto; /* Enable horizontal scrolling on small screens */
}

.group_table form.cart > * table {
    width: 100%; /* Full width for the table */
    border-collapse: collapse; /* Collapse borders */
}

.group_table form.cart > * table th,
.group_table form.cart > * table td {
    padding: 10px; /* Padding for cells */
    text-align: left; /* Align text to the left */
    border: 1px solid #ddd; /* Light border for cells */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 900px) {
    .group_table form.cart > * table th,
    .group_table form.cart > * table td {
        font-size: 14px; /* Adjust font size for tablets */
    }
}

@media (max-width: 600px) {
    .group_table form.cart > * table th,
    .group_table form.cart > * table td {
        display: block; /* Make cells block elements */
        width: 100%; /* Full width for each cell */
        box-sizing: border-box; /* Include padding and borders */
    }

    .group_table form.cart > * table tr {
        display: flex; /* Use flexbox for better alignment */
        flex-direction: column; /* Stack cells vertically */
        margin-bottom: 10px; /* Space between rows */
    }

    .group_table form.cart > * table th {
        display: none; /* Hide headers on mobile */
    }

    .group_table form.cart > * table td {
        border: none; /* Remove borders for cleaner look */
        position: relative; /* For pseudo-elements */
        padding-left: 50%; /* Padding for labels */
    }

    .group_table form.cart > * table td::before {
        content: attr(data-label); /* Use data-label attribute for the label */
        position: absolute; /* Position absolutely */
        left: 10px; /* Position it to the left */
        font-weight: bold; /* Bold the label */
    }
}

td.product-name a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; /* Prevent wrapping */
}

.tagged_as a {
	color: rgb(244,202,105);
text-decoration: underline;
}
.post a {
	color: rgb(244,202,105);
text-decoration: underline;
}
.wd-meta-author a {
	color:var(--color-gray-400);
	text-decoration: none;
}

.wd-meta-reply a {
	color:var(--color-gray-400);
	text-decoration: none;
}

.wd-entities-title a {
color: var(--wd-entities-title-color) !important;
text-decoration: none;
}

.woocommerce-terms-and-conditions-link {
	color: rgb(244,202,105);
text-decoration: underline;
}

.term-description a {
	color: rgb(244,202,105);
text-decoration: underline;
}

.wd-term-desc a {
		color: rgb(244,202,105);
text-decoration: underline;
}

.select2-dropdown {
	color: var(--wd-link-color)!important;
}
/* Custom color for simple product add-to-cart buttons */
.simple_add_to_cart_custom {
    background-color: rgb(244, 190, 63) !important;
    border-color: rgb(244, 190, 63) !important;
    color: #fff !important;
}

.simple_add_to_cart_custom:hover {
    background-color: rgb(220, 160, 40) !important;
    border-color: rgb(220, 160, 40) !important;
}

.wd-skip-links {display: none;}

.rc-anchor-normal-footer .rc-anchor .rc-anchor-invisible .rc-anchor-light .rc-anchor-invisible-hover {display: none!important;}
/* below is the css for buttons inside Homey design brand page */
.hub-button-grid {
  display: flex;
  flex-wrap: wrap;   /* allows wrapping on smaller screens */
  gap: 12px;         /* spacing between buttons */
  margin: 20px;
}

.hub-button {
  display: flex;            /* use flex to center content */
  align-items: center;      /* vertical centering */
  justify-content: center;  /* horizontal centering */
  
  background-color: transparent;  /* transparent background */
  color: #222;                    /* text color */
  border: 2px solid #222;         /* border to define button shape */
  padding: 10px 18px;             /* top/bottom padding for height, left/right for width */
  border-radius: 30px;
  text-decoration: none;
  font-weight: 400;
  line-height: 1;  /* ensures text height fits flex */
  transition: all 0.3s;
  white-space: nowrap;             /* prevent wrapping inside button */
}

.hub-button:hover {
  background-color: #222; /* fill background on hover */
  color: #fff;             /* text turns white on hover */
}

.grecaptcha-badge { 
    visibility: hidden !important;}

li.cat-item a[href*="homey-design-collections"] {
    display: none !important;
}

li.cat-item a[href*="homey-design-collections"]::before {
    display: none !important;
}


.contact-link {
    color:#DC9D3E;
    text-decoration:underline;
    font-weight:600;
}

.out-of-stock {
	display: none !important;}

h1.entry-title.title {
    font-family: "Jost", sans-serif;
    font-size: 20px;
    font-weight: 800;
    width: 100%;
    margin-left: 0;
    margin-right: auto;
}

.wd-page-title {
    margin-top: -37px !important;
}
.new-home-form {
    width: 100%;
}

.new-home-form .form-row {
    display: flex;
    gap: 25px;
    width: 100%;
}

.new-home-form .form-field {
    margin-bottom: 22px;
    width: 100%;
}

.new-home-form .form-row .form-field {
    flex: 1;
}

.new-home-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.new-home-form .required {
    color: #c9a46c;
}

.new-home-form input,
.new-home-form textarea {
    width: 100%;
    box-sizing: border-box;
}

.new-home-form textarea {
    min-height: 150px;
    resize: vertical;
}

.new-home-form input[type="submit"] {
    width: auto;
    padding: 15px 35px;
    cursor: pointer;
}

@media (max-width: 767px) {
    .new-home-form .form-row {
        display: block;
    }

    .new-home-form .form-row .form-field {
        width: 100%;
    }
}
fieldset.hidden-fields-container {
    display: none !important;
}
.wpcf7-response-output:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
}
.home .wd-page-title.title-size-small {
  --wd-title-sp: 36px;
  min-height: auto;
  overflow: visible;
}
.home .wd-page-title .entry-title {
  line-height: 1.25;
  overflow: visible;
}
.home .wd-page-title .wd-breadcrumbs {
  display: none;
}
.shop-loop-head > .wd-shop-tools:has(.wd-breadcrumbs) {
  flex: 1 1 100%;
  order: -1;
  justify-content: flex-start;
  margin-inline: 0;
}

.shop-loop-head .wd-breadcrumbs,
.shop-loop-head .rank-math-breadcrumb,
.shop-loop-head .rank-math-breadcrumb p {
  width: 100%;
  text-align: left;
  margin: 0;
}
/* Mobilia Cleopatra — style hubs, mobile only
   Pages: Victorian (382397), French (304772)
   Paste into Appearance → Customize → Additional CSS */

@media (max-width: 767px) {

  /* 1. Category cards: one full-width column */
  .page-id-382397 .entry-content .vc_col-sm-4.vc_col-xs-6,
  .page-id-304772 .entry-content .vc_col-sm-4.vc_col-xs-6,
  .page-id-304772 .entry-content .vc_col-sm-4 {
    width: 100% !important;
    float: none !important;
    clear: both !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-bottom: 28px;
    min-height: 0 !important;
  }

  .page-id-382397 .entry-content .vc_col-sm-4.vc_col-xs-6 img,
  .page-id-382397 .entry-content .vc_col-sm-4.vc_col-xs-6 .wpb_wrapper p,
  .page-id-304772 .entry-content .vc_col-sm-4 img,
  .page-id-304772 .entry-content .vc_col-sm-4 .wpb_wrapper p {
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-id-382397 .entry-content .vc_col-sm-4.vc_col-xs-6 .wpb_wrapper p,
  .page-id-304772 .entry-content .vc_col-sm-4 .wpb_wrapper p {
    font-size: 16px !important;
    line-height: 1.45 !important;
    text-align: center;
  }

  /* 2. Hide empty leftover columns */
  .page-id-382397 .entry-content .vc_row .vc_col-xs-6:has(.wpb_wrapper:empty),
  .page-id-304772 .entry-content .vc_row .vc_col-xs-6:has(.wpb_wrapper:empty),
  .page-id-382397 .entry-content .vc_col-sm-4.vc_col-xs-6:empty,
  .page-id-304772 .entry-content .vc_col-sm-4:empty {
    display: none !important;
  }

  /* 3. H1 large enough to read as a title */
  .page-id-382397 h1.entry-title,
  .page-id-304772 h1.entry-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }
}
/* Traditional hub — desktop copy width + H1
   Page: 389954  /traditional-furniture/ */

@media (min-width: 768px) {
  .page-id-389954 h1.entry-title {
    font-size: 40px !important;
    line-height: 1.15 !important;
  }

  .page-id-389954 .entry-content > .vc_row:first-of-type .wpb_wrapper p,
  .page-id-389954 .entry-content h2,
  .page-id-389954 .entry-content h2 + p,
  .page-id-389954 .entry-content h2 ~ p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .page-id-389954 h1.entry-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }
}
