.single-product .summary form.cart:not(.flag-configurator),
.single-product .entry-summary form.cart:not(.flag-configurator),
.single-product .summary > .price,
.single-product .entry-summary > .price,
.single-product .wp-block-kadence-wootemplate-blocks-price,
.single-product .wp-block-kadence-wootemplate-blocks-add-to-cart,
.single-product .woocommerce-product-rating,
.single-product .product-share,
.single-product .social-share-wrap,
.single-product .product_meta {
    display: none !important;
}

.single-product .summary h1,
.single-product .entry-summary h1 {
    margin: 0 0 12px;
    color: #201c16;
    font-size: clamp(36px, 3vw, 48px);
    line-height: 1.05;
}

.single-product .woocommerce-product-details__short-description,
.single-product .wp-block-kadence-wootemplate-blocks-short-description {
    margin: 0 0 20px;
    color: #6d665e;
    font-size: 15px;
    line-height: 1.6;
}

.flag-product-gallery {
    width: 100%;
}

.flag-gallery-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 660px;
    overflow: hidden;
    background: #f7f7f5;
    border-radius: 10px;
}

.flag-gallery-main-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 660px;
}

.flag-gallery-main-image {
    display: block;
    width: 100%;
    height: 660px;
    object-fit: contain;
    object-position: center;
}

.flag-gallery-zoom {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #201c16;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(32,28,22,.1);
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}

.flag-gallery-zoom svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.flag-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0 0 3px;
    transform: translateY(-50%);
    color: #201c16;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(32,28,22,.1);
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.flag-gallery-prev {
    left: 14px;
}

.flag-gallery-next {
    right: 14px;
}

.flag-configurator-thumbnails {
    display: grid;
    grid-template-columns: repeat(var(--flag-thumb-count, 6), minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.flag-configurator-thumbnail {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #201c16;
    background: transparent;
    border: 0;
    text-align: center;
    cursor: pointer;
}

.flag-thumbnail-image-wrap {
    display: block;
    overflow: hidden;
    background: #f7f7f5;
    border: 1px solid #ded9d2;
    border-radius: 6px;
}

.flag-configurator-thumbnail img {
    display: block;
    width: 100%;
    height: 96px;
    margin: 0;
    object-fit: contain;
    padding: 4px;
    background: #f7f6f3;
}

.flag-thumbnail-label {
    display: block;
    padding: 7px 3px 0;
    color: #5e574f;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.25;
}

.flag-configurator-thumbnail.is-active .flag-thumbnail-image-wrap,
.flag-configurator-thumbnail:hover .flag-thumbnail-image-wrap {
    border: 2px solid #201c16;
}

.flag-configurator-shell {
    width: 100%;
    margin: 12px 0 0;
    font-family: inherit;
}

.flag-configurator {
    margin: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e2ded7;
    border-radius: 12px;
}

.flag-configurator-group,
.flag-configurator-field {
    margin: 0 0 20px;
}

.flag-field-heading {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 9px;
    color: #201c16;
    line-height: 1.35;
}

.flag-field-number,
.flag-field-title {
    font-size: 14px;
    font-weight: 700;
}

.flag-optional {
    margin-left: 3px;
    color: #777067;
    font-weight: 500;
}

.flag-option-delta {
    margin-left: auto;
    color: #595149;
    font-size: 14px;
    font-weight: 600;
}

.flag-configurator-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.flag-configurator-tabs input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.flag-configurator-tabs label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    margin: 0;
    padding: 10px 94px 10px 14px;
    color: #201c16;
    background: #fff;
    border: 1px solid #d8d4cd;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.flag-configurator-tabs label:last-of-type {
    padding-right: 14px;
}

.flag-tab-check {
    display: none;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    border-radius: 50%;
    background: #fff;
    color: #201c16;
    font-size: 12px;
    font-weight: 700;
}

.flag-popular-badge {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    padding: 4px 8px;
    color: #fff;
    background: #ff6200;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.flag-configurator-tabs input:checked + label {
    color: #fff;
    background: #171915;
    border-color: #171915;
}

.flag-configurator-tabs input:checked + label .flag-tab-check {
    display: inline-flex;
}

.flag-configurator-select-wrap {
    position: relative;
}

.flag-configurator-select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #201c16;
    border-bottom: 1.5px solid #201c16;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.flag-configurator select {
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 0 46px 0 14px;
    color: #201c16;
    background: #fff;
    border: 1px solid #d8d4cd;
    border-radius: 7px;
    outline: none;
    box-shadow: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    text-align: left;
    text-align-last: left;
}

