/* =========================================================
   supplier-shop3
   RULES PAGE
   ========================================================= */


/* =========================================================
   PAGE BACKGROUND
========================================================= */

body {

    background:
        radial-gradient(
            circle at top right,
            rgba(165, 111, 99, 0.10),
            transparent 35%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(15, 48, 64, 0.25),
            transparent 40%
        ),
        #071C26;

    color: #dae7ed;

}


/* =========================================================
   MAIN
========================================================= */

.rules-main {

    max-width: 1000px;

    margin: auto;

    padding: 30px 20px 70px;

}


/* =========================================================
   HERO
========================================================= */

.rules-hero {

    text-align: center;

    margin-bottom: 45px;

}


/* =========================================================
   BADGE
========================================================= */

.rules-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: max-content;

    height: 32px;

    padding: 0 18px;

    margin-bottom: 15px;

    border-radius: 25px;

    background: #A56F63;

    color: white;

    font-size: 13px;

    font-weight: 600;

}


/* =========================================================
   TITLE
========================================================= */

.rules-hero h1 {

    margin: 0 0 15px;

    color: #dae7ed;

    font-size: 32px;

    font-weight: 800;

    line-height: 1.5;

}


/* =========================================================
   DESCRIPTION
========================================================= */

.rules-hero p {

    max-width: 680px;

    margin: auto;

    color: rgba(218, 231, 237, .68);

    font-size: 14px;

    line-height: 2.1;

}


/* =========================================================
   RULES CONTAINER
========================================================= */

.rules-container {

    display: flex;

    flex-direction: column;

    gap: 18px;

}


/* =========================================================
   RULE CARD
========================================================= */

.rule-card {

    display: flex;

    align-items: flex-start;

    gap: 20px;

    padding: 22px;

    background: rgba(255, 255, 255, .12);

    border: 1px solid rgba(255, 255, 255, .20);

    backdrop-filter: blur(15px);

    -webkit-backdrop-filter: blur(15px);

    border-radius: 22px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .15);

    transition: .3s;

}


.rule-card:hover {

    transform: translateY(-4px);

    border-color: rgba(217, 155, 127, .35);

}


/* =========================================================
   RULE NUMBER
========================================================= */

.rule-number {

    flex-shrink: 0;

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    background: #0F3040;

    border: 1px solid rgba(255, 255, 255, .12);

    color: #D99B7F;

    font-size: 18px;

    font-weight: 800;

    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);

}


/* =========================================================
   RULE CONTENT
========================================================= */

.rule-content {

    flex: 1;

    min-width: 0;

}


/* =========================================================
   RULE TITLE
========================================================= */

.rule-content h2 {

    margin: 0 0 9px;

    color: white;

    font-size: 18px;

    font-weight: 800;

    line-height: 1.7;

}


/* =========================================================
   RULE TEXT
========================================================= */

.rule-content p {

    margin: 0;

    color: rgba(218, 231, 237, .68);

    font-size: 14px;

    line-height: 2.2;

}


/* =========================================================
   FINAL NOTICE
========================================================= */

.rules-notice {

    margin-top: 35px;

    padding: 24px;

    display: flex;

    align-items: center;

    gap: 18px;

    background: rgba(255, 255, 255, .12);

    border: 1px solid rgba(255, 255, 255, .20);

    backdrop-filter: blur(15px);

    -webkit-backdrop-filter: blur(15px);

    border-radius: 22px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .15);

}


/* =========================================================
   NOTICE ICON
========================================================= */

.rules-notice-icon {

    flex-shrink: 0;

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(165, 111, 99, .18);

    border: 1px solid rgba(165, 111, 99, .35);

    color: #D99B7F;

    font-size: 20px;

    font-weight: 900;

}


/* =========================================================
   NOTICE TITLE
========================================================= */

.rules-notice h2 {

    margin: 0 0 6px;

    color: white;

    font-size: 18px;

    font-weight: 800;

}


/* =========================================================
   NOTICE TEXT
========================================================= */

.rules-notice p {

    margin: 0;

    color: rgba(218, 231, 237, .65);

    font-size: 13px;

    line-height: 2;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .rules-main {

        max-width: 900px;

        padding: 30px 20px 60px;

    }


    .rules-hero h1 {

        font-size: 30px;

    }


    .rule-card {

        padding: 20px;

    }


    .rule-content h2 {

        font-size: 17px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .rules-main {

        width: 100%;

        box-sizing: border-box;

        padding: 25px 15px 50px;

    }


    .rules-hero {

        margin-bottom: 30px;

    }


    .rules-badge {

        height: 30px;

        padding: 0 15px;

        font-size: 12px;

    }


    .rules-hero h1 {

        font-size: 27px;

    }


    .rules-hero p {

        font-size: 13px;

        line-height: 2;

    }


    .rules-container {

        gap: 12px;

    }


    .rule-card {

        gap: 14px;

        padding: 17px;

        border-radius: 18px;

    }


    .rule-number {

        width: 40px;

        height: 40px;

        border-radius: 12px;

        font-size: 15px;

    }


    .rule-content h2 {

        font-size: 15px;

        line-height: 1.8;

    }


    .rule-content p {

        font-size: 12.5px;

        line-height: 2.15;

    }


    .rules-notice {

        margin-top: 25px;

        padding: 20px;

        border-radius: 18px;

        gap: 14px;

    }


    .rules-notice-icon {

        width: 40px;

        height: 40px;

        font-size: 17px;

    }


    .rules-notice h2 {

        font-size: 16px;

    }


    .rules-notice p {

        font-size: 12px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .rules-main {

        padding: 22px 12px 40px;

    }


    .rules-hero h1 {

        font-size: 24px;

    }


    .rules-hero p {

        font-size: 12px;

    }


    .rule-card {

        gap: 12px;

        padding: 15px;

    }


    .rule-number {

        width: 36px;

        height: 36px;

        border-radius: 10px;

        font-size: 14px;

    }


    .rule-content h2 {

        font-size: 14px;

    }


    .rule-content p {

        font-size: 12px;

        line-height: 2.1;

    }


    .rules-notice {

        padding: 17px;

    }


    .rules-notice-icon {

        width: 36px;

        height: 36px;

        font-size: 15px;

    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .rules-main {

        padding-right: 10px;

        padding-left: 10px;

    }


    .rule-card {

        padding: 13px;

    }


    .rule-number {

        width: 34px;

        height: 34px;

    }


    .rule-content h2 {

        font-size: 13px;

    }


    .rule-content p {

        font-size: 11.5px;

    }

}