/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 /* 
 grid products
 */
 .dcw-product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0; /* Gap between items */
    margin: 20px 0;
    width: 100%;
}

.dcw-product-item {
    flex: 0 0 20%; /* 5 columns on large screens */
    box-sizing: border-box;
    border: 1px solid #ddd;
    text-align: center;
    background-color: #fff;
    width: 20%;
}

.dcw-product-item img {
    max-width: 100%;
    height: auto;
}

.dcw-product-item-text {
    padding: 10px;
}
.dcw-product-item h2,
.dcw-product-item h2 a {
    font-size: 18px;
    font-weight: bold;
    color: #6F92CE;
    margin-bottom: 5px;
}

.dcw-product-item p {
    font-size: 16px;
    margin: 5px 0;
}

.dcw-product-item a.lihat-produk-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #0071a1;
    color: #fff;
    text-decoration: none;
    border-radius: 0;
}
.dcw-product-item a.lihat-produk-btn:hover {
    background-color: #005f7f;
}
.dcw-product-grid-premium .dcw-product-item a.lihat-produk-btn,
.dcw-product-grid-premium .dcw-product-item a.lihat-produk-btn:hover {
    background: #FF0000;
    text-decoration: none !important;
    padding: 6px 12px;
    line-height: 1.3;
    font-size: 17px;
    font-weight: 500;
    font-family: Arial;
}
.dcw-product-item-price-wrap.has-sale-price .dcw-product-item-price-regular {
    text-decoration: line-through;
}
span.dcw-product-item-price {
    font-weight: bold;
    color: #FF0000;
}

.dcw-product-item-icons {
    display: flex;
    gap: 0;
    justify-content: center;
}
.dcw-product-item-icon {
    flex: 0 0 20%;
    max-width: 20%;
    text-align: center;
}
.dcw-product-item-icon img {
    width: 100%;
    padding: 5px;
}

.dcw-product-grid.dcw-product-grid-gratis {
    gap: 10px;
}
.dcw-product-grid.dcw-product-grid-gratis .dcw-product-item {
    flex: 0 0 calc(16.66% - 10px);
    width: calc(16.66% - 10px);
}
.dcw-product-grid.dcw-product-grid-gratis a.lihat-produk-btn {
    display: none;
}
.dcw-product-grid.dcw-product-grid-gratis .dcw-product-item {
    border: 0;
}
.dcw-product-grid.dcw-product-grid-gratis span.dcw-product-item-price {
    color: #FF6600;
}
.dcw-product-grid.dcw-product-grid-gratis .dcw-product-item-text {
    padding: 10px 0;
    text-align: left;
}
.dcw-product-grid.dcw-product-grid-gratis .dcw-product-item h2,
.dcw-product-grid.dcw-product-grid-gratis .dcw-product-item h2 a {
    color: #444;
    font-weight: 500;
    font-family: Arial;
    font-size: 16px;
    line-height: 1.2;
}
.dcw-product-grid.dcw-product-grid-gratis .dcw-product-item-icons {
    display: none;
}

.dcw-product-item-author {
    text-align: left;
    padding: 10px;
    display: none;
}
.dcw-product-item-author p {
    margin: 0;
}
p.dcw-product-item-author-name {
    font-weight: bold;
}
p.dcw-product-item-author-name a {
    tex-decoration: none;
    color: #333;
    font-weight: bold;
}
.dcw-product-item-author-bio p {
    margin-block-start: 5px;
}
h3.dcw-product-item-title {
    margin: 5px 0 7px 0;
    font-size: 15px;
}
h3.dcw-product-item-title a {
    color: red;
}

/* .dcw-product-item-images {
    display: none;
    gap: 10px;
    padding: 10px;
} */
/* .dcw-product-item-images-wrap {
    display: none;
} */