.flag-configurator-select-wrap.has-media select {
    padding-left: 64px;
}

.flag-configurator-select-wrap.has-recommendation select {
    padding-right: 132px;
}

.flag-select-media {
    position: absolute;
    top: 50%;
    left: 8px;
    z-index: 2;
    width: 42px;
    height: 36px;
    transform: translateY(-50%);
    overflow: hidden;
    background: #f5f4f1;
    border: 1px solid #e2ded7;
    border-radius: 4px;
    pointer-events: none;
}

.flag-select-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flag-select-media.is-empty {
    display: none;
}

.flag-recommended-badge {
    position: absolute;
    top: 50%;
    right: 38px;
    z-index: 2;
    transform: translateY(-50%);
    padding: 4px 9px;
    color: #c44d00;
    background: #fff0e6;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.flag-recommended-badge[hidden] {
    display: none !important;
}

.flag-artwork-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    color: #6e675f;
    font-size: 12px;
}

.flag-browse-graphics,
.flag-upload-link {
    margin: 0;
    padding: 0;
    color: #4b433b;
    background: transparent;
    border: 0;
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.flag-upload-link:hover,
.flag-browse-graphics:hover {
    color: #ff6200;
}

.flag-custom-artwork {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.flag-upload-note,
.flag-upload-name {
    color: #898279;
    font-size: 10px;
}

.flag-upload-name {
    width: 100%;
    color: #5f574e;
    font-weight: 600;
}

.flag-configurator-purchase {
    display: grid;
    grid-template-columns: minmax(110px, auto) 122px minmax(190px, 1fr);
    align-items: end;
    gap: 12px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e7e3dc;
}

.flag-price-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.flag-price-caption {
    color: #766f67;
    font-size: 11px;
}

.flag-configurator-price {
    color: #161616;
    font-size: 27px;
    line-height: 1.05;
    font-weight: 700;
    white-space: nowrap;
}

.flag-configurator-quantity {
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    height: 50px;
    border: 1px solid #d8d4cd;
    border-radius: 7px;
    overflow: hidden;
    background: #fff;
}

.flag-configurator-quantity button,
.flag-configurator-quantity input {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #201c16;
    font: inherit;
    text-align: center;
    box-shadow: none;
}

.flag-configurator-quantity button {
    cursor: pointer;
    font-size: 18px;
}

.flag-configurator-quantity input {
    width: 100%;
    -moz-appearance: textfield;
}

.flag-configurator-quantity input::-webkit-outer-spin-button,
.flag-configurator-quantity input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.flag-configurator-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    margin: 0;
    padding: 0 18px;
    color: #fff;
    background: #ff6200;
    border: 1px solid #ff6200;
    border-radius: 7px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.flag-configurator-add-cart:hover {
    color: #fff;
    background: #e85800;
    border-color: #e85800;
}

.flag-cart-icon {
    width: 20px;
    height: 20px;
}

.flag-after-section {
    clear: both;
    width: 100%;
    margin: 34px 0 0;
    padding: 0 24px 72px;
    background: #fff;
}

.flag-after-inner {
    width: min(1440px, 100%);
    margin: 0 auto;
}

.flag-feedback-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
    background: #fbfaf8;
    border: 1px solid #e4dfd7;
    border-radius: 8px;
}

.flag-feedback-item {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 10px;
    align-items: start;
    min-width: 0;
    padding: 16px;
    border-right: 1px solid #e4dfd7;
}

.flag-feedback-item:last-child {
    border-right: 0;
}

.flag-feedback-icon {
    width: 22px;
    height: 22px;
    color: #7771a8;
}

.flag-feedback-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.flag-feedback-item strong,
.flag-feedback-item span {
    display: block;
}

.flag-feedback-item strong {
    margin-bottom: 4px;
    color: #201c16;
    font-size: 12px;
    font-weight: 700;
}

.flag-feedback-item span {
    color: #736b62;
    font-size: 10px;
    line-height: 1.45;
}

.flag-detail-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr 1.08fr;
    gap: 28px;
    margin-top: 34px;
    padding: 24px 0 30px;
    border-top: 1px solid #eee9e2;
    border-bottom: 1px solid #e9e4dd;
}

.flag-detail-card {
    min-width: 0;
}

.flag-detail-card h3,
.flag-accessories h3 {
    margin: 0 0 14px;
    color: #201c16;
    font-size: 15px;
    font-weight: 700;
}

.flag-detail-card img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: #f5f4f2;
    border-radius: 5px;
}

.flag-detail-caption {
    margin: 8px 0 0;
    color: #6d665e;
    font-size: 11px;
    line-height: 1.45;
}

.flag-detail-content,
.flag-detail-content p,
.flag-detail-content li {
    color: #625a51;
    font-size: 12px;
    line-height: 1.65;
}

.flag-detail-content p:first-child {
    margin-top: 0;
}

.flag-detail-content ul {
    margin: 13px 0 0;
    padding: 0;
    list-style: none;
}

.flag-detail-content li {
    position: relative;
    margin: 0 0 9px;
    padding-left: 20px;
}

.flag-detail-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #62977b;
    font-weight: 700;
}

.flag-accessories {
    margin-top: 24px;
}

.flag-accessories-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.flag-accessory-card {
    display: block;
    min-width: 0;
    padding: 12px;
    color: #201c16;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e4dfd7;
    border-radius: 5px;
}

.flag-accessory-card:hover {
    border-color: #bbb2a7;
}

.flag-accessory-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    margin-bottom: 9px;
    background: #fbfaf8;
    overflow: hidden;
}

.flag-accessory-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.flag-accessory-placeholder {
    position: relative;
    display: block;
    width: 56px;
    height: 56px;
    border: 2px solid #cfc8bf;
    border-radius: 50%;
}

.flag-accessory-placeholder::before,
.flag-accessory-placeholder::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 34px;
    height: 2px;
    background: #8d857c;
    transform-origin: center;
}

.flag-accessory-placeholder::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.flag-accessory-placeholder::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.flag-accessory-bag {
    width: 82px;
    height: 32px;
    border-radius: 16px;
    background: #222;
    border-color: #222;
}

.flag-accessory-bag::before,
.flag-accessory-bag::after {
    display: none;
}

.flag-accessory-card strong,
.flag-accessory-card span {
    display: block;
}

.flag-accessory-card strong {
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 600;
}

.flag-accessory-card span {
    color: #4e4841;
    font-size: 11px;
    font-weight: 600;
}