.dcw-product-grid.dcw-product-grid-prioritas .dcw-product-item {
    flex: 0 0 25%;
    width: 25%;
}
.dcw-product-grid.dcw-product-grid-prioritas .dcw-product-item-text {
    display: none;
}
.dcw-product-grid.dcw-product-grid-prioritas a.lihat-produk-btn {
    display: none;
}
.dcw-product-grid.dcw-product-grid-prioritas .dcw-product-item-author {
    display: block;
}
/* .dcw-product-grid.dcw-product-grid-prioritas .dcw-product-item-image {
    display: none;
}
.dcw-product-grid.dcw-product-grid-prioritas .dcw-product-item-images {
    display: flex;
}
.dcw-product-grid.dcw-product-grid-prioritas .dcw-product-item-image-wrap {
    display: none;
} */
/* .dcw-product-grid.dcw-product-grid-prioritas .dcw-product-item-images-wrap {
    display: block;
} */
/* .dcw-product-grid.dcw-product-grid-prioritas .dcw-product-item-images-item {
    flex: 0 0 calc(33.33% - 10px);
    width: calc(33.33% - 10px);
    line-height: 1;
}
.dcw-product-grid.dcw-product-grid-prioritas .dcw-product-item-images-item a {
    padding: 0;
    margin: 0;
    line-height: 1;
} */

p.dcw-product-item-author-name a {
    color: #6F92CE;
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
    .dcw-product-item {
        flex: 0 0 calc(25% - 0px); /* 4 columns on large tablets */
        width: calc(25% - 0px);
    }
    .dcw-product-grid.dcw-product-grid-gratis .dcw-product-item {
        flex: 0 0 calc(25% - 10px);
        width: calc(25% - 10px);
    }
}

@media screen and (max-width: 992px) {
    .dcw-product-item {
        flex: 0 0 calc(33.33% - 0px); /* 3 columns on tablets */
        width: calc(33.33% - 0px);
    }
    .dcw-product-grid.dcw-product-grid-gratis .dcw-product-item {
        flex: 0 0 calc(33.33% - 10px);
        width: calc(33.33% - 10px);
    }
}

@media screen and (max-width: 768px) {
    .dcw-product-grid .dcw-product-item {
        flex: 0 0 calc(33.33% - 10px);
        width: calc(33.33% - 10px);
    }
    .dcw-product-grid.dcw-product-grid-prioritas .dcw-product-item {
        flex: 0 0 calc(33.33% - 10px);
        width: calc(33.33% - 10px);
    }
    .dcw-product-grid.dcw-product-grid-premium .dcw-product-item {
        flex: 0 0 calc(33.33% - 10px);
        width: calc(33.33% - 10px);
    }
    .dcw-product-grid.dcw-product-grid-gratis .dcw-product-item {
        flex: 0 0 calc(33.33% - 10px);
        width: calc(33.33% - 10px);
    }
}

@media screen and (max-width: 576px) {
    .dcw-product-grid .dcw-product-item {
        flex: 0 0 calc(50% - 0px);
        width: calc(50% - 0px);
    }
    .dcw-product-grid.dcw-product-grid-prioritas .dcw-product-item {
        flex: 0 0 calc(50% - 0px);
        width: calc(50% - 0px);
    }
    .dcw-product-grid.dcw-product-grid-premium .dcw-product-item {
        flex: 0 0 calc(50% - 0px);
        width: calc(50% - 0px);
    }
    .dcw-product-grid.dcw-product-grid-gratis .dcw-product-item {
        flex: 0 0 calc(50% - 10px);
        width: calc(50% - 10px);
    }
}


/* 
grid categories
*/
/* Prefix untuk memastikan tidak konflik */
.dcw-grid-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    border: 1px solid #eee;
    padding: 0px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.dcw-main-category {
    flex: 1;
    max-width: 25%;
}
.dcw-main-category h2 {
    font-size: 18px;
}
.dcw-main-category p {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.3;
    color: red;
}
.dcw-main-category img {
    width: 100%;
    height: auto;
}

.dcw-subcategories {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 75%;
}

.dcw-subcategory-item {
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    max-width: 30%;
}

.dcw-subcategory-item img {
    width: 100%;
    height: auto;
}