@media (max-width: 1100px) {
    .flag-gallery-stage,
    .flag-gallery-main-link {
        min-height: 560px;
    }

    .flag-gallery-main-image {
        height: 560px;
    }

    .flag-configurator-purchase {
        grid-template-columns: 1fr 120px;
    }

    .flag-configurator-add-cart {
        grid-column: 1 / -1;
    }

    .flag-feedback-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flag-feedback-item {
        border-bottom: 1px solid #e4dfd7;
    }

    .flag-detail-grid {
        grid-template-columns: 1fr 1fr;
    }

    .flag-detail-copy {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .flag-gallery-stage,
    .flag-gallery-main-link {
        min-height: 430px;
    }

    .flag-gallery-main-image {
        height: 430px;
    }

    .flag-configurator-thumbnails {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .flag-configurator-thumbnail img {
        height: 78px;
    }

    .flag-configurator {
        padding: 18px;
    }

    .flag-configurator-tabs {
        gap: 8px;
    }

    .flag-configurator-tabs label {
        padding-right: 12px;
        min-height: 48px;
    }

    .flag-popular-badge {
        display: none;
    }

    .flag-configurator-purchase {
        grid-template-columns: 1fr;
    }

    .flag-configurator-quantity,
    .flag-configurator-add-cart {
        width: 100%;
    }

    .flag-feedback-strip,
    .flag-detail-grid,
    .flag-accessories-grid {
        grid-template-columns: 1fr;
    }

    .flag-feedback-item {
        border-right: 0;
    }

    .flag-detail-copy {
        grid-column: auto;
    }

    .flag-detail-card img {
        height: auto;
        max-height: 360px;
    }

    .flag-after-section {
        padding: 0 16px 48px;
    }
}

.flag-feedback-strip {
    grid-template-columns: repeat(var(--flag-strip-count, 5), minmax(0, 1fr));
}

.flag-feedback-item {
    grid-template-columns: auto minmax(0, 1fr);
}

.flag-feedback-icon-image {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 24px;
}

.flag-feedback-icon-image img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.flag-feedback-copy strong,
.flag-feedback-copy span {
    display: block;
}

.flag-feedback-copy strong {
    margin-bottom: 4px;
    color: #201c16;
    font-size: 12px;
    font-weight: 700;
}

.flag-feedback-copy span {
    color: #736b62;
    font-size: 10px;
    line-height: 1.45;
}

.flag-detail-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.flag-detail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    min-height: 40px;
    padding: 0 16px;
    color: #201c16;
    background: #fff;
    border: 1px solid #d9d2c8;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.flag-detail-button:hover {
    color: #fff;
    background: #ff6200;
    border-color: #ff6200;
}

.flag-accessories-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.flag-accessory-image img {
    object-fit: contain;
}

.flag-recently-viewed {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid #e9e4dd;
}

.flag-recent-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.flag-recent-heading h3 {
    margin: 0;
    color: #201c16;
    font-size: 20px;
    font-weight: 700;
}

.flag-recent-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.flag-recent-card {
    display: block;
    padding: 12px;
    color: #201c16;
    background: #fff;
    border: 1px solid #e5dfd7;
    border-radius: 8px;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.flag-recent-card:hover {
    color: #201c16;
    border-color: #d6cec3;
    box-shadow: 0 8px 22px rgba(32, 28, 22, .07);
    transform: translateY(-2px);
}

.flag-recent-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #f8f7f5;
    border-radius: 5px;
}

.flag-recent-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.flag-recent-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.35;
}

.flag-recent-price {
    display: block;
    color: #ff6200;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .flag-feedback-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flag-feedback-item {
        border-bottom: 1px solid #e4dfd7;
    }

    .flag-recent-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .flag-feedback-strip,
    .flag-recent-grid {
        grid-template-columns: 1fr;
    }

    .flag-recent-image {
        height: 220px;
    }
}

.fc-recently-viewed-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.fc-recently-viewed-card {
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e7dfd3;
    border-radius: 8px;
}

.fc-recently-viewed-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 235px;
    padding: 12px;
    background: #f8f7f5;
    text-decoration: none;
}

.fc-recently-viewed-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.fc-recently-viewed-content {
    padding: 14px 14px 16px;
}

.fc-recently-viewed-title {
    margin: 0 0 7px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.fc-recently-viewed-title a {
    color: #201c16;
    text-decoration: none;
}

.fc-recently-viewed-price {
    min-height: 22px;
    margin-bottom: 12px;
    color: #ff6200;
    font-size: 13px;
    font-weight: 700;
}

.fc-recently-viewed-price del {
    color: #8a8178;
    font-weight: 500;
}

.fc-recently-viewed-price ins {
    color: #ff6200;
    text-decoration: none;
}

.fc-recently-viewed-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 5px;
    background: #201c16;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.fc-recently-viewed-button:hover {
    background: #ff6200;
    color: #ffffff;
}

@media (max-width: 1024px) {
    .fc-recently-viewed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .fc-recently-viewed-grid {
        grid-template-columns: 1fr;
    }

    .fc-recently-viewed-image {
        height: 260px;
    }
}