.dcw-subcategory-item h3 {
    text-align: center;
    font-size: 16px;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    .dcw-main-category, .dcw-subcategories {
        max-width: 100%;
        width: 100%;
    }

    .dcw-subcategory-item {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

.dcw-subcategories-full {
    display: flex;
    flex-direction: column;
}
.dcw-subcategories-full-item {
    display: flex;
    flex-direction: row;
    border-radius: 5px;
}
.dcw-subcategories-full-item {
    border: 1px solid #ccc;
    margin-bottom: 15px;
}
.dcw-subcategories-full-item-main {
    border-right: 1px solid #ccc;
    flex: 1 1 16.6%;
    max-width: 16.6%;
}
.dcw-subcategories-full-item-main a {
    margin: 20px;
    display: block;
    text-align: center;
}
.dcw-subcategories-full-item-sub {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1 1 83.3%;
}
.dcw-subcategories-full-item-sub-item {
    flex: 1 1 20%;
    max-width: 20%;
    max-width: 20%;
}
.dcw-subcategories-full-item-sub-item a {
    margin: 20px;
    display: block;
    text-align: center;
}

@media (max-width: 1024px) {
    .dcw-subcategories-full-item-main {
        flex: 1 1 25%;
        max-width: 25%;
    }
    .dcw-subcategories-full-item-sub-item {
        flex: 1 1 25%;
        max-width: 25%;
    }
}

@media (max-width: 768px) {
    .dcw-subcategories-full-item-main {
        flex: 1 1 33.33%;
        max-width: 33.33%;
    }
    .dcw-subcategories-full-item-sub-item {
        flex: 1 1 33.33%;
        max-width: 33.33%;
    }
}

@media (max-width: 480px) {
    .dcw-subcategories-full-item {
        flex-direction: column;
    }
    .dcw-subcategories-full-item-main {
        border-right: none;
        border-bottom: 1px solid #ccc;
        flex: 1 1 100%;
        max-width: 100%;
    }
    .dcw-subcategories-full-item-sub-item {
        flex: 1 1 50%;
        max-width: 50%;
    }
}

.dcw-subcategories-full-item-main h4 {
    margin-top: 10px;
    margin-bottom: 5px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.3;
    color: #000;
}
.dcw-subcategories-full-item-main p {
    margin: 0;
    font-size: 15px;
    color: #000;
    font-family: Arial;
    font-weight: normal;
    line-height: 1.3;
    color: #000;
}
.dcw-subcategories-full-item-sub-item h5 {
    margin-top: 10px;
    margin-bottom: 5px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.3;
    color: #000;
}
.dcw-subcategories-full-item-sub-item p {
    margin: 0;
    font-size: 15px;
    color: #000;
    font-family: Arial;
    font-weight: normal;
    line-height: 1.3;
    color: #000;
}
h1.dcw-subcategories-full-title {
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.3;
    color: #000;
}
.dcw-subcategories-full-more p {
    margin-bottom: 15px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.3;   
    color: #000;
}
.dcw-subcategories-full-description {
    margin-bottom: 15px;    
}
.dcw-subcategories-full-description p {
    margin-bottom: 0;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;   
    color: #000;
}
.dcw-subcategories-full-description .dcw-divider {
    width: 100px;
    height: 3px;
    background: #D31721;
    margin-top: 10px;
}

.dcw-kelas-produk-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.dcw-kelas-produk-tag-cloud .tag {
    padding: 6px 12px;
    border-radius: 0;
    text-decoration: none !important;
    border: 1px solid #000 !important;
    background-color: #fff;
    color: #000 !important;
    transition: background-color 0.3s, color 0.3s;
}
.dcw-kelas-produk-tag-cloud .tag:hover,
.dcw-kelas-produk-tag-cloud .tag.active {
    border: 1px solid #0073aa !important;
    background-color: #0073aa !important;
    color: #fff !important;
}

.dcw-filter-product-cats {
    margin: 20px 0;
    background-color: #f9f9f9; /* Light background for contrast */
    padding: 15px; /* Padding around the wrapper */
    border: 1px solid #e0e0e0; /* Subtle border */
    border-radius: 5px; /* Rounded corners */
}
.dcw-category-item {
    margin: 0 !important;
}
.dcw-category-link {
    text-decoration: none !important;
    padding: 6px 12px;
    border-radius: 0;
    display: block;
    color: #000 !important;
    background-color: #fff;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
}
.dcw-category-link:hover {
    background-color: #0073aa !important;
    color: white !important;
}
.dcw-category-link.active {
    background-color: #0073aa !important;
    color: white !important;
}
.dcw-category-item.has-sub>.dcw-category-link:after {
    content: "\25BC";
    /* Down arrow */
    position: absolute;
    right: 10px;
    transition: transform 0.3s;
    display: none;
    top: 6px;
    /* Hidden by default */
}
.dcw-category-item.has-sub ul {
    display: none;
}
.dcw-category-item.has-sub.active > ul {
    display: block;
}
.dcw-category-item.has-sub .dcw-category-link:after {
    display: block;
    /* Show the arrow only for items with subcategories */
    transform: rotate(0deg);
}
.dcw-category-item.has-sub.active > .dcw-category-link:after {
    transform: rotate(180deg);
}
.dcw-product-categories {
    display: flex;
    flex-direction: column;
}
html .dcw-product-categories ul {
    list-style: none;
    padding-left: 0;
    margin-left: 20px;
}
html .dcw-product-categories>ul {
    margin-left: 0 !important;
    margin: 0px;
}

.dcw-subcategory-item a h3 {
    margin-top: 10px;
    margin-bottom: 5px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.3;
    color: #000;
    text-transform: uppercase;
}
.dcw-main-category a {
    position: relative;
}
.dcw-main-category .dcw-main-category-title {
    background: linear-gradient(to bottom, #999, #ffffff);
    padding: 10px;
    min-height: 100px;
    position: absolute;
    top: 0;
    width: 100%;
}
.dcw-main-category .dcw-main-category-title h2 {
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
}
.dcw-main-category-image {
    margin-top: 100px;
}

.dcw-product-grid-premium .dcw-product-item a.lihat-produk-image-btn, 
.dcw-product-grid-premium .dcw-product-item a.lihat-produk-image-btn:hover {
    padding: 0;
    background: transparent;
}
.dcw-product-grid-premium .dcw-product-item a.lihat-produk-btn.lihat-produk-image-btn img {
    max-width: 100%;
}

ul.glide__slides {
    margin: 0;
}

.ast-woo-shop-archive .site-content > .ast-container {
	max-width: 1330px !important;
	padding-top: 20px !important;
	padding-bottom: 20px !important;
}

footer#colophon {
    display: none;
}
.elementor-template-full-width .ast-container {
    margin-left: auto;
    padding-left: 0;
    margin-right: auto;
    padding-right: 0;
    max-width: 100%;
}
.page-title {
    margin-bottom: 20px;
}
.click-blog-cats ul {
    list-style: none;
    margin-left: 20px;
    margin-bottom: 20px;
}
.click-blog-cats nav > ul {
    margin-left: 0px;
}
.click-blog-cats h5 {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: bold;
}
#primary, div#secondary {
    margin-top: 0;
}
.woocommerce-MyAccount-navigation>ul {
    margin: 0;
    padding: 0;
}
.ast-container {
    max-width: 1330px;
}
html .ast-woo-shop-archive .site-content > .ast-container {
    max-width: 1330px !important;
}
/* #secondary {
    width: 20%;
} */
.ast-left-sidebar #secondary {
    padding-right: 20px;
}
/* #primary {
    width: 80%;
} */
.ast-left-sidebar #primary {
    padding-left: 20px;
}


.dcw-pagination {
    display: flex;
    gap: 4px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: right;
}

.dcw-pagination .dcw-page-link,
.dcw-pagination .ellipsis {
  display: inline-block;
  min-width: 32px;
  text-align: center;
  padding: 6px 10px;
  border: 1px solid #007cba;
  border-radius: 3px;
  text-decoration: none;
  color: #007cba;
  font-weight: 500;
  font-size: 14px;
  background-color: #fff;
  transition: background-color 0.2s ease;
}

.dcw-pagination .dcw-page-link.active {
  background-color: #007cba;
  color: #fff;
}

.dcw-pagination .dcw-page-link:hover:not(.active) {
  background-color: #e6f0fb;
}

.dcw-pagination .ellipsis {
  border: none;
  background: none;
  color: #555;
  cursor: default;
}

.dcw-shop-kelas-akun {
  margin-bottom: 30px;
}
.dcw-shop-kelas-akun h1 {
  text-transform: uppercase;
  font-size: 50px;
  color: #FF0101;
}
.dcw-shop-kelas-akun img {
  max-width: 80px;
  margin-right: 15px;
}